On 8 September 2010 11:05, commonzenpython <[email protected]> wrote: > alright, thanks one more thing though, im already consulting y hosting > service about the virtual host, but for the meantime im trying to > deploy django using mod_wsgi in daemon mode and i have done everything > right as far as i can tell, but now i am getting a 503 error when i > visit the url, and this in the error logs > > (13)Permission denied: mod_wsgi (pid=26962): Unable to connect to WSGI > \ > daemon process '<process-name>' on '/etc/httpd/logs/wsgi. > 26957.0.1.sock' \ > after multiple attempts. > > so i implemented the solution you provided on the docs which is > > WSGISocketPrefix /var/run/wsgi since im running Red Hat, but now i get > a 500 error,
What is the error in the Apache error log, or is this 500 error coming from application. This sounds more like an application issue. > when i tried to go to the path /var/run/wsgi using root, > i see that theres no such path, so i tried going to /var/run , and i > did the ls command and saw theres no file named wsgi, so what do you > suggest ? There will not be a file called 'wsgi', that is a prefix only. You would see something like: $ ls /var/run/wsgi.2417.0.* /var/run/wsgi.2417.0.1.sock /var/run/wsgi.2417.0.4.sock /var/run/wsgi.2417.0.2.sock /var/run/wsgi.2417.0.5.sock /var/run/wsgi.2417.0.3.sock The first number is process ID of Apache parent. The second relates to Apache generation, which increases as Apache is restarted (without shutting it down). The third is number of daemon process group. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
