Lab 10, Part 2, Step 18

UNIX/Linux Network Administration - Rich Simms
Locked
shahram farahbakhsh
Posts: 118
Joined: Wed Sep 05, 2012 5:07 pm

Lab 10, Part 2, Step 18

Post by shahram farahbakhsh » Sun May 26, 2013 4:38 pm

[root@p16-elrond ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: apr_sockaddr_info_get() failed for p16-elrond.cis192pods.cislab.net
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]

Should the server's FQDN be determined at this point?

shahram farahbakhsh
Posts: 118
Joined: Wed Sep 05, 2012 5:07 pm

Re: Lab 10, Part 2, Step 18

Post by shahram farahbakhsh » Sun May 26, 2013 5:00 pm

If it makes a difference, here's my /etc/hosts file:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.16.105 sauron p16-sauron
172.20.0.1 nopar
172.20.192.112 p16-elrond elrond
192.168.16.99 remus-farm
192.168.16.100 holy-grail

Note that dns is in front of the 'files' keyword in the /etc/nsswitch.conf file

User avatar
Rich Simms
Posts: 2421
Joined: Sat Jan 16, 2010 5:47 pm
Contact:

Re: Lab 10, Part 2, Step 18

Post by Rich Simms » Sun May 26, 2013 6:05 pm

Be sure to name Elrond as shown in the diagram. For your pod this FQDN would be: p16-elrond.rivendell

Next make sure the FQDN is in:

/etc/sysconfig/network
HOSTNAME=p16-elrond.rivendell

/etc/httpd/conf/httpd.conf (line 276)
ServerName p16-elrond.rivendell:80

/etc/hosts
127.0.0.1 p16-elrond.rivendell p16-elrond localhost.rivendell localhost

- Rich

shahram farahbakhsh
Posts: 118
Joined: Wed Sep 05, 2012 5:07 pm

Re: Lab 10, Part 2, Step 18

Post by shahram farahbakhsh » Sun May 26, 2013 7:07 pm

service httpd restart gave me no errors after making the corrections. Thank you.

Donna Irvan
Posts: 29
Joined: Fri Feb 15, 2013 12:29 pm

Re: Lab 10, Part 2, Step 18

Post by Donna Irvan » Tue May 28, 2013 3:25 pm

Thanks, this helped we also.

Cheers,

Locked

Return to “CIS 192 - Spring 2013”