admin disabled because unable to access password file
This is how I started web2py:
[me@webxxx ~]$ cd webapps/apachewsgi/web2py
[me@webxxx web2py]$ python2.5 web2py.py
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010
Version 1.74.4 (2009-12-23 10:12:11)
Database drivers available: SQLite3, MySQL, PostgreSQL
Starting cron...
choose a password:xxxxxxxx
please visit:
http://127.0.0.1:8000
use "kill -SIGTERM xxxxx" to shutdown the web2py server
I then opened a second terminal appliaction and did:
[me@webxxx ~]$ cd webapps/apachewsgi/web2py
[me@webxxx web2py]$ kill -SIGTERM xxxxx
According to the instructions in this post:
http://forum.webfaction.com/viewtopic.php?pid=8844#p8844
The password is stored in the file: 'parameters_NNNN.py'
That file, indeed, resides in the web2py folder: parameters_8000.py.
Why is web2py unable to access it then. Permissions are set to: -rw-rw-
r--.
Kind regards,
Annet.
rename the file to
parameters_443.py
-Thadeus
> --
>
> You received this message because you are subscribed to the Google Groups "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to web2py+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
>
>
>
Thanks for your reply, it pointed me in the right direction. I had to
change the file name to parameters_80.py to solve the problem.
I find all the port stuff rather confusing. In the httpd.conf file:
Listen is set to: 32043
NameVirtualHost and VirtualHost are set to: 127.0.0.1:8000
.. and, when web2py start it creates a file called 'parameters_8000.py
which I have to rename 'parameters_80.py' to be able to use the web-
based administrative interface.
Why?
Kind regards,
Annet.
If you are using WSGI, you should never have to start web2py
manually... since apache executes it for you, but I have no experience
with webfaction.
-Thadeus