On Thu, Jul 18, 2013 at 10:54 PM, Ajay Garg <ajaygargn...@gmail.com> wrote:
> Hi all.
>
> I have used httpd to good effect since many months (mainly using it
> for uploading/downloading files via WebDAV) on a Fedora-18 ARM
> machine, and it has always worked like a charm.
>
> Now, we are in the process of setting up a book-server, based on
> OPDS-spec, and WSGI.
> However, when we setup the "httpd.conf" and do a "sudo service httpd
> restart", the service times out :(
>
>
>
> Following are our setups ::
>
>
> == /etc/httpd/conf/httpd.conf ==
>
> ######################################################################################
> WSGIRestrictEmbedded On
> WSGIPythonOptimize 1
>
> LoadModule mpm_event_module modules/mod_mpm_event.so
> LoadModule wsgi_module modules/mod_wsgi.so
> LoadModule authz_core_module modules/mod_authz_core.so
> LoadModule unixd_module modules/mod_unixd.so
> LoadModule log_config_module modules/mod_log_config.so
> LoadModule expires_module modules/mod_expires.so
>
> User apache
> Group apache
>
> <VirtualHost *:80>
>     ServerName localhost
>
>     ErrorLog /var/www/sites/pathagar/logs/error.log
>     CustomLog /var/www/sites/pathagar/logs/access.log combined
>
>     WSGIDaemonProcess pathagar processes=2 threads=3
> stack-size=1048576 maximum-requests=500 inactivity-timeout=300
> display-name=%{GROUP}
> python-path=/var/www/sites/pathagar/env/lib/python2.7/site-packages
>     WSGIProcessGroup pathagar
>     WSGIScriptAlias / /var/www/sites/pathagar/src/pathagar/wsgi.py
>
>     Options -Indexes
>
>     ExpiresActive On
>
>     ExpiresByType image/jpg "access plus 2 hours"
>     ExpiresByType image/png "access plus 2 hours"
>
>     ExpiresByType text/css "access plus 10 years"
>     ExpiresByType application/x-javascript "access plus 10 years"
>
>     <Directory "/var/www/sites/pathagar">
>         WSGIProcessGroup pathagar
>         WSGIScriptReloading On
>
>         Require all granted
>     </Directory>
> </VirtualHost>
> Listen 80
> ######################################################################################
>
>
>
>
>
>
>
> == Command/Output sequence==
>
> ######################################################################################
> [olpc@dhcppc1 ~]$ sudo service httpd restart
> Redirecting to /bin/systemctl restart  httpd.service
> Job for httpd.service failed. See 'systemctl status httpd.service' and
> 'journalctl -n' for details.
> ######################################################################################
>
>
>
>
>
> == /var/log/messages ==
>
> ######################################################################################
> Jul 18 21:25:14 xo-c5-b9-6c systemd[1]: Starting The Apache HTTP Server...
> Jul 18 21:26:44 xo-c5-b9-6c systemd[1]: httpd.service operation timed
> out. Terminating.
> Jul 18 21:28:14 xo-c5-b9-6c systemd[1]: httpd.service stopping timed
> out (2). Killing.
> Jul 18 21:28:14 xo-c5-b9-6c systemd[1]: Failed to start The Apache HTTP 
> Server.
> Jul 18 21:28:14 xo-c5-b9-6c systemd[1]: Unit httpd.service entered failed 
> state
> ######################################################################################
>
>
>
>
> Any ideas what is being done wrong?
>
> I will be grateful for some pointers :)
>

What does the apache error log say?

Cheers

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to