Hi Adam, Lubuntu 14.04 cames with python 2.7.5 not 2.7.6 (as recommended) don´t you think it could be something related whit that. Asap I'll send the apache.conf file.
Thank you, regards sexta-feira, 22 de Julho de 2016 às 16:27:45 UTC+2, Adam Cox escreveu: > Hmm, have you tried contacting the server administrator? He/she may be > able to help. > > Just kidding. It seems like there is a problem with your wsgi.py file, > which is strange because out of the box I have never had an issue with it. > Have you made any changes to it? Beyond that, I'm assuming that you can run > the django devserver without any errors? > > If you could send along your apache configuration file that would be very > helpful, as well as the wsgi.py file. > > Adam > > On Fri, Jul 22, 2016 at 7:28 AM, David Lopes <[email protected] > <javascript:>> wrote: > >> Hi Adam, >> >> Yes, the browser displays this message: >> >> Internal Server Error >> >> The server encountered an internal error or misconfiguration and was >> unable to complete your request. >> >> Please contact the server administrator at [email protected] <javascript:> >> to inform them of the time this error occurred, and the actions you >> performed just before this error. >> >> More information about this error may be available in the server error >> log. >> >> >> and the error log this: >> >> >> [Fri Jul 22 13:16:24.790709 2016] [mpm_prefork:notice] [pid 19003] >> AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.14 >> mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations >> [Fri Jul 22 13:16:24.790743 2016] [core:notice] [pid 19003] AH00094: >> Command line: '/usr/sbin/apache2' >> [Fri Jul 22 13:16:37.618615 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] mod_wsgi (pid=19013): Exception occurred processing >> WSGI script '/home/ARCHES/AltoMinho/wsgi.py'. >> [Fri Jul 22 13:16:37.618665 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] Traceback (most recent call last): >> [Fri Jul 22 13:16:37.618685 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/wsgi.py", >> line 187, in __call__ >> [Fri Jul 22 13:16:37.618769 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] self.load_middleware() >> [Fri Jul 22 13:16:37.618782 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 46, in load_middleware >> [Fri Jul 22 13:16:37.618869 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] for middleware_path in settings.MIDDLEWARE_CLASSES: >> [Fri Jul 22 13:16:37.618880 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 54, in __getattr__ >> [Fri Jul 22 13:16:37.618958 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] self._setup(name) >> [Fri Jul 22 13:16:37.618969 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 49, in _setup >> [Fri Jul 22 13:16:37.618983 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] self._wrapped = Settings(settings_module) >> [Fri Jul 22 13:16:37.618991 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 132, in __init__ >> [Fri Jul 22 13:16:37.619002 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] % (self.SETTINGS_MODULE, e) >> [Fri Jul 22 13:16:37.619016 2016] [:error] [pid 19013] [remote >> 127.0.0.1:62609] ImportError: Could not import settings >> 'AltoMinho.settings' (Is it on sys.path? Is there an import error in the >> settings file?): No module named settings >> [Fri Jul 22 13:16:41.777808 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] mod_wsgi (pid=19013): Exception occurred processing >> WSGI script '/home/ARCHES/AltoMinho/wsgi.py'. >> [Fri Jul 22 13:16:41.777864 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] Traceback (most recent call last): >> [Fri Jul 22 13:16:41.777901 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/wsgi.py", >> line 187, in __call__ >> [Fri Jul 22 13:16:41.777944 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self.load_middleware() >> [Fri Jul 22 13:16:41.777960 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 46, in load_middleware >> [Fri Jul 22 13:16:41.777983 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] for middleware_path in settings.MIDDLEWARE_CLASSES: >> [Fri Jul 22 13:16:41.777997 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 54, in __getattr__ >> [Fri Jul 22 13:16:41.778018 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self._setup(name) >> [Fri Jul 22 13:16:41.778032 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 49, in _setup >> [Fri Jul 22 13:16:41.778051 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self._wrapped = Settings(settings_module) >> [Fri Jul 22 13:16:41.778064 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 132, in __init__ >> [Fri Jul 22 13:16:41.778083 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] % (self.SETTINGS_MODULE, e) >> [Fri Jul 22 13:16:41.778108 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] ImportError: Could not import settings >> 'AltoMinho.settings' (Is it on sys.path? Is there an import error in the >> settings file?): No module named settings >> [Fri Jul 22 13:16:42.647905 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] mod_wsgi (pid=19013): Exception occurred processing >> WSGI script '/home/ARCHES/AltoMinho/wsgi.py'. >> [Fri Jul 22 13:16:42.647958 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] Traceback (most recent call last): >> [Fri Jul 22 13:16:42.647991 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/wsgi.py", >> line 187, in __call__ >> [Fri Jul 22 13:16:42.648033 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self.load_middleware() >> [Fri Jul 22 13:16:42.648050 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 46, in load_middleware >> [Fri Jul 22 13:16:42.648073 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] for middleware_path in settings.MIDDLEWARE_CLASSES: >> [Fri Jul 22 13:16:42.648088 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 54, in __getattr__ >> [Fri Jul 22 13:16:42.648128 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self._setup(name) >> [Fri Jul 22 13:16:42.648144 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 49, in _setup >> [Fri Jul 22 13:16:42.648164 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self._wrapped = Settings(settings_module) >> [Fri Jul 22 13:16:42.648178 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 132, in __init__ >> [Fri Jul 22 13:16:42.648197 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] % (self.SETTINGS_MODULE, e) >> [Fri Jul 22 13:16:42.648222 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] ImportError: Could not import settings >> 'AltoMinho.settings' (Is it on sys.path? Is there an import error in the >> settings file?): No module named settings >> [Fri Jul 22 13:16:43.702826 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] mod_wsgi (pid=19013): Exception occurred processing >> WSGI script '/home/ARCHES/AltoMinho/wsgi.py'. >> [Fri Jul 22 13:16:43.702866 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] Traceback (most recent call last): >> [Fri Jul 22 13:16:43.702890 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/wsgi.py", >> line 187, in __call__ >> [Fri Jul 22 13:16:43.702923 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self.load_middleware() >> [Fri Jul 22 13:16:43.702934 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 46, in load_middleware >> [Fri Jul 22 13:16:43.702952 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] for middleware_path in settings.MIDDLEWARE_CLASSES: >> [Fri Jul 22 13:16:43.702961 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 54, in __getattr__ >> [Fri Jul 22 13:16:43.702976 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self._setup(name) >> [Fri Jul 22 13:16:43.702984 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 49, in _setup >> [Fri Jul 22 13:16:43.702996 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] self._wrapped = Settings(settings_module) >> [Fri Jul 22 13:16:43.703004 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] File >> "/home/ARCHES/ENV/lib/python2.7/site-packages/django/conf/__init__.py", >> line 132, in __init__ >> [Fri Jul 22 13:16:43.703016 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] % (self.SETTINGS_MODULE, e) >> [Fri Jul 22 13:16:43.703033 2016] [:error] [pid 19013] [remote >> 127.0.0.1:50833] ImportError: Could not import settings >> 'AltoMinho.settings' (Is it on sys.path? Is there an import error in the >> settings file?): No module named settings >> >> >> Thanks, >> ------------------------------ >> Apache/2.4.7 (Ubuntu) Server at localhost Port 80 >> >> >> quinta-feira, 21 de Julho de 2016 às 21:17:58 UTC+1, Adam Cox escreveu: >>> >>> Hi David, I'm assuming that you're referring to this documenation: >>> https://arches-hip.readthedocs.io/en/latest/extra/#serving-your-arches-app-with-apache >>> >>> Having followed it, what is the problem? Are you getting any error >>> messages? Remember you'll have to change any paths that are referenced in >>> the documentation to fit those on your own system. >>> >>> Cheers, >>> Adam >>> >>> On Thursday, July 21, 2016 at 11:21:31 AM UTC-5, David Lopes wrote: >>>> >>>> Hi, >>>> >>>> I've been unable to configure apache to serve my arches installation, >>>> this time using lubuntu 14.04, even following the content of the >>>> documentation regarding this subject. >>>> >>>> Could anyone help me on this issue. >>>> >>>> Thanks, regards >>>> >>>> -- >> -- To post, send email to [email protected] <javascript:>. To >> unsubscribe, send email to [email protected] <javascript:>. >> For more information, visit >> https://groups.google.com/d/forum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
