1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-11-29 00:24:13 +01:00
yubikey-val/doc/Troubleshooting.adoc
2014-10-29 15:25:37 +01:00

23 lines
815 B
Plaintext

== Troubleshooting
First check if the web server is working.
Check that PHP is working. Create a foo.php script containing '<?php
phpinfo(); ?>' to debug PHP configuration.
Next make sure you serve the YK-VAL code under the URL you want, and
that accesssing the URL reaches the YK-VAL code. PHP error log in the
file set by php.ini error_log, by default /var/log/apache2/error.log.
Database errors will also be logged into it.
The database needs to be started. Make sure you can access it and the
tables.
If 'ykval-export' crashes, you may be running into a compatibility
problem between PHP, curl and libpq. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411982 for more
information. The workaround is simple:
[source, sh]
user@val:~$ sudo mv /etc/php5/conf.d/curl.ini /etc/php5/conf.d/z_curl.ini