JamesCTotalWeb

Well-Known Member
Mar 20, 2005
64
0
156
cPanel Access Level
Root Administrator
Ok I guess I installed Attracta wrong for RVSkin so I would like to get rid of all Attracta files and reinstall it again to see if it works.

I know there is a script command to disable it but I need to delete it and start over. Any suggestions?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Please try using the following command:

Code:
# /usr/local/cpanel/bin/manage_features disable attracta
Per Removing Attracta

This disables the Apache module, any related cron tasks and removes the Attracta UI from WHM and cPanel. It will essentially make Attracta disappear from the system.
Thank you.
 

KostonConsulting

Well-Known Member
Verifed Vendor
Jun 17, 2010
255
1
68
San Francisco, CA
cPanel Access Level
Root Administrator
Ok I guess I installed Attracta wrong for RVSkin so I would like to get rid of all Attracta files and reinstall it again to see if it works.

I know there is a script command to disable it but I need to delete it and start over. Any suggestions?
Re-running the cpanel-install file will remove the old version of Attracta. You can also run /scripts/uninstall-attracta to remove the plugin.

If you're getting errors with Attracta and RvSkin, you should submit a support request: https://support.attracta.com
 

jazz1611

Well-Known Member
Jun 5, 2012
82
0
56
cPanel Access Level
Root Administrator
[email protected] [~]# /scripts/uninstall-attracta
CDB_File could not be loaded. You may see pages in English rather than in your desired locale at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 11.
Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cpanel/Cpanel/JSON.pm line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/JSON.pm line 15.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 53.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 53.
Compilation failed in require at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
Compilation failed in require at /usr/local/cpanel/Cpanel/AdvConfig/apache.pm line 16.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/AdvConfig/apache.pm line 16.
Compilation failed in require at /usr/local/cpanel/Cpanel/EditHttpdconf.pm line 27.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/EditHttpdconf.pm line 27.
Compilation failed in require at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/Apache/Config.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/Apache/Config.pm line 11.
Compilation failed in require at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/FastInclude/Setup.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/FastInclude/Setup.pm line 14.
Compilation failed in require at /scripts/uninstall-attracta line 12.
BEGIN failed--compilation aborted at /scripts/uninstall-attracta line 12.
Other uninstall Attracta

[email protected] [~]# sh uninstall_attracta.bash
uninstall_attracta.bash: line 3: package: command not found
uninstall_attracta.bash: line 5: syntax error near unexpected token `('
uninstall_attracta.bash: line 5: `BEGIN{ unshift(@INC, '/usr/local/cpanel'); }'
Why it show error? Please help me. Thanks.

Regards,
 

KostonConsulting

Well-Known Member
Verifed Vendor
Jun 17, 2010
255
1
68
San Francisco, CA
cPanel Access Level
Root Administrator
Other uninstall Attracta



Why it show error? Please help me. Thanks.

Regards,
Looks like the perl module JSON::XS failed to install on your system. Run this command to install it:

Code:
perl -MCPAN -e 'install JSON::XS'
After that, you will be able to run /scripts/uninstall-attracta

If you get another error about something like Can't locate JSON/XS.pm, Change JSON/XS to JSON::XS and replace the part of the above command from JSON::XS to Whatever::Module the error shows.
 

jazz1611

Well-Known Member
Jun 5, 2012
82
0
56
cPanel Access Level
Root Administrator
[email protected] [~]# perl -MCPAN -e 'install JSON::XS'
CPAN: Storable loaded ok (v2.39)
Reading '/home/.cpan/Metadata'
Database was generated on Tue, 18 Jun 2013 02:17:02 GMT
CPAN: Module::CoreList loaded ok (v2.79)
JSON::XS is up to date (2.34).
I running command /scripts/uninstall-attracta still show error.

[email protected] [~]# /scripts/uninstall-attracta
CDB_File could not be loaded. You may see pages in English rather than in your desired locale at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 11.
Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cpanel/Cpanel/JSON.pm line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/JSON.pm line 15.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 53.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 53.
Compilation failed in require at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
Compilation failed in require at /usr/local/cpanel/Cpanel/AdvConfig/apache.pm line 16.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/AdvConfig/apache.pm line 16.
Compilation failed in require at /usr/local/cpanel/Cpanel/EditHttpdconf.pm line 27.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/EditHttpdconf.pm line 27.
Compilation failed in require at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/Apache/Config.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/Apache/Config.pm line 11.
Compilation failed in require at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/FastInclude/Setup.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ThirdParty/Attracta/FastInclude/Setup.pm line 14.
Compilation failed in require at /scripts/uninstall-attracta line 12.
BEGIN failed--compilation aborted at /scripts/uninstall-attracta line 12.
Regards,