ppr-list-digest volume 4, number 31, message 2

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: David Chappell <David.Chappell@mail.cc.trincoll.edu>
Date: 04 Apr 2002 20:24:45 -0500
Subject: Re: PPR: PPR-httpd and 500 Internal Server Errors

On Thu, 2002-04-04 at 11:04, Jeremy Iverson wrote:
> Greetings,
> 
> I have just upgraded our systems to PPR version 1.44, and am attempting to 
> get the web interface working. When I connect to the server on port 15010, 
> the first page comes up with no problems. However, when I attempt to load 
> show_queues.cgi by clicking Printer Control Panel, I receive the following 
> error from the server.
> 
>    500 Internal Server Error
> 
>    CGI script didn't send a "Content-Type:" header.
> 
>    Server: PPR-httpd/1.44
>    <host name and date lines deleted)

I would try running show_queues.cgi from the shell prompt.  If it
produces an error message rather than a lot of HTML, that would be
valuable information.  If that doesn't help, have a look at
/var/spool/ppr/logs/ppr-httpd.  If it doesn't exist, do:

# chown ppr:ppr /var/spool/ppr/logs
# chmod 775 /var/spool/ppr/logs

then kill ppr-httpd (to make sure you get a new one) and try again.

The permissions are supposed to be set as above, but I think there may
be or have been a problem with them.