The SyMAP install script script requires some non-standard Perl modules.
If any of these modules are missing, the install script will fail:
Add this line to the MySQL configuration file in /etc/my.cnf and restart
mysqld:
The install script may report that access to the MySQL database specified in
the params files is denied for the root and/or client users.
Verify that the users specified in the install script's params file have
localhost access in the mysql.users table.
To create a new user, or add localhost access for a user, use the following
command:
HTTP: "500 Internal Server Error"
The SyMAP CGI scripts are written in Perl and assume that the perl interpreter
is located at /usr/local/bin/perl. If this is not the case, the browser may
display a message like the one below when trying to access the main SyMAP
page.
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.
More information about this error may be available
in the server error log.
Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.
To solve this problem, create a link in /usr/local/bin to the perl interpreter:
> ln -s /usr/bin/perl /usr/local/bin/perl
SyMAP Applet: "database error has occurred"
This message appears in a browser pop-up window when the SyMAP applet cannot
access the MySQL database. There are several possible causes.
Check the database privileges
The database user specified in the SyMAP install params file (db_clientuser)
may not have remote access to the database as specified in the mysql.user table.
The SyMAP install script tests the user's local access to the database and
will report an error if access is denied, but it does not test for remote
access.
As an example, to add remote access from all hosts for user named 'db_clientuser':
mysql> insert into user values ('%','db_clientuser',PASSWORD('db_clientpasswd'),
'Y','Y','Y','Y','Y','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N',
'N','N','N','N','N','N','','','','',0,0,0,0);
mysql> flush privileges;
Also try using the mysqlaccess script to show which entries in the mysql
privilege tables are in use for a particular host/user/password.
Check the MySQL configuration
The MySQL configuration file (/etc/my.cnf) should not contain any
of the following lines that prevent remote access to the database.
bind_address=127.0.0.1
skip_networking
Check the firewall configuration
The server may have a firewall enabled that blocks access to
port 3306 required by MySQL. To totally disable the firewall (as a test):
> /sbin/service iptables stop