RE: [Zope] Having troubles starting Zope.

2000-11-22 Thread Dany Rioux

Hi Chris,

I should have stated that I didn't upgrade Zope. I mean: it's the same
installation I had before except for the Hotfix which I got from zope.org I
checked this file, though I don't know anything about python, and it doesn't
seem to touch the core of zope's files.

About installing from source. I don't really have anything against that but
the linux box running zope is a P133 w/ 64 MB RAM... It's not a power
compiler if I may add :) so compiling the kind of app zope is makes me think
of compiling X. About an hour or so. I don't really want to get a too tight
grip on the machine's load.

What should gives the environment vars it asks in the error message? Maybe
we could find where it comes from.

In case I really have to. What are the files that should be copied so I keep
my database intact and my configuration too like users and such.

Last, I upgraded the kernel with support for reiserfs. Think that might do
bad things? It's a thought but zope refused to start before the upgrade was
completed, meaning before rebooting the box after the kernel compilation.

What should be the ownership of the /var/lib/zope* and /usr/lib/zope/* ? Is
there a zope user?

Well, that's about all I can think of.

Thanks for the help.

Dany

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris McDonough
Sent: Tuesday, November 21, 2000 9:44 PM
To: Dany Rioux
Cc: Zope Mailing List
Subject: Re: [Zope] Having troubles starting Zope.


It sounds like the .deb of Zope (or the hotfix) you have is
misconfigured in some way... I think the Debian Zope maintainer is
Gregor Hoffleit... I'd imagine he'd be interested in a bug report.

But in the meantime, I'd suggest using the Zope source distribution to
install... it's actually not too hard.

1. make sure you have Python installed as well as the Python
"development libraries" (might be easiest to install Python from source
too here, but probably not required)
2. download the latest Zope source tgz
3. ungzip and untar it as a regular user in a directory somewhere you
like
4. run "python w_pcgi.py" in the directory (pay attention to the
password it gives you for the superuser)
5. wait for it to compile (report any errors you come up with in this
step to the list)
6. type "./start"
7. fire up a browser and point it at port 8080
8. log in as superuser and create a management account
9. close the browser
10. open the browser again and log in as the management user.
11. have fun.


Dany Rioux wrote:

 Hi listers,

 Until this afternoon, I was using zope (more like trying to use it) and
 everything was ok. I had some problems with the .deb SiteAccess but I
 fixed it by getting the real thing from zope.org and it worked. I added
 the latest Hotfix because it's a good thing to have. Then I restarted Zope
 but it never went back up again.

 The box is Linux debian woody with Zope 2.2.2

 When I try to start it up, that's the message I get:

 -PASTE---
 drioux:/etc/init.d# ./zope start
 Starting Zope...Traceback (innermost last):
   File "/usr/sbin/zope-z2", line 535, in ?
 except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var')
 NameError: INSTANCE_HOME
  failed.
 -/PASTE--

 I went to check the line seeming to cause this and there's a comment about
 ZEO:

 -PASTE---
 # CLIENT_HOME allows ZEO clients to easily keep distinct pid and
 # log files. This is currently an *experimental* feature, as I expect
 # that increasing ZEO deployment will cause bigger changes to the
 # way that z2.py works fairly soon.
 try:CLIENT_HOME = os.environ['CLIENT_HOME']
 except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var')
 -/PASTE--

 I remember seeing something about ZEO on zope.org but I don't remember if
 it was an update or whatelse but AFAIK I didn't installed and/or I don't
 use a ZEO client.

 Now, I'm a total Zope newbie. Ok maybe not total but I'm a basic newbie
 and I wonder if the Hotfix fixed too much... I tried to move the Hotfix
 directory elsewhere but that didn't change a thing.

 Anyone can offer help or maybe it's already been discussed. I looked at
 the list's past 2 months but came up empty.

 TIA

 Dany

 ---.oo0O--O0oo.

 Dany Rioux  UnderSoft
 Business:
 www.dating-reviews.com
 [EMAIL PROTECTED]

 Pers:
 www.drioux.com
 [EMAIL PROTECTED]

 ---.o00O---O00o.---

--
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HT

RE: [Zope] Having troubles starting Zope. Now: compiling Zope

2000-11-22 Thread Dany Rioux

Ok, so running dns/imap/mail/apache/zope/samba/nfs/mysql/snmb/sshd and all
the rest of the normal services running (not forgetting the php/cgi/etc
modules of apache) and compiling shouldn't be a problem? :)

I have to admit the box is not receiving that much traffic but I wouldn't
want to slow things more than I have to.

Dany

-Original Message-
From: ucntcme [mailto:ucntcme]On Behalf Of Bill Anderson
Sent: Wednesday, November 22, 2000 5:54 AM
To: Dany Rioux
Subject: Re: [Zope] Having troubles starting Zope.


Dany Rioux wrote:
...
 About installing from source. I don't really have anything against that
but
 the linux box running zope is a P133 w/ 64 MB RAM... It's not a power
 compiler if I may add :) so compiling the kind of app zope is makes me
think
 of compiling X. About an hour or so. I don't really want to get a too
tight
 grip on the machine's load.


I've compiled several Zopes on my p133, sometimes more than one at a
time, no problems. :) Of course, it depend son what _else_ the machine
may be doing. Mine was running mail/dns sevrer at the time, not much
else really.

--
E PLURIBUS LINUX




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Having troubles starting Zope. Now: compiling Zope

2000-11-22 Thread Dany Rioux

I don't really care about my end :) Only the user's :)

But I think it would be a nice idea to implement. I'll give it some
thoughts.

Dany

-Original Message-
From: ucntcme [mailto:ucntcme]On Behalf Of Bill Anderson
Sent: Wednesday, November 22, 2000 6:14 AM
To: Dany Rioux
Subject: Re: [Zope] Having troubles starting Zope. Now: compiling Zope


Dany Rioux wrote:

 Ok, so running dns/imap/mail/apache/zope/samba/nfs/mysql/snmb/sshd and all
 the rest of the normal services running (not forgetting the php/cgi/etc
 modules of apache) and compiling shouldn't be a problem? :)

 I have to admit the box is not receiving that much traffic but I wouldn't
 want to slow things more than I have to.


In my case, I picked a time when I knew traffic would be lower, and
there were no issues. YMMV.

If your browsers are not on the local LAN, but through modem, they
probably wouldn't notice much, if any change, all things being equal. :)

Bill

--
E PLURIBUS LINUX




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Having troubles starting Zope. Now FIXED!

2000-11-22 Thread Dany Rioux

I fixed it.

All I had to do was reinstall the zope .deb and it started alright. The
content is still there (though I was almost scared to death having thought
of doing backups AFTER the reinstallation) and all is good.

Well, almost. Now that it's fixed and all is back to normal, I will try to
find what caused this. *crossing fingers*

I'll let you know if I find something.

Dany

---.oo0O--O0oo.

Dany Rioux  UnderSoft
Business
www.dating-reviews.com
[EMAIL PROTECTED]

Personal
www.drioux.com
[EMAIL PROTECTED]

---.o00O---O00o.---


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Having troubles starting Zope.

2000-11-21 Thread Chris McDonough

It sounds like the .deb of Zope (or the hotfix) you have is
misconfigured in some way... I think the Debian Zope maintainer is
Gregor Hoffleit... I'd imagine he'd be interested in a bug report.

But in the meantime, I'd suggest using the Zope source distribution to
install... it's actually not too hard.

1. make sure you have Python installed as well as the Python
"development libraries" (might be easiest to install Python from source
too here, but probably not required)
2. download the latest Zope source tgz
3. ungzip and untar it as a regular user in a directory somewhere you
like
4. run "python w_pcgi.py" in the directory (pay attention to the
password it gives you for the superuser)
5. wait for it to compile (report any errors you come up with in this
step to the list)
6. type "./start"
7. fire up a browser and point it at port 8080
8. log in as superuser and create a management account
9. close the browser
10. open the browser again and log in as the management user.
11. have fun.


Dany Rioux wrote:
 
 Hi listers,
 
 Until this afternoon, I was using zope (more like trying to use it) and
 everything was ok. I had some problems with the .deb SiteAccess but I
 fixed it by getting the real thing from zope.org and it worked. I added
 the latest Hotfix because it's a good thing to have. Then I restarted Zope
 but it never went back up again.
 
 The box is Linux debian woody with Zope 2.2.2
 
 When I try to start it up, that's the message I get:
 
 -PASTE---
 drioux:/etc/init.d# ./zope start
 Starting Zope...Traceback (innermost last):
   File "/usr/sbin/zope-z2", line 535, in ?
 except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var')
 NameError: INSTANCE_HOME
  failed.
 -/PASTE--
 
 I went to check the line seeming to cause this and there's a comment about
 ZEO:
 
 -PASTE---
 # CLIENT_HOME allows ZEO clients to easily keep distinct pid and
 # log files. This is currently an *experimental* feature, as I expect
 # that increasing ZEO deployment will cause bigger changes to the
 # way that z2.py works fairly soon.
 try:CLIENT_HOME = os.environ['CLIENT_HOME']
 except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var')
 -/PASTE--
 
 I remember seeing something about ZEO on zope.org but I don't remember if
 it was an update or whatelse but AFAIK I didn't installed and/or I don't
 use a ZEO client.
 
 Now, I'm a total Zope newbie. Ok maybe not total but I'm a basic newbie
 and I wonder if the Hotfix fixed too much... I tried to move the Hotfix
 directory elsewhere but that didn't change a thing.
 
 Anyone can offer help or maybe it's already been discussed. I looked at
 the list's past 2 months but came up empty.
 
 TIA
 
 Dany
 
 ---.oo0O--O0oo.
 
 Dany Rioux  UnderSoft
 Business:
 www.dating-reviews.com
 [EMAIL PROTECTED]
 
 Pers:
 www.drioux.com
 [EMAIL PROTECTED]
 
 ---.o00O---O00o.---

-- 
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )