[Bug 497000] [NEW] apt-cacher on apache2 worker mpm gives "internal server error"

raghaven-kumar raghaven.kumar at gmail.com
Tue Dec 15 15:20:35 UTC 2009


Public bug reported:

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?

** Affects: apt-cacher (Ubuntu)
     Importance: Undecided
     Assignee: apt (apt)
         Status: New


** Tags: apache2 apt-cacher worker

** Changed in: apt-cacher (Ubuntu)
     Assignee: (unassigned) => apache2 (sullr)

** Changed in: apt-cacher (Ubuntu)
     Assignee: apache2 (sullr) => apt (apt)

-- 
apt-cacher on apache2 worker mpm gives "internal server error"
https://bugs.launchpad.net/bugs/497000
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list