The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A few issues with a CPanel install

Discussion in 'General Discussion' started by Monotoko, Mar 1, 2011.

  1. Monotoko

    Monotoko Member

    Joined:
    Mar 1, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi Guys,

    I am having a few issues with my cpanel install, the first being exim will not start, when I try to start it from the command line I get this:

    Code:
    [root@[omited] home]# /etc/init.d/exim start
    Starting clamd: ERROR: TCP: bind() error: Address already in use
                                                               [FAILED]
    Starting exim: /usr/sbin/exim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
                                                               [FAILED]
    defined(%hash) is deprecated at /usr/local/lib/perl5/site_perl/5.12.3/Mail/SpamAssassin/Dns.pm line 757.
    	(Maybe you should just omit the defined()?)
    The second being, how on earth do I assign my master/host domain to a website? At the moment it is bringing up the default page...

    Daniel
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Daniel,

    Can you please try a cpanel upgrade using the command /scripts/upcp --force.
    Regarding the second thing, can you clarify it bit more?
     
  3. Monotoko

    Monotoko Member

    Joined:
    Mar 1, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    What I meant by the second issue was I have a hostname, server1.example.org, example.org is showing a default website and "If you feel you have reached this page in error, please contact the web site owner:"

    I want my own website there.

    As for the exim fix, It appears to fail:

    Code:
    Updating SMTP (exim) Server...Exim (maildir) Setup Script Version 20.0
    Fetching version information from http://httpupdate.cpanel.net/eximinstall/version (RELEASE)....Fetching http://httpupdate.cpanel.net/eximinstall/version (0)....Using dns cache file /root/.HttpRequest/httpupdate.cpanel.net......searching for mirrors (attempt 1)......loaded mirror speeds from cache......connecting to 208.43.108.66...@208.43.108.66......connected......receiving...100%......Done
    Done
    This is the exim 4.69 installer release number 28 for platform centos 5.5
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: mirror.fdcservers.net
     * base: pubmirrors.reflected.net
     * centosplus: mirror.sanctuaryhost.com
     * contrib: mirror.anl.gov
     * extras: mirror.anl.gov
     * updates: mirrors.liquidweb.com
    Excluding Packages in global exclude list
    Finished
    Excluding Packages from Red Hat Enterprise Linux 5 - x86_64 - ATrpms
    Finished
    Reducing Red Hat Enterprise Linux 5 - x86_64 - ATrpms to included packages only
    Finished
    Excluding Packages from Red Hat Enterprise Linux 5 - x86_64 - ATrpms testing
    Finished
    Reducing Red Hat Enterprise Linux 5 - x86_64 - ATrpms testing to included packages only
    Finished
    Excluding Packages from CentOS-5 - Base
    Finished
    Reducing CentOS-5 - Plus to included packages only
    Finished
    Excluding Packages from CentOS-5 - Updates
    Finished
    Setting up Install Process
    No package libdb3.3-devel available.
    Package db4-devel-4.3.29-10.el5_5.2.x86_64 already installed and latest version
    Package db4-devel-4.3.29-10.el5_5.2.i386 already installed and latest version
    Package pam-devel-0.99.6.2-6.el5_5.2.x86_64 already installed and latest version
    Package pam-devel-0.99.6.2-6.el5_5.2.i386 already installed and latest version
    Package openssl-0.9.8e-12.el5_5.7.x86_64 already installed and latest version
    Package openssl-0.9.8e-12.el5_5.7.i686 already installed and latest version
    Package openssl-devel-0.9.8e-12.el5_5.7.x86_64 already installed and latest version
    Package openssl-devel-0.9.8e-12.el5_5.7.i386 already installed and latest version
    Package gcc-4.1.2-48.el5.x86_64 already installed and latest version
    Package glibc-devel-2.5-49.el5_5.7.x86_64 already installed and latest version
    Package glibc-devel-2.5-49.el5_5.7.i386 already installed and latest version
    Package compat-db-4.2.52-5.1.x86_64 already installed and latest version
    Package compat-db-4.2.52-5.1.i386 already installed and latest version
    Package zlib-devel-1.2.3-3.x86_64 already installed and latest version
    Package zlib-devel-1.2.3-3.i386 already installed and latest version
    Resolving Dependencies
    --> Running transaction check
    ---> Package rpm-build.x86_64 0:4.4.2.3-20.el5_5.1 set to be updated
    --> Processing Dependency: perl >= 5.006001 for package: rpm-build
    --> Processing Dependency: perl(Getopt::Long) for package: rpm-build
    --> Processing Dependency: /usr/bin/perl for package: rpm-build
    --> Processing Dependency: perl(File::Basename) for package: rpm-build
    --> Processing Dependency: perl(Cwd) for package: rpm-build
    --> Processing Dependency: perl(strict) for package: rpm-build
    --> Processing Dependency: /usr/bin/perl for package: exim
    --> Processing Dependency: /usr/bin/perl for package: pure-ftpd
    --> Processing Dependency: /usr/bin/perl for package: MySQL-client
    --> Processing Dependency: /usr/bin/perl for package: MySQL-server
    --> Processing Dependency: /usr/bin/perl for package: bandmin
    --> Processing Dependency: /usr/bin/perl for package: rpm-build
    --> Finished Dependency Resolution
    rpm-build-4.4.2.3-20.el5_5.1.x86_64 from updates has depsolving problems
      --> Missing Dependency: perl(Getopt::Long) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    rpm-build-4.4.2.3-20.el5_5.1.x86_64 from updates has depsolving problems
      --> Missing Dependency: perl(strict) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    pure-ftpd-1.0.29-0.tls.x86_64 from installed has depsolving problems
      --> Unresolvable requirement /usr/bin/perl for pure-ftpd-1.0.29-0.tls.x86_64 (installed)
    rpm-build-4.4.2.3-20.el5_5.1.x86_64 from updates has depsolving problems
      --> Missing Dependency: perl(Cwd) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    exim-4.69-28_cpanel_maildir.x86_64 from installed has depsolving problems
      --> Unresolvable requirement /usr/bin/perl for exim-4.69-28_cpanel_maildir.x86_64 (installed)
    rpm-build-4.4.2.3-20.el5_5.1.x86_64 from updates has depsolving problems
      --> Missing Dependency: perl >= 5.006001 is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    MySQL-server-5.0.91-1.glibc23.x86_64 from installed has depsolving problems
      --> Unresolvable requirement /usr/bin/perl for MySQL-server-5.0.91-1.glibc23.x86_64 (installed)
    bandmin-1.6.1-1_newinit.noarch from installed has depsolving problems
      --> Unresolvable requirement /usr/bin/perl for bandmin-1.6.1-1_newinit.noarch (installed)
    rpm-build-4.4.2.3-20.el5_5.1.x86_64 from updates has depsolving problems
      --> Missing Dependency: /usr/bin/perl is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    MySQL-client-5.0.91-1.glibc23.x86_64 from installed has depsolving problems
      --> Unresolvable requirement /usr/bin/perl for MySQL-client-5.0.91-1.glibc23.x86_64 (installed)
    rpm-build-4.4.2.3-20.el5_5.1.x86_64 from updates has depsolving problems
      --> Missing Dependency: perl(File::Basename) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    Error: Missing Dependency: perl(Getopt::Long) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    Error: Missing Dependency: perl(Cwd) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    Error: Unresolvable requirement /usr/bin/perl for MySQL-client-5.0.91-1.glibc23.x86_64 (installed)
    Error: Missing Dependency: perl(strict) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    Error: Unresolvable requirement /usr/bin/perl for MySQL-server-5.0.91-1.glibc23.x86_64 (installed)
    Error: Unresolvable requirement /usr/bin/perl for bandmin-1.6.1-1_newinit.noarch (installed)
    Error: Unresolvable requirement /usr/bin/perl for pure-ftpd-1.0.29-0.tls.x86_64 (installed)
    Error: Unresolvable requirement /usr/bin/perl for exim-4.69-28_cpanel_maildir.x86_64 (installed)
    Error: Missing Dependency: perl(File::Basename) is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    Error: Missing Dependency: perl >= 5.006001 is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
    Error: Missing Dependency: /usr/bin/perl is needed by package rpm-build-4.4.2.3-20.el5_5.1.x86_64 (updates)
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    Resetting Exim to cPanel Defaults and Installing the Latest Version
    Method: Perl Expect
    Testing connection speed...(using fast method)...Done
    Ping:1 (ticks) Testing connection speed to cpan.mirrors.tds.net using pureperl...(61700.00 bytes/s)...Done
    Ping:1 (ticks) Testing connection speed to cpan.netnitco.net using pureperl...(29850.00 bytes/s)...Done
    Ping:0 (ticks) Testing connection speed to mirror.team-cymru.org using pureperl...(4214.29 bytes/s)...Done
    Three usable mirrors located
    Mirror Check passed for cpan.mirrors.tds.net (/index.html)
    Disabling /bin/wget since LWP is available at /usr/local/cpanel/Cpanel/cPCPAN/Config.pm line 82.
    Disabling /bin/ftp since Net::FTP is available at /usr/local/cpanel/Cpanel/cPCPAN/Config.pm line 87.
    commit: wrote '/usr/local/lib/perl5/5.12.3/CPAN/Config.pm'
    Going to read '/home/.cpan/Metadata'
      Database was generated on Tue, 01 Mar 2011 02:37:41 GMT
    HTML::Parser is up to date (3.68).
    cPCPAN: Module (Mail::SpamAssassin) holdback (3.003001 held back to 3.3.1)
    Mail::SpamAssassin is up to date (3.003001).
    Net::DNS is up to date (0.66).
    perlmod--Install done
    defined(%hash) is deprecated at /usr/local/lib/perl5/site_perl/5.12.3/Mail/SpamAssassin/Dns.pm line 757.
    	(Maybe you should just omit the defined()?)
     
    #3 Monotoko, Mar 2, 2011
    Last edited: Mar 2, 2011
  4. Monotoko

    Monotoko Member

    Joined:
    Mar 1, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Nobody can help me with the issues I'm having? :S
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you are running perl higher than 5.8.8 on CentOS or perl higher than 5.8.9 on FreeBSD, this might cause such an error. You would want to reinstall perl and then run "/scripts/checkperlmodules --full --force" to correct the issue. You can reinstall perl on CentOS with this command:

    Code:
    cd /usr/local/src && wget -N http://httpupdate.cpanel.net/perl588installer.tar.gz && tar -xzvf perl588installer.tar.gz && chown -vhR 0:0 perl588installer && cd perl588installer && ./install
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I see you have Perl 5.12 installed, on CentOS 5.5. Our Exim RPM is not built to against that version of libperl, hence the error.
     
Loading...

Share This Page