Welcome! Log In Create A New Profile

Advanced

Re: Not easy replacement of Apache with Ngnix due to error log

Jonathan Matthews
April 03, 2012 07:14AM
On 3 April 2012 06:47, niraj <nginx-forum@nginx.us> wrote:
> Hi  Anton
>
>               As u suggested,

It's "you", not "u". We're not teenagers swapping text messages here.

>               words "upstream closed prematurely FastCGI stdout" show,
> that problem is
> probably in FastCGI server.
>
>                  This is what I am telling u that Nginx error log
> misguide us.

No, it told you exactly where to aim your troubleshooting lens. At the
FCGI process.

>              Actually Problem was one perl module was not installed in
> that so I was getting the above error.
>
>     Earlier I used apache so if any module related error then it was
> reflect in apache's error log ..............

That's because of an architectural decision for Apache to host the
perl process, and for nginx to outsource it. Each has their advantages
and disadvantages and both are valid approaches. Learn to use the
tools in your toolkit.

> that actually not happening with Nginx , this create a problem for
> system admin.

If your system administrator is unable to configure a debug log from
your perl process or its FCGI wrapper, after being given the earlier
information that the problem is *inside* the FCGI process, then your
problem is not with nginx: it is with your incompetent system
administrator.

> If any idea to get details error logs for nginx  then please sugeest.
>
> how to set  fcgiwraper error log ??????

I don't know if this thread is useful: http://www.ruby-forum.com/topic/180064
You may have to search for other people's solutions to getting the
verbose logs into nginx logs. It appears people have achieved this. I
don't have any pertinent information other than what I found searching
for the problem.

Jonathan
--
Jonathan Matthews
London, Oxford, UK
http://www.jpluscplusm.com/contact.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Not easy replacement of Apache with Ngnix due to error log

niraj April 02, 2012 12:56AM

Re: Not easy replacement of Apache with Ngnix due to error log

Anton Yuzhaninov April 02, 2012 01:24PM

Re: Not easy replacement of Apache with Ngnix due to error log

niraj April 03, 2012 01:47AM

Re: Not easy replacement of Apache with Ngnix due to error log

Jonathan Matthews April 03, 2012 07:14AM

Re: Not easy replacement of Apache with Ngnix due to error log

niraj April 03, 2012 08:32AM

Re: Not easy replacement of Apache with Ngnix due to error log

Tiberius April 03, 2012 09:26AM

Re: Not easy replacement of Apache with Ngnix due to error log

niraj April 04, 2012 02:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 239
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready