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.

Cpanel Installation Problems

Discussion in 'General Discussion' started by Yaza, Jun 16, 2005.

  1. Yaza

    Yaza Member

    Joined:
    May 23, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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/Downloads/MySQL-4.0/MySQL-shared-4.0.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]
    --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/Downloads/MySQL-4.0/MySQL-devel-4.0.24-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. vivek

    vivek Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Hello,

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

    With regards,
    :D :p
     
  3. Yaza

    Yaza Member

    Joined:
    May 23, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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/p...tpd-1.2.10tls-5_linuxprivs_newinit.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/p...tpd-1.2.10tls-5_linuxprivs_newinit.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/proftpd/src/proftpd-1.2.10tls-5_linuxprivs_newinit.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/proftpd/src/proftpd-1.2.10tls-5_linuxprivs_newinit.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/...ewrite_mm2_mmmtrap_exiscan_md5pass.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/...ewrite_mm2_mmmtrap_exiscan_md5pass.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...v_rewrite_mm2_mmmtrap_exiscan_md5pass.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...v_rewrite_mm2_mmmtrap_exiscan_md5pass.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/Downloads/MySQL-4.0/MySQL-shared-4.0.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
    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--
     
    #3 Yaza, Jun 16, 2005
    Last edited: Jun 16, 2005
  4. Yaza

    Yaza Member

    Joined:
    May 23, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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...
     
    #4 Yaza, Jun 17, 2005
    Last edited: Jun 17, 2005
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You could try:

    /scripts/mysqlup --force
     
  6. Yaza

    Yaza Member

    Joined:
    May 23, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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​
     
    #6 Yaza, Jun 17, 2005
    Last edited: Jun 17, 2005
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  8. Yaza

    Yaza Member

    Joined:
    May 23, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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.
     
  10. stevewalsh

    stevewalsh Member

    Joined:
    Jun 5, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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
    [B]Connecting to www.unixsoft.org[69.50.189.149]:80[/B]... connected.
    HTTP request sent, awaiting response... 302 Found
    [B]Location: http://www.fast-web-search.com/[/B] [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. stevewalsh

    stevewalsh Member

    Joined:
    Jun 5, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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. FractalizeR

    FractalizeR Member

    Joined:
    Mar 31, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    And how did you do that? Is there a quick way to remove that lines from files?
     
  13. FractalizeR

    FractalizeR Member

    Joined:
    Mar 31, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page