FAQ  •  Register  •  Login

Cannot install Java on FreeNAS

<<

Steph1391

Serviio newbie

Posts: 10

Joined: Wed Jul 06, 2011 1:56 am

Post Sat Sep 24, 2011 10:42 pm

Cannot install Java on FreeNAS

I decided to reinstall from scratch my FreeNAS setup to start over with Serviio 0.6. But this time, I seem not able to install any of the packages needed for Serviio (like Xtrans,xproto, ffmeg, etc.),... I always have problems of that type:

freenas:/# pkg_add -v -r xtrans
scheme: [ftp]
user: []
password: []
host: [ftp.freebsd.org]
port: [0]
document: [/pub/FreeBSD/ports/i386/packages-7.3-release/Latest/xtrans.tbz]
---> ftp.freebsd.org:21
looking up ftp.freebsd.org
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports ... xtrans.tbz: No address record
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/Latest/xtrans.tbz' by URL
pkg_add: 1 package addition(s) failed


What I find strange is that if I go on the freebsd ftp site, it's true that this link don't exist ! There is no 7.3 release files. Juste 7 or 7.4. Is there something I can do ? Can I tell FreeNAS to look at another ftp address ?

My Freenas version is the last 7 build...

anybody have an idea, Or have already seen this ?

thanks
<<

Steph1391

Serviio newbie

Posts: 10

Joined: Wed Jul 06, 2011 1:56 am

Post Thu Sep 29, 2011 2:12 am

Re: Cannot install Java on FreeNAS

Ok, I found how to redirect the dowload:

enter this before adding package
setenv PACKAGESITE ftp://ftp-archive.freebsd.org/pub/FreeB ... es/Latest/
<<

jwhittak

Serviio newbie

Posts: 2

Joined: Mon Oct 10, 2011 8:57 am

Post Mon Oct 10, 2011 9:49 am

Re: Cannot install Java on FreeNAS

Hi,

Please forgive me for my newbie status but I am enjoying the journey of learning.

I too have this same problem. I had a freenas software crash and had to reinstall all the software. I installed the operating system and brought it back to it's previous state using a backup. I then went to reinstall serviio (which I had previously running seamlessly) and I can not install the packages. I am getting exactly the same error.

I am sorry but could someone please explain what is meant by the solution provided here? Could someone please give me step by step instructions to use the solution here in putty.

Your help will be greatly apprecisted

Result I get when run pkg_add command copied from putty below


Welcome to FreeNAS!

$ su
Password:
whittserver:/mnt# cd /
whittserver:/# cd /var
whittserver:/var# pkg_add -v -r xtrans
scheme: [ftp]
user: []
password: []
host: [ftp.freebsd.org]
port: [0]
document: [/pub/FreeBSD/ports/i386/packages-7.3-release/Latest/xtrans.tbz]
---> ftp.freebsd.org:21
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
<<< 220 Welcome to freebsd.isc.org.
>>> USER anonymous
<<< 331 Please specify the password.
>>> PASS jon@whittserver.local
<<< 230 Login successful.
>>> PWD
<<< 257 "/"
>>> CWD pub/FreeBSD/ports/i386/packages-7.3-release/Latest
<<< 550 Failed to change directory.
>>> CWD pub
<<< 250 Directory successfully changed.
>>> CWD FreeBSD
<<< 250-If you're looking for one of the FreeBSD releases, please look in the
<<< 250-releases/${ARCH}/${RELNAME} directory, where ARCH = "alpha", "amd64",
<<< 250-"i386", "ia64", "pc98", or "sparc64" and RELNAME = the release
<<< 250-you're interested in, e.g. "7.1-RELEASE" or "8.0-RELEASE".
<<< 250 Directory successfully changed.
>>> CWD ports
<<< 250 Directory successfully changed.
>>> CWD i386
<<< 250-These are packages for the i386 architecture. Here are brief
<<< 250-descriptions of each subdirectory.
<<< 250-
<<< 250- packages-6-stable: Packages for FreeBSD-6-stable.
<<< 250- packages-6.4-release: Packages for FreeBSD 6.4-release.
<<< 250- packages-7-stable: Packages for FreeBSD-7-stable.
<<< 250- packages-7.2-release: Packages for FreeBSD 7.2-release.
<<< 250- packages-7.3-release: Packages for FreeBSD 7.3-release. (not yet available)
<<< 250- packages-8-stable: Packages for FreeBSD-8-stable.
<<< 250- packages-8.0-release: Packages for FreeBSD 8.0-release.
<<< 250- packages-9-current: Packages for FreeBSD-9-current.
<<< 250-
<<< 250-packages-*-release directories are built from the ports collection
<<< 250-shipped with the release, and are not updated thereafter.
<<< 250-
<<< 250-packages-*-stable and packages-*-current are updated roughly once a
<<< 250-week.
<<< 250-
<<< 250-Please see the file "../../dir.sizes" for the current size of each
<<< 250-directory. In particular, mirroring thise directories will cause about
<<< 250-8GB of traffic per week from packages-?-stable and packages-?-current
<<< 250-updates.
<<< 250-
<<< 250-Older release package sets may be found at:
<<< 250-
<<< 250-ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/
<<< 250 Directory successfully changed.
>>> CWD packages-7.3-release
<<< 550 Failed to change directory.
>>> QUIT
<<< 221 Goodbye.
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports ... xtrans.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/Latest/xtrans.tbz' by URL
pkg_add: 1 package addition(s) failed
whittserver:/var#
<<

Steph1391

Serviio newbie

Posts: 10

Joined: Wed Jul 06, 2011 1:56 am

Post Tue Oct 11, 2011 10:55 pm

Re: Cannot install Java on FreeNAS

Just this this in the console

setenv PACKAGESITE ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/7.4-RELEASE/packages/Latest/

then continue the installation
<<

jwhittak

Serviio newbie

Posts: 2

Joined: Mon Oct 10, 2011 8:57 am

Post Wed Oct 12, 2011 11:20 pm

Re: Cannot install Java on FreeNAS

Thank you, thank you, thank you

worked first time.

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 19 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.