Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is what my root reads
[root@ptil-118-150-16-ind root]#
The "ptil-118-150-16-ind" is not my doing. This appeared when i configured my
lan internet. The internet is working fine.
The problem is with httpd. This is the error I get when I try to start it.
httpd failed. The error was: Stopping httpd: [FAILED]
Starting httpd: httpd: Could not determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
[FAILED]
I know this is because of "ptil-118-150-16-ind". So, how do I correct this?
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
# this machine
192.168.0.0 linux.mainroom server
# the other machine
192.168.0.1 linux.sunroom linux
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
By the way, it's generally considered very bad form to give a host an IP address that ends in .0. Some networking devices might treat that like a network address rather than a host address. You really should change 192.168.0.0 IP to 192.168.0.2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.