Web Hosting Talk







View Full Version : PerlDesk installation problem


dbbrock1
09-12-2002, 07:12 PM
Hello, i have installed perldesk. I deleted the install.cgi file and after i log in by admin.cgi it does this - admin.cgi?do=main. It just sits there on a blank page. Any idea? Thanks in advance.

-Dan

dandanfirema
09-12-2002, 07:26 PM
This is usually has been caused by improper permissions on the files in the directories...at least it has been for me.

StevenG
09-12-2002, 08:09 PM
Also make sure that all the perl modules are installed as per the install docs.

jimroe
09-12-2002, 08:58 PM
Check your error logs for the server running Perldesk. The admin.cgi script requires some additional perl modules that the install.cgi script does not, and the error log should etll you if you're missing anything. MD5 comes to my mind, as admin.cgi needs it, but install.cgi does not.

Also as has been said, check permissions / UID / GID. suexec_log might show a problem with one of the cgi scripts.

iamdave
09-12-2002, 09:14 PM
Originally posted by Dotcomsnz
Also make sure that all the perl modules are installed as per the install docs. If there was a missing module it would probably give an error, saying "xxx module not installed."

StevenG
09-12-2002, 10:57 PM
If there was a missing module it would probably give an error, saying "xxx module not installed

:D ... something must be missing - I don't think you'd always get that error message - the times I have installed perldesk and the required modules weren't installed on the server ,I don't think I saw that error via a web browser - maybe old age and grey hairs - The error would probably turn up in the logs though but I don't think it would be viewable with your web browser.. maybe Im wrong.. :D

iamdave
09-12-2002, 11:51 PM
Originally posted by Dotcomsnz


:D ... something must be missing - I don't think you'd always get that error message - the times I have installed perldesk and the required modules weren't installed on the server ,I don't think I saw that error via a web browser - maybe old age and grey hairs - The error would probably turn up in the logs though but I don't think it would be viewable with your web browser.. maybe Im wrong.. :D Weird, I installed it for someone who was missing DBI modules, and it gave an error stating that an error occured with the DBI modules...

StevenG
09-12-2002, 11:55 PM
Weird, I installed it for someone who was missing DBI modules, and it gave an error stating that an error occured with the DBI modules...

hmmm can't say either way 100% - So maybe I need some glasses to go with the grey hair :D .. or not as the case may be :D

Just make sure the modules are installed.. check the error logs and go from there is the best advice so far :D

elevation
09-13-2002, 03:20 AM
Did you enter the correct paths in install.cgi? That might just be the problem :)

MarlboroMan
09-13-2002, 11:11 AM
If you go to the scheck.pl file included in the perldesk distro through your broswer, it will tell you in no uncertain terms whether or not you have all the required modules installed.

host911
09-13-2002, 11:21 AM
Hi MarlboroMan can you send that file scheck.pl because I don't have it and I want to check why its giving this error

FATAL HELPDESK ERROR
Invalid Login

when I try to first login to the perldesk using the admin/demo as an access information..!! anyone got this error?? if so can you tell me how did you fix it up.

Thanks for your help,

MarlboroMan
09-13-2002, 11:41 AM
Hmmmm... I seem to have misplaced that script from my perldesk install.

Oh well.

Just run perldoc perllocal as a user other than root, and search for the following modules:

DBI
DBD::MySQL
MIME::Tools

If you ain't got those, you got problems.

host911
09-13-2002, 12:32 PM
I only got these two:
DBI
DBD::MySql

also I found MIME-Tools instead of MIME::Tools.

can you tell me how to fix this up or where can get this module..
Thanks for your help.

MarlboroMan
09-15-2002, 09:37 PM
Should be as simple as:
#perl -MCPAN -e shell
(perl starts up and outputs a bunch of CPAN related info)
install MIME::Tools

host911
09-16-2002, 12:31 AM
I installed it, but it still giving me the same error message...
does it have anything to do the SuExec because I disabled it, because it makes problems with my apache.

Thanks for your reply,

chrisb
09-16-2002, 06:55 AM
I just installed Perldesk 1.5.5 with suEXEC. It did't come with scheck.pl. Check all of your permissions on .cgi and .pl files at 755 and 644 on all others. Be sure and go in every directory and subdirectory to check that they are correctly set.

However, it sounds to me like it's not finding your images. Rerun install.cgi and make sure the paths (use full path such as "/home/username/public_html/perldesk/cgi-bin") and URLs are 110% correct.

Move install.cgi to an uppper directory in case you need it again. Then try running admin.cgi again. Put in "admin" for username, and "demo" for password. This should ask you for a login again. Now, enter your administrative username and password.

When/if you finally get it working, remove that install.cgi in an upper directory.

Hope that helps.