1

Topic: Error after installation - unable to start httpd

==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== ==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====
Hi,
I have installed iReadMail--0.7.4 and everything went OK. At the end , while it was starting all services, failed to start httpd. Below is the error -
--------------------------------------------------------------------
Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/iredadmin.conf:
Invalid command 'WSGISocketPrefix', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]
-----------------------------------------------------------------------------------

Here is the content of the file : /etc/httpd/conf.d/iredadmin.conf
---------------------------------------------------------------------------
WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

<Directory /var/www/iredadmin/>
    Order allow,deny
    Allow from all
</Directory>
-------------------------------------------

Can you kindly help?
Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error after installation - unable to start httpd

Do you have RPM package 'mod_wsgi' installed? Check it with command:

$ rpm -q mod_wsgi

If you don't have it installed, please install it via yum manually:

# yum install mod_wsgi