Yubico Forum
https://forum.yubico.com/

No output from install.php or utils.php
https://forum.yubico.com/viewtopic.php?f=16&t=302
Page 1 of 2

Author:  bramstienstra [ Fri Mar 27, 2009 2:42 pm ]
Post subject:  No output from install.php or utils.php

Hi all,

I've set up the following;

- yubico-php-lib (otp parsing) -> http://code.google.com/p/yubico-php-lib
- yubiphpbase (utils) -> http://code.google.com/p/yubiphpbase
- kms (key mgmt) -> http://code.google.com/p/yms
- wsapi (otp validation) -> http://code.google.com/p/yubikey-val-server-php

But after configuring and installing everything that's been requested, I do not get any output from php install.php or php utils.php. I'm running on CentOS

Can someone help me?
Best regards,
Bram

Author:  network-marvels [ Fri Mar 27, 2009 3:32 pm ]
Post subject:  Re: No output from utils.php

Install.php is used for configuring the YMS server as per the entries populated in the config.php file.

In order to login to the YMS server you need to point your browser to the following URL:

http://<YMS Server IP Address/Domain name>/<YMS Server Installed directory>/yms

For Example:

http://api.yubico.com/yms

or

http://testyms.yubico.com/yubico/yms

Here, in the first URL, the YMS server is installed in the http document root directory and in the second URL it is installed in http document root/yubico directory.

We hope this helps !

Feel free to write back to us in case you face any problems.

Author:  bramstienstra [ Fri Mar 27, 2009 3:43 pm ]
Post subject:  Re: No output from install.php or utils.php

Thanks for your quick reply but...
I can access the yms but cannot log in...

This is (as far as i know) because there aint any admin tokens imported.
This is why I wan't to use the utils.php, but as I wrote earlier this php script doesnt give me output.

The output is needed for the sql import as described in;
http://code.google.com/p/yubiphpbase/wiki/SetUp

Author:  network-marvels [ Fri Mar 27, 2009 4:21 pm ]
Post subject:  Re: No output from install.php or utils.php

Please copy/move the utils.php from ..../yubiphpbase/db directory to .../yubiphpbase directory and run again.

Feel free to write back to us in case you face any problems.

Author:  bramstienstra [ Fri Mar 27, 2009 4:23 pm ]
Post subject:  Re: No output from install.php or utils.php

Already did that...

Author:  network-marvels [ Fri Mar 27, 2009 4:46 pm ]
Post subject:  Re: No output from install.php or utils.php

We would appreciate if you can send us the following information for debugging the problem you are facing:

    1) config.php

    2) Your yubico database dump created using the following command:
    Code:
    # mysqldump -u <username> yubico > <dumpfilename.sql>


Author:  bramstienstra [ Sat Mar 28, 2009 11:41 am ]
Post subject:  Re: No output from install.php or utils.php

As requested...
Attachment:
Archive.zip

Author:  network-marvels [ Mon Mar 30, 2009 6:58 am ]
Post subject:  Re: No output from install.php or utils.php

Thank you for providing the information. We are looking into the problem and we will update you soon.

Author:  network-marvels [ Mon Mar 30, 2009 11:39 am ]
Post subject:  Re: No output from install.php or utils.php

Please change the following parameters from config.php:

    1) $aesParams['__ADM_KEY_SECRET__'] ==> Enter your AES key in Base64 format
    2) $aesParams['__ENC_KEY_SECRET__'] ==> Enter your Encryption key in Base64 format

Please also let us know, how you have downloaded the source code (Whether you have used svn to download the files or downloaded the files which are available under download section).

We would appreciate if you can change the above mentioned parameters and test again.

Feel free to write back to us in case you face any problems.

Author:  bramstienstra [ Mon Mar 30, 2009 12:43 pm ]
Post subject:  Re: No output from install.php or utils.php

Changed the requested values to b64.
Everything was installed via svn (via the links in the first post).

I've tested it again without improvements...

--EDIT--
just saw that the install.php crashes after; require_once '../wsapi/common.php';
also tried putting the full path there...
only editted the config.php in ../wsapi/

Page 1 of 2 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/