Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
start-stop-daemon:failed to start `/usr/sbin/apache2'[SOLVE]
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
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 357
Location: Ljubljana, Slovenia

PostPosted: Tue Jan 22, 2013 7:19 pm    Post subject: start-stop-daemon:failed to start `/usr/sbin/apache2'[SOLVE] Reply with quote

oi

I have new pc box, and I want to run apache,
but I encountered a problem.

Code:
kishta grom # /etc/init.d/apache2 restart
 * apache2 not running (no pid file)
 * Starting apache2 ...
apache2: apr_sockaddr_info_get() failed for kishta
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'                                                                                                                                                                                                                                                             [ ok ]
kishta grom #


I am noob, and I did search as best I can and found this:
http://forums.gentoo.org/viewtopic-t-927794-start-0.html
http://goldelite382.livejournal.com/4998.html
but I do not understand quite what is the 'right' way do go about it...

I also need mysql and php
(in those links there are some solutions without php,
as I gather, but I am not a native English speaker
and I did misunderstood in the past...)

Thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass


Last edited by while true on Wed Jan 23, 2013 5:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4683
Location: Theux (Belgium)

PostPosted: Tue Jan 22, 2013 11:05 pm    Post subject: Reply with quote

There's probably no active directive "ServerName foo" in your apache config file.

See Hope this helps.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 357
Location: Ljubljana, Slovenia

PostPosted: Wed Jan 23, 2013 8:09 am    Post subject: Reply with quote

VinzC,

thank you for now, I will take a closer look during the day and came back to you.
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4683
Location: Theux (Belgium)

PostPosted: Wed Jan 23, 2013 10:25 am    Post subject: Reply with quote

You're welcome :) .
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 357
Location: Ljubljana, Slovenia

PostPosted: Wed Jan 23, 2013 5:52 pm    Post subject: Reply with quote

oi oi oi!!!!!!


IT WORKS!!!! WHOOOHAHAHAHAHA!!!


(I amsorry for this outburst)

I followed those instructions:
http://webmasters.stackexchange.com/questions/29033/apr-sockaddr-info-get-failed

VinzC, thanks again for stepping in!
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4683
Location: Theux (Belgium)

PostPosted: Thu Jan 24, 2013 8:02 am    Post subject: Reply with quote

Glad I could help :) .
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
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