Please Help...im Not A Linux Guy

drewjones

New member
Joined
Mar 26, 2007
Messages
4
I rebooted the server this morning....big mistake but pop mail wasnt working..so i thought...websites were working before the reboot...fine.

then i rebooted...

files are there...i keep getting a 404 error in the browser...then my brother calls me and tells me the squirrel maiil dont work...

i was reading posts this morning and my guess is i need to restart apache...seems like the ports are fine cause i can get into the admin but its not resolving the hosts.

ip admin seems fine...everything seems like its normal...heres the apache error log..

i need some help in doing whatever needs to happen...this is so frustruating...

[Mon Mar 26 08:47:56 2007] [notice] caught SIGTERM, shutting down
[Mon Mar 26 08:47:56 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 08:50:00 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 08:50:00 2007] [warn] NameVirtualHost 72.232.109.156:80 has no VirtualHosts
[Mon Mar 26 08:50:00 2007] [warn] NameVirtualHost 72.232.109.156:443 has no VirtualHosts
[Mon Mar 26 08:50:00 2007] [warn] NameVirtualHost 72.232.109.155:80 has no VirtualHosts
[Mon Mar 26 08:50:00 2007] [warn] NameVirtualHost 72.232.109.155:443 has no VirtualHosts
[Mon Mar 26 08:50:01 2007] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7d PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Mar 26 08:50:01 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 26 08:50:01 2007] [notice] Accept mutex: flock (Default: flock)
[Mon Mar 26 09:08:20 2007] [notice] caught SIGTERM, shutting down
[Mon Mar 26 09:08:20 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 09:08:23 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 09:08:23 2007] [warn] NameVirtualHost 72.232.109.156:80 has no VirtualHosts
[Mon Mar 26 09:08:23 2007] [warn] NameVirtualHost 72.232.109.156:443 has no VirtualHosts
[Mon Mar 26 09:08:23 2007] [warn] NameVirtualHost 72.232.109.155:80 has no VirtualHosts
[Mon Mar 26 09:08:23 2007] [warn] NameVirtualHost 72.232.109.155:443 has no VirtualHosts
[Mon Mar 26 09:08:23 2007] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7d PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Mar 26 09:08:23 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 26 09:08:23 2007] [notice] Accept mutex: flock (Default: flock)
[Mon Mar 26 09:14:39 2007] [error] [client 212.241.248.10] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Mar 26 09:14:39 2007] [error] [client 212.241.248.10] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Mar 26 15:56:09 2007] [error] [client 83.71.188.242] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Mar 26 15:56:09 2007] [error] [client 83.71.188.242] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Mon Mar 26 19:39:18 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 19:39:18 2007] [warn] NameVirtualHost 72.232.109.156:80 has no VirtualHosts
[Mon Mar 26 19:39:18 2007] [warn] NameVirtualHost 72.232.109.156:443 has no VirtualHosts
[Mon Mar 26 19:39:18 2007] [warn] NameVirtualHost 72.232.109.155:80 has no VirtualHosts
[Mon Mar 26 19:39:18 2007] [warn] NameVirtualHost 72.232.109.155:443 has no VirtualHosts
[Mon Mar 26 19:39:18 2007] [crit] (48)Address already in use: make_sock: could not bind to port 443
[Mon Mar 26 20:00:13 2007] [notice] caught SIGTERM, shutting down
[Mon Mar 26 20:00:13 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 20:00:16 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 20:00:16 2007] [warn] NameVirtualHost 72.232.109.156:80 has no VirtualHosts
[Mon Mar 26 20:00:16 2007] [warn] NameVirtualHost 72.232.109.156:443 has no VirtualHosts
[Mon Mar 26 20:00:16 2007] [warn] NameVirtualHost 72.232.109.155:80 has no VirtualHosts
[Mon Mar 26 20:00:16 2007] [warn] NameVirtualHost 72.232.109.155:443 has no VirtualHosts
[Mon Mar 26 20:00:16 2007] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7d PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Mar 26 20:00:16 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 26 20:00:16 2007] [notice] Accept mutex: flock (Default: flock)
[Mon Mar 26 20:00:29 2007] [notice] caught SIGTERM, shutting down
[Mon Mar 26 20:00:29 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 20:00:59 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Mar 26 20:00:59 2007] [warn] NameVirtualHost 72.232.109.156:80 has no VirtualHosts
[Mon Mar 26 20:00:59 2007] [warn] NameVirtualHost 72.232.109.156:443 has no VirtualHosts
[Mon Mar 26 20:00:59 2007] [warn] NameVirtualHost 72.232.109.155:80 has no VirtualHosts
[Mon Mar 26 20:00:59 2007] [warn] NameVirtualHost 72.232.109.155:443 has no VirtualHosts
[Mon Mar 26 20:00:59 2007] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7d PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Mar 26 20:00:59 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 26 20:00:59 2007] [notice] Accept mutex: flock (Default: flock)

server ip address is 154
 
Last edited:
im trying to restart

$ /usr/sbin/apachectl graceful
/usr/sbin/apachectl graceful: httpd not running, trying to start
Syntax error on line 535 of /etc/httpd/conf/httpd.conf:
SSLCertificateKeyFile: file '/etc/httpd/conf/ssl.key/server.key' not exists or empty
/usr/sbin/apachectl graceful: httpd could not be started
you have mail
$ /usr/sbin/apachectl configtest
Syntax error on line 535 of /etc/httpd/conf/httpd.conf:
SSLCertificateKeyFile: file '/etc/httpd/conf/ssl.key/server.key' not exists or empty
you have mail
$ /usr/sbin/apachectl start
Syntax error on line 535 of /etc/httpd/conf/httpd.conf:
SSLCertificateKeyFile: file '/etc/httpd/conf/ssl.key/server.key' not exists or empty
/usr/sbin/apachectl start: httpd could not be started
you have mail
$ /etc
 
$ /usr/sbin/apachectl start
Syntax error on line 535 of /etc/httpd/conf/httpd.conf:
SSLCertificateKeyFile: file '/etc/httpd/conf/ssl.key/server.key' not exists or empty
/usr/sbin/apachectl start: httpd could not be started
you have mail
$ /etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.conf: permission denied

how can i have be denied...

how can i change this line in the httpd file
 
You have to use a text editor, when you just type in the file it thinks you are trying to execute it like a program. Try
Code:
vi /etc/httpd/conf/httpd.conf
or try going
Code:
openssl req -new -x509 -keyout /etc/httpd/conf/ssl.key/server.key.tmp -out /etc/httpd/conf/ssl.crt/server.crt
(remember the password you input here as you need it in the next step)
openssl rsa -in /etc/httpd/conf/ssl.key/server.key.tmp -out /etc/httpd/conf/ssl.key/server.key
chown apache:apache /etc/httpd/conf/ssl.key/server.key /etc/httpd/conf/ssl.crt/server.crt
rm /etc/httpd/conf/ssl.key/server.key.tmp
chmod 400 /etc/httpd/conf/ssl.crt/server.crt /etc/httpd/conf/ssl.key/server.key
then try restarting apache.
 
Back
Top