Hi,
I have been using this script for awhile now, to gather record stats on my database. Recently my ISP changed our script paths, however, and since I have not been able to get it to work.
Below is the .cfg ...
#
# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'ID';
# Database delimeter.
$db_delim = '|';
# Use file locking (1 = Yes, 0 = No). Should be used, but won't work on Win95.
$db_use_flock = 1;
# variables for databases
$db_script_path = "/x/x/x/x/x/x/x/x";
$db_path = "/x/x/x/x/x/x/x/x";
$combine_db = "/x/x/x/x/x/x/x/x/combine.db";
$URL_db = "/x/x/x/x/x/x/x/x/clicky2.log";
$counter_dir = "/x/x/x/x/x/x/x/x/temp2";
$form_db = "/x/x/x/x/x/x/x/x/formresults.bout";
# add your DBMan databases here using a push command for each
# push(@dbman_db ,$db_path . "/data2.db");push(@dbman_db ,$db_path . "/data3.db");
push(@dbman_db ,"/x/x/x/x/x/x/x/x/accommodation.db");
Now I guarantee that the paths are all correct, but when running the script via telnet, I get "No such file or directory at ./combineaccom.pl line 41.
Below is a snippet of the .pl script ....
require "combineaccom.cfg";
use Fcntl;
use File::Find;
# Build new record
open (COMBINE,">$combine_db") || die $!; <<------------- This is line 41
foreach $db (@dbman_db) {
Again, it is definately not the paths as I have checked them a million times.
Can anyone help?
I have been using this script for awhile now, to gather record stats on my database. Recently my ISP changed our script paths, however, and since I have not been able to get it to work.
Below is the .cfg ...
#
# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'ID';
# Database delimeter.
$db_delim = '|';
# Use file locking (1 = Yes, 0 = No). Should be used, but won't work on Win95.
$db_use_flock = 1;
# variables for databases
$db_script_path = "/x/x/x/x/x/x/x/x";
$db_path = "/x/x/x/x/x/x/x/x";
$combine_db = "/x/x/x/x/x/x/x/x/combine.db";
$URL_db = "/x/x/x/x/x/x/x/x/clicky2.log";
$counter_dir = "/x/x/x/x/x/x/x/x/temp2";
$form_db = "/x/x/x/x/x/x/x/x/formresults.bout";
# add your DBMan databases here using a push command for each
# push(@dbman_db ,$db_path . "/data2.db");push(@dbman_db ,$db_path . "/data3.db");
push(@dbman_db ,"/x/x/x/x/x/x/x/x/accommodation.db");
Now I guarantee that the paths are all correct, but when running the script via telnet, I get "No such file or directory at ./combineaccom.pl line 41.
Below is a snippet of the .pl script ....
require "combineaccom.cfg";
use Fcntl;
use File::Find;
# Build new record
open (COMBINE,">$combine_db") || die $!; <<------------- This is line 41
foreach $db (@dbman_db) {
Again, it is definately not the paths as I have checked them a million times.
Can anyone help?