Hi everybody.
I'm attempting to install Zope 2.6.1 on Mandrake Linux version 9. I read the documentation and followed the instructions: unziped the files, run ./install, wrote down the login and password, set the sticky bit of /var and changed the owner of var to root (since I was installing as root), and used the ./zpasswd.py script to change the password to something more convenient, leaving the login name to 'admin'. Trouble starts here: The SETUPUID.TXT document file says I need to set the UID either in the ./z2.py, or in the ./start command line. I cannot do either! I tried the first option and typed:
./z2py -u admin
What I got was the help list and at the bottom the following error messages:
./z2py: line 239: syntaxerror near unexpected token ' 0,'
./z2py: line 239: ' sys.path.insert(0,'%s/lib/python'%swhome)'
So I thought I'd try the second option. I typed:
./start.py -u admin
The process seemed to go fine (opened datanbase, mounted database, etc.) but a few seconds later I got a message:
ERROR(200) z2 Can't find UID admin
After experimenting a bit, I noticed that when I run ./start it deletes the 'inituser' file at some point during opening and mounting the database (as it appears anyway). So a few seconds later it looks for admin and finds nothing.
Am I doing something wrong here? I have successfully done the whole thing in Windows 2000 (which of course is a different story, but still) and I can't find anything in the documentation that I'm doing wrong. I downloaded the zip file again and did the whole thing from the beginning and it made no difference, so it is not a corrupted file or anything like that. Can anyone help me on this? Thanks!
Yannis
P.S: And sorry for the huge email, I just thought that nobody can really help unless they have some details...