I installed the files into cgi-bin/mysqlman. (cgi-bin/mysqlman, cgi-bin/mysqlman/gt, cgi-bin/mysqlman/templates, cgi-bin/mysqlman/help). I modified the mysql.cgi file to "use lib '/home/server.com/cgi-bin/mysqlman';". I have also tried just "use lib '/cgi-bin/mysqlman';".
My error log shows No such file or directory: exec of /home/server.com/cgi-bin/mysqlman/mysql.cgi failed
Premature end of script headers: /home/server.com/cgi-bin/mysqlman/mysql.cgi
When I run perl -c mysql.cgi it says mysql.cgi syntax OK.
When I run ./mysql.cgi it says bash: ./mysql.cgi: No such file or directory
I have modified the mysql.cfg file for the template and help files to point to /home/server.com/cgi-bin/mysqlman/templates and help respectfully. I have also used the just /cgi-bin/mysqlman/templates and help respectfully also.
When I run perl -P mysql.cgi I get;
newman@alphablue:~/cgi-bin/mysqlman$ perl -P mysql.cgi
:69: unterminated character constant
:420: unterminated character constant
:449: parse error
:1925: unterminated string or character constant
:1926: unterminated string or character constant
:2129: unterminated string or character constant
:2132: unterminated string or character constant
:2171: unterminated string or character constant
:2174: unterminated string or character constant
:2255: unterminated string or character constant
:2348: unterminated string or character constant
:2954: unterminated string or character constant
:3005: unterminated string or character constant
:2370: unterminated `#else' conditional
Missing right curly or square bracket at mysql.cgi line 450, at end of line
syntax error at mysql.cgi line 450, at EOF
Execution of mysql.cgi aborted due to compilation errors.
Do I need to modify the mysql.cgi file for the SCRIPT_PATH? If so what?
Any help would be appreciated.
I am using an Apache server (virtual hosting)( Apache/1.3.14 (Unix) ) if that means anything, perl -v reports This is perl, v5.6.0 built for i686-linux.
My error log shows No such file or directory: exec of /home/server.com/cgi-bin/mysqlman/mysql.cgi failed
Premature end of script headers: /home/server.com/cgi-bin/mysqlman/mysql.cgi
When I run perl -c mysql.cgi it says mysql.cgi syntax OK.
When I run ./mysql.cgi it says bash: ./mysql.cgi: No such file or directory
I have modified the mysql.cfg file for the template and help files to point to /home/server.com/cgi-bin/mysqlman/templates and help respectfully. I have also used the just /cgi-bin/mysqlman/templates and help respectfully also.
When I run perl -P mysql.cgi I get;
newman@alphablue:~/cgi-bin/mysqlman$ perl -P mysql.cgi
:69: unterminated character constant
:420: unterminated character constant
:449: parse error
:1925: unterminated string or character constant
:1926: unterminated string or character constant
:2129: unterminated string or character constant
:2132: unterminated string or character constant
:2171: unterminated string or character constant
:2174: unterminated string or character constant
:2255: unterminated string or character constant
:2348: unterminated string or character constant
:2954: unterminated string or character constant
:3005: unterminated string or character constant
:2370: unterminated `#else' conditional
Missing right curly or square bracket at mysql.cgi line 450, at end of line
syntax error at mysql.cgi line 450, at EOF
Execution of mysql.cgi aborted due to compilation errors.
Do I need to modify the mysql.cgi file for the SCRIPT_PATH? If so what?
Any help would be appreciated.
I am using an Apache server (virtual hosting)( Apache/1.3.14 (Unix) ) if that means anything, perl -v reports This is perl, v5.6.0 built for i686-linux.