Web Hosting Talk







View Full Version : perl desk/cpanel 4?


sbhmike
05-06-2002, 05:56 PM
has anyone installed perl desk on a server that uses cpanel 4
I installed it on a server with ensim but cant get install.cgi to run on cpanel servers,i tried 2 different servers and get internal server errors ,the forums at perldesk are no help
all files are chmod755 and the mysql is setup
i really need help

thanks

Haze
05-06-2002, 06:13 PM
Strange.. we ran into no problems at all. What errors are you getting?

sbhmike
05-06-2002, 06:19 PM
error 500 /internal server error ,premature end of headers ,something like that
i uninstalled it and re-installed it 4 times tried 2 different servers
strange thing is it installed first time on a server using ensim
as far as i can make out the problem is with the install.cgi accessing conf.pl ,it can`t access it so the script ends and causes a 500 error

sbhmike
05-06-2002, 06:21 PM
exact error is and can be seen here

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@easily-hosted.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

error can be seen here (http://64.246.42.224/support/install.cgi)

qdh
05-06-2002, 06:24 PM
Yes, I can confirm that PerlDesk runs just fine on my Cpanel server.

While I did not encounter the error you did, I have seen it mentioned numerous times on the PerlDesk forums - you may want to visit http://www.perldesk.com/board/ to find your answer.

sbhmike
05-06-2002, 06:29 PM
i have been over at the pdesk forums over the last 4 days,lots of people get the error but no one yet as a solution .
do you run the latest version or have you upgraded from an older version,some people say the older version worked but the new one causes problems on a clean install

Noldar
05-06-2002, 06:42 PM
Have you checked your error log to see what error was logged? Also, you can try running it from a shell. Sometimes you will get more useful error messages that way.

If you really get stuck you can always just install perldesk on your ensim server and move it over to your cpanel server. Mine was orginally installed on plesk and then I moved to cpanel and just copied it over.

Richard

sbhmike
05-06-2002, 06:46 PM
i no longer have the ensim server:(

The Prohacker
05-06-2002, 06:46 PM
Make sure the files are chmod'd 755 and the templates are 777...

Are you running suExec on the cpanel server?

The Prohacker
05-06-2002, 06:48 PM
http://64.246.42.224/support/pdesk.cgi
PerlDesk: Script Error

Perldesk was unable to launch due to the following errors:

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 1) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: ExampleP, Multiplex, Proxy. at pdesk.cgi line 38



You need to have DBD::Mysql modual installed on the server...

Techark
05-06-2002, 06:54 PM
the path to perl #!/usr/bin/perl add -wT behind it

so it looks like this '#!/usr/bin/perl -wT'

This will cause perl to spit out useful info to the error logs
Then run it, when you get the 500 error then open your errror log and check the last line it should tell you pretty close what the problem is.

As far a cpanel 4 I just installed it last night on a server with cpanel.

Monte

sbhmike
05-06-2002, 06:55 PM
pdesk.cgi won`t run because i have not installed it yet ,it`s the install.cgi that wont work ,so no db tables have been created ,i have installed forums etc to test mysql and they all work fine

The Prohacker
05-06-2002, 07:08 PM
Originally posted by easily
pdesk.cgi won`t run because i have not installed it yet ,it`s the install.cgi that wont work ,so no db tables have been created ,i have installed forums etc to test mysql and they all work fine

With or without the tables it should qurey the mysql server, since you should have already filled in the config.pl......

Yes, Mysql might work, but DBD:mysql is a perl module.....

sbhmike
05-06-2002, 07:15 PM
i ran scheck it says all modules are installed?
this is the error from my error log

[Mon May 6 19:00:39 2002] [error] [client 62.252.192.5] Premature end of script headers: /home/username/public_html/support/install.cgi

sbhmike
05-06-2002, 07:31 PM
DBD:mysql is listed in cpanel but does not seem to be installed or working correctly.
i don`t have access to install it so i will contact my host
thanks your help at least i may now have found a solution