Greetings --
I'm having a peculiar problem logging in to the admin panel. I can take
surveys without problems. When I attempt to access the admin panel, by
going to http://myserver/phpESP, the browser doesn't find a page to
display and /var/log/apache/error.log shows
[Mon May 3 19:00:03 2004] [notice] child pid 3276 exit signal
Segmentation fault (11)
[Mon May 3 19:00:03 2004] [notice] child pid 3273 exit signal
Segmentation fault (11)
The processes killed are apache processes that were running at the time
-- they segfault, and a couple of new apache processes take their place.
At the same time, /var/log/mysql.log shows that the database opens as it
should:
040503 19:00:02 29 Connect phpesp@localhost on
29 Init DB phpesp
30 Connect phpesp@localhost on
30 Init DB phpesp
Browsing to http://myserver/phpESP/admin/test.php also works fine --
details below. I also append some error messages I get when starting mysql.
I had this working in February and March. What could be the problem?
Cheers,
David
PHP Information
Version: 4.3.4
OS: Linux
SAPI: apache
register_globals: Yes
magic_quotes_gpc: Yes
magic_quotes_runtime: No
safe_mode: No
open_basedir:
PHP Extensions
dBase: No
GD: No
GNU Gettext: Yes
LDAP: No
MySQL: Yes
PHP Extension Dir (compiled): /usr/lib/php4/20020429
PHP Extension Dir (run time): /usr/lib/php4/20020429
phpESP Settings
Expected ESP_BASE: /var/www/phpESP/
Expected base_url: http://myserver/phpESP/
Loading phpESP.ini.php ...
ESP_BASE: /var/www/phpESP/
base_url: http://myserver/phpESP/
Version: 1.6.1
Debug: No
phpESP Language Settings
GNU Gettext: Real
default_lang: en_US
current lang: en_US
available langs: da_DK, de_DE, el_GR, en_US, es_ES, fr_FR, it_IT, ja_JP,
nl_NL, pt_BR, pt_PT, sv_SE
(da, de, el, en, es, fr, it, ja, nl, pt, sv)
GNU Gettext test: %%%% Gettext Test Failed
Catalog Open Test: Yes
PHP Session Test
session.save_path: /tmp
Counter: 1
When I restart mysql, /var/log/syslog shows this -- I can't tell if
there's a real problem or not:
040503 18:32:37 Error at /etc/init.d/mysql\n/usr/bin/mysqladmin:
connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket:
'/var/run/mysqld/mysqld.sock' exists!
040503 18:32:37 Error at /etc/init.d/mysql\n/usr/bin/mysqladmin:
connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket:
'/var/run/mysqld/mysqld.sock' exists!
040503 18:32:37 mysqld started
Warning: Ignoring user change to 'mysql' because the user was set to
'mysql' earlier on the command line
/usr/sbin/mysqld: ready for connections.
Version: '4.0.17-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306
|