Discussion:
[webmin-l] mod_fcgid: error reading data from FastCGI server , End of script output before headers: index.php
Ron Bikker
2014-07-15 19:03:32 UTC
Permalink
Hi All,

Since last night when a kernel update was done on my Virtualmin pro
server nothing with php will start.

Operating system Ubuntu Linux 14.04 Kernel and CPU Linux
3.13.0-30-generic on x86_64

on the website i get " Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator at ***@xxx.com
<mailto:***@xxx.com> to inform them of the time this error occurred,
and the actions you performed just before this error.

More information about this error may be available in the server error log.

in the error log I get, : [fcgid:warn] [pid 3718] (104)Connection reset
by peer: [client xxxxxxxxx] mod_fcgid: error reading data from FastCGI
server [Tue Jul 15 07:56:35.353379 2014] [core:error] [pid 3718] [client
xxxxxxx:53787] End of script output before headers: index.php

At first I got a lot off errors on the apache2 config files those were
fixed and apache started as well as Mysql, but now I got stuck...

anyone?

kind regards,

Ron Bikker*

**
*

LinkedIn
<http://s.wisestamp.com/links?url=http%3A%2F%2Fnl.linkedin.com%2Fpub%2Fron-bikker%2F0%2F6bb%2F824%2F>
Do you really need to print this email?
Steve Holdoway
2014-07-15 20:42:04 UTC
Permalink
I have had similar errors with nginx/php-fpm in raw CentOS servers, when
using named sockets to connect to the backend.

It turned out that the fcgi config ( /etc/php-fpm.d/www.conf in this
case ) had the following lines commented out as below.

;listen.owner = nobody
;listen.group = nobody
;listen.mode = 0666

That way the socket was created with root ownership and nobody could
access it.

May help?


Steve
Post by Ron Bikker
Hi All,
Since last night when a kernel update was done on my Virtualmin pro
server nothing with php will start.
Operating system Ubuntu Linux 14.04 Kernel and CPU Linux
3.13.0-30-generic on x86_64
on the website i get " Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
them of the time this error occurred, and the actions you performed
just before this error.
More information about this error may be available in the server error log.
in the error log I get, : [fcgid:warn] [pid 3718] (104)Connection
reset by peer: [client xxxxxxxxx] mod_fcgid: error reading data from
FastCGI server [Tue Jul 15 07:56:35.353379 2014] [core:error] [pid
index.php
At first I got a lot off errors on the apache2 config files those were
fixed and apache started as well as Mysql, but now I got stuck...
anyone?
kind regards,
Ron Bikker
LinkedIn
Do you really need to print this
email?
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
-
Forwarded by the Webmin mailing list at webadmin-***@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
Ron Bikker
2014-07-16 16:27:47 UTC
Permalink
does anyone know where to find this in ubuntu?
Post by Steve Holdoway
I have had similar errors with nginx/php-fpm in raw CentOS servers, when
using named sockets to connect to the backend.
It turned out that the fcgi config ( /etc/php-fpm.d/www.conf in this
case ) had the following lines commented out as below.
;listen.owner = nobody
;listen.group = nobody
;listen.mode = 0666
That way the socket was created with root ownership and nobody could
access it.
May help?
Steve
Post by Ron Bikker
Hi All,
Since last night when a kernel update was done on my Virtualmin pro
server nothing with php will start.
Operating system Ubuntu Linux 14.04 Kernel and CPU Linux
3.13.0-30-generic on x86_64
on the website i get " Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
them of the time this error occurred, and the actions you performed
just before this error.
More information about this error may be available in the server error log.
in the error log I get, : [fcgid:warn] [pid 3718] (104)Connection
reset by peer: [client xxxxxxxxx] mod_fcgid: error reading data from
FastCGI server [Tue Jul 15 07:56:35.353379 2014] [core:error] [pid
index.php
At first I got a lot off errors on the apache2 config files those were
fixed and apache started as well as Mysql, but now I got stuck...
anyone?
kind regards,
Ron Bikker
LinkedIn
Do you really need to print this
email?
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Steve Holdoway
2014-07-16 21:27:09 UTC
Permalink
Probably /etc/php5/fpm/pools.d/ ( not got one close, but follow that
path and you should find it ).
Post by Ron Bikker
does anyone know where to find this in ubuntu?
Post by Steve Holdoway
I have had similar errors with nginx/php-fpm in raw CentOS servers, when
using named sockets to connect to the backend.
It turned out that the fcgi config ( /etc/php-fpm.d/www.conf in this
case ) had the following lines commented out as below.
;listen.owner = nobody
;listen.group = nobody
;listen.mode = 0666
That way the socket was created with root ownership and nobody could
access it.
May help?
Steve
Post by Ron Bikker
Hi All,
Since last night when a kernel update was done on my Virtualmin pro
server nothing with php will start.
Operating system Ubuntu Linux 14.04 Kernel and CPU Linux
3.13.0-30-generic on x86_64
on the website i get " Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
them of the time this error occurred, and the actions you performed
just before this error.
More information about this error may be available in the server error log.
in the error log I get, : [fcgid:warn] [pid 3718] (104)Connection
reset by peer: [client xxxxxxxxx] mod_fcgid: error reading data from
FastCGI server [Tue Jul 15 07:56:35.353379 2014] [core:error] [pid
index.php
At first I got a lot off errors on the apache2 config files those were
fixed and apache started as well as Mysql, but now I got stuck...
anyone?
kind regards,
Ron Bikker
LinkedIn
Do you really need to print this
email?
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
-
Forwarded by the Webmin mailing list at webadmin-***@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
Loading...