On Thu, 18 Oct 2007, Georges Khaznadar wrote:
Hello Boud,
the package wims_3.62-8 will be available shortly, which fixes this bug
and many others.
hi Georges,
i think that this bug is not yet closed... And i have another one which seems
to be independent so i'll file it independently.
amities
boud
----------------------------------------------------------------------
PROBLEM:
i updated to wims-3.62-8 from debian.ofset.org
i once again get:
WIMS panick! Unable to bring up wimslogd.
Permission denied
ANALYSIS:
From the command line:
as user wims:
cd /var/lib/wims/public_html/ && ./wims
outputs a correct html page.
as user www-data, same command:
cd /var/lib/wims/public_html/ && ./wims
outputs:
Status: 500 WIMS Internal Error
Cache-Control: no-cache
Pragma: no-cache
Content-type: text/plain
WIMS panick! Unable to bring up wimslogd.
Permission denied
wims: Unable to bring up wimslogd.
Permission denied
i tried the following in the order below:
/var/lib/wims# chmod g+rx bin
chmod -R g+rw log/
chmod -R g+x log/account/ log/[cf]* log/modules/ log/referer # directories
chmod g+rwx tmp/log/ # key step to solution
After this last line, user www-data *was* able to correctly do
cd /var/lib/wims/public_html/ && ./wims
The web interface then gives:
WIMS panick! cannot_create_session_directory
Permission denied
chmod g+w tmp/sessions/
pwd
/var/lib/wims
chmod g+rwx sessions/ # key step to solution
This second problem is now resolved after this chmod.
SUGGESTED SOLUTION:
i don't have the time to check which chmods are necessary or optional among
the above list - i would suggest just doing
chmod g+rwx tmp/log/ # key step to solution
chmod g+rwx sessions/ # key step to solution
and then if there's a problem trying some of the others.
----------------------------------------------------------------------
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]