[ZendTo] Re: FW: Re: Help with Ubuntu

Jules Jules at Zend.To
Mon Apr 15 14:57:46 BST 2013


Alastair,

Sorry for the long delay in replying, I've been in hospital (and have to 
go back in again in a couple of weeks).

On 27/03/2013 15:36, Alastair Cook wrote:
> Hi Jules,
>
> Thanks very much for this and apologies for the late reply - I've been distracted with other work and have just come back to ZendTo.
>
> I'm still struggling to login to the ZendTo website on the Ubuntu VM I've installed, I have the login page up but it won't accept any login IDs.  I've added a user using adduser.php and I can login to Ubuntu using the new user,
The user details for logging in to Ubuntu are nothing whatsoever to do 
with the user details used by ZendTo. That is all set by 
/opt/zendto/bin/adduser.php.

You are running the script as root aren't you?

If you are using SQLite (as opposed to MySQL) then have you checked that 
Apache can read the /var/zendto/zendto.sqlite file?

> however the ZendTo site won't accept it displaying an authentication error  and "The username or password was incorrect.".  Am I going about this the right way to set up a local user for the website?
>
> Also I have clicked on the "about" link to ensure the SQLite database is created, but where are the DB files
/var/zendto/zendto.sqlite if you are using SQLite. If you are using 
MySQL then you need to read the appropriate readme file in 
/opt/zendto/sql and follow the instructions to setup your MySQL database 
for ZendTo.
>   and is there a way to admin the database in a browser in a similar way to using MyPHPAdmin?
No there isn't, sorry.

Jules.

>
> Many thanks, Alastair
>
>
> ________________________________________
> From: zendto-bounces at zend.to [zendto-bounces at zend.to] on behalf of Jules [Jules at zend.to]
> Sent: 19 February 2013 14:03
> To: ZendTo Users
> Subject: [ZendTo] Re: Help with Ubuntu
>
> On 18/02/2013 18:58, Alastair Cook wrote:
>> Hi,
>>
>> I was hoping someone might be able to help with the Ubuntu template for ESX.  I've successfully got the VM & site up and running however my  Linux skills via the CLI are limited.. I can't login to the web site to add any users etc. or make any changes. Is there a default admin login for the website or does it all need to be done via the CLI initially?
> You add/list/edit/delete users with the CLI I'm afraid. I never wrote a web interface to this, as most people just use the IMAP, LDAP or AD auth plugins and so wouldn't need it anyway.
>>     I have tried adding / listing users by following a forum thread but get a "only one or two names allowed" message when trying to add and "command not found" for list users.  I've done the following:
>>
>> sudo su -
>>
>> cd /opt/zendto/bin
>>
>> ./adduser.php
> Before you do that command, do this one:
> export ZENDTOPREFS=/opt/zendto/config/preferences.php
> Then "./adduser.php" should tell you the syntax you need, which is like
> this:
> ./adduser.php their-username 'password-here' 'real.name at my-domain.com'
> 'Mr Real Name' 'My Company Inc' 9999999
>
> (yes, you do need the 99999999 on the end, but 99% of users will never use it)
>> ./listusers.php
> That doesn't need any parameters, and should then list any users you have added.
>
> Hope that's enough to get you going!
>
> Jules.
>
>> Can anyone help me with the best \ easiest way to get allow me to login and start using things.
>>
>> Any help appreciated.  Rgds, Alastair
>>
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>> Jules
>>
>> --
>> Julian Field MEng MBCS CITP CEng
>>
>> 'Adversity is like a strong wind. I don't mean just that it holds
>>    us back from places we might otherwise go. It also tears away from
>>    us all but the things that cannot be torn, so that afterward we see
>>    ourselves as we really are, and not merely as we might like to be.'
>>    - Arthur Golden
>>
>> www.Zend.To
>> Twitter: @JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
> Copyright in this message and any attachments remains with us. It is confidential and may be legally privileged. If this message is not intended for you it must not be read, copied or used by you or disclosed
> to anyone else. Please advise the sender immediately if you have received this message in error.
>
> Although this message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened it is the responsibility of the recipient to
> ensure that it is virus free and no responsibility is accepted by Allianz Insurance plc for any loss or damage in any way arising from its use.
>
> Cornhill Direct is a trading name of Allianz Insurance plc.  Pet Plan Ltd, Home and Legacy Insurance Services Ltd, Allianz Business Services Ltd and Cornhill Solutions Ltd are part of the Allianz (UK)
> group of companies. Allianz Insurance plc, Registered in England number 84638.  Registered Office: 57 Ladymead, Guildford, Surrey GU1 1DB. Allianz Engineering Inspection Services Ltd. Registered in England
> number 5441840. Registered Office: 57 Ladymead, Guildford, Surrey GU1 1DB UK.  Allianz Insurance plc is authorised and regulated by the Financial Services Authority.
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> -- 
> Julian Field MEng MBCS CITP CEng
>
> 'All programs have a desire to be useful' - Tron, 1982
>
> www.Zend.To
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


More information about the ZendTo mailing list