Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Apache2 stopped after emerge (PHP related)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
WintermuteX
n00b
n00b


Joined: 29 Apr 2006
Posts: 48
Location: Germany

PostPosted: Tue Nov 13, 2007 8:21 am    Post subject: [solved] Apache2 stopped after emerge (PHP related) Reply with quote

My apache server stopped working after i ran "perl-cleaner reallyall" .. at least thats the only change i remember.
Ok, i also made an "emerge -avuDN world" after syncing with portage yesterday. Maybe it's also related to this.
Apache starts only one instance and all connections to port 80 are refused.

Any ideas? Thats somehow very urgent as it is an community page %)


Last edited by WintermuteX on Tue Nov 13, 2007 11:00 am; edited 1 time in total
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Tue Nov 13, 2007 8:37 am    Post subject: Reply with quote

Did you run etc-update / dispatch-conf after upgrading world ? There were some major changes in Apache from 2.0.5x to 2.2.6 which is probably whats happened to you.

Start with that and if that doesn't help check your error_log files
and think about enabling the start up log in /etc/conf.d/apache2

HTH

-m
Back to top
View user's profile Send private message
WintermuteX
n00b
n00b


Joined: 29 Apr 2006
Posts: 48
Location: Germany

PostPosted: Tue Nov 13, 2007 8:44 am    Post subject: Reply with quote

Thanks for your input, i now enabled startup logging.

The migration to apache 2.2 is done a long time ago and worked very well, the server was even rebooted inbetween. As a standard measure i run "env-update && etc-update && source /etc/profile && revdep-rebuild -i" after emerges/updates.

The StartUp log only provides: "Syntax OK"

No error messages anywhere .. the only thing i see is that only one instance of apache is seen by top/htop/ps aux.
Back to top
View user's profile Send private message
WintermuteX
n00b
n00b


Joined: 29 Apr 2006
Posts: 48
Location: Germany

PostPosted: Tue Nov 13, 2007 8:47 am    Post subject: Reply with quote

Btw some more info:

www-servers/apache-2.2.6 USE="mpm-worker ssl threads"
dev-lang/perl-5.8.8-r2 USE="berkdb gdbm ithreads"
dev-lang/php-5.2.5 USE="apache2 bcmath berkdb bzip2 calendar cdb cgi cli crypt ctype curl curlwrappers exif filter flatfile ftp gd gdbm hash iconv imap inifile json kerberos mhash mysql mysqli ncurses nls pcntl pcre pdo posix readline reflection session sharedext simplexml soap sockets spell spl sqlite ssl sysvipc threads tidy tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xpm xsl yaz zip zlib"

Any information missing?
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Tue Nov 13, 2007 8:47 am    Post subject: Reply with quote

Very strange. The next thing I'd do is try and start httpd in the foreground, although I'm not
entirely sure how to do it as I've never really had issues with an Apache installation.

Sorry I can't be of more use to you.

-m
Back to top
View user's profile Send private message
WintermuteX
n00b
n00b


Joined: 29 Apr 2006
Posts: 48
Location: Germany

PostPosted: Tue Nov 13, 2007 8:49 am    Post subject: Reply with quote

Thank you for trying :)
Back to top
View user's profile Send private message
WintermuteX
n00b
n00b


Joined: 29 Apr 2006
Posts: 48
Location: Germany

PostPosted: Tue Nov 13, 2007 11:03 am    Post subject: Reply with quote

Ok, the answer was simple .. and is related to two events:

1. After upgrading to apache 2.2 and merging the configs i forgot to set the error_log path correctly .. hence i had empty error_log's
2. I use PHP in conjunction with eaccelerator

After the ebuild update of PHP5 eaccelerator was broken and should have been reemerged ... i forgot about it and missed the log message as it was never written (see 1. above).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum