I have a Zope install 2.5.1 that I am wanting to migrate to another box that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy the data.fs file from the old var to the new. This never goes successfully as I get the following when pointing to localhost:8080/manage and after I authenticate: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: getItem Can anyone let me know what I might be doing wrong? I have stopped and restarted zope after making the changes. Thanks, Tim
On Mon, Jun 27, 2005 at 08:29:01AM -0500, Tim Suter wrote:
I have a Zope install 2.5.1 that I am wanting to migrate to another box that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy the data.fs file from the old var to the new.
Redundant. If you copy the Data.fs file, you do not need to import any .zexp's. If the failure occurs during import, well then, just don't do that :-) -- Paul Winkler http://www.slinkp.com
I deleted the Zope dir to start over. Went through the configure make and make install routine from the source directory....ran mkzopeinstance.py then after running: # su -c "/opt/zope/knowledge/bin/runzope" itadmin I get this: Traceback (most recent call last): File "/opt/zope/lib/python/Zope2/Startup/run.py", line 56, in ? run() File "/opt/zope/lib/python/Zope2/Startup/run.py", line 21, in run starter.prepare() File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 92, in prepare self.setupServers() File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 207, in setupServers raise ZConfig.ConfigurationError(socket_err ZConfig.ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use) Can someone tell me what this is? Tim On Mon, 2005-06-27 at 09:41 -0400, Paul Winkler wrote:
On Mon, Jun 27, 2005 at 08:29:01AM -0500, Tim Suter wrote:
I have a Zope install 2.5.1 that I am wanting to migrate to another box that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy the data.fs file from the old var to the new.
Redundant. If you copy the Data.fs file, you do not need to import any .zexp's.
If the failure occurs during import, well then, just don't do that :-)
On Mon, Jun 27, 2005 at 10:28:45AM -0500, Tim Suter wrote:
I deleted the Zope dir to start over. Went through the configure make and make install routine from the source directory....ran mkzopeinstance.py then after running:
# su -c "/opt/zope/knowledge/bin/runzope" itadmin
I get this:
Traceback (most recent call last): File "/opt/zope/lib/python/Zope2/Startup/run.py", line 56, in ? run() File "/opt/zope/lib/python/Zope2/Startup/run.py", line 21, in run starter.prepare() File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 92, in prepare self.setupServers() File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 207, in setupServers raise ZConfig.ConfigurationError(socket_err ZConfig.ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)
Can someone tell me what this is?
Did you read the error message? Most likely, you left your old version of Zope running on the same port. You can't run two servers on the same port at once. -PW -- Paul Winkler http://www.slinkp.com
On 6/27/05, Tim Suter <tsuter@cait.org> wrote:
I deleted the Zope dir to start over. Went through the configure make and make install routine from the source directory....ran mkzopeinstance.py then after running:
# su -c "/opt/zope/knowledge/bin/runzope" itadmin
I get this:
Traceback (most recent call last): File "/opt/zope/lib/python/Zope2/Startup/run.py", line 56, in ? run() File "/opt/zope/lib/python/Zope2/Startup/run.py", line 21, in run starter.prepare() File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 92, in prepare self.setupServers() File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 207, in setupServers raise ZConfig.ConfigurationError(socket_err ZConfig.ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)
Can someone tell me what this is?
Well, it sais that the adress you try to use is already in use, and so far I haven't seen this happen except when it is. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
All I did was import the Data.fs this time. No good. Still get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: __getitem__ Should I just use the import function? Tim On Mon, 2005-06-27 at 09:41 -0400, Paul Winkler wrote:
On Mon, Jun 27, 2005 at 08:29:01AM -0500, Tim Suter wrote:
I have a Zope install 2.5.1 that I am wanting to migrate to another box that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy the data.fs file from the old var to the new.
Redundant. If you copy the Data.fs file, you do not need to import any .zexp's.
If the failure occurs during import, well then, just don't do that :-)
On Mon, Jun 27, 2005 at 11:51:02AM -0500, Tim Suter wrote:
All I did was import the Data.fs this time. No good. Still get:
Zope Error Zope has encountered an error while publishing this resource.
Error Type: AttributeError Error Value: __getitem__
Should I just use the import function?
We need the whole traceback, which should be listed in the /error_log object in the root of your zope folder tree. Find that and maybe we can get a clue from it. -- Paul Winkler http://www.slinkp.com
participants (3)
-
Lennart Regebro -
Paul Winkler -
Tim Suter