[Nolug] zope / plone

From: Friedrich Gurtler <fgurtler_at_tulane.edu>
Date: Tue, 31 Aug 2004 22:15:59 -0500
Message-ID: <41353EEF.8070401@tulane.edu>

durrr.

so I apt-got plone, and it sorta bombed out on me.

exarata:/# apt-get install plone

The following extra packages will be installed:
  zope zope-cmf zope-cmfcalendar zope-cmfcore zope-cmfdefault
zope-cmfplone zope-cmftopic zope-cmfworkflow zope-formulator

The following NEW packages will be installed:
  plone zope zope-cmf zope-cmfcalendar zope-cmfcore zope-cmfdefault
zope-cmfplone zope-cmftopic zope-cmfworkflow zope-formulator

Selecting previously deselected package zope.

Setting up zope (2.6.4-1.5) ...
touch: cannot touch `/var/lib/zope/instance/default/access': No such
file or directory
dpkg: error processing zope (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zope-cmfcore:
 zope-cmfcore depends on zope; however:
  Package zope is not configured yet.
dpkg: error processing zope-cmfcore (--configure):
 dependency problems - leaving unconfigured

So I did:

exarata:/# touch /var/lib/zope/instance/default/access
touch: cannot touch `/var/lib/zope/instance/default/access': No such
file or directory
exarata:/# mkdir /var/lib/zope/instance/default/
exarata:/# touch /var/lib/zope/instance/default/access
exarata:/# rm /var/lib/zope/instance/default/access

And then one more time:

exarata:/# apt-get -f install plone

Reading Package Lists... Done
Building Dependency Tree... Done
plone is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
10 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up zope (2.6.4-1.5) ...
Please enter a password for Zope's initial/emergency user.
Initializing Zope instance home for default... done.
Creating PCGI resource file for default... done.
Starting Zope instance default...
 Waiting instances in late: default(0), done.

Setting up zope-cmfcore (1.3.3-1) ...
Restarting Zope instance default...
 Waiting instances in late:default: timeout: 30

Setting up zope-cmftopic (1.3.3-1) ...
Restarting Zope instance default...
 Waiting instances in late: default(0), done.

Setting up zope-cmfdefault (1.3.3-1) ...
Restarting Zope instance default...
 Waiting instances in late:default: timeout: 30

Setting up zope-cmfcalendar (1.3.3-1) ...
Restarting Zope instance default...
 Waiting instances in late: default(0), done.

Setting up zope-cmf (1.3.3-1) ...
Setting up zope-cmfworkflow (0.4.2-4) ...
Restarting Zope instance default...
 Waiting instances in late: default(0), done.

Setting up zope-formulator (1.6.2-0.1) ...
Restarting Zope instance default...
 Waiting instances in late: default(0), done.

Setting up zope-cmfplone (1.0.5.20030909-3.1) ...
Restarting Zope instance default...
 Waiting instances in late:default: timeout: 30

Setting up plone (1.0.5.20030909-3.1) ...
exarata:/# zopectl -a default
Setting up initial user for default... done.
exarata:/# zopectl start
Starting Zope instance default...
 Waiting instances in late: default(0), done.

It didnt let me set a password for the initial / emergency user. So I
poked around the website and found:

http://localhost:9673/manage

So I went to it: and it prompted me for a username and password. So I
poked around the web a bit more and found that I was supposed to do:

exarata:/usr/lib/zope# ./zpasswd.py access
Username: fgurtler
Password:
Verify password:

Please choose a format from:

SHA - SHA-1 hashed password (default)
CRYPT - UNIX-style crypt password
CLEARTEXT - no protection

Encoding: SHA
Domain restrictions:
exarata:/usr/lib/zope# ./zpasswd.py inituser
Username: fgurtler
Password:
Verify password:

Please choose a format from:

SHA - SHA-1 hashed password (default)
CRYPT - UNIX-style crypt password
CLEARTEXT - no protection

Encoding: SHA
Domain restrictions:
exarata:/usr/lib/zope# /etc/init.d/zope restart
Restarting Zope instance default...
 Waiting instances in late: default(0), done.

However I still get rejected by zope at http://localhost:9673/manage.
What the heck am I doing wrong. Bleh.

___________________
Nolug mailing list
nolug@nolug.org
Received on 08/31/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST