[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with Apache2 and libapache2_mod_auth_pgsql



Roberto C. Sánchez wrote:
On Wed, Jun 06, 2007 at 07:31:10PM -0400, Eric A. Bonney wrote:
Ok,

So I went ahead and installed the pgsql stuff that was recommended from another thread. I am having issues with the authentication process now and I was wondering if there is anyway to debug the process to figure out where the error is occurring? How does one read the error logs for apache2? I have tried opening them in Kedit and it doesn't seem to work.

I do have a logging table setup in my database and I have the logging information added to my configuration file of apache2, but nothing seems to be getting written into that table. So I can't yet get anything useful from there.

Assuming that you have not changed the defaults, we would need to see
/var/log/apache2/access_log and /var/log/apache2/error_log.  Something
like 'more' or 'less' or 'cat' could be used to view them.

Regards,

-Roberto

Ok, so I just tried connecting again and here are the lines from the respective files. The files are way to large to attach, but here is the specific information.

From error.log:
[Wed Jun 06 21:42:56 2007] [error] Internal error: pcfg_openfile() called with NULL filename [Wed Jun 06 21:42:56 2007] [error] [client 192.168.1.1] (9)Bad file descriptor: Could not open password file: (null)

From access.log
192.168.1.1 - - [06/Jun/2007:21:42:47 -0400] "GET /Photos HTTP/1.1" 401 576 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4" 192.168.1.1 - EABonney [06/Jun/2007:21:42:56 -0400] "GET /Photos HTTP/1.1" 500 714 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"


These are the only lines that relate to my attempted login. The other lines where from many hours before hand so I am sure they were not relevant. Seems the error.log has some info that might be useful. I am going to try a google on those errors.

-Eric



Reply to: