Gossamer Forum
Home : Products : DBMan SQL : Discussion :

flatfile to dbmanSQL v.1

Quote Reply
flatfile to dbmanSQL v.1
I am trying to update site from a flatfile version of dbman to dbman SQL v.1. The reason I want to use v.1 is that I have the impression that I can use the html.pl file from the current site. Converting to v.2 seems to include a lot of work regarding the layout/html part af dbmanSQL.
My problem is that when I try to run the nph-setup.cgi from the browser to make the sample site I get this error:
The attempt to load 'Accessing URL: http//127.0.0.1/dbsql2/nph-setup.cgi' failed.
And the apache error log say:
[Fri Dec 20 10:44:46 2002] [error] (2)No such file or directory: exec of /Volumes/G4 Disk 4/MIC/dbMan_ny/dbman-sql/nph-setup.cgi failed

When I run the same file from the commandline it works OK.

When I try to run db.cgi from the browser after I have run the nph-setup.cgi it gives me a 500 Internal Server Error. In the error log for Apache I get this:
[Fri Dec 20 11:10:25 2002] [error] (2)No such file or directory: exec of /Volumes/G4 Disk 4/MIC/dbMan_ny/dbman-sql/db.cgi failed
[Fri Dec 20 11:10:25 2002] [error] [client 192.168.1.100] Premature end of script headers: /Volumes/G4 Disk 4/MIC/dbMan_ny/dbman-sql/db.cgi

I have checked permissions on the directory and the files and tried both 777 and 755 on all.

I have checked the path to perl.

I have checked the paths in the error_log and thay are all OK

I have tried some other perl scripts in the same directory and they works fine.

My test setup is a Mac OSX 10.2 with Apache and MySql. (The system is based on Unix (FreeBSD)). The working site will be placed on a Linux server but I can not test theese problems on the Linux now.
Subject Author Views Date
Thread flatfile to dbmanSQL v.1 nielsp 2861 Dec 20, 2002, 2:46 AM
Thread Re: [nielsp] flatfile to dbmanSQL v.1
nielsp 2735 Dec 27, 2002, 2:12 AM
Thread Re: [nielsp] flatfile to dbmanSQL v.1
huricnz 2674 Jan 29, 2003, 5:13 PM
Post Re: [huricnz] flatfile to dbmanSQL v.1
nielsp 2670 Jan 29, 2003, 11:27 PM