1

Topic: iRedOS install - iRedAdmin-Pro 1.3.0 ?

Hi,

I have used the centos based iredos installation which has installed fine, everything working as expected with the open source edition iredadmin 0.1.3.

However, we have purchased your brilliant iRedAdmin-Pro 1.3.0 and want to obviously 'upgrade'. I have followed the tutorial to a tee (no deviations) and I get Internal Server Error 500 on apache2.

In the error log, it mentions not being able to use iredadmin.py as a python module..

Im guessing i am missing a package dependancy or 2, but i would of thought it was easy to upgrade to Pro 1.3.0 using the specially created iRedOS image?

Help please smile

Alan

----

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

2

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

Can you please post the original log in apache?
Also, you can try to install iRedAdmin-Pro as a new software, don't upgrade from open source edition. It should be easier.

3

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

We have the same problem here, installed iRedOS 0.6.0, purchased iRedAdminPro. I followed the installation guide. Only at one point it was different:
According to the installation guide the following command had to be issued:
easy_install web.py Jinja2 python-ldap==2.3.11 netifaces

On our system we got an error message about version 2.3.11 not being installed, version 2.3.9 is availabele, so we replaced 2.3.11 with 2.3.9, then it looked ok.

the original apache log ssl_error_log after calling iRedAdmin:
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236] mod_wsgi (pid=31818): Target WSGI script '/var/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236] mod_wsgi (pid=31818): Exception occurred processing WSGI script '/var/www/iredadmin/iredadmin.py'.
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236] Traceback (most recent call last):
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236]   File "/var/www/iredadmin/iredadmin.py", line 28, in ?
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236]     from libs import iredbase
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236]   File "/var/www/iredadmin/libs/iredbase.py", line 53, in ?
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236]     webmaster = cfg.general.get('webmaster', 'root')
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236]   File "/usr/lib/python2.4/site-packages/web.py-0.34-py2.4.egg/web/utils.py", line 71, in __getattr__
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236]     raise AttributeError, k
[Tue Oct 12 16:28:24 2010] [error] [client 193.78.140.236] AttributeError: 'general'


Hope you can help.

4

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

Can you please post output of below command:

# cd /var/www/iredadmin/
# ls -l 

5 (edited by siersict 2010-10-13 13:35:45)

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

[root@srvolz01 httpd]# cd /var/www/iredadmin/
[root@srvolz01 iredadmin]# ls -l
total 64
-rwxr-xr-x  1 iredadmin iredadmin   55 Oct 12 15:06 AUTHORS
-rwxr-xr-x  1 iredadmin iredadmin 5823 Oct 12 15:06 ChangeLog
drwxr-xr-x  5 iredadmin iredadmin 4096 Oct 12 15:19 controllers
drwxr-xr-x  3 iredadmin iredadmin 4096 Oct 12 15:19 docs
-rwxr-xr-x  1 iredadmin iredadmin  456 Oct 12 15:06 EULA
drwxr-xr-x 14 iredadmin iredadmin 4096 Oct 12 15:19 i18n
-rwxr-xr-x  1 iredadmin iredadmin 1123 Oct 12 15:06 iredadmin.py
drwxr-xr-x  5 iredadmin iredadmin 4096 Oct 12 15:19 libs
-rwxr-xr-x  1 iredadmin iredadmin 1052 Oct 12 15:06 README
-rw-------  1 iredadmin iredadmin 3702 Oct 12 16:28 settings.ini
-rwxr-xr-x  1 iredadmin iredadmin 4242 Oct 12 15:06 settings.ini.ldap.sample
drwxr-xr-x  4 iredadmin iredadmin 4096 Oct 12 15:19 static
drwxr-xr-x  3 iredadmin iredadmin 4096 Oct 12 15:19 templates
drwxr-xr-x  2 iredadmin iredadmin 4096 Oct 12 15:06 tools
[root@srvolz01 iredadmin]#

6

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

Can you please post all content of ''settings.ini"? HIDE/REMOVE password and email address first please.

7

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

Also, please copy settings.ini.ldap.sample under iRedAdmin-Pro to settings.ini. Not copy from open source edition.

8

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

We did copy the open-source version of settings.ini to iRedAdminPro.
So we have to first use the settings.ini.ldap.sample and edit it to our system settings.

We try that first.

9

Re: iRedOS install - iRedAdmin-Pro 1.3.0 ?

That did the trick, thank you for your quick response.