Re: "httpd" service timing-out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom.

Only the following is seen in "/etc/httpd/logs/error_log" ::

#################################################################
[Fri Jul 19 11:49:41.185572 2013] [mpm_event:notice] [pid 5461:tid 1074651136] AH00489: Apache/2.4.4 (Fedora) mod_wsgi/3.4 Python/2.7.3 configured -- resuming normal operations
[Fri Jul 19 11:49:41.186377 2013] [core:notice] [pid 5461:tid 1074651136] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
#################################################################




On Fri, Jul 19, 2013 at 3:02 PM, Tom Evans <tevans.uk@xxxxxxxxxxxxxx> wrote:
On Thu, Jul 18, 2013 at 10:54 PM, Ajay Garg <ajaygargnsit@xxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Regards,
Ajay

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux