Skip to content

Instantly share code, notes, and snippets.

@pkilambi
Created February 27, 2013 19:17
Show Gist options
  • Save pkilambi/5050758 to your computer and use it in GitHub Desktop.
Save pkilambi/5050758 to your computer and use it in GitHub Desktop.
err: /Stage[main]/Graphite/Package[libapache2-mod-python]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libapache2-mod-python' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
linux-headers-3.5.0-23-generic linux-headers-3.5.0-23
Use 'apt-get autoremove' to remove them.
Suggested packages:
libapache2-mod-python-doc
The following NEW packages will be installed:
libapache2-mod-python
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 130 kB of archives.
After this operation, 586 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libapache2-mod-python amd64 3.3.1-9ubuntu1 [130 kB]
Fetched 130 kB in 0s (529 kB/s)
Selecting previously unselected package libapache2-mod-python.
(Reading database ... 179738 files and directories currently installed.)
Unpacking libapache2-mod-python (from .../libapache2-mod-python_3.3.1-9ubuntu1_amd64.deb) ...
Setting up puppetmaster-passenger (2.7.11-1ubuntu2.1) ...
Module ssl already enabled
Module headers already enabled
Site puppetmaster already enabled
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8140
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
...fail!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing puppetmaster-passenger (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libapache2-mod-python (3.3.1-9ubuntu1) ...
* Reloading web server config apache2
Errors were encountered while processing:
puppetmaster-passenger
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment