LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-09-2009, 08:40 AM   #1
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Rep: Reputation: 0
rcapache2 start -fail


hello!
just now suddenly some pages on my server disappeared, now i cant find it at all..

rcapache2 status - unused
Code:
server:/etc/samba # rcapache2 start
Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address 195.xxx.xxx.xxx:80
no listening sockets available, shutting down
Unable to open logs
startproc:  exit status of parent of /usr/sbin/httpd2-prefork: 1

failed
i havent done any changes before or after this error,
i'm also pretty new to linux

cant figure out what the "fail" is about or how to fix it .

anybody know?






2 ->

Last edited by Fredrix; 03-11-2009 at 03:46 PM. Reason: page 2 now..
 
Old 03-09-2009, 01:36 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
There is another process (apache maybe) that is running and uses port 80, so when you're trying to start apache it complains. Run:
Code:
netstat -tanpl|grep 80
to see what is listening on port 80.
 
Old 03-09-2009, 02:12 PM   #3
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
thanks

thanks, when i run the netstat -tanpl|grep 80 command i get this:

Quote:
c66F28BC3:/home/god # netstat -tanpl|grep 80
tcp 0 0 195.xxx.xxx.xxx:33296 194.19.40.94:80 TIME_WAIT -
i dont know what it tells or what i should do whit it,

i traced the ip that i didnt know what was and it turns out to be another ip from norway?
http://www.ip-adress.com/ip_tracer/194.19.40.94

EDIT:
i tried the command again and the other ip was gone, just some firefox ip's (im browsing on my suse server)

apache still wont work :\

Last edited by Fredrix; 03-09-2009 at 02:16 PM. Reason: another try, another result
 
Old 03-09-2009, 02:32 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Yup, the IP is from a site you've visited. So there is nothing listening on port 80. What is the output of:
Code:
ps aux|grep httpd
or
Code:
ps aux|grep apache
because it seems that there is a ghost apache running.
 
Old 03-09-2009, 03:07 PM   #5
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
here is the out put:
Quote:
c66F28BC3:/home/god # ps aux|grep httpd
root 7450 0.0 0.1 3260 784 pts/1 S+ 21:03 0:00 grep httpd
 
Old 03-09-2009, 03:11 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Did you try the other command?
Anyway you can post the output of "ps aux" command to see if we find the zombie apache process.
 
Old 03-09-2009, 03:15 PM   #7
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
they had the same output

Quote:
c66F28BC3:/home/god # ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1008 356 ? Ss 14:11 0:01 init [5]
root 2 0.0 0.0 0 0 ? S< 14:11 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S< 14:11 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S< 14:11 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 14:11 0:01 [events/0]
root 6 0.0 0.0 0 0 ? S< 14:11 0:00 [khelper]
root 7 0.0 0.0 0 0 ? S< 14:11 0:00 [kintegrityd/0]
root 8 0.0 0.0 0 0 ? S< 14:11 0:00 [kblockd/0]
root 9 0.0 0.0 0 0 ? S< 14:11 0:00 [kacpid]
root 10 0.0 0.0 0 0 ? S< 14:11 0:00 [kacpi_notify]
root 11 0.0 0.0 0 0 ? S< 14:11 0:00 [cqueue]
root 12 0.0 0.0 0 0 ? S< 14:11 0:00 [kseriod]
root 13 0.0 0.0 0 0 ? S< 14:11 0:00 [kondemand/0]
root 14 0.0 0.0 0 0 ? S 14:11 0:00 [pdflush]
root 15 0.0 0.0 0 0 ? S 14:11 0:00 [pdflush]
root 16 0.0 0.0 0 0 ? S< 14:11 0:00 [kswapd0]
root 17 0.0 0.0 0 0 ? S< 14:11 0:00 [aio/0]
root 18 0.0 0.0 0 0 ? S< 14:11 0:00 [kpsmoused]
root 54 0.0 0.0 0 0 ? S< 14:11 0:00 [ata/0]
root 55 0.0 0.0 0 0 ? S< 14:11 0:00 [ata_aux]
root 57 0.0 0.0 0 0 ? S< 14:11 0:00 [scsi_eh_0]
root 58 0.0 0.0 0 0 ? S< 14:11 0:00 [scsi_eh_1]
root 193 0.0 0.0 0 0 ? S< 14:11 0:00 [ksuspend_usbd]
root 194 0.0 0.0 0 0 ? S< 14:11 0:00 [khubd]
root 515 0.0 0.0 0 0 ? S< 14:11 0:00 [kjournald]
root 594 0.0 0.2 2756 1180 ? S<s 14:11 0:00 /sbin/udevd --daemon
root 909 0.0 0.0 0 0 ? S< 14:11 0:00 [kgameportd]
root 1312 0.0 0.0 0 0 ? S< 14:11 0:00 [kauditd]
root 1326 0.0 0.0 0 0 ? S< 14:11 0:00 [kstriped]
root 1360 0.0 0.0 0 0 ? S< 14:11 0:00 [kjournald]
root 1844 0.0 0.1 1776 564 ? Ss 14:11 0:00 /sbin/acpid
root 1870 0.0 0.1 1912 544 ? Ss 14:11 0:00 /sbin/klogd -c 1 -x
root 1889 0.0 0.2 2728 1016 ? Ss 14:11 0:00 /sbin/syslog-ng -a /var/lib/dhcp/dev/log -a /var/lib/named/dev/log
101 1897 0.0 0.2 3012 1164 ? Ss 14:11 0:00 /bin/dbus-daemon --system
103 2021 0.0 0.8 6764 4328 ? Ss 14:11 0:00 /usr/sbin/hald --daemon=yes
root 2028 0.0 0.5 16556 2548 ? Ssl 14:11 0:00 /usr/sbin/console-kit-daemon
root 2102 0.0 0.2 3528 1104 ? S 14:11 0:00 hald-runner
root 2129 0.0 0.2 3648 1092 ? S 14:11 0:00 hald-addon-input: Listening on /dev/input/event0 /dev/input/event5 /dev/inpu
103 2228 0.0 0.2 3376 1036 ? S 14:11 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 2491 0.0 0.1 2496 772 ? Ss 14:11 0:00 /sbin/dhcp6c --netconfig -c /var/lib/dhcpv6/dhcp6c.eth0.conf -p /var/run/dhc
root 2578 0.0 0.4 6724 2380 ? S 14:11 0:00 /usr/sbin/gdm
root 2586 0.0 0.0 1776 424 ? Ss 14:11 0:00 startpar -f -- earlyxdm
root 2587 0.0 0.5 7028 2736 ? S 14:11 0:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display
root 2588 0.7 3.4 26604 17380 tty7 Ss+ 14:11 3:21 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-uDQdED/database -
root 2623 0.0 0.4 5880 2288 ? S 14:12 0:00 /usr/lib/gdm/gdm-session-worker
god 2632 0.0 1.7 35452 8720 ? Ssl 14:12 0:00 /usr/bin/gnome-session
god 3082 0.0 0.1 3576 764 ? S 14:12 0:00 dbus-launch --exit-with-session /usr/bin/gnome-session
god 3083 0.0 0.2 3104 1180 ? Ss 14:12 0:00 /bin/dbus-daemon --fork --print-pid 7 --print-address 9 --session
root 3092 0.0 0.3 8800 1628 ? Ss 14:12 0:00 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
god 3107 0.0 2.8 17736 14368 ? S 14:12 0:04 /usr/lib/GConf/2/gconfd-2
root 3159 0.0 0.0 2148 312 ? Ss 14:12 0:00 /sbin/dhcpcd --netconfig -L -E -HHH -c /etc/sysconfig/network/scripts/dhcpcd
god 3171 0.0 0.7 15412 3912 ? S 14:12 0:00 /usr/lib/gnome-session/helpers/gnome-keyring-daemon-wrapper
god 3176 0.0 2.9 50060 15044 ? Ssl 14:12 0:02 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
god 3177 0.0 0.4 15316 2240 ? S 14:12 0:00 /usr/bin/gnome-keyring-daemon
god 3195 0.0 0.4 6044 2284 ? S 14:12 0:00 /usr/lib/gvfs/gvfsd
god 3212 0.0 0.4 29460 2088 ? Ssl 14:12 0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/god/.gvfs
god 3261 0.0 1.2 27116 6304 ? Ss 14:12 0:15 gnome-screensaver
god 3641 0.0 2.3 23400 11704 ? S 14:12 0:06 /usr/bin/metacity
root 4100 0.0 0.1 2316 632 ? Ss 14:12 0:00 /sbin/rpcbind
root 4464 0.0 0.1 10708 772 ? S<sl 14:12 0:00 /sbin/auditd -s disable
root 4466 0.0 0.1 10144 684 ? S<sl 14:12 0:00 /sbin/audispd
avahi 4484 0.0 0.2 2956 1512 ? Ss 14:12 0:00 avahi-daemon: running [c66F28BC3.local]
god 4510 0.0 4.0 36696 20376 ? S 14:12 0:09 gnome-panel
root 4523 0.0 0.5 7436 2728 ? Ss 14:12 0:00 /usr/sbin/cupsd
god 4612 0.0 0.7 33132 3644 ? Ssl 14:12 0:00 /usr/lib/bonobo/bonobo-activation-server --ac-activate --ior-output-fd=16
root 4676 0.0 0.2 141812 1168 ? Ssl 14:12 0:00 /usr/sbin/nscd
root 4807 0.0 0.1 3544 848 ? S 14:12 0:00 /usr/sbin/smartd
root 4833 0.0 0.3 7036 1792 ? Ss 14:12 0:00 /usr/lib/postfix/master
postfix 4858 0.0 0.3 6880 1732 ? S 14:12 0:00 qmgr -l -t fifo -u
root 4870 0.0 0.5 15352 2700 ? Ss 14:12 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf
root 4873 0.0 0.1 2320 596 ? Ss 14:12 0:00 /usr/sbin/cron
root 4898 0.0 0.2 15352 1048 ? S 14:12 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf
root 4911 0.0 0.2 6568 1036 ? Ss 14:12 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
god 4915 0.0 3.7 37856 18972 ? S 14:12 0:07 /usr/lib/gnome-main-menu/main-menu --oaf-activate-iid=OAFIID:GNOME_MainMenu_
god 4918 0.0 5.3 53884 27064 ? Sl 14:12 0:02 mono /usr/lib/tomboy/Tomboy.exe --panel-applet --oaf-activate-iid=OAFIID:Tom
god 5094 0.0 0.5 6144 2596 ? S 14:12 0:00 /usr/lib/gvfs/gvfs-hal-volume-monitor
god 5096 0.0 0.4 5836 2120 ? S 14:12 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
root 5098 0.0 0.1 2268 660 tty1 Ss+ 14:12 0:00 /sbin/mingetty --noclear tty1
root 5100 0.0 0.1 2268 660 tty2 Ss+ 14:12 0:00 /sbin/mingetty tty2
root 5102 0.0 0.1 2268 636 tty3 Ss+ 14:12 0:00 /sbin/mingetty tty3
root 5103 0.0 0.1 2268 636 tty4 Ss+ 14:12 0:00 /sbin/mingetty tty4
root 5107 0.0 0.1 2268 640 tty5 Ss+ 14:12 0:00 /sbin/mingetty tty5
root 5110 0.0 0.1 2268 644 tty6 Ss+ 14:12 0:00 /sbin/mingetty tty6
god 5141 0.0 5.3 78596 27040 ? S 14:12 0:16 nautilus --no-desktop --browser
god 5148 0.0 0.9 93528 4940 ? Ssl 14:12 0:00 /usr/bin/pulseaudio --start --log-target=syslog
god 5152 0.0 0.4 8160 2436 ? S 14:12 0:00 /usr/lib/pulse/gconf-helper
god 5154 0.0 0.5 14880 2692 ? S 14:12 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
god 5159 0.0 0.4 6384 2224 ? S 14:12 0:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.8 /org/gtk/gvfs/exec_spaw/1
god 5169 0.0 2.7 28552 14044 ? S 14:12 0:00 nm-applet --sm-disable
god 5170 0.0 1.4 19648 7116 ? S 14:12 0:00 bluetooth-applet
god 5172 0.0 2.5 42216 12700 ? S 14:12 0:00 gpk-update-icon
god 5174 0.0 2.9 31876 14892 ? S 14:12 0:00 python /usr/lib/python2.6/site-packages/system-config-printer/applet.py
god 5186 0.0 4.9 77892 24992 ? SNl 14:12 0:08 beagled /usr/lib/beagle/BeagleDaemon.exe --replace --bg
root 5197 0.0 0.3 3628 1600 ? Ss 14:12 0:00 /usr/sbin/bluetoothd
root 5205 0.0 0.0 0 0 ? S< 14:12 0:00 [btaddconn]
root 5206 0.0 0.0 0 0 ? S< 14:12 0:00 [btdelconn]
god 5217 0.0 1.7 29704 8784 ? Ss 14:12 0:00 gnome-power-manager
root 5229 0.0 0.0 0 0 ? S< 14:12 0:00 [krfcommd]
root 5296 0.0 0.5 7188 2912 ? S 14:12 0:00 /usr/sbin/nm-system-settings --config /etc/NetworkManager/nm-system-settings
god 5417 0.0 3.8 46632 19604 ? Rl 14:15 0:08 gnome-terminal
god 5419 0.0 0.1 3200 572 ? S 14:15 0:00 gnome-pty-helper
god 5420 0.0 0.4 4932 2188 pts/1 Ss 14:15 0:00 bash
root 5429 0.0 0.3 4596 1552 pts/1 S 14:15 0:00 su
root 5432 0.0 0.4 4800 2188 pts/1 R 14:15 0:00 bash
god 6449 0.0 0.2 4188 1372 ? S 17:52 0:00 /bin/sh /usr/bin/firefox
god 6454 1.5 12.0 161160 61108 ? Sl 17:52 3:11 /usr/lib/firefox/firefox
postfix 7177 0.0 0.3 6836 1696 ? S 20:51 0:00 pickup -l -t fifo -u
god 7601 0.1 2.9 40260 14864 ? Sl 21:06 0:00 gnomesu -- /sbin/yast2
root 7602 0.0 0.2 4512 1508 ? S 21:06 0:00 /usr/lib/libgnomesu/gnomesu-pam-backend 16 15 root /sbin/yast2
root 7608 0.0 0.3 4192 1596 ? S 21:06 0:00 /bin/bash /sbin/yast2
root 7626 0.6 3.7 35636 18768 ? S 21:06 0:02 /usr/lib/YaST2/bin/y2controlcenter-gnome -S
root 7630 0.0 0.1 3560 720 ? S 21:07 0:00 dbus-launch --autolaunch 8ec067da2d93caebe6fe7616493eeaf8 --binary-syntax --
root 7631 0.0 0.1 2904 732 ? Ss 21:07 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
root 7633 0.0 0.5 6448 2912 ? S 21:07 0:00 /usr/lib/GConf/2/gconfd-2
root 7635 0.0 0.6 25016 3476 ? Ssl 21:07 0:00 /usr/lib/bonobo/bonobo-activation-server --ac-activate --ior-output-fd=20
root 7751 0.0 0.1 2704 872 pts/1 R+ 21:12 0:00 ps aux
here it is
 
Old 03-09-2009, 03:27 PM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
There is nothing suspicious in the process listing which makes me think that maybe the server ip is wrong since there is dhcpd running. Check your IP:
Code:
ifconfig
Is it the same as the one reported by apache when it tries to start (195.xxx.xxx.xxx)?
 
Old 03-09-2009, 03:36 PM   #9
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
yes it's the same ip adress inet addr:195.139.242.102
http://195.139.242.102/ worked earlier.
 
Old 03-09-2009, 05:29 PM   #10
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
That's strange. There is nothing listening on port 80 and apache claims that it cannot bind.
Is there anything logged in /var/log/apache2/error_log?
 
Old 03-10-2009, 09:18 AM   #11
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Code:
[Wed Mar 04 19:44:31 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 04 19:49:04 2009] [error] [client 195.139.242.102] Directory index forbidden by Options directive: /srv/www/
[Wed Mar 04 19:49:04 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/favicon.ico
[Wed Mar 04 19:49:07 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/favicon.ico
[Wed Mar 04 19:50:26 2009] [error] [client 195.0.229.139] Directory index forbidden by Options directive: /srv/www/
[Wed Mar 04 19:50:26 2009] [error] [client 195.0.229.139] File does not exist: /srv/www/favicon.ico
[Wed Mar 04 19:50:29 2009] [error] [client 195.0.229.139] File does not exist: /srv/www/favicon.ico
[Wed Mar 04 19:52:30 2009] [error] [client 195.139.242.241] File does not exist: /srv/www/favicon.ico
[Wed Mar 04 20:09:39 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/favicon.ico
[Wed Mar 04 20:10:40 2009] [notice] caught SIGTERM, shutting down
[Wed Mar 04 20:10:42 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 04 20:22:33 2009] [notice] caught SIGTERM, shutting down
[Wed Mar 04 20:22:34 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 04 20:24:08 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Wed Mar 04 22:04:32 2009] [notice] caught SIGTERM, shutting down
[Thu Mar 05 14:54:15 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Thu Mar 05 15:03:10 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Thu Mar 05 15:03:25 2009] [error] [client 195.139.242.102] Directory index forbidden by Options directive: /srv/www/w/
[Thu Mar 05 15:03:34 2009] [error] [client 195.139.242.102] Directory index forbidden by Options directive: /srv/www/w/, referer: http://195.139.242.102/
[Thu Mar 05 15:24:37 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Thu Mar 05 19:05:05 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Thu Mar 05 19:05:30 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Thu Mar 05 20:55:20 2009] [notice] caught SIGTERM, shutting down
[Fri Mar 06 14:37:37 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Fri Mar 06 15:08:08 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Fri Mar 06 15:08:41 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Fri Mar 06 15:16:00 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/index.htm
[Fri Mar 06 15:16:52 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Fri Mar 06 15:16:53 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Fri Mar 06 15:39:04 2009] [notice] caught SIGTERM, shutting down
[Fri Mar 06 22:53:58 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Fri Mar 06 22:54:24 2009] [notice] caught SIGTERM, shutting down
[Sat Mar 07 11:28:58 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sat Mar 07 11:48:11 2009] [notice] caught SIGTERM, shutting down
[Sat Mar 07 11:48:12 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sat Mar 07 11:48:14 2009] [notice] caught SIGTERM, shutting down
[Sat Mar 07 11:48:15 2009] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sat Mar 07 11:49:53 2009] [error] [client ::1] File does not exist: /srv/www/htdocs/susehelp
[Sat Mar 07 13:41:07 2009] [error] [client 78.129.143.154] File does not exist: /srv/www/w/user
[Sat Mar 07 15:24:42 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/lol.png
[Sat Mar 07 15:24:42 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 15:24:44 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/lol.png
[Sat Mar 07 15:24:44 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 15:24:45 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/lol.png
[Sat Mar 07 15:24:45 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 15:24:46 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/lol.png
[Sat Mar 07 15:24:59 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/lol.png
[Sat Mar 07 15:24:59 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 15:25:21 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/lol.png
[Sat Mar 07 15:27:02 2009] [error] [client 195.0.229.48] script '/srv/www/w/lol.PHP' not found or unable to stat
[Sat Mar 07 16:48:41 2009] [error] [client 195.0.229.48] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 16:48:41 2009] [error] [client 195.0.229.48] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 16:48:44 2009] [error] [client 195.0.229.48] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 16:48:44 2009] [error] [client 195.0.229.48] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 16:48:48 2009] [error] [client 195.0.229.48] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 16:48:48 2009] [error] [client 195.0.229.48] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 16:48:51 2009] [error] [client 195.0.229.48] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 16:48:51 2009] [error] [client 195.0.229.48] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 16:57:27 2009] [error] [client 195.0.229.48] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /srv/www/w/minnepenn.php on line 20
[Sat Mar 07 16:57:30 2009] [error] [client 195.0.229.48] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /srv/www/w/minnepenn.php on line 20
[Sat Mar 07 16:57:30 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 16:57:38 2009] [error] [client 195.0.229.48] script '/srv/www/w/minnepenn.PHP' not found or unable to stat
[Sat Mar 07 16:57:40 2009] [error] [client 195.0.229.48] script '/srv/www/w/minnepenn.PHP' not found or unable to stat
[Sat Mar 07 16:57:40 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 16:57:42 2009] [error] [client 195.0.229.48] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /srv/www/w/minnepenn.php on line 20
[Sat Mar 07 18:23:48 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:48 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:49 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:49 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:50 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:50 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:50 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:50 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:51 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] PHP Notice:  Undefined index:  password in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] PHP Notice:  Use of undefined constant \x91nnnn\x92 - assumed '\x91nnn\x92' in /srv/www/w/index.php on line 2
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:23:52 2009] [error] [client 195.139.242.102] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:42:51 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/kakefisk.PNG
[Sat Mar 07 18:42:52 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/kakefisk.PNG
[Sat Mar 07 18:42:52 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:42:53 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/kakefisk.PNG
[Sat Mar 07 18:42:53 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:43:04 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/kakefisk.PNG
[Sat Mar 07 18:43:04 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:43:05 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/kakefisk.PNG
[Sat Mar 07 18:43:05 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:43:30 2009] [error] [client 128.121.239.210] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Sat Mar 07 18:43:59 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/kakefisk.PNG
[Sat Mar 07 18:44:05 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:44:09 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:51:21 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/jegd.pngbilder
[Sat Mar 07 18:51:25 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:53:01 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/jegd.pngdl
[Sat Mar 07 18:53:43 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/jegd.pngdl
[Sat Mar 07 18:53:47 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:55:27 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/jegd.pngdl
[Sat Mar 07 18:56:10 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:56:11 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 18:56:31 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/jegd.pngdl
[Sat Mar 07 18:56:38 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/jegd.pngdl
[Sat Mar 07 19:09:12 2009] [error] [client 195.0.229.48] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 19:09:27 2009] [error] [client 80.203.248.218] File does not exist: /srv/www/w/favicon.ico
[Sat Mar 07 19:15:16 2009] [error] [client 195.0.229.48] Directory index forbidden by Options directive: /srv/www/w/dl/
[Sat Mar 07 19:22:55 2009] [notice] caught SIGTERM, shutting down
hope all this isnt errors :P it was alot

the last files (images) was some pictures i put up on the www apache server whit my password protected samba from my windows, sharing some pictures from my school pc, maybe thats what caused the error, whit file permissions? i cant really figure anything out from the error log :S
 
Old 03-10-2009, 10:03 AM   #12
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
These logs are from March the 7th and they look normal. There should be at least logged the yesterday's restart attempt unless your clock is 3 days back.
The errors you see are configuration errors, but according to your 1st post your prob was that apache does not start at all.
 
Old 03-11-2009, 04:33 AM   #13
mephisto23
LQ Newbie
 
Registered: Mar 2009
Posts: 20

Rep: Reputation: 1
Just a question...

... is the problem solved now? Normally the first error message you have written comes when another programm is using the port. Possibly also an instance of apache could block the port as a zombie, but you have tried all becessary commands to check and the last log you have posted shows that apache was determinated normally.

Regars,

mephisto23
 
Old 03-11-2009, 09:29 AM   #14
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
its not working, maybe i should try to reinstall apache \php&mySQL?
even if i try to rcapache2 restart the error log still tells me that the last error was 7mars, its just the same error log as the one posted over

think i have to go for reinstall, this seems to be too hard :P
 
Old 03-11-2009, 09:59 AM   #15
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
@Fredrix
Try to start apache in debug mode and see what happens, or post here the output:
Code:
httpd -k start -e debug
 
  


Reply

Tags
apache



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to start X satimis Ubuntu 2 07-24-2007 11:35 PM
Fail to start postfix satimis Linux - Server 3 04-07-2007 12:41 PM
Fail to start FC6 satimis Fedora 1 12-07-2006 01:20 AM
rcapache2 for normal user? thw Linux - Security 1 08-28-2004 01:37 PM
Fail to start Gnome satimis Fedora 1 07-30-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration