PDA

View Full Version : [all variants] 8.10 upgrade broke Lighttpd



ryawn
October 26th, 2008, 02:40 PM
Hey guys, I'm having some issues with Lighttpd after upgrading my 8.04 system to 8.10.

I've been using the 8.10 RC on my laptop, and absolutely love it. So, I decided to upgrade my 8.04 desktop. The upgrade was very smooth, I thought everything was working, but then I noticed that my webserver wasn't up.

I tried to bring it up, and here's what happens:



ryan@madison:~$ sudo /etc/init.d/lighttpd start
* Starting web server lighttpd
2008-10-26 09:35:54: (configfile.c.901) opening configfile /etc/lighttpd/conf-enabled/10-auth.conf failed: No such file or directory
2008-10-26 09:35:54: (configfile.c.855) source: /usr/share/lighttpd/include-conf-enabled.pl line: 2 pos: 8 parser failed somehow near here: (EOL)
2008-10-26 09:35:54: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 159 pos: 1 parser failed somehow near here: (EOL)
...fail!


I checked out the config file, and nothing really stuck out at me. So, I have 2 questions: 1 - does anyone know how I can fix these errors? 2 - If not, how can I completely remove lighttpd and reinstall it from scratch?

I tried:


sudo apt-get purge lighttpd

and I'm still getting the same errors when I attempt to start the process.

Thanks guys! :popcorn:

(If it would help to post my lighttpd config, please don't hesitate to ask)

ryawn
October 26th, 2008, 07:26 PM
Oh, forgot to mention, the file it claims doesn't exist is there; it just doesn't have anything in it.


ryan@madison:~$ ls -l /etc/lighttpd/conf-enabled/
total 0
lrwxrwxrwx 1 root root 41 2008-07-28 10:19 10-auth.conf -> /etc/lighttpd/conf-available/10-auth.conf
lrwxrwxrwx 1 root root 40 2008-07-28 10:16 10-cgi.conf -> /etc/lighttpd/conf-available/10-cgi.conf
lrwxrwxrwx 1 root root 47 2008-07-28 10:19 50-phpmyadmin.conf -> /etc/lighttpd/conf-available/50-phpmyadmin.conf

ryawn
October 27th, 2008, 09:37 PM
Bump, any ideas?

mihaiv
October 27th, 2008, 09:43 PM
Fill a bug on launchpad. Probably there are very few other people using Lighttpd. You probably are the first one to upgrade. Hope this makes you fill special.
Still, it is theoretically possible that you made some customizations to your Lighttpd installation that are not compatible with the upgrade process. It would be good to know if anyone upgraded successfully or if it works on a clean install on 8.10.

ryawn
October 28th, 2008, 12:33 PM
fill a bug on launchpad. Probably there are very few other people using lighttpd. You probably are the first one to upgrade. Hope this makes you fill special.
Still, it is theoretically possible that you made some customizations to your lighttpd installation that are not compatible with the upgrade process. It would be good to know if anyone upgraded successfully or if it works on a clean install on 8.10.

1

mstenkil
November 3rd, 2008, 04:10 PM
Hey,

The file it is complaining about is a broken link - try this:


sudo rm /etc/lighttpd/conf-available/10-auth.conf
sudo lighttpd-enable-mod auth
sudo /etc/init.d/lighttpd start

There are still some broken pieces, but at least the server will start now and most stuff seems to work (some of my re-dicrects do not though)

Looks like the error was caused by a renaming of 10-auth.conf to 5-auch.conf

Good luck - hope that helped

Martin