błędy apache i nie działający LMS
Witam. Właśnie wykonałem instalcję LMS 1.8.9. Przy próbie wejścia na LMS dostaję komunikaty w logacha apacha: [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_connect() [<a href='function.pg-connect'>function.pg-connect</a>]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 59 [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79 [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 86 [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79 [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 86 [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79 [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 86 [Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79 [Mon Apr 30 15:35:56 2007] [error] [client 192.168.1.4] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/lms/lib/common.php on line 177
Wygląda jakby LMS miał problem z połączeniem się z bazą ale w pliku pg_hba.conf dodałem wpisy typu: local all all trust host all all 127.0.0.1 255.255.255.255 trust Nie pomogło. Przez psql łączę się z bazą bez problemu. Co to może być?
Pozdrawiam
_______________________________________________ lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms
uczestnicy (1)
-
gruszka_m