Skip to main content

imapsync on CentOS 6.6 with cPanel

Comments

4 comments

  • mtindor
    You should be able to install all of those using 'perl -MCPAN' as described in the document. Although, I had trouble with IO::Socket::SSL and ended up doing a 'yum install perl-IO-Socket-SSL' As far as your yum.conf excluding PERL, what version of cPanel are you running on that server? Recent versions should have a completely different PERL installed for cPanel, thus allowing you to no longer exclude perl from being updated via yum and allowing you to install whatever you want in the OS' copy of PERL because it won't affect cPanel's PERL that it uses. As far as path changes, anything specific to cPanel would already have been taken care of by cPanel so that it uses the correct copy of PERL. I think the only thing that would be affected by removing perl* from the exclude line and keeping the OS' PERL up to date is any custom PERL scripts that you may have written. cPanel has documentation about this on their site somewhere, but I'm too lazy to go find it. I'm sure it's there though. For most people with cPanel servers, removing the perl* exclusion from yum.conf and updating the OS version of PERL [and installing new modules via yum or via perl -MCPAN] should not cause any issues. Mike
    0
  • technonotux
    ]You should be able to install all of those using 'perl -MCPAN' as described in the document. Although, I had trouble with IO::Socket::SSL and ended up doing a 'yum install perl-IO-Socket-SSL' As far as your yum.conf excluding PERL, what version of cPanel are you running on that server? Recent versions should have a completely different PERL installed for cPanel, thus allowing you to no longer exclude perl from being updated via yum and allowing you to install whatever you want in the OS' copy of PERL because it won't affect cPanel's PERL that it uses. As far as path changes, anything specific to cPanel would already have been taken care of by cPanel so that it uses the correct copy of PERL. I think the only thing that would be affected by removing perl* from the exclude line and keeping the OS' PERL up to date is any custom PERL scripts that you may have written. cPanel has documentation about this on their site somewhere, but I'm too lazy to go find it. I'm sure it's there though. For most people with cPanel servers, removing the perl* exclusion from yum.conf and updating the OS version of PERL [and installing new modules via yum or via perl -MCPAN] should not cause any issues. Mike

    i have tried with perl -MCPAN but getting following errors
    yogesh@vps [~/public_html/imap/imapsync]# make install perl -c imapsync || { echo; echo "Read the INSTALL file to solve Perl module dependencies!"; exit 1; } Can't locate IO/Tee.pm in @INC (@INC contains: /home/yogesh/perl5/lib/perl5 /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at imapsync line 595. BEGIN failed--compilation aborted at imapsync line 595. Read the INSTALL file to solve Perl module dependencies! make: *** [testp] Error 1 yogesh@vps [~/public_html/imap/imapsync]# perl -MCPAN -e "install Mail::IMAPClient" CPAN: Storable loaded ok (v2.45) CPAN: LWP::UserAgent loaded ok (v6.06) CPAN: Time::HiRes loaded ok (v1.9726) Warning: You are not allowed to write into directory "/home/.cpan/sources/authors". I'll continue, but if you encounter problems, they may be due to insufficient permissions. Fetching with LWP:
    0
  • mtindor
    For any of the things mentioned above, you must be root: 1. to run yum 2. to run 'perl -MCPAN etc' 3. to edit yum.conf Your profile indicates that you are a cPanel root administrator, which means that you indicated that you have root access. Why would you be attempting to do all of this as 'yogesh' if you have root privileges. su to root, sudo [if yogesh is set up with privileges], etc. Somehow do it as root. mike
    0
  • cPanelMichael
    Hello :) Feel free to update this thread if the issue persists after following the instructions in the previous post. Thank you.
    0

Please sign in to leave a comment.