apt-cacher on apache2 worker mpm gives "internal server error"

Bug #497000 reported by raghaven-kumar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-cacher (Ubuntu)
Confirmed
Undecided
apt
Nominated for Intrepid by raghaven-kumar

Bug Description

Binary package hint: apt-cacher

Hi,

I was using apt-cacher in my office without any issues with Apache-prefork-mpm
After a suggestion from a online post i replaced the webserver with a worker module.

After installing and configuring with mod-fcgid all the webpages are working

But then on the client, "apt-get update" was giving 500 Internal Server Error
When i saw the apache2 log, it showed me
      [Tue Dec 15 20:35:14 2009] [error] [client 192.168.2.10] Premature end of script headers: apt-cacher.pl

Thought the handler was missing.

So then i modified the apt-cacher file in /etc/apache2/conf.d/apt-cacher as
----------------
Alias /apt-cacher /usr/share/apt-cacher/apt-cacher.pl

<DirectoryMatch /usr/share/apt-cacher/>
        Options ExecCGI
        AddHandler fcgid-script .pl
        FCGIWrapper /usr/lib/cgi-bin/php5 .pl
        AllowOverride None
        order allow,deny
        allow from all
</DirectoryMatch>
-----------------

And then, the 500 error went away but "apt-get update" gives a new error
     W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://192.168.2.2 karmic Release: The following signatures were invalid: NODATA 1 NODATA 2

am i doing anything wrong here?

Changed in apt-cacher (Ubuntu):
assignee: nobody → apache2 (sullr)
assignee: apache2 (sullr) → apt (apt)
Revision history for this message
raghaven-kumar (raghaven-kumar) wrote :

Anyone pleas help

our office ubuntu updates are down, as i have configured apt-cacher in all ubuntu clients.

???

Revision history for this message
raghaven-kumar (raghaven-kumar) wrote :

I have moved to apt-cacher-ng which is more easy to manage,
Thanks for your help.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-cacher (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.