Pbm with PerlDesk

Hi there,

I try to install the PerlDesk software. (the same you are using)

I know, that you do not support this no-interworx software but as you have it and as I install it on an interworx box, I hope you could help me

Well, I have untar the software in /cgi-bin/helpdesk/ folder
Put the perldesk images files in the /images/ folder
Put all .cgi 755 chmod
Put carathos as Chwoner (the name of the SuExecuserGroup in the httpd.conf for this domain ==> /var/conf/http.d/xxxx.conf)
Set up the /include/conf.cgi (mysql db name, user, password)
Perl MCPAN Digest::MD5 and DBI

==> I Have not installed DBD::MySQL because I think it is already installed ??!!??

When I run http://mydomain/cgi-bin/helpdesk/install.cgi I have this error 500

Erreur du serveur!
Le serveur a ?t? victime d’une erreur interne et n’a pas ?t? capable de faire aboutir votre requ?te.
Message d’erreur:
Premature end of script headers: install.cgi
Si vous pensez qu’il s’agit d’une erreur du serveur, veuillez contacter le gestionnaire du site
Error 500

Sorry but I do not find more than "Premature end of script headers: install.cgi
" log

After that I’v tried to install DBD::MySQL but McPAN return : don’t find it
erf ??? maybe it’s DBD::mysql (this one exists but if I try to install it there a lot of errors)

Any idea ?

How do yu install it ?

Thanks for your helping

@+++

It could be a few things. First off I’d try just running the install.cgi from a shell session:


cd <perl desk directory>

./install.cgi

And see if it runs clean.

I’d also make sure that all directories (cgi-bin and below) are chmod’d 755 ( you can even do 700 if you wanted on all directories and cgi scripts ).

It’s something small I’m sure and respond to this thread with your findings and we’ll get it sorted.

Chris

Hi chris

Thank you for your help but It seems to be very strange :

When I run ./install.cgi I have NO errors.

But when I’m running http://mydomainname/cgi-bin/helpdesk/install.cgi I have the same error :\

All my files are 755 chmod and all files/directories are chown with the SuExecUserGroup in /etc/httpd/conf.d/mydomaine.conf

Maybe the chown ? I use the user/group of my domain name but maybe I should use Apache user (I think there is somewhere in an httpd a user apache) ???

do you think the scriptalias it could be a problem ?

I have /cgi-bin/ /xxxx/nnnn/zzz/cgi-bin/

but I have installed PerlDesk in /cgi-bin/helpdesk/

about this, if i’d like to run this soft in http://helpdesk.mydomaine.com how should I setup the aliasscript ?

Of course, before trying something like that I have to find what happens with this strange install.cgi :-p

Thanks for your precious helping :slight_smile:

@+++
squalito

From the sagonet.com forums:

squalito,

It’s fixed and working. It looks like you have a non-InterWorx-CP Apache installed. This is not “bad” per se but the InterWorx-CP Apache has the suexec root set to /home (so all clients can use suexec) and the default apache sets it to something else (/var/www maybe?). I turned off suexec for the domain in question (since it’s perldesk (db bound) and it’s your site it’s not that big of a deal anyway). The installer comes up for me now. I also turned on ExecCGI for all directories in your account’s space so you can move perldesk around without breaking things.

Chris

You’re the best !!!

thanks :slight_smile:

It looks like you have a non-InterWorx-CP Apache installed

not sure to understand. You mean there is the main httpd.conf that include all the domaine.conf apache conf files and in the httpd.conf it is not configure as interworx do it ?

I also turned on ExecCGI for all directories in your account’s space so you can move perldesk around without breaking things.

Ok, did you do something like “option +ExecCGI” in a <directory> </directory> tag ?

Thanks again… Perldesk will cost me a lot as I think that we’ve done a bad command trying to run it (the famous chmod) so 100$ more for reinstalling the server :\

What do I have to tell to sago to have an InterWorx-CP Apache install

AnyWay Thanks thanks thanks…

I thought it was something about the suexecusergroups but I won’t find this case.

@+++

Ok, did you do something like “option +ExecCGI” in a <directory> </directory> tag ?

Yep, that was it, and I commented out the Suexec line.

What do I have to tell to sago to have an InterWorx-CP Apache install

They have your license on record so just tell them to re-install with InterWorx-CP and they will fix you up.

Chris