Server :: How To Set The Localhost And Localdomain

Mar 17, 2011

I cannot seem to figure out where my system is pulling its localhost.localdomain setting from. OS is;

Quote:

[root@system root]# cat /etc/issue.net
Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Kernel on an m Network file is;

Quote:

[root@system root]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain

Quote:

[root@system root]# hostname
system
[root@system root]# hostname -d
[root@system root]# hostname -f
system
[root@system root]#

how to set the localhost and localdomain?

For the time being, the localhost is somehow being set correctly, but the localdomain is incorrect.

View 1 Replies


ADVERTISEMENT

Server :: Error - 550 Localhost.localdomain Does Not Exist

Jan 22, 2010

We've had this server running before but two hours ago there are some domains outside which we cannot send email to. this is a sample of the message we get

Quote:

The original message was received at Fri, 22 Jan 2010 14:31:59 +0800 from [10.0.200.10]

----- The following addresses had permanent fatal errors -----

<beth@nippon-antennaphil.com> (reason: 550 localhost.localdomain does not exist)

----- Transcript of session follows -----

... while talking to nippon-antennaphil.com.:

>>> DATA
<<< 550 localhost.localdomain does not exist
550 5.1.1 <beth@nippon-antennaphil.com>... User unknown
451 4.4.1 reply: read error from nippon-antennaphil.com.

Our server's been running smoothly before but i dunno what happened. I can send mails to gmail and yahoo as well... but there are like 3 domains which we cannot send mails to.

View 8 Replies View Related

Red Hat :: Change Localhost.localdomain In Sending Email?

Mar 30, 2010

I use sendmail using my server. I hosted my site I just bought a domain name. Everytime I send mail I saw in my log files localhost.localdomain. How can I change this hostname in sending my mail.

here's the log:

From MAILER-DAEMON@localhost.localdomain Fri May 8 16:30:23 2009
Return-Path: <MAILER-DAEMON@localhost.localdomain>
Received: from localhost (localhost)
by localhost.localdomain (8.13.1/8.13.1) id n488UNlD006632;

[code]....

View 3 Replies View Related

Software :: Sendmail: Prevent Localhost.localdomain From Appearing In Email?

Jul 9, 2010

When I send email through sendmail, by using a command such as:

Code:

echo "test" | mail test@gmail.com
This appears in email source:

Quote:

Received: from mydomain.com (localhost.localdomain [127.0.0.1])
Received: (from root@localhost)

How can I prevent this? Ideally it would display:

Quote:

Received: from mydomain.com (mydomain.com [server IP])
Received: (from root@mydomain.com)

I've tried playing around with the sendmail.mc file, but nothing seems to work.

View 3 Replies View Related

CentOS 5 Server :: Using Localdomain's YUM With Http?

Feb 10, 2010

I want to use http protocol for my localdomain's yum. This is the base tag of current local.repo which is using ftp.

[base]
name=Base repository for localdomain
enabled=1
baseurl=ftp://192.168.100.1/pub/os/i386
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

View 8 Replies View Related

Server :: Setting Up Local Server Using Localhost?

Mar 18, 2010

I have a need to set up the program TNG - The Next Generation of Genealogy Sitebuilding and run it on a local server (not on the Internet) for the purpose of learning the system prior to developing it on an actual website. I was told to use http://localhost on my browser (Mozilla Firefox). I get a message saying "That Works!", but it goes on to say that the contents of the web server have not yet been entered. The instructions for the downloaded files (which I unzipped) said to copy to the web root folder (the folder where the web server is located ?, I guess). But I don't know where it is or how to go about it. Can someone help? I already have MySQL and PHP, which are required to run this program, and I also have Apache installed on my Kubuntu 9.10 system.

View 1 Replies View Related

Ubuntu :: Firefox Can't / Server At Localhost

Jan 4, 2010

I have two machines running Ubuntu 9.1, both with Firefox 3.5 fitted, working well, apart from an error on one machine.When trying to download a Torrent I get the error "Firefox can't establish a connection at the server at localhost: 12322".The other machine is fine without this error.I have searched the Firefox files and this forum, plus a variety of sources but cannot find an answer, apart from "use the other machine".

View 4 Replies View Related

Server :: Cant Connect To MYSQL On Localhost

May 28, 2011

Running MYSQL 5.5.12 and MYSQL Workbench 1:5.2.34 on up-to-date Arch linux Set up MYSQL with root account and password. When running Workbench as user, got error when trying to connect :

Quote:

Cannot Connect to Database Server Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306: Can't connect to MySQL server on '127.0.0.1' (111)

1 Check that mysql is running on server 127.0.0.1

2 Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)

3 Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)

4 Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from

After commenting #skip-networking in my.cnf error changed to :

Quote:

Cannot Connect to Database Server Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306: Lost connection to MySQL server at 'reading initial communication packet', system error: 0

1 Check that mysql is running on server 127.0.0.1

2 Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)

3 Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)

4 Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from

Copying my.cnf to /etc/ and running Workbench as root didn't change anything, i still get the second error The wiki [URl] says to enable MYSQL in /etc/hosts.allow but i didn't do it, i guess it is required only when trying to access MYSQL from remote hosts which i dont.

View 2 Replies View Related

Server :: Allow Access To Mysqld From Localhost?

Sep 21, 2010

I need to test an application on a Ubuntu Server that works as a database server for the network.

On this server's /etc/mysql/my.cnf, I have:

Code:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = <server-ip-address>

This means that I can't access the mysql server from 127.0.0.1, right?

I tried adding the following entry to /etc/hosts.allow :

Code:
mysqld : 127.0.0.1 : allow

I feel like I need to restart the service that reads /etc/hosts.allow, is this approach correct?

Or on /etc/mysql/my.cnf I can have two (or more) bind-addresses entries?

View 5 Replies View Related

Server :: Why Localhost Adding In The Domain Name

May 27, 2011

we have installed the Centos on my server and configured the postfix with our domain [URL] as example. If I send any email through squirrel email, Emails are going from [URL] instead of [URL].

View 8 Replies View Related

Fedora :: VNC Server Warning: Localhost:1 Is Taken Because Of /tmp/.X1-lock

Mar 31, 2009

I've always used SSH to get to my Linux server and decided to figure out VNC. I've got VNC installed just fine and was logged, then I click Exit on the VNC screen and all hell broke loose. So I'm left with a gray useless screen, so I though I would kill the process. Did a ps -aux | grep vnc and saw what is running Then did a vncserver -kill :1 and vncserver -kill :2 Then typed vncserver

Now I'm getting Warning: blahblahblah:1 is taken because of /tmp/.X1-lock Remove this file if there is no X server blahblahblah:1 Warning: blahblahblah:2 is taken because of /tmp/.X2-lock Remove this file if there is no X server blahblahblah:2 So per the man pages I need to go here $HOME/.vnc and kill something. So How do I get to $HOME/.vnc? Is this a hidden location? I'm thinking I need to do a kill -9 .X1-lock per the above Warning message but where is that?

View 4 Replies View Related

Ubuntu Networking :: Access Web Server On Localhost?

May 27, 2010

I have a laptop with Apache, MySQL, PHP, etc, and I'm able to work on web programming on my local server while at home, connected to my network. But I would like to be able to work on the local websites when I'm not connected to any networks, both for demonstrating a site, or simply working on it.

I was surprised to find that I could not connect to localhost at all without a network connection. I tried my normal Google for a solution, but, of course, that was futile without a network.

Now, I'm at home, and of course, it works because I have wireless. I don't really want to disconnect that to figure it out, so I thought maybe some nice soul here might know how to do this. Surely it can't be hard, can it? But, it's certainly not obvious.

View 3 Replies View Related

General :: Can't Connect To X11 Window Server Using 'localhost:0.0'?

Jan 24, 2010

I have an intel i7 with windows7 64b , then install VMware Workstation and create a machine with Oracle enterprise Linux 64b 5update4, now i want to inatall oracle db10gR2, but this message apears. [oracle@localhost database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)

[Code]...

View 8 Replies View Related

Server :: Apache Serves On Localhost But Not With Network

Nov 28, 2010

I have Apache2 running on my server and can serve up pages on that box, but cannot seem to access them from other PCs on the network.

View 1 Replies View Related

Server :: Bind9 Log Full Of Localhost Queries?

Feb 24, 2011

I have my bind9 DNS server running on Ubuntu with logging on. What's bothering me is that I have log full of localhost queries instead of from IP of the computer which actually asked.DNS queries log:/var/log/named.queries.log

Code:
24-Feb-2011 16:01:19.413 client 127.0.0.1#38022: query: clients4.google.com IN A + (127.0.0.1)

[code]....

View 6 Replies View Related

Server :: Exchanging Data Between Internet And Localhost

Jun 5, 2011

I have an Apache 2 server setup in Ubuntu 10.04 LTS on my lab computer. The server listens on port 80, by default. I also have another process listening on port 4000 - this is a special server that executes some Matlab and other application scripts. However, due to university policy (or some licensing/faculty regulation - not really sure), this port 4000 has been set as one that listens only to the localhost. Now, we need to allow a few of the scripts to be run by people remotely.

We tried to setup a web interface - they enter a few values into a HTML form and submit. This form has action="URl... (basically, we were hoping the external form turns data over to the internal form), thereby keeping everyone happy. However, it turns out that this didn't work - the server on port 4000 realizes that the request isn't internal.

What would be the best way of handling it? While we did consider port forwarding, we didn't want everything to be accessible from the internet - i.e. we wanted a tightly controlled interface when accessed from outside, but if someone writes a program on localhost, we want everything to go through as normal (i.e. the current setup). Is there a way to do this without duplication (i.e. setup a new port 5000, that has only the components we want the external users to access)?

View 2 Replies View Related

Server :: Unable To Connect Localhost In Mysql

Apr 21, 2011

iam not able to connect localhost in mysql.i uswd command for mysql is

#mysqladmin -u root -h localhost password "123456"

ErroR:-

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

View 1 Replies View Related

Server :: Ssl_error_handshake_failure_alert On Https Site - Localhost

Sep 5, 2010

I am trying to configure local https server but I get this message: "ssl_error_handshake_failure_alert"

I configured my apache and make cert and key files from this article, following section 1B: [url]

I try to add server.crt and ca.crt files in firefox, but it didn't help. I googled and didn't find any information. I try also with 1024bit key.

View 6 Replies View Related

Server :: Why The Php Mysql_connect() Only Can Connect Localhost MySQL

Apr 17, 2011

I used 4 host to establish a high-availability web server system. 2 Load Balancer + 2 Web Server(installed MySQL Server 5.5). 2 MySQL Server used Multi-Master Replication.Used "Amoeba" as MySQL Proxy which direct the write statement to a specific MySQL Server.I can login Amoeba and MySQL Server using MySQL client. I tried query something in XAMMP on Windows XP. It work!

Installed related software:

MySQL-server-5.5.11-1.rhel5
MySQL-shared-compat-5.5.11-1.rhel5
php53-mysql-5.3.3-1.el5_6.1
MySQL-client-5.5.11-1.rhel5

[code]....

What I tried:

yum install php php-mysql
yum install php53 php53-mysql

Compiled php 5.3.6 soruce + MySQL 5.5 Server, Client, Shared, Shared-Compact Above software installed on different host. And the phpinfo showing MySQL I doubt something wrong in my php.ini. Used default php configuration.

View 5 Replies View Related

CentOS 5 Server :: Php Can't Connect Mysql By 'localhost'?

Sep 25, 2009

php can't connect mysql by 'localhost' but can connect by IP address:

[Code]...

View 3 Replies View Related

CentOS 5 Server :: DNS Does Not Resolve Names Except To Localhost

Feb 9, 2010

We installed CentOS 5 at our school and are attempting to get 2 simple DNS servers online. These are simple name resolution servers for our network. We installed the needed caching nameserver packages via Yum and all seems to be well, but for some reason when the server is online, it fails to resolve DNS records except when we direct the requests to its 127.0.0.1 (localhost) interface. As for the server specs, the DNS server is running on a Virtual Machine, and the ESXi server has 2 quad-core Xeon CPU's with 48 Gigs of RAM (in short.. hardware is adequate.)

Here's more details:
When the box boots up, we can confirm that the named service is running and it resolves DNS records when we direct queries to its localhost address:
[root@ns1 ~]# dig hotbot.com @localhost
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55510
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0 .....
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @66.186.176.2
;; global options: printcmd
;; connection timed out; no servers could be reached

What would cause the Named service to not answer DNS queries from the physical IP but only from it's internal IP?

View 1 Replies View Related

CentOS 5 :: Simple Custom Localhost YUM Server Using FTP?

Mar 10, 2010

the custom-yum.sh script (or, whatever you say ) below:

#!/bin/bash
## Mounting CD/DVD ##
echo "Mounting CD/DVD in /media"
mount /dev/hdc /media

[Code].....

View 13 Replies View Related

Ubuntu Servers :: Setting Up A Localhost DaviCal Server ?

Aug 12, 2010

Am having trouble setting up a localhost DaviCal server. I've followed the directions here: [url]

And everything seems to be working, but when I go to: [url]

I get the "Not Found" page. How do I tweak this to use it locally from my computer? Have searched and tried to follow various tutorials, but no luck.

What I'm trying to do is setup a CalDav server locally on my computer so I can interface Thunderbird with it. The reason being then I can sync my Android phone with the CalDav server on my computer, thus syncing my Thunderbird calendar with it. Android is great, but currently the only ways to sync your calendar is to go through google's servers (not interested) or use the new CalDav sync software from the market... which is what I'm trying to do.

View 1 Replies View Related

Ubuntu Networking :: Setting Up A Localhost-only Squid Server

Jul 16, 2011

I'm going to be going off to college in the fall and the internet probably won't be blazing fast like it is at home, so I was wanting to set my desktop up so that it would act as a local cache of the parts of the internet i frequent the most, but I can't find anything like that. All the tutorials I've found are either for sharing the load on a server or for setting up a separate machine as the squid.

View 3 Replies View Related

Red Hat / Fedora :: Firefox Can't Establish A Connection To The Server At Localhost

Nov 3, 2010

I've installed apache application server v7.I get a problem when I type the command localhost:8080

Unable to connect Firefox can't establish a connection to the server at localhost.

# ps ax |grep tomcat
9463 pts/2 S+ 0:00 grep tomcat

View 3 Replies View Related

Server :: Access Denied For User 'root'@'localhost'?

Dec 14, 2010

ubuntu terminal. I have installed mysql-server, but i have no access. I have set the password during installation process.

Used command:
mysql -u root -p
error message:

[code]....

View 3 Replies View Related

Server :: How To Setup Open Xampp Localhost Page

May 17, 2011

I have worked with xampp on windows. Its my first time with Red Hat Enterprise Linux 5 .

Problem Is In My company we have redhat entprise 5 and its running well with samba server for our intranet. I wants to upgrade the intranet by using joomla. Problem is i have installed the xampp succesfully but when i type [url] it still opens our old intranet's homepage.

View 2 Replies View Related

Server :: Httpd2.2.15 Access To Localhost Test Page ?

Jun 13, 2010

Can't access localhost test page, but opens localhost page when I use full dns, at least from local network machines?

Running slackware13.1, Httpd2.2.15, 2wire gateway. Firewall web&http pinholes for ports 80,443. Port 80 is working.

Code:

Returns error:

Quote:

Code:

Code:

Added 4400host.net to Resolve DNS on 2Wire Gateway(Never had to do this before to access httpd test from same machine or network machine?

Changed HTTPD.conf

Code:

Code:

Quote:

"It Works!"

Never encountered this before, usually httpd test worked for "localhost" with minimal effort. I am concerned to procceed with this odd behavior. Has anyone else encountered this configuration is?

View 5 Replies View Related

Software :: Can't Connect To Kismet Server 'localhost:2501?

Jul 10, 2010

Trying to run kismet but get errors on opensuse 11.2 64 bit- error message I get is. Could not connect to Kismet server 'localhost:2501' Question:What do i need to change in the settings, the following are the default ones.

[Code]...

View 13 Replies View Related

CentOS 5 Server :: Named Refuses Connect From Outside Localhost

Aug 23, 2009

I have installed bind from the repos and am trying to setup a caching name server. After copying the stock name-cachinging.conf to named.conf, I tweaked named.conf to reflect my LAN:

options {
listen-on port 53 { 127.0.0.1; 192.168.1.102; };
listen-on-v6 port 53 { ::1; };

[code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved