This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

#1558 closed defect (duplicate)

Indico1.2 Installation error

Reported by: ssaluja Owned by:
Priority: normal Milestone:
Component: General Version: 1.1
Keywords: Cc:

Description

Hi,

I am installing inidoc 1.2 on RHEL6.5 after installation when I tried to access indioc from browser I am getting following error in log file

mod_wsgi (pid=22718): Target WSGI script '/opt/indico/htdocs/indico.wsgi' cannot be loaded as Python module.
[Thu Jul 10 10:32:02 2014] [error] [client 128.112.86.1] mod_wsgi (pid=22718): Exception occurred processing WSGI script '/opt/indico/htdocs/indico.wsgi'.
[Thu Jul 10 10:32:02 2014] [error] [client 128.112.86.1] Traceback (most recent call last):
[Thu Jul 10 10:32:02 2014] [error] [client 128.112.86.1] File "/opt/indico/htdocs/indico.wsgi", line 20, in <module>
[Thu Jul 10 10:32:02 2014] [error] [client 128.112.86.1] from indico.web.flask.app import make_app
[Thu Jul 10 10:32:02 2014] [error] [client 128.112.86.1] ImportError?: No module named indico.web.flask.app

my vrtual host file is

SGISocketPrefix /var/run/wsgi
AddDefaultCharset? UTF-8

NameVirtualHost? 128.112.100.36:80
<VirtualHost? 128.112.100.36:80>

# mod_wsgi indico

ServerName? indico.fnal.gov
ServerAlias? indico

DocumentRoot? /opt/indico/htdocs
DirectoryIndex? index.py

<Directory /opt/indico/htdocs>

Options FollowSymLinks? MultiViews?
AllowOverride? All
Order allow,deny
Allow from all

</Directory>

ErrorLog? logs/indico_vhost_log

LogLevel? warn

Alias /indico/images /opt/indico/htdocs/images
Alias /indico/css /opt/indico/htdocs/css
Alias /indico/js /opt/indico/htdocs/js
Alias /indico/ihelp /opt/indico/htdocs/ihelp

WSGIDaemonProcess WSGIDAEMON user=apache group=apache processes=32 threads=1 inactivity-timeout=3600 maximum-requests=10000 python-eggs=/opt/indico/archive/tmp/egg-cache $

WSGIScriptAlias / /opt/indico/htdocs/indico.wsgi

<Directory /opt/indico/htdocs>

WSGIProcessGroup WSGIDAEMON
WSGIApplicationGroup %{GLOBAL}
Options FollowSymLinks? MultiViews?
AllowOverride? None
Order allow,deny
Allow from all

</Directory>

<VirtualHost? >

Change History (2)

comment:1 Changed 15 months ago by pferreir

This has already been discussed in the mailing list. Please do not send the same report to two different places. In this case, this is an installation issue, not an application bug or improvement, so, it should go to the mailing list.

comment:2 Changed 15 months ago by pferreir

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.