Lighttpd not starting - no error
        Posted  
        
            by 
                Furism
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Furism
        
        
        
        Published on 2011-02-07T09:40:56Z
        Indexed on 
            2012/04/01
            11:32 UTC
        
        
        Read the original article
        Hit count: 373
        
I recently installed Lighttpd on Ubuntu Server 10.04 x86_64 and created several websites. What I do is include /etc/lighttpd/vhost.d/*.conf and put a configuration file for each website in that directory.
The problem I have is when I "service lighttpd start" I get the message that the service started, there is no error message:
root@178-33-104-210:~# service lighttpd start 
Syntax OK  
* Starting web server lighttpd                   [ OK ]
But then if I take a look at the services listening, Lighttpd is nowhere to be seen:
root@178-33-104-210:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost:mysql         *:*                     LISTEN      829/mysqld
tcp        0      0 *:ftp                   *:*                     LISTEN      737/vsftpd
tcp        0      0 *:ssh                   *:*                     LISTEN      739/sshd
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      739/sshd
So I'm looking at ways I could troubleshoot this. I checked in /var/log/lighttpd/error.log and there's nothing in it.
Edit: Sorry, I indicated I use CentOS but it's actually Ubuntu Server (I usually use CentOS but had to go with Ubuntu for that one).
© Server Fault or respective owner