Installing Zope on Ubuntu Breezy
Hi I wonder if anybody could tell me what I am doing wrong. I installed zope 2.8, and plone 2.1 via synaptic. I also installed plone-site via synaptic. (When I installed this I was promted for a username and password) Now when I access: http://localhost:8081, I get a quickstart screen. When I click on the link to the management interface (http://localhost:8081/manage) I am promted for user name and password. It does not accept the username and password that I typed when setting up plone-site. I've been googling, and at one place there was an explanation that zope sets up an inituser file with a username and password. I found such a file under /var/lib/zope2.8/instance/plone-site/ with the following information in it: admin:{SHA}JPpU/BsXGIcv7LQrwgMiOS25PB4= I've tried to use this in various ways: username: admin password: {SHA}JPpU/BsXGIcv7LQrwgMiOS25PB4= or username: {SHA}JPpU password: BsXGIcv7LQrwgMiOS25PB4= That did not work. I tried to create a new inituser account using the following command weiers@weiers:/usr/lib/zope2.8/bin$ sudo python zpasswd.py inituser and then got the following feedback: The programme asked me for a username and a password, to repeat the password. I also selected SHA as a mode of encrypting the password, and left the domain restrictions blank. Unfortunately when I try to connect to (http://localhost:8081/manage), I still get the same problem. It won't accept my password. I tried to look for other inituser files on my computer, but I do not see any. ----> I am really stuck. I don't know how to get plone or zope to work on my computer. Please help. If you help me, I promise that I will write the details into a wiki somewhere. Thanks Weiers
Try to do a file named "access" in your c:\zopesite with, in this file, the line (login and password): admin:toto Load, run zope and try again. -----Message d'origine----- De : zope-bounces@zope.org [mailto:zope-bounces@zope.org] De la part de Weiers Coetser Envoyé : mercredi 16 novembre 2005 12:50 À : zope@zope.org Objet : [Zope] Installing Zope on Ubuntu Breezy Hi I wonder if anybody could tell me what I am doing wrong. I installed zope 2.8, and plone 2.1 via synaptic. I also installed plone-site via synaptic. (When I installed this I was promted for a username and password) Now when I access: http://localhost:8081, I get a quickstart screen. When I click on the link to the management interface (http://localhost:8081/manage) I am promted for user name and password. It does not accept the username and password that I typed when setting up plone-site. I've been googling, and at one place there was an explanation that zope sets up an inituser file with a username and password. I found such a file under /var/lib/zope2.8/instance/plone-site/ with the following information in it: admin:{SHA}JPpU/BsXGIcv7LQrwgMiOS25PB4= I've tried to use this in various ways: username: admin password: {SHA}JPpU/BsXGIcv7LQrwgMiOS25PB4= or username: {SHA}JPpU password: BsXGIcv7LQrwgMiOS25PB4= That did not work. I tried to create a new inituser account using the following command weiers@weiers:/usr/lib/zope2.8/bin$ sudo python zpasswd.py inituser and then got the following feedback: The programme asked me for a username and a password, to repeat the password. I also selected SHA as a mode of encrypting the password, and left the domain restrictions blank. Unfortunately when I try to connect to (http://localhost:8081/manage), I still get the same problem. It won't accept my password. I tried to look for other inituser files on my computer, but I do not see any. ----> I am really stuck. I don't know how to get plone or zope to work on my computer. Please help. If you help me, I promise that I will write the details into a wiki somewhere. Thanks Weiers _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ***************************************************** "Le contenu de ce courriel et ses eventuelles pièces jointes sont confidentiels. Ils s'adressent exclusivement à la personne destinataire. Si cet envoi ne vous est pas destiné, ou si vous l'avez reçu par erreur, et afin de ne pas violer le secret des correspondances, vous ne devez pas le transmettre à d'autres personnes ni le reproduire. Merci de le renvoyer à l'émetteur et de le détruire. Attention : L'Organisme de l'émetteur du message ne pourra être tenu responsable de l'altération du présent courriel. Il appartient au destinataire de vérifier que les messages et pièces jointes reçus ne contiennent pas de virus. Les opinions contenues dans ce courriel et ses éventuelles pièces jointes sont celles de l'émetteur. Elles ne reflètent pas la position de l'Organisme sauf s'il en est disposé autrement dans le présent courriel." ******************************************************
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Weiers Coetser wrote:
Hi
I wonder if anybody could tell me what I am doing wrong. I installed zope 2.8, and plone 2.1 via synaptic. I also installed plone-site via synaptic. (When I installed this I was promted for a username and password)
Now when I access: http://localhost:8081, I get a quickstart screen. When I click on the link to the management interface (http://localhost:8081/manage) I am promted for user name and password.
It does not accept the username and password that I typed when setting up plone-site. I've been googling, and at one place there was an explanation that zope sets up an inituser file with a username and password. I found such a file under /var/lib/zope2.8/instance/plone-site/ with the following information in it: admin:{SHA}JPpU/BsXGIcv7LQrwgMiOS25PB4=
I've tried to use this in various ways: username: admin
password: {SHA}JPpU/BsXGIcv7LQrwgMiOS25PB4=
or username: {SHA}JPpU password: BsXGIcv7LQrwgMiOS25PB4=
That did not work. I tried to create a new inituser account using the following command weiers@weiers:/usr/lib/zope2.8/bin$ sudo python zpasswd.py inituser
and then got the following feedback:
The programme asked me for a username and a password, to repeat the password. I also selected SHA as a mode of encrypting the password, and left the domain restrictions blank.
Unfortunately when I try to connect to (http://localhost:8081/manage), I still get the same problem. It won't accept my password. I tried to look for other inituser files on my computer, but I do not see any.
----> I am really stuck. I don't know how to get plone or zope to work on my computer.
Please help. If you help me, I promise that I will write the details into a wiki somewhere.
The 'inituser' file is consumed when Zope starts; if you still see the file on the filesystem, then Zope isn't running from the directory where you think it is, or else doesn't have access to remove the file. 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. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@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 iD8DBQFDeytI+gerLs4ltQ4RApgQAJ9RiBlGao6LTE4E4h0Mr5PbGIzLDwCfce/4 ohaYaR6Es9aHbLvEUEr0bns= =ph0Q -----END PGP SIGNATURE-----
Weiers Coetser <coetserw@...> writes: Hi
I also installed plone-site via synaptic. (When I installed this I was promted for a username and password)
You might want to setup your instance by Hand if the automatic way does not work for you. I have that running on breezy badger here at work... You can call the "mkzopeinstance.py" script for setting up a fresh Zope Instance on your system. Find it, call it, enter the path where you wish to install and the inituser/password. You may want to review the zope.conf in <yournewinstance>/etc/ for setting appropriate port and user. Start your new instance and see if you can login via /manage If you can, you grab the Plone 2.1.1 tarball, unpack it and copy all subfolders into <yourinstance>/products/ . Change the owner of these copied folders to the one you use for your zope instance Restart this Zope instance, and start enjoying the Plone/Zope Combination ;) Regards Maik
participants (4)
-
AZAIS Bruce -
Maik Ihde -
Tres Seaver -
Weiers Coetser