1

Topic: [SOLVED] WSGISocketPrefix misspelled error in iredadmin.conf

Hi ... and Help !

I keep getting the error below while trying to setup iRedAdmin-Pro 1.4.1 (LDap) using the Centos 0.6 iRedMail image. I have followed the instructions exactly, with no errors until I start httpd. WSGI etc is all installed and up to date. I was going to try it on the 0.7 RC3 version, but its no longer downloadable.

Starting httpd: Syntax error on line 7 of /etc/httpd/conf.d/iredadmin.conf:
Invalid command 'WSGISocketPrefix', perhaps misspelled or defined by a module not included in the server configuration


the config file looks like this :-

#
# Note: Uncomment below two lines if you want to make iRedAdmin accessable via $
#
#WSGIScriptAlias /iredadmin /var/www/iredadmin/iredadmin.py/
#Alias /iredadmin/static /var/www/iredadmin/static/

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

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

any ideas ?

Thanks

----

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

2

Re: [SOLVED] WSGISocketPrefix misspelled error in iredadmin.conf

Edit /etc/httpd/conf.d/wsgi.conf, remove '#' before "LoadModule" to enable wsgi module, then restarting apache should fix it.

iRedMail-0.7.0 was released moment ago, it's strongly recommended to use iRedMail-0.7.0 instead of iRedOS.

3

Re: [SOLVED] WSGISocketPrefix misspelled error in iredadmin.conf

Many thanks, that was it.

I'll be looking into setting up a new VMware server for 0.7.0 shortly.


thanks

Kris

4

Re: [SOLVED] WSGISocketPrefix misspelled error in iredadmin.conf

Thanks, this worked for me

5

Re: [SOLVED] WSGISocketPrefix misspelled error in iredadmin.conf

Hello,
i have the same issue, but when i go to /etc/httpd/conf.d/wsgi.conf i did not found the "wsgi.conf" file!
so can you help me?

[root@xxxxxx ~]# /etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 7 of /etc/httpd/conf.d/iredadmin.conf:
Invalid command 'WSGISocketPrefix', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]

i'm using CentOS 6.5

Thanks,
Momen

6

Re: [SOLVED] WSGISocketPrefix misspelled error in iredadmin.conf

momen.amin wrote:

Invalid command 'WSGISocketPrefix', perhaps misspelled or defined by a module not included in the server configuration

Please make sure you have package 'mod_wsgi' installed.

And, please do not hijack other's topic, especially a topic in 2011. Always post your own question in a new topic.