WebFaction
Community site: login faq

I need to run an site on Django 1.1.1 and I'm getting this problem when I try to start the Apache server:

httpd: Syntax error on line 9 of /home/<username>/webapps/<appname>/apache2/conf/httpd.conf: Cannot load /home/<username>/webapps/<appname>/apache2/modules/mod_wsgi.so into server: /home/<username>/webapps/<appname>/apache2/modules/mod_wsgi.so: wrong ELF class: ELFCLASS32

I have a couple of other sites running on Django 1.1.1 (mod_wsgi 2.5/Python 2.5) - and they work. Maybe because I installed them over a year ago?

Thanks for any pointers! j.p...

asked 15 Apr '12, 15:07

jpgil
111
accept rate: 0%

edited 15 Apr '12, 15:26

bmeyer71 ♦♦
1.5k3613


There are problems using our control panel to install older versions of Django on the 64bit servers. You should be able to install a newer version, then just replace the version of django with your 1.1.1. That should resolve your problems. We have documentation here to help with changing your django libraries.

If not, feel free to open a support ticket for us to take a closer look at. You can open one using this link https://help.webfaction.com/.

permanent link

answered 15 Apr '12, 15:29

bmeyer71 ♦♦
1.5k3613
accept rate: 33%

edited 15 Apr '12, 15:34

Thanks! It worked.

(16 Apr '12, 13:27) jpgil
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×25
×2

question asked: 15 Apr '12, 15:07

question was seen: 4,033 times

last updated: 16 Apr '12, 13:30

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM