[Zope] Re: Installing Zope on Ubuntu Breezy
Tres Seaver
tseaver at palladion.com
Wed Nov 16 12:20:17 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Weiers Coetser wrote:
>
>> You can create an 'access' file in the instance home (looks like
>> '/var/lib/zope2.8/plone-site' in your case), with an "emergency user" ID
>> and password; you can even leave the password in plain text while
>> testing, e.g.:
>>
>> $ cat /var/lib/zope2.8/plone-site/access
>> emergency:123
>>
>> You should then be able to log in as that user after restarting Zope;
>> that user has limited powers, mostly involving creating "normal" users
>> and setting up user folders.
>>
>>
>>
> It's just not working. I created the access file, but I am still asked
> for a password that I cannot seem to provide. I've now uninstalled all
> of Plone and All of Zope, and used Synaptic to try to install only Zope.
> I installed the Zope Sandbox, but I still cannot get it launched. Now I
> get "The connection was refused when attempting to contact local host
> 8081. I tried to create an instance using ./bin/runzope command, but
> every time I got error messages (I could not locate a ./bin/runzope
> anywhere except in the /var/lib/zope2.9/instances/sandbox directory.
>
> Am I getting the impression that Ubuntu is doing a very non-standard
> install of Zope?
>
> I'm sorry that I'm complaining. I've spent more than 5 hours trying to
> solve this now. I am very new to linux and I am learning a lot (even in
> the process of solving this problem). The environment is quite
> different to Windows, where I downloaded Plone and had it working in a
> few minutes. I just don't want to keep dual-booting if I can do it right
> here in my native filesystem.
I don't normally install the packaged versions. Here is what I just did:
$ sudo apt-get update
$ sudo apt-get install zope2.8
$ sudo apt-get install plone2.1
This fails: "Couldn't find package plone2.1"
$ sudo apt-get install plone-site
which wants a lot of zope2.7 packages installed. I don't know how you
were able to install plone2.1 via synaptic.
Here is something else to try:
$ sudo /var/lib/zope2.8/plone-site/bin/zopectl
zope> adduser admin 123
zope> restart
You should then be able to log in as 'admin' with password '123'.
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDe2pR+gerLs4ltQ4RAgs+AJ9LtCekeacDkemFeMNfwr4yRTsd6gCgza2H
GJUFTduNgo5VHle2T1rtJ4s=
=E0Cl
-----END PGP SIGNATURE-----
More information about the Zope
mailing list