Thursday, February 25, 2016

Re: [LINUX_Newbies] Apache issue[WAS How to learn Linux]

 

On 02/25/2016 03:38 PM, J dreadpiratejeff@gmail.com [LINUX_Newbies] wrote:
> but what about the contents of /var/log/apache2?

camille apache2 # ls -l /var/log/apache2/
total 32
-rw-r--r-- 1 root root 0 Oct 11 03:10 access_log
-rw-r--r-- 1 root root 104 Sep 20 03:10 access_log-20150921.gz
-rw-r--r-- 1 root root 85 Sep 21 03:10 access_log-20150927.gz
-rw-r--r-- 1 root root 163 Oct 4 23:52 access_log-20151005.gz
-rw-r--r-- 1 root root 81 Oct 5 03:10 access_log-20151011.gz
-rw-r--r-- 1 root root 0 Oct 12 03:10 error_log
-rw-r--r-- 1 root root 221 Sep 14 09:49 error_log-20150920.gz
-rw-r--r-- 1 root root 253 Sep 27 03:10 error_log-20150928.gz
-rw-r--r-- 1 root root 176 Sep 28 03:10 error_log-20151004.gz
-rw-r--r-- 1 root root 718 Oct 11 03:10 error_log-20151012
-rw-r--r-- 1 root root 0 Apr 6 2015 ssl_access_log
-rw-r--r-- 1 root root 0 Apr 6 2015 ssl_error_log
-rw-r--r-- 1 root root 0 Apr 6 2015 ssl_request_log

On my system, the general "dump" for log messages by default is
/var/log/messages. I greppe it for apache:

camille apache2 # grep apache /var/log/messages
Feb 23 16:31:55 camille /etc/init.d/apache2[12147]: start-stop-daemon:
failed to start `/usr/sbin/apache2'
Feb 23 16:31:57 camille kernel: apache2[12148]: segfault at c ip
b7076394 sp bfe3a150 error 4 in mod_perl.so[b7056000+37000]
Feb 23 16:32:10 camille /etc/init.d/apache2[12128]: ERROR: apache2
failed to start
Feb 23 16:55:03 camille /etc/init.d/apache2[31335]: start-stop-daemon:
failed to start `/usr/sbin/apache2'
Feb 23 16:55:05 camille kernel: apache2[31336]: segfault at c ip
b7010394 sp bfbcaf60 error 4 in mod_perl.so[b6ff0000+37000]
Feb 23 16:55:18 camille /etc/init.d/apache2[31136]: ERROR: apache2
failed to start
Feb 23 17:00:11 camille sudo[31467]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/etc/init.d/apache2 start
Feb 23 17:00:12 camille /etc/init.d/apache2[31489]: start-stop-daemon:
failed to start `/usr/sbin/apache2'
Feb 23 17:00:14 camille kernel: apache2[31490]: segfault at c ip
b70d2394 sp bfc89f60 error 4 in mod_perl.so[b70b2000+37000]
Feb 23 17:00:27 camille /etc/init.d/apache2[31470]: ERROR: apache2
failed to start
Feb 23 17:00:46 camille sudo[31527]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/usr/sbin/apache2
Feb 23 17:00:59 camille sudo[31531]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/usr/bin/emerge --info apache
Feb 24 15:11:57 camille sudo[3901]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/grep -r Listen /etc/apache2
Feb 24 15:13:15 camille sudo[3915]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/grep -r User /etc/apache2
Feb 24 15:13:54 camille sudo[3919]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/ls -l /var/log/apache2
Feb 24 15:15:16 camille sudo[3939]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/cat /var/log/apache2/error_log
Feb 25 09:59:14 camille sudo[7394]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/grep -rE
(Custom|Error|Transfer)Log /etc/apache2
Feb 25 14:43:26 camille sudo[8902]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/etc/init.d/apache2 start
Feb 25 14:43:28 camille /etc/init.d/apache2[8924]: start-stop-daemon:
failed to start `/usr/sbin/apache2'
Feb 25 14:43:30 camille kernel: apache2[8925]: segfault at c ip b701a394
sp bfe8b9e0 error 4 in mod_perl.so[b6ffa000+37000]
Feb 25 14:43:43 camille /etc/init.d/apache2[8905]: ERROR: apache2 failed
to start
Feb 25 14:43:49 camille sudo[8961]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/usr/sbin/apache2
Feb 25 14:45:46 camille sudo[8966]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/cat
/var/log/apache2/error_log-20151012.gz
Feb 25 14:45:48 camille sudo[8970]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/cat
/var/log/apache2/error_log-20151012
Feb 25 14:47:38 camille sudo[8973]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/usr/bin/emerge --info apache
Feb 25 14:51:12 camille sudo[9079]: michael : TTY=pts/6 ;
PWD=/home/michael ; USER=root ; COMMAND=/bin/cat
/var/log/apache2/error_log-20151012

Also, as per the website that suggested that this was a php problem and
that I should ldd php and curl files, I decided that my next step should
be to rebuild php. I issued an emerge -av php and noticed that it had
-curl on the use flags. I added the flag, and am rebuilding php. I
hope this solves my problem...

__._,_.___

Posted by: Michael Sullivan <msulli1355@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.

.

__,_._,___

No comments:

Post a Comment