1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-12-11 09:24:11 +01:00
yubikey-val/doc/Troubleshooting.adoc

23 lines
815 B
Plaintext
Raw Normal View History

2014-10-29 15:08:12 +01:00
== Troubleshooting
2014-08-11 15:52:11 +02:00
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
2014-08-14 13:25:48 +02:00
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411982 for more
2014-08-11 15:52:11 +02:00
information. The workaround is simple:
2014-10-29 15:08:12 +01:00
[source, sh]
user@val:~$ sudo mv /etc/php5/conf.d/curl.ini /etc/php5/conf.d/z_curl.ini