Showing posts with label freebsd. Show all posts
Showing posts with label freebsd. Show all posts

Tuesday, February 16, 2010

vsftpd 426 “Failure writing network stream”

Ever come across this error when trying to download a file from a VSFTPD server? Me neither but the solution to this problem is to add

use_sendfile=NO

to your vsftpd.conf file.

Thursday, January 21, 2010

FreeNAS

I ran across FreeNAS in a Google search a couple of days ago and decided to give it a try on an old Dell Precision workstation 410. I booted off of the live CD I created from the ISO file I downloaded from SourceForge. I am need to move an aging FTP Server and thought that Freenas might do the trick. Install went fine and I was able to use the web gui to do further configuration of the Freebsd v7.1 OS. I used three additional drives to create a ZFS single parity raid drive. The old FTP server I use is running VSFTPD and FreeNAS uses ProFTPD by default. It took some command line hacking to find the proftpd.conf and modify my LDAP based accounts to get ProFTPD to allow the accounts access. After a quick rsync of data from the old server to the new FreeNAS, I am ready to put it thru the test. I will update as I can to verify performance and other issues that might arise.

Tuesday, April 7, 2009

Updating FreeBSD

To update FreeBSD you need to run a few commands to update a running server

  1. freebsd-update fetch
  2. freebsd-update install
To upgrade FreeBSD to the latest version: (currently 7.1)
  1. freebsd-update -r 7.1-RELEASE upgrade

To figure out what version of FreeBSD you are using do this

uname -a

FreeBSD freebsd.example.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386