Hello everyone. Sorry for the 'long' post.
I'm running FeforaCore6 (kernel 2.6.19-1.2895.fc6), which was a relatively uneventful 'upgrade' from FedoraCore4. Apache web server was bundled with my FC4 discs as an 'rpm'. I used the GUI 'Software Updater' provided with FC6 to do all the up-dating, etc. I know, I'm a slave to expediency!
Sometime yesterday (the 8th) I'm no longer able to start 'httpd' service.
I get an intermittent 'interactive mode' boot-up error msg:
"error at line 362, /etc/httpd/conf.d/system-config-httpd.conf: ServerAdmin takes one aruguent, the email address of the server admin".
The text (lines 355-387) posted below starts with the line 'Virtual hosts':
# Virtual hosts
#
# Virtual host Default Virtual Host
<VirtualHost *>
DocumentRoot /var/www/html/
ErrorLog logs/error_log
ServerAdmin
ServerSignature email
TransferLog logs/access_log
DirectoryIndex index.php index.html index.htm index.shtml
SSLEngine off
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCertificateChainFile /etc/httpd/conf/ssl.crt/ca.crt
SSLCACertificateFile /etc/httpd/conf/ssl.crt/ca-bundle.crt
SSLOptions
TransferLog logs/access_log
ErrorLog logs/error_log
LogLevel debug
HostNameLookups off
</VirtualHost>
I've preserved spacing in case it's important.
As I said, this is an intermitent error msg. Most of the time I just get a red 'fail' msg. I used 'interactive mode' to nail that sucker down as my eyes are bad and my head is worse.
In HTTP Server Configuration GUI, under 'Main, Basic Setup, Server Name'= 'localhost' and Webmaster email address'= 'root@localhost'.
Under the 'Virtual Hosts, Edit Default Settings, logging' the 'transfer' log is supposed to be at 'logs/access_log and 'error log' is supposed to be at 'logs/error_log' neither dir of 'logs' exist as far as I can tell. What I did find was, '/var/log/httpd/access_log. and /var/log/httpd/error_log'
Under HTTP Server Configuation GUI, under the 'Server, lock file'= '/var/lock/httpd.lock' and 'PID file'= '/var/run/httpd.pid' neither of which are not in their respective folders. Whereis and Find show that they're not (no longer) on the system. Now I'm not sure of what is supposed to appear at line '362' instead of 'ServerAdmin'.
A whereis gives me:
[root@localhost ~]# whereis httpd.lock
httpd: /usr/sbin/httpd
/usr/sbin/httpd.worker
/etc/httpd
/usr/lib/httpd
/usr/share/man/man8/httpd.8.gz
As you can see, not a 'default' install in an 'apache2' dir.
As a side note, a Bellsouth tech came by to install a new modem/router combo (Westell, VersaLink, Model: c90-327w30-06, Rev. C). The problem occurred sometime duing the install/set-up process tho I dont'think the installation per-se had anything to do with Apache's failure to start. But he was here from 9:00AM till noon on the 8th.
Undaunted, I looked into the available logs in '/var/log' for hints as to why the 'httpd' dameon was not starting. As mentioned above I found the 'access_logs and error_logs' under '/var/log/httpd/'.
By way of errors (and notices) for Feb 8, 2007 I found:
[Thu Feb 08 07:27:05 2007] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t
[Thu Feb 08 07:27:05 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 08 07:27:05 2007] [notice] Digest: generating secret for digest authentication ...
[Thu Feb 08 07:27:05 2007] [notice] Digest: done
[Thu Feb 08 07:27:06 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Feb 08 07:27:07 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Thu Feb 08 09:02:29 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 09:03:42 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/plmCatalogMain.html
[Thu Feb 08 09:03:44 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/plmContribute.html
[Thu Feb 08 09:03:54 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/plmContribute.html
[Thu Feb 08 09:03:55 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/plmCatalogMain.html
[Thu Feb 08 09:03:56 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 09:38:22 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 09:38:28 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/plmContribute.html
[Thu Feb 08 09:53:47 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/plmContribute.html
[Thu Feb 08 09:53:48 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 10:16:25 2007] [notice] caught SIGTERM, shutting down
[Thu Feb 08 10:19:15 2007] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t
[Thu Feb 08 10:19:15 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 08 10:19:15 2007] [notice] Digest: generating secret for digest authentication ...
[Thu Feb 08 10:19:15 2007] [notice] Digest: done
[Thu Feb 08 10:19:16 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Feb 08 10:19:16 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Thu Feb 08 10:32:32 2007] [notice] caught SIGTERM, shutting down
[Thu Feb 08 10:34:31 2007] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t
[Thu Feb 08 10:34:32 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 08 10:34:32 2007] [notice] Digest: generating secret for digest authentication ...
[Thu Feb 08 10:34:32 2007] [notice] Digest: done
[Thu Feb 08 10:34:33 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Feb 08 10:34:33 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Thu Feb 08 10:43:24 2007] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t
[Thu Feb 08 10:43:24 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 08 10:43:24 2007] [notice] Digest: generating secret for digest authentication ...
[Thu Feb 08 10:43:24 2007] [notice] Digest: done
[Thu Feb 08 10:43:25 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Feb 08 10:43:25 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Thu Feb 08 11:09:49 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 11:52:52 2007] [notice] caught SIGTERM, shutting down
[Thu Feb 08 11:54:51 2007] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t
[Thu Feb 08 11:54:51 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 08 11:54:51 2007] [notice] Digest: generating secret for digest authentication ...
[Thu Feb 08 11:54:51 2007] [notice] Digest: done
[Thu Feb 08 11:54:52 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Feb 08 11:54:52 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Thu Feb 08 12:13:11 2007] [notice] caught SIGTERM, shutting down
[Thu Feb 08 12:15:22 2007] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Feb 08 12:15:22 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 08 12:15:22 2007] [notice] Digest: generating secret for digest authentication ...
[Thu Feb 08 12:15:22 2007] [notice] Digest: done
[Thu Feb 08 12:15:23 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Feb 08 12:15:24 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Thu Feb 08 12:26:49 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/pub
[Thu Feb 08 12:29:13 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 12:37:51 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 12:38:01 2007] [error] [client 192.168.0.101] File does not exist: /var/www/html/plm/musicbg33.gif, referer:
http://192.168.0.100/plm/PriceLess-Music.html
[Thu Feb 08 12:52:46 2007] [notice] caught SIGTERM, shutting down
The 'Fev 08 12:52:46 2007' entry is the last in the log file. If there is a hint there, I sure don't recognise it.
Now this problem may be as simple as finding or creating with a text editor an 'httpd.pid' file and a 'httpd.lock' file and inserting each where Apache expects to find them. I dunno. But I'd sure be grateful for some insight. Thanks in advance. phil