Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20651 - [cherokee] cherokee-admin fails to run if Python is not installed.

Attached to Project: Community Packages
Opened by Travis Lyons (chmod777) - Saturday, 28 August 2010, 15:47 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 30 August 2010, 17:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When accessing a cherokee-admin session after an initial install, an HTTP 503, service unavailable error is displayed. This appears to happen if python is not installed.

Making python a dependency of cherokee should resolve this.


Additional info:
* package version(s)
cherokee-config --version 1.0.8
* config and/or log files etc.
sudo cherokee-admin -b -x
Password:

Login:
User: admin
One-time Password: VAz4WrOU16p2at8G

Web Interface:
URL: http://localhost:9090/

Cherokee Web Server 1.0.8 (Aug 14 2010): Listening on port ALL:9090, TLS
disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
connections, caching I/O, single thread
/usr/bin/env: python: No such file or directory
/usr/bin/env: python: No such file or directory
/usr/bin/env: python: No such file or directory
/usr/bin/env: python: No such file or directory
/usr/bin/env: python: No such file or directory
^C[administrator@phoenix ~]$ sudo pacman -S python
resolving dependencies...
looking for inter-conflicts...

Targets (1): python-2.6.5-3

Total Download Size: 7.80 MB
Total Installed Size: 61.86 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
python-2.6.5-3-i686 7.8M 1562.4K/s 00:00:05 [######################] 100%
checking package integrity...
(1/1) checking for file conflicts [######################] 100%
(1/1) installing python [######################] 100%
Optional dependencies for python
tk: for IDLE, pynche and modulator
[administrator@phoenix ~]$ sudo cherokee-admin -b -x

Login:
User: admin
One-time Password: nYcqgEBDMVOHSbT5

Web Interface:
URL: http://localhost:9090/

Cherokee Web Server 1.0.8 (Aug 14 2010): Listening on port ALL:9090, TLS
disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
connections, caching I/O, single thread
DEBUG: SIGUSR1 invokes the console..
SIGUSR2 prints a backtrace..
Server 1.0.8 running.. PID=26604 Socket=/tmp/cherokee-admin-scgi.socket


Steps to reproduce:
Run cherokee-admin -b -x without python installed.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 30 August 2010, 17:54 GMT
Reason for closing:  Not a bug
Additional comments about closing:  python is listed as an optional dependency.
Comment by Evangelos Foutras (foutrelis) - Saturday, 28 August 2010, 18:13 GMT
Python is indeed required for the administration interface. However, it's not required in order to run the Cherokee HTTP server. Therefore, it's listed as an optional dependency:

$ pacman -Si cherokee | grep python
Optional Deps : python: cherokee-admin (administrative web interface)

Loading...