Lem0nHead
06-10-2004, 01:02 AM
hello
after updating apache with easyapache, it's not restarting
i see:
--/--
root@server01 [/etc/httpd/conf]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
[Thu Jun 10 01:59:14 2004] [warn] NameVirtualHost 69.56.xxx.xx:80 has no VirtualHosts
[Thu Jun 10 01:59:14 2004] [warn] NameVirtualHost 69.56.xxx.xx:80 has no VirtualHosts
/etc/init.d/httpd restart: httpd started
--/--
but i can't open any site:
any ideas?
Steven
06-10-2004, 01:04 AM
tail -f /usr/local/apache/logs/error_log
While you restart it. also
ps aux | grep httpd
ps aux | grep named
ensure they both are running.
Lem0nHead
06-10-2004, 01:07 AM
named is running
root@server01 [~]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@server01 [~]# ps aux | grep httpd
error_log shows segmentation fault:
[notice] child pid 14743 exit signal Segmentation fault (11)
[Thu Jun 10 01:51:10 2004] [notice] child pid 17801 exit signal Segmentation fault (11)
[Thu Jun 10 01:51:10 2004] [notice] child pid 5622 exit signal Segmentation fault (11)
[Thu Jun 10 01:51:10 2004] [notice] child pid 12777 exit signal Segmentation fault (11)
[Thu Jun 10 01:51:10 2004] [notice] child pid 23761 exit signal Segmentation fault (11)
[Thu Jun 10 01:51:10 2004] [notice] child pid 21220 exit signal Segmentation fault (11)
[Thu Jun 10 01:51:11 2004] [notice] SIGHUP received. Attempting to restart
Zentity
06-10-2004, 01:07 AM
Make sure the ulimit -n limit is adequate,
Try
killall -9 httpd
ulimit -n 16384
and stop and start apache again.
Just a shot in the dark without looking at any logs :)
Lem0nHead
06-10-2004, 01:09 AM
now i reinstalled apache using "option 1" of easyapache... worked
i was trying with php 4.3.4 + GD + magicquotes
hostingNIS
11-21-2004, 02:19 PM
What about this error?
shmget() failed: No space left on device
hostingNIS
11-21-2004, 03:29 PM
can anyone help with this:
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] NameVirtualHost xx.xx.xxx.xx:80 has no VirtualHosts
[Sun Nov 21 11:19:22 2004] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Nov 21 11:19:22 2004] [emerg] (28)No space left on device: could not call shmget
Steven
11-21-2004, 03:32 PM
means your drive is out of space
hostingNIS
11-21-2004, 03:33 PM
i dont think i am:
Disk hda2 (/) DMA+ 3 %
Disk hda1 (/boot) DMA+ 18 %
Disk hda8 (/home) DMA+ 26 %
Disk hda7 (/tmp) DMA+ 10 %
Disk hda5 (/var) DMA+ 38 %
Disk hda6 (/usr) DMA+ 52 %
this is after .fixquotas
Steven
11-21-2004, 03:36 PM
cat /proc/sys/kernel/shmmax && cat /proc/sys/kernel/shmall
whats it return?