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.

Help - FreeBSD install frozen?

Discussion in 'General Discussion' started by peruda.com, May 12, 2004.

  1. peruda.com

    peruda.com Well-Known Member

    Joined:
    Aug 23, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I am running the cpanel install on FreeBSD and it has been stuck for a long time at "proftpd exim" - there seems to be no ethernet/hd activity. I don't want to close out my terminal window unless I need to. And if I need to start all over, does anyone know how to avoid this next time?

    Thanks so much!

    Here is the last screen or two of output:

    Installing build environment: /usr/lib/php/build/
    Installing header files: /usr/include/php/
    Installing helper programs: /usr/bin/
    program: phpize
    program: php-config
    program: phpextdist
    x - creating lock directory
    x - extracting /usr/local/frontpage/version5.0/apache-fp/fpexe.c (text)
    x - creating lock directory
    x - extracting /usr/local/frontpage/version5.0/apache-fp/fpexe2.patch (text)
    Hmm... Looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |--- fpexe.c.orig Thu Mar 7 20:30:45 2002
    |+++ fpexe.c Thu Mar 7 20:28:41 2002
    --------------------------
    Patching file fpexe.c using Plan A...
    Hunk #1 succeeded at 29.
    Hunk #2 succeeded at 172.
    Hunk #3 succeeded at 231.
    Hunk #4 succeeded at 246.
    Hunk #5 succeeded at 262.
    Hunk #6 succeeded at 273.
    Hunk #7 succeeded at 282.
    done
    Using Frontpage with suexec
    receiving file list ... done
    chkservd/
    chkservd/chkservd/
    chkservd/chkservd/chkserv.d/
    chkservd/chkservd/chkserv.d/apache
    chkservd/chkservd/chkserv.d/exim
    chkservd/chkservd/chkserv.d/interchange
    chkservd/chkservd/chkserv.d/mysql
    chkservd/chkservd/chkserv.d/proftpd
    chkservd/chkservd/chkserv.d/syslogd
    chkservd/chkservd/chkservd
    chkservd/chkservd/chkservd.init
    chkservd/install
    wrote 224 bytes read 10750 bytes 4389.60 bytes/sec
    total size is 10089 speedup is 0.92
    receiving file list ... done
    initscripts/
    initscripts/init/
    initscripts/init/chkservd.sh
    initscripts/init/cpanel4.sh
    initscripts/init/exim.sh
    initscripts/init/mysql-server.sh
    initscripts/init/named.sh
    initscripts/init/proftpd.sh
    initscripts/install
    wrote 195 bytes read 5357 bytes 3701.33 bytes/sec
    total size is 4836 speedup is 0.87
    proftpd exim
     
  2. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    We had the same problem at the exim installation, however
    the build was missing some shared file in openssl and could not get it to install from the ports package.

    We had to fetch it from openssl and compile it into the ports package and everything else updated fine from there.
    Not sure if this will help you or not.
     
  3. peruda.com

    peruda.com Well-Known Member

    Joined:
    Aug 23, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Thank you, that does help, although I am not sure exactly how to "fetch it from openssl and compile it into the ports package."

    Can you give me a pointer on how to do this? I am familiar with compiling packages etc, but I am just a little confused about the whole openssl thing.

    I really appreciate your help!
     
  4. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Sure, here is what we did and you need root access
    to your machine with ssh.

    Once logged in,

    cd /usr/ports/security
    fetch http://www.openssl.org/source/openssl-0.9.7d.tar.gz
    tar xfzv openssl-0.9.7d.tar.gz
    cd openssl-0.9.7d
    make install

    Once we reinstalled openssl, exim would build as it requires some shared files from openssl.

    Thanks
     
  5. peruda.com

    peruda.com Well-Known Member

    Joined:
    Aug 23, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Thanks so much for the reply. I did download and install openssl, but I'm still getting an error message trying to install exim. Here is what I do:

    cd /usr/ports/mail/exim
    make install


    And here is what I get:

    >> exim-4.24.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/exim.
    >> Attempting to fetch from ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/.
    Receiving exim-4.24.tar.bz2 (1266141 bytes): 100%
    1266141 bytes transferred in 14.9 seconds (83.12 kBps)
    >> exiscan-acl-4.24-13.patch.bz2 doesn't seem to exist in /usr/ports/distfiles/exim.
    >> Attempting to fetch from http://duncanthrax.net/exiscan-acl/.
    Receiving exiscan-acl-4.24-13.patch.bz2 (55476 bytes): 100%
    55476 bytes transferred in 1.8 seconds (30.80 kBps)
    ===> Extracting for exim-4.24_4
    >> Checksum OK for exim/exim-4.24.tar.bz2.
    >> Checksum OK for exim/exiscan-acl-4.24-13.patch.bz2.
    ===> Patching for exim-4.24_4
    ===> Applying distribution patches for exim-4.24_4
    ===> Applying FreeBSD patches for exim-4.24_4
    1 out of 1 hunks failed--saving rejects to src/transports/appendfile.c.rej
    >> Patch patch-mbx_lock failed to apply cleanly.
    >> Patch(es) patch-OS::Makefile-FreeBSD patch-doc::spec.txt applied cleanly.
    *** Error code 1

    Stop in /usr/ports/mail/exim.




    It seems that it has something to do with the new cPanel exim patch . . but I'm not sure.

    Has anyone else had trouble with this?
     
  6. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    for now, try from ssh

    /scripts/exim4
     
  7. peruda.com

    peruda.com Well-Known Member

    Joined:
    Aug 23, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Thanks again for the help.

    It's still not installing properly and now I'm noticing other problems too - for instance, MySQL is not installed/running properly. Also, the cPanel service does not even start automatically when the system boots up. I am considering just re-formatting and starting from scratch to hopefully get a clean cPanel installation. I appreaciate all your help, easyhoster.
     
  8. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Before scrapping everything, try this.

    Run the following as root;
    rm -f /usr/local/cpanel/cpanel
    /scripts/upcp
     
  9. peruda.com

    peruda.com Well-Known Member

    Joined:
    Aug 23, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Before I got your last message, I went ahead and re-installed cPanel (without reformatting). It seems to have fixed all the exim/mySQL issues.

    I am trying to upgrade to the "bleeding edge" release now in order to fix the exim security hole, as the "current" release for BSD doesn't seem to fix it.

    Thanks again!
     
    #9 peruda.com, May 17, 2004
    Last edited: May 17, 2004
  10. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Let me know how it goes, as i am waiting for the 9.3.0
    release version.


     
  11. peruda.com

    peruda.com Well-Known Member

    Joined:
    Aug 23, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Will do! Of course it's a bit early to tell, but so far it's great -- I am experimenting with the new DNS clustering features and that seems to be working well. It could use some improvement in the area of clarity/documentation, but I added three boxes to a cluster, and created a "DNS path" so that the primary server would update the DNS zones on the two other servers and that seems to be working just fine.

    Thanks again.
     
  12. jcase

    jcase Well-Known Member

    Joined:
    Jun 1, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    noticing major issues as well with freebsd. The installer does not work properly and i have to control c out of things that get stuck. Furthermore, cpanel does not restart upon reboot. Cannot comprehend how cpanel can put out such a half assed product. Its a great control panel dont get me wrong, but there needs to be more testing done before things are released.
     
  13. jcase

    jcase Well-Known Member

    Joined:
    Jun 1, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    .
     
    #13 jcase, Jun 1, 2004
    Last edited: Jun 1, 2004
  14. peruda.com

    peruda.com Well-Known Member

    Joined:
    Aug 23, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I had the exact same issues on my first attempt of the BSD cPanel install. Had to CTRL-C out and it didn't reboot. I re-installed it and then it worked fine . . . Go figure. I don't remember making any significant changes in between.

    Check out this post though: http://forums.cpanel.net/showthread.php?s=&threadid=12576&highlight=freebsd+setup

    It has some great info for installing cPanel on FreeBSD.
     
  15. Laika

    Laika Registered
    PartnerNOC

    Joined:
    Mar 13, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    sendmail conflict

    I have suspended the install (Ctl^Z) and killed off sendmail, and resumed the install with success.
     
Loading...

Share This Page