Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    May 2005
    Posts
    7

    Question Cpanel Installation Problems

    Machine Information (to help troubleshooting):

    Dual Opteron
    cAos-2 X86_64 base install + wget/GCC/sshd

    I just completed an install of Cpanel. I had several warning during the install and mysql appears to have had fatal errors and was not installed at all... Under WHM, service status only shows local resources (load, mem, swap, partitions (not services)). I suspect that is another installation error as a cursory inspection reveals that apache and a variety of other services are running.

    I updated to the latest 'release' build of cpanel in the hope that the problems would automagically fix itself during an upgrade, it did not, I encountered several errors, including the following excerpt:

    MySQL Setup Script Version 6.0
    Fetching version information from http://updates.cpanel.net/mysqlinstall/version (RELEASE)....Done
    This is the MySQL 4.0.24 installer release number 0 for platform
    MySQL-shared is out of date (package MySQL-shared is not installed != MySQL-shared-4.0.24-0)
    MySQL-devel is out of date (package MySQL-devel is not installed != MySQL-devel-4.0.24-0)
    MySQL-embedded is out of date (package MySQL-embedded is not installed != MySQL-embedded-4.0.24-0)
    MySQL-client is out of date (package MySQL-client is not installed != MySQL-client-4.0.24-0)
    MySQL-bench is out of date (package MySQL-bench is not installed != MySQL-bench-4.0.24-0)
    MySQL-server is out of date (package MySQL-server is not installed != MySQL-server-4.0.24-0)
    MySQL-shared is out of date (package MySQL-shared is not installed != MySQL-shared-4.0.24-0)
    Using newyum support
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Can't find distro version at /scripts/fileversion.pl line 19.

    Resetting MySQL to cPanel Defaults and Installing the Latest Version
    --17:49:58-- http://www.unixsoft.org/mysql/Downlo...4-0.x86_64.rpm
    => `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm'
    Resolving www.unixsoft.org... 69.50.189.149
    Connecting to www.unixsoft.org[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://www.fast-web-search.com/ [following]
    --17:49:58-- http://www.fast-web-search.com/
    => `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm'
    Resolving www.fast-web-search.com... 69.50.189.149
    Connecting to www.fast-web-search.com[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 102 [text/html]

    0K 100% 996.09 KB/s

    17:49:58 (996.09 KB/s) - `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm' saved [102/102]

    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    --17:49:58-- http://www.unixsoft.org/mysql/Downlo...4-0.x86_64.rpm
    => `/var/spool/cpupdates/MySQL-devel-4.0.24-0.x86_64.rpm'
    Resolving www.unixsoft.org... 69.50.189.149
    Connecting to www.unixsoft.org[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://www.fast-web-search.com/ [following]
    --17:49:58-- http://www.fast-web-search.com/
    => `/var/spool/cpupdates/MySQL-devel-4.0.24-0.x86_64.rpm'
    Resolving www.fast-web-search.com... 69.50.189.149
    Connecting to www.fast-web-search.com[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 102 [text/html]

    0K 100% 996.09 KB/s

    17:49:58 (996.09 KB/s) - `/var/spool/cpupdates/MySQL-devel-4.0.24-0.x86_64.rpm' saved [102/102]

    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory
    error: open of failed: No such file or directory


    It continues on like that for awhile, the mysql portion is the only portion that has so many errors, all of them include the 'Can't find distro version at /scripts/fileversion.pl line 19." message.

    I have looked through the /var/log/cpanel-install-thread*.log files and see many warnings and errors, but, I have been unable to determine which parts are relevant and/or would prove useful and posting them all would quickly reach the post size limit.

    If anyone has any advice, I am all ears.

  2. #2
    Member
    Join Date
    Mar 2004
    Location
    India
    Posts
    93

    Default

    Hello,

    Try /scripts/upcp --force
    Also there may be problem of language which is missing (arabic language)

    With regards,

  3. #3
    Member
    Join Date
    May 2005
    Posts
    7

    Default

    Did not seem to work, it ran and downloaded / tried to set things up but ran into the same errors. It also appears that the ftp service and exim mail service were not installed properly.

    Hostname Virtual Host is already setup
    PHP version file is up to date
    Doing a manual update...
    Cpanel updates are coming from layer2.cpanel.net
    SENT ipcheck email
    send to CONTACTAIM (2) [2]
    send to CONTACTEMAIL (3) [2]
    send to CONTACTUIN (2) [2]
    Checking /dev/sda....OK
    x - creating lock directory
    x - SKIPPING /usr/local/lib/php.ini (file already exists)
    Ftp Setup Script Version 6.0
    Fetching version information from http://updates.cpanel.net/ftpinstall/version (RELEASE)....Done
    This is the proftpd 1.2.10tls installer release number 5 for platform caos 2.0
    Using newyum support
    Setting up Install Process
    Setting up Repos
    core 100% |=========================| 951 B 00:00
    ext-current 100% |=========================| 1.1 kB 00:00
    Reading repository metadata in from local files
    core : ################################################## 160/160
    ext-curren: ################################################## 1347/1347
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Can't find distro version at /scripts/fileversion.pl line 19.
    Resetting proftpd to cPanel Defaults and Installing the Latest Version
    --20:56:40-- http://diff.cpanel.net/ftpinstall/pr...nit.x86_64.rpm
    => `proftpd-1.2.10tls-5_linuxprivs_newinit.x86_64.rpm'
    Resolving diff.cpanel.net... 69.72.164.155
    Connecting to diff.cpanel.net[69.72.164.155]:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    20:56:40 ERROR 404: Not Found.

    Failed to download http://diff.cpanel.net/ftpinstall/pr...nit.x86_64.rpm .. using source instead
    Setting up Install Process
    Setting up Repos
    core 100% |=========================| 951 B 00:00
    ext-current 100% |=========================| 1.1 kB 00:00
    Reading repository metadata in from local files
    core : ################################################## 160/160
    ext-curren: ################################################## 1347/1347
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    No Match for argument: db-devel
    No Match for argument: db1-devel
    No Match for argument: compat-db
    No Match for argument: ndbm-devel
    Nothing to do
    --20:56:46-- http://diff.cpanel.net/ftpinstall/pr...ewinit.src.rpm
    => `proftpd.src.rpm'
    Resolving diff.cpanel.net... 69.72.164.155
    Connecting to diff.cpanel.net[69.72.164.155]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,187,461 [application/x-rpm]

    100%[==================================================================================================================>] 1,187,461 306.29K/s ETA 00:00

    20:56:50 (288.46 KB/s) - `proftpd.src.rpm' saved [1187461/1187461]

    Building RPM....Done
    Failed to download http://diff.cpanel.net/ftpinstall/pr...ewinit.src.rpm at /scripts/ftpup line 255.
    Exim Setup Script Version 17.0
    Fetching version information from http://updates.cpanel.net/eximinstall/version (RELEASE)....Done
    This is the exim 4.51 installer release number 2 for platform caos 2.0
    Using newyum support
    Setting up Install Process
    Setting up Repos
    core 100% |=========================| 951 B 00:00
    ext-current 100% |=========================| 1.1 kB 00:00
    Reading repository metadata in from local files
    core : ################################################## 160/160
    ext-curren: ################################################## 1347/1347
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Can't find distro version at /scripts/fileversion.pl line 19.
    Resetting Exim to cPanel Defaults and Installing the Latest Version
    `/etc/localdomains' -> `/etc/localdomains.eximreset'
    `/etc/aliases' -> `/etc/aliases.eximreset'
    `/etc/secondarymx' -> `/etc/secondarymx.eximreset'
    --20:56:58-- http://diff.cpanel.net/exim/4.51-2/6...ass.x86_64.rpm
    => `exim-4.51-2_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.x86_64.rpm'
    Resolving diff.cpanel.net... 69.72.164.155
    Connecting to diff.cpanel.net[69.72.164.155]:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    20:56:58 ERROR 404: Not Found.

    Failed to download http://diff.cpanel.net/exim/4.51-2/6...ass.x86_64.rpm .. using source instead
    Setting up Install Process
    Setting up Repos
    core 100% |=========================| 951 B 00:00
    ext-current 100% |=========================| 1.1 kB 00:00
    Reading repository metadata in from local files
    core : ################################################## 160/160
    ext-curren: ################################################## 1347/1347
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    No Match for argument: db-devel
    No Match for argument: db1-devel
    No Match for argument: compat-db
    No Match for argument: ndbm-devel
    Nothing to do
    --20:57:03-- http://diff.cpanel.net/exim-cpanel7....d5pass.src.rpm
    => `exim.src.rpm'
    Resolving diff.cpanel.net... 69.72.164.155
    Connecting to diff.cpanel.net[69.72.164.155]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,924,505 [application/x-rpm]

    100%[==================================================================================================================>] 1,924,505 187.55K/s ETA 00:00

    20:57:13 (191.54 KB/s) - `exim.src.rpm' saved [1924505/1924505]

    Building RPM....Done
    Failed to download http://diff.cpanel.net/exim-cpanel7....d5pass.src.rpm at /scripts/eximup line 222.
    MySQL Setup Script Version 6.0
    Fetching version information from http://updates.cpanel.net/mysqlinstall/version (RELEASE)....Done
    This is the MySQL 4.0.24 installer release number 0 for platform
    MySQL-shared is out of date (package MySQL-shared is not installed != MySQL-shared-4.0.24-0)
    MySQL-devel is out of date (package MySQL-devel is not installed != MySQL-devel-4.0.24-0)
    MySQL-embedded is out of date (package MySQL-embedded is not installed != MySQL-embedded-4.0.24-0)
    MySQL-client is out of date (package MySQL-client is not installed != MySQL-client-4.0.24-0)
    MySQL-bench is out of date (package MySQL-bench is not installed != MySQL-bench-4.0.24-0)
    MySQL-server is out of date (package MySQL-server is not installed != MySQL-server-4.0.24-0)
    MySQL-shared is out of date (package MySQL-shared is not installed != MySQL-shared-4.0.24-0)
    Using newyum support
    Setting up Install Process
    Setting up Repos
    core 100% |=========================| 951 B 00:00
    ext-current 100% |=========================| 1.1 kB 00:00
    Reading repository metadata in from local files
    core : ################################################## 160/160
    ext-curren: ################################################## 1347/1347
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Can't find distro version at /scripts/fileversion.pl line 19.
    Resetting MySQL to cPanel Defaults and Installing the Latest Version
    --20:57:22-- http://www.unixsoft.org/mysql/Downlo...4-0.x86_64.rpm
    => `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm'
    Resolving www.unixsoft.org... 69.50.189.149
    Connecting to www.unixsoft.org[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://www.fast-web-search.com/ [following]
    --20:57:22-- http://www.fast-web-search.com/
    => `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm'
    Resolving www.fast-web-search.com... 69.50.189.149
    Connecting to www.fast-web-search.com[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 102 [text/html]

    100%[==================================================================================================================>] 102 --.--K/s

    20:57:22 (996.09 KB/s) - `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm' saved [102/102]

    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of language=JavaScript failed: No such file or directory
    error: open of src=pp.js></script> failed: No such file or directory
    error: open of <html> failed: No such file or directory
    error: open of <head> failed: No such file or directory
    error: open of </head> failed: No such file or directory
    error: open of <body> failed: No such file or directory
    error: open of </body> failed: No such file or directory
    error: open of </html> failed: No such file or directory
    --20:57:22--
    Last edited by Yaza; 06-17-2005 at 12:57 AM.

  4. #4
    Member
    Join Date
    May 2005
    Posts
    7

    Default

    Update: switching to pureftpd resulted in ftp becoming functional, exim started working when I tried upgrading to current. Unfortunately I still need to figure out how to make mysql install...
    Last edited by Yaza; 06-17-2005 at 02:46 AM.

  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,495

    Default

    You could try:

    /scripts/mysqlup --force
    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

  6. #6
    Member
    Join Date
    May 2005
    Posts
    7

    Default

    unfortunately that does not work either. :/

    Every package it attempts to install ends with a 'no such xyz' error.

    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of <script failed: No such file or directory
    error: open of language=JavaScript failed: No such file or directory
    error: open of src=pp.js></script> failed: No such file or directory
    error: open of <html> failed: No such file or directory
    error: open of <head> failed: No such file or directory
    error: open of </head> failed: No such file or directory
    error: open of <body> failed: No such file or directory
    error: open of </body> failed: No such file or directory
    error: open of </html> failed: No such file or directory
    Last edited by Yaza; 06-17-2005 at 08:31 AM.

  7. #7
    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,495

    Default

    In this instance, I'd suggest that you log a support ticket with cPanel:
    https://tickets.cpanel.net/submit/index.cgi?support=1
    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

  8. #8
    Member
    Join Date
    May 2005
    Posts
    7

    Default

    Can I log a ticket with cpanel when I am using a third party externel license?

    I contacted my third party licensing company, but, this appears to be a problem with the cpanel install script and cAos-2...

  9. #9
    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,495

    Default

    Indeed, you ought to go through the external license company. However, cPanel may be willing to help since it's a new install on an OS which is probably quite rarely used. You can always ask cPanel if they're willing to help in this instance directly.
    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

  10. #10
    Member
    Join Date
    Jun 2005
    Posts
    13

    Default unixsoft.org and MySQL

    I have the same issue, and the reason is that the unixsoft.org domain has expired, and the registrar is sending all requests off to fast-web-search.com

    Code:
    Can't find distro version at /scripts/fileversion.pl line 19.
    Resetting MySQL to cPanel Defaults and Installing the Latest Version
    --20:57:22-- http://www.unixsoft.org/mysql/Downl...24-0.x86_64.rpm
    => `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm'
    Resolving www.unixsoft.org... 69.50.189.149
    Connecting to www.unixsoft.org[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://www.fast-web-search.com/ [following]
    --20:57:22-- http://www.fast-web-search.com/
    => `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm'
    Resolving www.fast-web-search.com... 69.50.189.149
    Connecting to www.fast-web-search.com[69.50.189.149]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 102 [text/html]
    
    100%[===================>]  102 --.--K/s
    
    20:57:22 (996.09 KB/s) - `/var/spool/cpupdates/MySQL-shared-4.0.24-0.x86_64.rpm' saved [102/102]
    
    error: open of <script failed: No such file or directory
    This was reported in the cpanel bugzilla under bug #1602 in December 2004, but still hasn't been assigned to anyone, and is listed as "unconfirmed.

    I logged a request with Cpanel over 18 hours ago, and still haven't had the confirmation email back to say it's been received. Hopefully this will be resolved soon, so I can get my server live sometime in the next 2 weeks.

  11. #11
    Member
    Join Date
    Jun 2005
    Posts
    13

    Default

    I got a reply on my support ticket and it appears the solution is to edit the /root/.cpmysqlrpm/mirrors.lst and mirrors.speed files and remove all reference to the unixsoft.org domain.

    After I did this, I ran the /scripts/mysqlup and it updated the MySQL in no time and gave me a happy little Mysql process screen when I asked for it.

  12. #12
    Member
    Join Date
    Mar 2006
    Posts
    17

    Default

    Quote Originally Posted by stevewalsh
    I got a reply on my support ticket and it appears the solution is to edit the /root/.cpmysqlrpm/mirrors.lst and mirrors.speed files and remove all reference to the unixsoft.org domain.

    After I did this, I ran the /scripts/mysqlup and it updated the MySQL in no time and gave me a happy little Mysql process screen when I asked for it.
    And how did you do that? Is there a quick way to remove that lines from files?

  13. #13
    Member
    Join Date
    Mar 2006
    Posts
    17

    Default

    Quote Originally Posted by FractalizeR
    And how did you do that? Is there a quick way to remove that lines from files?
    Solved already. I will tell here for newbies how to do that. Use any SSH client to connect to your server.

    Enter command

    vi /root/.cpmysqlrpm/mirrors.lst
    Navigate using cursor keys to the line containing "unixsoft.org" and hit "d" key twice. Line will be removed. Now type ":w" and enter, then ":q" and enter. File will be saved and you will quit vi.

    Enter command
    vi /root/.cpmysqlrpm/mirrors.speed

    and repeat the same operations

Similar Threads & Tags
Similar threads

  1. FreeBSD 7.4 p2 .. lots of problems at Cpanel Installation
    By IPSecureNetwork in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-29-2011, 03:37 PM
  2. Cpanel Installation Problems
    By oshs in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 02-13-2010, 11:19 PM
  3. cPanel DNS Only installation problems
    By NightRider in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-04-2008, 02:58 AM
  4. cPanel Installation Problems
    By thha in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-16-2008, 04:45 PM
  5. Cpanel/WHM installation problems?
    By VIPsNET in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-28-2003, 04:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube