File does not exist: /var/www/mailman

Posted by Thufir on Ask Ubuntu See other posts from Ask Ubuntu or by Thufir
Published on 2012-08-27T21:10:21Z Indexed on 2012/08/27 21:56 UTC
Read the original article Hit count: 368

Filed under:
|
|
|

I'm following the guide for installing mailman:

[email protected]:~#
[email protected]:~# ln -s /etc/mailman/apache.conf /etc/apache2/sites-enabled/mailman -v
`/etc/apache2/sites-enabled/mailman' -> `/etc/mailman/apache.conf'
[email protected]:~#
[email protected]:~# service apache2 restart
 * Restarting web server apache2 ... waiting . [ OK ]
[email protected]:~#
[email protected]:~# curl http://localhost/mailman/admin/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /mailman/admin/ was not found on this server.</p>
<hr>
<address>Apache/2.2.22 (Ubuntu) Server at localhost Port 80</address>
</body></html>
[email protected]:~#
[email protected]:~# tail /var/log/apache2/error.log
[Mon Aug 27 13:08:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/mailman
[Mon Aug 27 13:10:16 2012] [error] [client 127.0.0.1] File does not exist: /var/www/mailman
[Mon Aug 27 13:29:27 2012] [notice] caught SIGTERM, shutting down
[Mon Aug 27 13:29:27 2012] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'.
[Mon Aug 27 13:29:27 2012] [error] python_init: Python executable found '/usr/bin/python'.
[Mon Aug 27 13:29:27 2012] [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Aug 27 13:29:27 2012] [notice] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Mon Aug 27 13:29:27 2012] [notice] mod_python: using mutex_directory /tmp
[Mon Aug 27 13:29:28 2012] [notice] Apache/2.2.22 (Ubuntu) mod_python/3.3.1 Python/2.7.3 mod_ruby/1.2.6 Ruby/1.8.7(2011-06-30) configured -- resuming normal operations
[Mon Aug 27 13:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/mailman
[email protected]:~#
[email protected]:~#
[email protected]:~#
[email protected]:~# cat /etc/aliases
usenet: root

## mailman mailing list
mailman: "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"


[email protected]:~# 

What's wrong with the link? or is apache not running right?

© Ask Ubuntu or respective owner

Related posts about installation

Related posts about python