Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running apache2 on Debian testing on the Asus Slider sl101 tablet chrooted running on the android kernel.

root@hoshi:/#
root@hoshi:/# /etc/init.d/apache2 restart
Restarting web server: apache2.
root@hoshi:/#
root@hoshi:/# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN      15439/Xtightvnc
tcp        0      0 127.0.0.1:5037          0.0.0.0:*               LISTEN      99/adbd
tcp        0      0 0.0.0.0:6001            0.0.0.0:*               LISTEN      15439/Xtightvnc
root@hoshi:/#

So, it gives me no error but fails to start

ports.conf is set to the following :

NameVirtualHost *:80
Listen 80

But any attempt to change the port to Listen 8080 or Listen 8010 or anything else does not produce results in netstat

apache error log says

root@hoshi:/# tail -f /var/log/apache2/error.log
[Mon Apr 30 21:51:37 2012] [error] (38)Function not implemented: mod_python: Failed to create global mutex 0 of 8 (/tmp/mpmtx158400).
Configuration Failed
[Mon Apr 30 22:42:31 2012] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Mon Apr 30 22:42:31 2012] [notice] mod_python: using mutex_directory /tmp 
[Mon Apr 30 22:42:31 2012] [error] (38)Function not implemented: mod_python: Failed to create global mutex 0 of 8 (/tmp/mpmtx165640).
Configuration Failed
[Mon Apr 30 22:45:08 2012] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Mon Apr 30 22:45:08 2012] [notice] mod_python: using mutex_directory /tmp 
[Mon Apr 30 22:45:08 2012] [error] (38)Function not implemented: mod_python: Failed to create global mutex 0 of 8 (/tmp/mpmtx165920).
Configuration Failed
share|improve this question

closed as off topic by John Gardeniers, Iain May 1 '12 at 9:09

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
check the error_log for the reason why it isn't starting. –  Mike May 1 '12 at 6:01
    
web browser gives me the error Iceweasel can't establish a connection to the server at 127.0.0.1. –  Joshua Robison May 1 '12 at 6:16
    
web browser is not the apache error_log –  Mike May 1 '12 at 6:17
    
attempting to connect to local host gives the error Cannot resolve hostname (localhost) –  Joshua Robison May 1 '12 at 6:19
    
ok i can't help you if you don't paste relevant error log info on the apache server /var/log/apache/error_log or such –  Mike May 1 '12 at 6:21

1 Answer 1

After some various research I found out that mod_python gives errors sometimes related to lack of ram on the host server.

I uninstalled apache2 and installed lighttpd

in debian

apt-get install lighttpd lighttpd-doc

then it runs fine after doing

/etc/init.d/lighttpd start

default setup works just like apache,
server files found in /var/www/

and website found on 0.0.0.0:80

works great even on my chrooted debian tablet arm device

also make sure to run the lighttpd server before you start any vnc server

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.