On boot I get the message 'Starting httpd: httpd: Cannot determine local host name. Use the ServerName directive to set it manually' then I get a [ FAILED ] message in a nice pretty red colour. Everything seems ok though but it's annoying me so... Anyone know how I can fix it? Cheers, BJ [ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
'Starting httpd: httpd: Cannot determine local host name. Use the ServerName directive to set it manually' then I get a [ FAILED ] message in a nice pretty red colour. Everything seems ok though but it's annoying me so...
Yep - edit /etc/apache/httpd.conf (assuming redhat follow FHS), and add the following: ServerName your.fully.qualified.domain Then you should find you can restart apache and be away. HTH Paul [ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Paul Russell wrote:
'Starting httpd: httpd: Cannot determine local host name. Use the ServerName directive to set it manually' then I get a [ FAILED ] message in a nice pretty red colour. Everything seems ok though but it's annoying me so...
Yep - edit /etc/apache/httpd.conf (assuming redhat follow FHS), and add the following:
ServerName your.fully.qualified.domain
Then you should find you can restart apache and be away.
Hi, on Redhat 5.1 it is /etc/httpd/conf/httpd.conf HTH, Dermot [ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Dermot Musgrove wrote:
Hi, on Redhat 5.1 it is /etc/httpd/conf/httpd.conf
Yes I sussed that it's the same in RH6.1 obviously RH do things slightly differently. Cheers, BJ [ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Paul: wrote
Yep - edit /etc/apache/httpd.conf (assuming redhat follow FHS), and add the following:
ServerName your.fully.qualified.domain
Then you should find you can restart apache and be away.
Works a treat thanks. Cheers, BJ [ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
participants (4)
-
Dermot Musgrove -
John Woodard -
John Woodard -
Paul Russell