Would love to hear from someone who has successfully installed DBMan on a Cobalt RaQ or Cube. This is a Linux system running cgiwrap and the FrontPage extensions. I have been working with this for days with very little success. My expectation was that I could copy the scripts over, set the permissions and a couple of parms in the .cfg and be off and running. Any help would be appreciated
Feb 8, 1999, 1:46 PM
New User (3 posts)
Feb 8, 1999, 1:46 PM
Post #3 of 6
Views: 2433
Alex,
The page that is displayed in my browser says "Internal Server Error", and I found the following errors in my error log.
[Sun Feb 7 21:02:21 1999] [warn] handler "cgi-wrapper" not found for: /home/sites/biblecourses/cgi-local/dbman/db.cgi
[Sun Feb 7 21:02:22 1999] [error] Premature end of script headers: /usr/cgiwrap/cgiwrap
There is a place in db.cgi that I have set as follows:
# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "http://www.biblecourses.com/cgi-local/dbman/";
All of the DBman files are in this directory. Also, the very first line of db.cgi now reads as:
#!/usr/bin/perl
to point to perl (version 5.00404).
The parts of default.cfg that I have changed are:
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.biblecourses.com/cgi-local/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
Does this help at all? Any ideas?
Thanks TONS (metric)!
Jeff
The page that is displayed in my browser says "Internal Server Error", and I found the following errors in my error log.
[Sun Feb 7 21:02:21 1999] [warn] handler "cgi-wrapper" not found for: /home/sites/biblecourses/cgi-local/dbman/db.cgi
[Sun Feb 7 21:02:22 1999] [error] Premature end of script headers: /usr/cgiwrap/cgiwrap
There is a place in db.cgi that I have set as follows:
# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "http://www.biblecourses.com/cgi-local/dbman/";
All of the DBman files are in this directory. Also, the very first line of db.cgi now reads as:
#!/usr/bin/perl
to point to perl (version 5.00404).
The parts of default.cfg that I have changed are:
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.biblecourses.com/cgi-local/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
Does this help at all? Any ideas?
Thanks TONS (metric)!
Jeff
Feb 8, 1999, 3:27 PM
Administrator (9387 posts)
Feb 8, 1999, 3:27 PM
Post #4 of 6
Views: 2433
Quote:
[Sun Feb 7 21:02:21 1999] [warn] handler "cgi-wrapper" not found for: /home/sites/biblecourses/cgi-local/dbman/db.cgiThis leads me to believe cgi isn't setup properly. Can you get any other cgi scripts to work on the server?
However:
Quote:
$db_script_path = "http://www.biblecourses.com/cgi-local/dbman/";That's a URL, not a path. Try setting it to:
'/home/sites/biblecourses/cgi-local/dbman'
and see if that works (note no trailing slash as well).
Hope that helps,
Alex
Feb 8, 1999, 5:20 PM
New User (3 posts)
Feb 8, 1999, 5:20 PM
Post #5 of 6
Views: 2429
Alex,
Thanks for getting back with me, but those changes, though they were obviously correct, did not get the script running.
CGIwrap reports that I should check the #! line of the script, but I have it set to:
#!/usr/bin/perl
and if I check the directory, sure enough, the perl executable is in root/usr/bin.
The guy that wrote CGIwrap still works for UMR here in my home town. I have an appointment to meet with him tomorrow evening at 7:30 if I can't fix it by then.
Thanks again for your patience and help. I am sure I'll get there eventually.
Best,
Jeff
Thanks for getting back with me, but those changes, though they were obviously correct, did not get the script running.
CGIwrap reports that I should check the #! line of the script, but I have it set to:
#!/usr/bin/perl
and if I check the directory, sure enough, the perl executable is in root/usr/bin.
The guy that wrote CGIwrap still works for UMR here in my home town. I have an appointment to meet with him tomorrow evening at 7:30 if I can't fix it by then.
Thanks again for your patience and help. I am sure I'll get there eventually.
Best,
Jeff