Can't switch to pure-ftpd on freebsd 4.8

nyjimbo

Well-Known Member
Jan 25, 2003
1,133
1
168
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:
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,133
1
168
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.
 

nickn

Well-Known Member
PartnerNOC
Jun 15, 2003
616
1
168
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.
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,133
1
168
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.