Skip to main content Help Control Panel

Rod Morison Software —  Technotes

Home «   Linux «   Sysadmin «  

BitDefender install script hangs on ftp call

When running the BitDefender install script, wget tries passive ftp and hangs. Here is a way to force wget to not use ftp passive.
When running the BitDefender download/install script (see http:/www.bitdefender.com),

# ls -l bitdefender-smb-installer
-rw-r--r-- 1 rod users 84956 Nov 1 02:13 bitdefender-smb-installer
# bash ./bitdefender-smb-installer


on my system, after answering a bunch of questions the script goes to try and download what it needs...

Getting ftp://ftp.bitdefender.com/pub/linux/SmallBusiness/final/en/packages/latest_versions using wget
23:34:49 ftp://ftp.bitdefender.com/pub/linux/SmallBusiness/final/en/packages/latest_versions
=> `latest_versions'
Resolving ftp.bitdefender.com... 64.239.7.84
Connecting to ftp.bitdefender.com[64.239.7.84]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/linux/SmallBusiness/final/en/packages ... done.
==> PASV ...


and it just sits and hangs trying to do the passive ftp download.

Try
echo 'passive_ftp=off' >~/.wgetrc
to force passive ftp off. (No big wow, but I wasn't aware wget took a .wgetrc file AND I couldn't find a wget command line arg to disable passive ftp.)

Stay tuned
recent comments
podcasted files
AddThis.com