File does not exist: /var/www/mailman
- by Thufir
I'm following the guide for installing mailman:
root@dur:~#
root@dur:~# ln -s /etc/mailman/apache.conf /etc/apache2/sites-enabled/mailman -v
`/etc/apache2/sites-enabled/mailman' -> `/etc/mailman/apache.conf'
root@dur:~#
root@dur:~# service apache2 restart
* Restarting web server apache2 ... waiting . [ OK ]
root@dur:~#
root@dur:~# 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>
root@dur:~#
root@dur:~# 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
root@dur:~#
root@dur:~#
root@dur:~#
root@dur:~# 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"
root@dur:~#
What's wrong with the link? or is apache not running right?