Results 1 to 5 of 5

Thread: Cron /scripts/upcp - Unable to locate working expect!

  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    323

    Question Cron /scripts/upcp - Unable to locate working expect!

    Hello,

    The first lines in the Cron /scripts/upcp contain the following :

    Code:
    Unable to locate working expect! Please check your installation.
    Found hostname to be server.domain.xxx, which resolves to 1.2.3.4
    Hostname Virtual Host is already setup
    PHP version file is up to date
    Ftp Quota Check v1.0
    Cpanel updates are coming from layer2.cpanel.net
    Locking password for user daemon.
    passwd: Success
    Send Disk Warning
    Buggy hardware detected!!
    Skipping Disk Integrity Check
    The following controllers have problems with S.M.A.R.T:
    3ware PERCRAID 3w-xxx Promise and FastTrack
    Ftp Setup Script Version 6.0
    ...
    1) To what is the first line (Unable to locate working expect! Please check your installation.) refering? That line started to appear after the hostname needed to be changed, as far as I know...

    2) Why is cPanel trying to check the 3Ware Escalade 8006-2 S-ATA RAID-1 controller for errors or saying it's buggy because it does not have S.M.A.R.T technology? S-ATA controllers do not have S.M.A.R.T technology, only E-IDE.

    Thanks.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Bdzzld
    Buggy hardware detected!!
    Skipping Disk Integrity Check
    The following controllers have problems with S.M.A.R.T:
    3ware PERCRAID 3w-xxx Promise and FastTrack
    Do the following:

    touch /var/cpanel/disablesmartcheck

    This will skip the hardware check and won't cause the server to crash.

    If that doesn't work, removed this line from /scripts/upcp script:
    system("/scripts/smartcheck");

    Then, run the command /scripts/upcp --force
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    AS for expect itself, you need to install that using your OS update tool, you don't mention wnat your OS is, but you would usually use (for Linux) either:

    up2date -ui expect

    or

    yum install expect
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Apr 2004
    Posts
    323

    Default Transaction Check Error

    Hi,

    That indeed solved the problems Thanks...

    Every day the e-mails also contains the following :

    Code:
    ...
    Transaction Check Error:   file /usr/share/man/man5/fonts-conf.5.gz from install of fontconfig-2.2.3-7 conflicts with file from package fontconfig-2.2.3-7
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package gd-progs.x86_64 0:2.0.28-4 set to be updated
    ---> Package gd.x86_64 0:2.0.28-4 set to be updated
    ---> Package gd-devel.x86_64 0:2.0.28-4 set to be updated
    ---> Package bind-devel.x86_64 20:9.2.4-2 set to be updated
    ---> Package sharutils.x86_64 0:4.2.1-22.2 set to be updated
    ---> Package gd.i386 0:2.0.28-4 set to be updated
    --> Running transaction check
    --> Processing Dependency: libX11.so.6 for package: gd
    --> Processing Dependency: libjpeg.so.62 for package: gd
    --> Processing Dependency: libXpm.so.4 for package: gd
    --> Processing Dependency: libpng12.so.0 for package: gd
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package xorg-x11-libs.i386 0:6.8.2-1.EL.13.20 set to be updated
    ---> Package libjpeg.i386 0:6b-33 set to be updated
    ---> Package libpng.i386 2:1.2.7-1 set to be updated
    --> Running transaction check
    --> Processing Dependency: libexpat.so.0 for package: xorg-x11-libs
    --> Processing Dependency: libGL.so.1 for package: xorg-x11-libs
    --> Processing Dependency: libfontconfig.so.1 for package: xorg-x11-libs
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package expat.i386 0:1.95.7-4 set to be updated
    ---> Package xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.20 set to be updated
    ---> Package fontconfig.i386 0:2.2.3-7 set to be updated
    --> Running transaction check
    
    
    Dependencies Resolved
    ...
    Every day it tries to correct it, but that's unsuccessfull...

    FYI : Server is running CentOS 4.2 x86_64.

    Any ideas how to resolve this issue?
    Thanks.

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Try:

    rpm -e --justdb fontconfig fontconfig-devel --nodeps
    yum install fontconfig fontconfig-devel
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads

  1. Cron <root@host> /scripts/cpbackup: Can't locate YAML
    By checksoft in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 11-14-2007, 12:13 AM
  2. Replies: 3
    Last Post: 07-18-2005, 10:19 AM
  3. Cron /scripts/upcp
    By pcdior in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 12-30-2004, 02:37 AM
  4. Cron /scripts/upcp
    By pcdior in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-08-2004, 06:12 AM
  5. Unable to locate httpd.conf at /scripts/wwwacct line 1319.
    By ndj1022 in forum cPanel & WHM Discussions
    Replies: 16
    Last Post: 05-08-2003, 07:16 PM