Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Apache server not starting
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
Doper
n00b
n00b


Joined: 03 May 2014
Posts: 2

PostPosted: Sat May 03, 2014 10:09 am    Post subject: [Solved] Apache server not starting Reply with quote

Okey, so first my problem was:

* Caching service dependencies ... [ ok ]
* Starting apache2 ...
apache2: apr_sockaddr_info_get() failed for CCL
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
* start-stop-daemon: failed to start `/usr/sbin/apache2' [ !! ]
* ERROR: apache2 failed to start

I found thread talking about it:

https://forums.gentoo.org/viewtopic-t-948826-start-0.html

and followed instruction, added ServerName localhost to httpd.conf and after that error looked like:

* Caching service dependencies ... [ ok ]
* Starting apache2 ...
* start-stop-daemon: failed to start `/usr/sbin/apache2' [ !! ]
* ERROR: apache2 failed to start


All other configs are still purely basic, havent touch any of them. Just trying to get this work. (first problem was with eth0 not existing but gladly found: https://forums.gentoo.org/viewtopic-t-957342-start-0.html which helped with this problem.

Im not totally new to gentoo, but have worked with it in years 2004-2006 so actually i feel like Í have no idea what im doing


Last edited by Doper on Sat May 03, 2014 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat May 03, 2014 10:58 am    Post subject: Reply with quote

Doper,

Welcome back. We knew you wolud cone back sometime :)

You should have some log files in /var/log/apache2/ that will provide more detail.
In particular, error_log and ssl_error_log.

In /etc/conf.d/apache2 you will have
Code:
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE"
as the only active line.
Try removing -D SSL -D SSL_DEFAULT_VHOST, so that apache starts without SSL. This is not intended to be a fix, only a diagnostic aid.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Doper
n00b
n00b


Joined: 03 May 2014
Posts: 2

PostPosted: Sat May 03, 2014 1:41 pm    Post subject: Reply with quote

Hey nice to be back and thanks. So embarrassing, but well its been about 9 years... :P

So solved problem, checked out the logs, noted:
Error log: [Sat May 03 14:13:36 2014] [alert] (EAI 2)Name or service not known: mod_unique$
Configuration Failed

Just typo in hosts ... :D Thank you.

P.S Love this community, so much fun to be back in linux world =)
Back to top
View user's profile Send private message
otakugeek
n00b
n00b


Joined: 26 Jun 2014
Posts: 50

PostPosted: Sun Feb 15, 2015 3:52 am    Post subject: Reply with quote

Thanks @NeddySeagoon
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