[Zope] Install Problem - probably stupid newbie thing
Todd Graham
tgraham@speakeasy.net
Sat, 15 Dec 2001 19:00:16 -0800
If you've already got an instance of zope running on the server it is using
the port that the second zope wants to run, by default zope runs on 8080.
You can modify you start file as shown below to set the port, in this case
zope will start on 80, also you need to change the ftp port as well.
Not sure about the Syntax errors
>>snip<<
exec /opt/zope/bin/python \
$INST_HOME/z2.py -w80\
-D "$@"
- - - - - - - - - - - - - - - - - -
`8> Todd <8 '
http://www.hometownbrown.com
----- Original Message -----
From: Virgil H. Huston, Jr. <huston@kudzumedia.com>
To: <Zope@zope.org>
Sent: Saturday, December 15, 2001 5:49 PM
Subject: [Zope] Install Problem - probably stupid newbie thing
> I have tried twice now to install Zope on a site on my server. I
> already have one other instance of Zope running on the server
(successfully), but under a
> different IP number. I can open the Zope main screen, but the log-in
> will not accept the admin password the install script generated. Here are
errors I get when I do the install.
>
> --------------------------------------------------------------------------
----
> Compiling python modules
> File
"/home/sites/site14/users/zopecopy/Zope-2.4.3-linux2-x86/lib/python2.1/te
> st/nocaret.py", line 2
> [x for x in x] = x
> SyntaxError: can't assign to list comprehension
> SyntaxError: from __future__ imports must occur at the beginning of the
file (te
> st_future3.py, line 3)
> SyntaxError: from __future__ imports must occur at the beginning of the
file (te
> st_future4.py, line 3)
> SyntaxError: from __future__ imports must occur at the beginning of the
file (te
> st_future5.py, line 4)
> SyntaxError: from __future__ imports must occur at the beginning of the
file (te
> st_future6.py, line 3)
> SyntaxError: from __future__ imports must occur at the beginning of the
file (te
> st_future7.py, line 3)
>
> Here is what I get when I run start:
>
> ------
> 2001-12-16T02:14:43 INFO(0) Zope New disk product detected, determining if
we ne
> ed to fix up any ZClasses.
> ------
> 2001-12-16T02:14:44 PANIC(300) z2 Startup exception
> Traceback (innermost last):
> File /home/sites/site14/users/zopecopy/Zope-2.4.3-linux2-x86/z2.py, line
625,
> in ?
> File
/home/sites/site14/users/zopecopy/Zope-2.4.3-linux2-x86/ZServer/HTTPServe
> r.py, line 396, in __init__
> File
/home/sites/site14/users/zopecopy/Zope-2.4.3-linux2-x86/ZServer/medusa/ht
> tp_server.py, line 570, in __init__
> File
/home/sites/site14/users/zopecopy/Zope-2.4.3-linux2-x86/lib/python2.1/asy
> ncore.py, line 298, in bind
> error: (98, 'Address already in use')
>
> Any ideas on what the problem might be? I looked at zpasswd.py, but
> have no clue how to change the password.
>
> Thanks,
> Virgil
>
>
>
> --
> Regards,
> Virgil Huston
> Kudzu Media
> covering the media world
> http://kudzumedia.com
> mailto:huston@kudzumedia.com
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )
>