Status
Not open for further replies.

promak

Well-Known Member
Oct 6, 2001
248
0
316
I ssh to customer /home/user/support/

and i found that there have this file, but why i type in register.cgi from ie , it show 404 error?

./ config.cgi* logout.cgi* themes/
../ emailexists.cgi* nosuchuser.cgi* ticketnotfound.cgi*
400.cgi* header.cgi* password.cgi* tickets/
401.cgi* includes/ pkg/ userexists.cgi*
badword.cgi* index.cgi* redirect.cgi*
banned.cgi* invalidparam.cgi* register.cgi*
bin/ login.cgi* staff/

using 0.8.1 see in whm

Please help.

:D
 

promak

Well-Known Member
Oct 6, 2001
248
0
316
and i can login at admin at no problem.

Just can not get the register.cgi only.

:D
 
C

cPanelBilly

Guest
promak said:
and i can login at admin at no problem.

Just can not get the register.cgi only.

:D
The 404 would be normal as you wont be passing all the proper headers needed to it.

As for not getting it to load, take a look at the error_log in the customers cPanel.
Most likely GD::SecurityImage is what is causing the problem. This command is ran in the installer but try to run it from command line:
Code:
/scripts/perlinstaller GD::SecurityImage
 

promak

Well-Known Member
Oct 6, 2001
248
0
316
Can't load '/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/GD/GD.so' for module GD: libiconv.so.2: cannot open s$
at /usr/lib/perl5/site_perl/5.8.3/GD/SecurityImage/GD.pm line 21
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.3/GD/SecurityImage/GD.pm line 21.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.3/GD/SecurityImage/GD.pm line 21.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.3/GD/SecurityImage.pm line 24.
BEGIN failed--compilation aborted at register.cgi line 10.
[Mon May 30 22:34:06 2005] [error] [client 218.254.126.78] Premature end of script headers: /home/user/public_html/support/re$

When run /scripts/upcp , when it install gd , it show "perlmod--Install done
GD install failed",

[email protected] [/root]# rpm -q gd
gd-2.0.21-5.20.1

Thanks.
:D
 

promak

Well-Known Member
Oct 6, 2001
248
0
316
Using Fedora 2 + 10.2.0-STABLE 83

perl 5.8.3

:D
 

promak

Well-Known Member
Oct 6, 2001
248
0
316
When run this /scripts/cleangd show this error at first and failed install gd again.

rm: cannot remove `/usr/lib/perl5/site_perl/5.8.3/GD': Is a directory
rm: cannot remove `/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/GD': Is a directory
rm: cannot remove `/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/GD': Is a directory

Appending installation info to /usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install UNINST=1 -- OK
perlmod--Install done
GD install failed

do i need to upgrade perl? or I need to rm -rf that directory?
 
C

cPanelBilly

Guest
promak said:
When run this /scripts/cleangd show this error at first and failed install gd again.

rm: cannot remove `/usr/lib/perl5/site_perl/5.8.3/GD': Is a directory
rm: cannot remove `/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/GD': Is a directory
rm: cannot remove `/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/GD': Is a directory

Appending installation info to /usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install UNINST=1 -- OK
perlmod--Install done
GD install failed

do i need to upgrade perl? or I need to rm -rf that directory?
Try this:
rpm -e gd-2.0.21-5.20.1
/scripts/cleangd

That should clean it all up
 

promak

Well-Known Member
Oct 6, 2001
248
0
316
Log file attach

Thanks.
 

Attachments

  • 60.5 KB Views: 37
C

cPanelBilly

Guest
promak said:
Log file attach

Thanks.
Please open a support ticket with us and put it to my attention and I will take a look at why GD isnt installing for you.
 
C

cPanelBilly

Guest
Update!

cPSupport is now available under the Addon Scripts in WHM.
The installer however will currently NOT install HTML::Template and GD::SecurityImage for you.
To do this from a command line do the following as root:

/scripts/perlinstaller GD::SecurityImage HTML::Template

We are looking into a way to have this done automatically from now on.
 

anup123

Well-Known Member
Mar 29, 2004
889
1
168
This Planet
cPanelBilly said:
Update!

cPSupport is now available under the Addon Scripts in WHM.
The installer however will currently NOT install HTML::Template and GD::SecurityImage for you.
To do this from a command line do the following as root:

/scripts/perlinstaller GD::SecurityImage HTML::Template

We are looking into a way to have this done automatically from now on.
There is already an issue with WHM Terminate Account where the User in Mysql is not deleted/dropped as evident from the phpMyAdmin Privileges list. I still have users for accounts which do not exist on server. Would upgrades from WHM take care that additional cpsX users are not created and it's always the existing one which is updtaed?

Regards
Anup
 
C

cPanelBilly

Guest
anup123 said:
There is already an issue with WHM Terminate Account where the User in Mysql is not deleted/dropped as evident from the phpMyAdmin Privileges list. I still have users for accounts which do not exist on server. Would upgrades from WHM take care that additional cpsX users are not created and it's always the existing one which is updtaed?

Regards
Anup
This has nothing to do with the cPSupport script.
 

anup123

Well-Known Member
Mar 29, 2004
889
1
168
This Planet
cPanelBilly said:
This has nothing to do with the cPSupport script.
Quite true.
To put it the other way around, having it done thru WHM, would that WHM Bug cause any issues on similar lines (noticed so far when cpsupportinstall was causing installation of multiple cpsX users in db ?). I still see users username_cps1,2,3 there so would prefer a clear guideline so that the junk can be cleaned up and further built up of the same can be avoided.

Regards
Anup
 
C

cPanelBilly

Guest
anup123 said:
Quite true.
To put it the other way around, having it done thru WHM, would that WHM Bug cause any issues on similar lines (noticed so far when cpsupportinstall was causing installation of multiple cpsX users in db ?). I still see users username_cps1,2,3 there so would prefer a clear guideline so that the junk can be cleaned up and further built up of the same can be avoided.

Regards
Anup
On a new install it will always create a new DB.
 

anup123

Well-Known Member
Mar 29, 2004
889
1
168
This Planet
cPanelBilly said:
On a new install it will always create a new DB.
1) wget http://cpsupport.cpanel.net/releases/cPsupport.tar.gz
2) tar -zxf cPsupport.tar.gz
3) cd cPsBuild
4) perl install

<b>Beginning cPSupport Install</b><br/>
.......
.......
Installing cPSupport Files...<br/>
mv: cannot overwrite directory `/usr/local/cpanel/cpsupport'
mv: cannot overwrite directory `/usr/local/cpanel/addons/cPSupport'


Login to WHM > Addon Script Manager >Highlight packages That Have .....

cPSupport is uptodate for all installations

Anup
 
C

cPanelBilly

Guest
anup123 said:
1) wget http://cpsupport.cpanel.net/releases/cPsupport.tar.gz
2) tar -zxf cPsupport.tar.gz
3) cd cPsBuild
4) perl install

<b>Beginning cPSupport Install</b><br/>
.......
.......
Installing cPSupport Files...<br/>
mv: cannot overwrite directory `/usr/local/cpanel/cpsupport'
mv: cannot overwrite directory `/usr/local/cpanel/addons/cPSupport'


Login to WHM > Addon Script Manager >Highlight packages That Have .....

cPSupport is uptodate for all installations

Anup
That is not the correct way to install cPSupport anymore. You need to use the installer in WHM
 

anup123

Well-Known Member
Mar 29, 2004
889
1
168
This Planet
cPanelBilly said:
That is not the correct way to install cPSupport anymore. You need to use the installer in WHM
Did that.
I have user_cps1 and user_cps2 in mysql as databases and user_cps1, user_cps2, user_cps3 under the privileges section. Where exactly can i find the details about the redundant ones so that the same can be deleted.

Thanks
Anup
 

webignition

Well-Known Member
Jan 22, 2005
1,876
1
166
Now that cPSupport is an official addon, is there any chance of getting a bit of a detailed description of what it actually is?

I know I could just install it and see what the result is, however it would be nice to know what I would be getting myself in to!

So, just a brief but detailed "cPSupport is . . ." would be nice?
 
Status
Not open for further replies.