You are not logged in.
Hi. After some time the time for Arch has come again. Everything setted up nad running... excluding ANY webserver. I prefer lighttpd as apache is overkill for me... I installed lighttpd, php and fcgi, set
cgi.fix_pathinfo=1
in php.ini and uncommented few lines in lighhtpd.conf.
/etc/rc.d/lighttpd start
results in [DONE] but it fails(wtf?!). Let's try it manually:
lighttpd -f /etc/lighttpd/lighttpd.conf
2007-10-23 09:50:13: (mod_fastcgi.c.900) bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0 No such file or directory
2007-10-23 09:50:13: (mod_fastcgi.c.1336) [ERROR]: spawning fcgi failed.
2007-10-23 09:50:13: (server.c.895) Configuration of plugins failed. Going down.
I checked howto, nothing interesting here... whatever. Apache just dies insted.
apachectl -k start
results in return code 1 without any output, syntax is allright(I didn't modifiet shipped config after all)
apachectl -t
Syntax OK
The question is... WTF?! Installing both of these webservers was a matter of a minute in both debian and gentoo and this is fresh Arch Don't Panic mostly stable install, so I really don't understand... Any hints appreciated.
Offline
Check the logs for possible hints
- Judge a pig competition? But I'm no super genius... or are I?
Offline
Offline
Thanks for suggestions. I had to assign lighty to a user and create /var/run/lighttpd with right permissions for that user. It works fine now, but I don't understand why this wasn't done automaticaly?
Offline
Could you elaborate on how you actually got it to work, im a lil confused on how to assign lighttpd as the user and crate the file thats needed in the /var/run/ director.
I changed user and group in lighttpd.conf to www, changed logrotate configuration as suggested, chowned /var/log/lighttpd to www:www and removed and recreated /var/run/lighttpd with mentioned permissions. Ugly yet working...
Offline