connection refused

General discussion forum for the Zend Server - The full, commercial edition

connection refused

Postby skoop on Wed Apr 11, 2012 1:11 pm

Hi,

I've been running into problems since about a month (or perhaps 2) with Zend Server's web interface. All of a sudden it started giving me connection refused errors. Searching around the forum I found this topic. I've tried the suggested solution there (turning off ipv6 support) but it didn't solve anything for me.

Upgrading to the latest Zend Server didn't solve the problem for me either. Every time I issue the restart-lighttpd, it keeps saying lighttpd isn't running, and it mentions a successful start of lighttpd. Even if I restart lighttpd immediately after a (re)start, it says lighttpd is not running and reports a successful start of lighttpd.

Strangest of all is: This used to work fine. It started failing at a seemingly random point in time.
skoop
 
Posts: 6
Joined: Fri Feb 20, 2009 5:01 pm

Re: connection refused

Postby ericritchie on Thu Apr 12, 2012 10:29 am

Hi,

Take a look in the /usr/local/zend/gui/lighttpd/logs/lighttps.error.log file and see if there is anything relevant in there. Post anything strange back here and we can start to track down the problem.

Regards,
Eric Ritchie.
User avatar
ericritchie
 
Posts: 119
Joined: Tue Feb 10, 2009 10:09 am

Re: connection refused

Postby skoop on Thu Apr 26, 2012 9:47 am

sorry for the late response:

2012-03-15 17:05:02: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket
2012-03-15 17:05:02: (mod_fastcgi.c.3037) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2012-03-15 17:05:04: (mod_fastcgi.c.2864) fcgi-server re-enabled: unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket
2012-03-15 17:05:06: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket
2012-03-15 17:05:06: (mod_fastcgi.c.3037) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2012-03-15 17:05:08: (mod_fastcgi.c.3608) all handlers for /ZendServer/index.php? on .php are down.
2012-03-15 17:05:08: (mod_fastcgi.c.2864) fcgi-server re-enabled: unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket
2012-03-15 17:05:09: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket
2012-03-15 17:05:09: (mod_fastcgi.c.3037) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2012-03-15 17:05:09: (mod_fastcgi.c.3608) all handlers for /ZendServer/index.php? on .php are down.
2012-03-15 17:05:11: (mod_fastcgi.c.2864) fcgi-server re-enabled: unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket
2012-03-15 17:05:13: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket
2012-03-15 17:05:13: (mod_fastcgi.c.3037) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2012-03-15 17:05:15: (mod_fastcgi.c.2864) fcgi-server re-enabled: unix:/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket


I saw this. I changed the rights on the socket. there's no errors in the logs. Right now, when I start lighttpd, I get:

Hot-Shot:TITAN skoop$ sudo /usr/local/zend/bin/zendctl.sh start-lighttpd
spawn-fcgi: child spawned successfully: PID: 22477
Starting Zend Server GUI [Lighttpd] [OK]
[26.04.2012 10:36:39 SYSTEM] watchdog for lighttpd is not running.
[26.04.2012 10:36:39 SYSTEM] lighttpd is not running.
skoop
 
Posts: 6
Joined: Fri Feb 20, 2009 5:01 pm

Re: connection refused

Postby skoop on Thu May 03, 2012 12:26 pm

any idea? running Zend Server without the control panel is of little use
skoop
 
Posts: 6
Joined: Fri Feb 20, 2009 5:01 pm

Re: connection refused

Postby yoramb on Thu May 03, 2012 12:46 pm

What is the output of (that actual launch command that is executed by Zend watchdog) :
/usr/local/zend/gui/lighttpd/sbin/lighttpd -m /usr/local/zend/gui/lighttpd/lib -f /usr/local/zend/gui/lighttpd/etc/lighttpd.conf -D
yoramb
 
Posts: 35
Joined: Tue Jun 02, 2009 3:48 pm

Re: connection refused

Postby skoop on Thu May 03, 2012 12:51 pm

Hi!

OK, that gave a bit more info, so I acted upon that:

Hot-Shot:haspgit skoop$ sudo /usr/local/zend/gui/lighttpd/sbin/lighttpd -m /usr/local/zend/gui/lighttpd/lib -f /usr/local/zend/gui/lighttpd/etc/lighttpd.conf -D
Password:
2012-05-03 13:48:16: (log.c.118) opening errorlog '/usr/local/zend/gui/lighttpd/logs/lighttpd.error.log' failed: Permission denied
Hot-Shot:haspgit skoop$ sudo chmod 777 /usr/local/zend/gui/lighttpd/logs/lighttpd.error.log
Hot-Shot:haspgit skoop$ sudo /usr/local/zend/gui/lighttpd/sbin/lighttpd -m /usr/local/zend/gui/lighttpd/lib -f /usr/local/zend/gui/lighttpd/etc/lighttpd.conf -D
Hot-Shot:haspgit skoop$ ps aux | grep lig
skoop 66327 0,0 0,0 2425480 8 s003 R+ 1:50pm 0:00.00 grep lig


So now I don't get any feedback anymore, yet it doesn't seem to be starting the lighttpd process still...
skoop
 
Posts: 6
Joined: Fri Feb 20, 2009 5:01 pm

Re: connection refused

Postby skoop on Thu May 03, 2012 12:57 pm

OK, digging a bit more into logs and such, I found out that for some reason all files in /usr/local/zend/gui/lighttpd/logs/ had incorrect rights. I've chmod-ed them to be writable and now it starts again! Thanks!
skoop
 
Posts: 6
Joined: Fri Feb 20, 2009 5:01 pm

Re: connection refused

Postby happydai on Tue Oct 30, 2012 10:55 am

You will be prompted about conflicts by your package manager. Your package manager will remove any old packages and install the packages that you have listed in the install command. Any extra components which have not been specified in the install command will be removed due to the conflict, and you will be able to install them later.
casquette-chaussures-pascher
happydai
 
Posts: 1
Joined: Tue Oct 30, 2012 10:48 am


Return to Zend Server

Who is online

Users browsing this forum: Google [Bot] and 2 guests