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.

Can't switch to pure-ftpd on freebsd 4.8

Discussion in 'General Discussion' started by nyjimbo, Aug 1, 2005.

  1. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Tried to switch to pure-ftpd as per the security warning screen. When I do it from WHM
    I get:

    Ftp Setup Script Version 6.0
    This is the pure-ftpd installer
    Fetching the ports index ...
    684724 bytes transferred in 4.4 seconds (151.29 kBps)
    done
    [Updating the portsdb in /usr/ports ... - 13307 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:613: [BUG] Segmentation fault
    ruby 1.8.2 (2004-07-29) [i386-freebsd4]

    sort: write error: Broken pipe
    Removing old ftp server (proftpd)
    Attempting to restart ftpserver
    Waiting for ftpserver to restart....
    .

    and ftp does not come up. When I do it from the system console I get pretty much the same thing but I see RUBY18 dumping core and some segmentation errors.

    Anyone else getting this. I tried to go back to proftpd and am getting the same errors now with ruby18 dumping core.

    :confused:
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Uninstall and reinstall ruby, its a bug in ruby
     
  3. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16

    It comes back Nick, Have reinstalled Ruby a number of times and the fault comes back even with the updated version

    http://bugzilla.cpanel.net/show_bug.cgi?id=2919
     
    #3 easyhoster1, Aug 2, 2005
    Last edited: Aug 2, 2005
  4. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    How would I de-install and re-install ruby ?. I know how to do stuff myself outside of Cpanel but how would I do it here and not break things even more.

    Right now we dont have a FTP server running as neither pro or pure will install, both break with ruby. I tried "ftpup proftpd --force" and the pure-ftpd version several times and they both fail now.
     
  5. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    ruby is installed by ports, I believe /usr/ports/lang/ruby18, just cd into that dir, and do a make deinstall and make install distclean.
     
  6. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    I tried to do the make deinstall but it came back as it could not properly deinstall due to it not being able to remove the directory.

    I tried to make install distclean and it seemed to work but when I did the ftpup pure-ftp it failed again with segment fault and a dump.
     
  7. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
Loading...

Share This Page