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.

New install problem on FreeBSD 4.11 - Too many arguments

Discussion in 'General Discussion' started by hicom, Aug 22, 2005.

  1. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I've searched through the forums and found interesting posts, but none helped in resolving the problem.

    I'm trying to install new cPanel on a FreeBSD 4.11 , which has all sources, kernels..etc installed.

    I also have: wget , rsync and XFree86-Libraries installed properly

    This is the error :

    Code:
    # sh latest
    Creating directory installd
    Verifying archive integrity... All good.
    Uncompressing cplyr1-cPanel....................................................................................................................................................................................................................
            ____                  _
        ___|  _ \ __ _ _ __   ___| |
       / __| |_) / _` | '_ \ / _ \ |
      | (__|  __/ (_| | | | |  __/ |
       \___|_|   \__,_|_| |_|\___|_|
    
         Installer Version 10.4.1
    
    
    Too many arguments for open at ./install line 76, near "'/var/log/cpanel-install-thread0.log')"
    Too many arguments for open at ./install line 78, near "'/var/log/cpanel-install-thread1.log')"
    Too many arguments for open at ./install line 219, near "'/var/cpanel/version/9.9.9.1')"
    Too many arguments for open at ./install line 426, near "'/etc/httpd/conf/srm.conf')"
    Too many arguments for open at ./install line 428, near "'/etc/httpd/conf/httpd.conf')"
    Too many arguments for open at ./install line 460, near "'/etc/rc.d/rc.local')"
    Too many arguments for open at ./install line 483, near "'/etc/rc.d/rc.local')"
    Too many arguments for open at ./install line 548, near "'/var/cpanel/whmtheme')"
    Too many arguments for open at ./install line 553, near "'/etc/cpupdate.conf') "
    Too many arguments for open at ./install line 607, near "'/dev/null')"
    ./install has too many errors.
    
    Any opinions on what could be causing this ? I can give you ssh access to the machine if you can help as well!

    Thx!

    Tamouh
    = It is ironic, I wrote the 1st article on how to install cPanel on BSD 2 yrs ago, and now i'm stuck!! =
     
  2. John9276

    John9276 Member

    Joined:
    Jun 10, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Same

    I'm getting the same problems. I've checked out other threads, but I still have the same problems after my initial research.

    I have nothing to contribute to this thread except "ME TOO!"

    For the record, this is what I get:

    Code:
    www# sh latest
    Creating directory installd
    Verifying archive integrity... All good.
    Uncompressing cplyr1-cPanel....................................................................................................................................................................................................................
            ____                  _
        ___|  _ \ __ _ _ __   ___| |
       / __| |_) / _` | '_ \ / _ \ |
      | (__|  __/ (_| | | | |  __/ |
       \___|_|   \__,_|_| |_|\___|_|
      
         Installer Version 10.4.1
    
    
    Too many arguments for open at ./install line 76, near "'/var/log/cpanel-install-thread0.log')"
    Too many arguments for open at ./install line 78, near "'/var/log/cpanel-install-thread1.log')"
    Too many arguments for open at ./install line 219, near "'/var/cpanel/version/9.9.9.1')"
    Too many arguments for open at ./install line 426, near "'/etc/httpd/conf/srm.conf')"
    Too many arguments for open at ./install line 428, near "'/etc/httpd/conf/httpd.conf')"
    Too many arguments for open at ./install line 460, near "'/etc/rc.d/rc.local')"
    Too many arguments for open at ./install line 483, near "'/etc/rc.d/rc.local')"
    Too many arguments for open at ./install line 548, near "'/var/cpanel/whmtheme')"
    Too many arguments for open at ./install line 553, near "'/etc/cpupdate.conf') "
    Too many arguments for open at ./install line 607, near "'/dev/null')"
    ./install has too many errors.
    www# 
    
    and my FreeBSD is:
    Code:
    www# uname -a
    FreeBSD www.fanasylum.com 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005     root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
    
    I've also noticed that my install doesn't say "FreeBSD Detected!" like it says on other FreeBSD installs!
     
    #2 John9276, Aug 23, 2005
    Last edited: Aug 23, 2005
  3. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Not to pick nits here but I noticed that on the main cpanel.net page it doesnt show 4.11 being supported:


    "4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 4.10, 5.0, 5.1, 5.2, 5.3, 5.4"

    Thats the string from the page. I wonder if its a mistake or intentional.
     
  4. John9276

    John9276 Member

    Joined:
    Jun 10, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Good eye! :mad: Well, I'm just going to install 5.4. Wish me luck. Thanks
     
  5. John9276

    John9276 Member

    Joined:
    Jun 10, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    yes, cpanel doesn't support 4.11
    I got it installed on 5.4. unfortunately, now i have mysql problems! Ugh! but that's for another topic, thanks nyjimbo
     
  6. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    That is weird not to support 4.11 , I have a production server that we upgraded from 4.10 to 4.11 running cPanel and had no problems.

    I'm going to open a support ticket asking about support for 4.11

    I think i'll do the same thing, install BSD 4.10 then upgrade to 4.11 after cPanel install.

    Thx for the heads up :)
     
  7. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    UPDATE ****Solution****

    As it turns out, this error is caused by FreeBSD 4.11 using old Perl version. The cPanel installer seems to have been updated as well to detect such a problem and produce user-friendly error.

    To update 4.11 Perl use the ports. Something weird with Perl , when you install it, it doesn't over write the command line program. So it continued using the old perl even after installing Perl 5.8.5

    I had to manually copy /usr/local/bin/perl5.8.5 over /usr/bin/perl for Perl 5.8.5 to work properly.
     
Loading...

Share This Page