Welcome! Log In Create A New Profile

Advanced

Create error logs

Posted by gordonisnz 
Create error logs
September 30, 2010 08:20AM
Hello.

I'm following this :-


I have

[quote]
http {
include mime.types;
default_type application/octet-stream;
.....

.....

server {
listen 80;
server_name localhost;
error_log logs debug;

[/quote]


I have c:\logs\

c:\ nginx\logs\

Ive closed / restarted NGINX (winXP)

I get :- http://localhost/

google Chrome could not connect..

However - No logs - Nothing....


In WINXP - is there a way I can see that NGINX is actually being run / called / started at all ??

or is NGINX being skipped completely ?

(Ive got another thread active, regarding WINXP / Nginx / Codeigniter.. )

I just want *SOME* errors - so i can even begin to look at the cause & try & figure it out..


Is it a problem with codeigniter ? is it a problem with Nginx ? Does my PC know a server is actually active ?
Re: Create error logs
September 30, 2010 08:39AM
Hmm

I don't think Nginx is actually being loaded / activated on start-up.

My vbatch file has this :-

[quote]
@ECHO OFF
c:\nginx\nginx.exe > c:\nginx.out
ping 127.0.0.1 -n 1>NUL
echo Starting nginx
echo .
echo .
echo .
ping 127.0.0.1 >NUL
EXIT
[/quote]

(I added the > c:\nginx.out - But that has no output... )


Is there a command-line option for debugging (& not close the screen until after I have time to read it)


- sorry - getting frustrated - I hate wasting hours & hours of time, on a probable 5-minute fix...
Re: Create error logs
September 30, 2010 08:55AM
Ive found the error - Something to do with FASTCGI

(looking up FASTCGI for WINXP)

Sorry, i can't see any option to edit previous post...
Re: Create error logs
September 30, 2010 09:23AM
I'll try later.. I'm off to bed....

Whenever I d/load FASTCGI - it installs anotherweb-server, & I tried & it didn't have FASTCGI included :(

Is there a dummies-guide to install FASTCGI with Nginx already loaded as a server ?
( WinXP )
Re: Create error logs
October 01, 2010 08:27PM
php / fastcgi - all loaded.. :)


though i now have other probs - see other threads in this forum
Re: Create error logs
November 10, 2010 03:33AM
Logs will go into the prefix directory (the prefix according to how nginx was compiled), unless you use the full path from the root of the system drive all the way to the log file.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
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