Hi, just a tiny question, I'm trying to run Zope 2.6.0a1 on a Debian, but I always get the following error: ./start: "A user was not specified to setuid to; fix this to start as root" Then when I do the following, ./start -u root; I get: "/var/local/Zope-2.6.0a1/var does not have the sticky bit set; fix this to start as root." At the moment I'm out of possible ideas, I tried several things including changing permissions etc, but I always end up with above errors. Thanks in advance, Tom.
On Wed, 2002-08-07 at 18:38, Tom Deprez wrote:
Hi,
just a tiny question, I'm trying to run Zope 2.6.0a1 on a Debian, but I always get the following error:
./start:
"A user was not specified to setuid to; fix this to start as root"
Then when I do the following, ./start -u root; I get:
"/var/local/Zope-2.6.0a1/var does not have the sticky bit set; fix this to start as root."
At the moment I'm out of possible ideas, I tried several things including changing permissions etc, but I always end up with above errors.
Two Ideas: 1. set the sticky bit 2. run as someone else than root (recommended) -------------- Hannu
Hannu Krosing wrote:
On Wed, 2002-08-07 at 18:38, Tom Deprez wrote:
Hi,
just a tiny question, I'm trying to run Zope 2.6.0a1 on a Debian, but I always get the following error:
./start:
"A user was not specified to setuid to; fix this to start as root"
Then when I do the following, ./start -u root; I get:
"/var/local/Zope-2.6.0a1/var does not have the sticky bit set; fix this to start as root."
At the moment I'm out of possible ideas, I tried several things including changing permissions etc, but I always end up with above errors.
Two Ideas:
Thanks.
1. set the sticky bit
Uhm, how do I do that?
2. run as someone else than root (recommended)
Tried it as running nobody and www-data, but it always gives me the first error "A user was not specified..." Thanks, Tom
-------------- Hannu
On Wed, 2002-08-07 at 21:46, Tom Deprez wrote:
Hannu Krosing wrote:
On Wed, 2002-08-07 at 18:38, Tom Deprez wrote:
Hi,
just a tiny question, I'm trying to run Zope 2.6.0a1 on a Debian, but I always get the following error:
./start:
"A user was not specified to setuid to; fix this to start as root"
Then when I do the following, ./start -u root; I get:
"/var/local/Zope-2.6.0a1/var does not have the sticky bit set; fix this to start as root."
At the moment I'm out of possible ideas, I tried several things including changing permissions etc, but I always end up with above errors.
Two Ideas:
Thanks.
1. set the sticky bit
Uhm, how do I do that?
should be chmod g+s dirname this forces the files created in that dir by anybody to have the same group as the dir, subdirs inkerit the bit. -------------- Hannu
Perhaps looking at the packaging of 2.5 under Debian will give you some clues. I know there is a canonical uid for web stuff, but it sounds as if you may have tried that. Also, the regular debian distribution has a much different way of starting Zope. I don't know why that would affect the usual way of doing it--I assume you are working from source. Have you gone through whatever the regular install procedure is?
participants (3)
-
Hannu Krosing -
Ross Boylan -
Tom Deprez