Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Rien on April 03, 2004, 08:28:58 PM
-
Hy,
I installed Zope-2.7.0 in an i-bay called "cms" (after installing Python2.3.3) on SME 6.01. After installing I got the following message:
Zope binaries installed successfully.
Now run '/home/e-smith/files/ibays/cms/html/bin/mkzopeinstance.py'
"/usr/bin/python" "/home/e-smith/files/ibays/cms/html/bin/mkzopeinstance.py" \
--dir="/home/e-smith/files/ibays/cms/html"
Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance.
I chose "admin" as username and a password.
Everything seemed to go fine but when I wanted to start Zope I got the following message:
[root@mlkserver html]# [root@mlkserver bin]# ./runzope
------
2004-04-03T20:19:15 INFO(0) ZServer HTTP server started at Sat Apr 3 20:19:15 2004
Hostname: mlkserver.focus.demon.nl
Port: 8080
------
2004-04-03T20:19:15 INFO(0) ZServer FTP server started at Sat Apr 3 20:19:15 2004
Hostname: mlkserver
Port: 8021
------
2004-04-03T20:19:15 PANIC(300) Zope A user was not specified to setuid to; fix this to start as root (change the effective-user directive in zope.conf)
Traceback (most recent call last):
File "/home/e-smith/files/ibays/cms/html/lib/python/Zope/Startup/run.py", line 49, in ?
run()
File "/home/e-smith/files/ibays/cms/html/lib/python/Zope/Startup/run.py", line 19, in run
start_zope(opts.configroot)
File "/home/e-smith/files/ibays/cms/html/lib/python/Zope/Startup/__init__.py", line 48, in start_zope
starter.dropPrivileges()
File "/home/e-smith/files/ibays/cms/html/lib/python/Zope/Startup/__init__.py", line 203, in dropPrivileges
return dropPrivileges(self.cfg)
File "/home/e-smith/files/ibays/cms/html/lib/python/Zope/Startup/__init__.py", line 319, in dropPrivileges
raise ZConfig.ConfigurationError(msg)
ZConfig.ConfigurationError: A user was not specified to setuid to; fix this to start as root (change the effective-user directive in zope.conf)
But no matter how I changed the "effective-user directive", Zope won't start. I searched in the "Zope handbook", but without succes. Can anyone help me, please?
Rien
-
I've found a zope RPM (can't remember where :-? ) anyway it seems to work with port 9080.
You can get it from
http://www.ergin.dyndns.org/download/RPMS/redhat/
Make sure to uninstall your previous zope installation.
Good luck.
-
Thanks for your reply.
I found the rpm but the install went wrong (dependencies). Can you tell me how I can remove the priviously installed Zope?(I istalled it from source, not rpm).
Rien
-
Hello Rien!
1 - what was/were the dependencies?
2 - It looks like you have zope installed on an ibay called cms. You can delete the files and remove the ibay via server-manager
I haven't tried to install Zope on an ibay but you can access zope with ProxyPass
FROM ZOPE.ORG
--------------------------------------------------
Apache as a protective proxy
You are using Apache only to protect your Zope in some way. You are not using Apache to host anything. Both Zope and Apache is installed on the same server. Apache on port 80, Zope on port 8080:
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
Using Zope for part of a non-Zope web
You want everything under /Zope on your site to be handled by a Zope-server on port 8080:
ProxyPass /Zope http://localhost:8080/
ProxyPassReverse /Zope http://localhost:8080/
PS : I have zope installed at port 9080.
-
I'm trying to install python 2.3.3 on SME 6 but keep getting dependencies error:
libc.so.6(GLIBC_2.3)is needed by python2.3-2.3.3-2pydotorg
libcrypto.so.4 is needed by python2.3-2.3.3-2pydotorg
libdb-4.1.so is needed by python2.3-2.3.3-2pydotorg
libgcc_s.so.1 is needed by python2.3-2.3.3-2pydotorg
libssl.so.4 is needed by python2.3-2.3.3-2pydotorg
libstdc++.so.5 is needed by python2.3-2.3.3-2pydotorg
Please help!
-
Ergozd,
Thanks for your reply.
I've installed Python 2.3.3 from source because that was needed for Zope 2.7.0. I installed Zope (Zope-2.7.0.tgz) from source in /opt/Zope-2.7. Only the "Zope Instance" is installed in an i-bay called "CMS".
As you advised, I deleted both the directory and I-Bay to install zope-2.7.0-b1.i386.rpm. But that rpm doesn't work because of failing dependencies. zope-2.7.0-b1.i386.rpm seems to need Python 2.2.3, not 2.3.3 which I had already installed as I discribed before. Strange, because it should be upwards compatable.
I don't quite understand what you suggested about "proxypass". However, I tried the command "ProxyPass / http:/localhost:8080" but I got the errormessage "command not found".
Guest,
I had the same problem installing the Python 2.3.3 rpm's. That's the reason why I installed Python from source. I downloaded Python-2.3.3.tar from www.python.org , unzipped it and then did the sequence "./configure", "make" and "make install".
Before this you must have the "development tools" installed (see the contribs).
Rien
-
Zope 2.7 runs with port 9080.
After you installed zope and zope service is started
service zope start
you can access zope with http://your-ip-adress:9080
Good luck.
-
I still can't get Zope to run!!