Gossamer Forum
Home : Products : DBMan : Installation :

I think its a permission error - I just cant find

Quote Reply
I think its a permission error - I just cant find
Hi,

I ahve to swith providers... Now I am trying to install dbman again. However I isn't working...

The error-message:

CGI ERROR
==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate /html.pl in @INC (@INC contains: /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/aix /usr/local/lib/perl5/site_perl/5.005 .) at default.cfg line 55.

My permissions
-rw-rw-rw- 1 web-data staff 0 Nov 3 07:20 Verteiler.db
drwxrwxrwx 2 web-data staff 512 Nov 3 07:19 auth
-rwxr--r-- 1 web-data staff 7289 Nov 3 07:19 auth.pl
-rwxr-xr-x 1 web-data staff 94218 Nov 3 07:20 db.cgi
-rwxr--r-- 1 web-data staff 11459 Nov 3 07:20 default.cfg
-rw-rw-rw- 1 web-data staff 3 Nov 3 07:21 default.count
-rw-rw-rw- 1 web-data staff 47549 Nov 3 07:20 default.db
-rw-rw-rw- 1 web-data staff 7425 Nov 3 07:20 default.log
-rw-rw-rw- 1 web-data staff 3375 Nov 3 07:20 default.pass
-rwxr--r-- 1 web-data staff 104142 Nov 3 07:20 html.pl
drwxrwxrwx 3 web-data staff 512 Nov 3 07:21 cgi-bin
drwxrwxrwx 2 web-data staff 512 Nov 3 07:19 csv

the first lines of my cgi
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://xxx/cgi-bin";
# URL of the directory to send Users in a Mail. No Trailing Slash Please.
$db_dir_user = "http://xxx/xxx.html";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";
# Full path to sendmail on your system
$mailprog = "|/usr/lib/sendmail -t -oeq";
...
# Name of Excel Paths
$db_csv_url = "http://xxx/csv";
$db_csv_path = "xxx/csv/";
$db_script_path = "."; <==== Line 55


Thanks for the help


Quote Reply
Re: I think its a permission error - I just cant find In reply to
Hi Jakob, the error may be in the line above line 55. Try changing this line from:

$db_csv_path = "xxx/csv/";

to:

$db_csv_path = "xxx/csv";
(removed the trailing slash)

Quote Reply
Re: I think its a permission error - I just cant find In reply to
Hi thank you for the hint.

BUT, it didn't do the trick!

Jakob