[SOLVED] Goflex Home and Subsonic

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[SOLVED] Goflex Home and Subsonic

Postby dannyp » Wed Feb 13, 2013 2:16 pm

Has anybody got this working???

I have tried installing with yaourt -S subsonic.

changed the PKGBUILD to include 'arm' and all looks to go ok but during the extraction it is as follows.

$this->bbcode_second_pass_code('', '
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> Edit subsonic.install ? [Y/n] ("A" to abort)
==> --------------------------------------------
==> n

==> Continue building subsonic ? [Y/n]
==> ----------------------------------
==>
==> Building and installing package
==> WARNING: Building package as root is dangerous.
Please run yaourt as a non-privileged user.
==> Making package: subsonic 4.7-2 (Wed Feb 13 14:00:02 GMT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading subsonic-4.7-standalone.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 28.4M 100 28.4M 0 0 456k 0 0:01:03 0:01:03 --:--:-- 475k
-> Found subsonic.rc
-> Found subsonic.service
==> Validating source files with md5sums...
subsonic-4.7-standalone.tar.gz ... Passed
subsonic.rc ... Passed
subsonic.service ... Passed
==> Extracting Sources...
-> Extracting subsonic-4.7-standalone.tar.gz with bsdtar
==> Starting build()...
cp: writing ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic-4.7-standalone.tar.gz’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic-4.7-standalone.tar.gz’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.bat’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.bat’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic-booter-jar-with-dependencies.jar’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic-booter-jar-with-dependencies.jar’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.rc’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.rc’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.service’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.service’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.sh’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.sh’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.war’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-root/aur-subsonic/pkg/var/subsonic/subsonic.war’: No space left on device
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build subsonic.
==> Restart building subsonic ? [y/N]
==> --------------------------------- ')
I believe there is enough space unless there are restrictions in place but I am unsure how to check??

Just realised it is due to the tmpfs having a size of 61M.

I just increased the size of the tmpfs to 160m and installed just fine :D
Last edited by dannyp on Wed Feb 20, 2013 1:52 pm, edited 1 time in total.
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: Goflex Home and Subsonic

Postby WarheadsSE » Wed Feb 13, 2013 2:55 pm

If /tmp is tmpfs, then that is your problem.

Try grabbing the tarball and doing a manual makepkg
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Goflex Home and Subsonic

Postby dannyp » Wed Feb 13, 2013 3:29 pm

Have it installed OK (i think)

ran
$this->bbcode_second_pass_code('', 'systemctl enable subsonic.service')

did a reboot but I am unable to access web address.

then did
$this->bbcode_second_pass_code('', 'systemctl status subsonic.service')

with the following output...
$this->bbcode_second_pass_code('', 'subsonic.service - Subsonic
Loaded: loaded (/usr/lib/systemd/system/subsonic.service; enabled)
Active: failed (Result: exit-code) since Wed 2013-02-13 15:23:17 GMT; 14s ago
Process: 441 ExecStop=/bin/kill -15 $MAINPID (code=exited, status=1/FAILURE)
Process: 434 ExecStart=/var/subsonic/subsonic.sh (code=exited, status=0/SUCCESS)
Main PID: 284 (code=exited, status=6)
CGroup: name=systemd:/system/subsonic.service

Feb 13 15:23:15 localhost systemd[1]: Starting Subsonic...
Feb 13 15:23:16 localhost subsonic.sh[434]: Started Subsonic [PID 438, /var/subsonic/subsonic_sh.log]
Feb 13 15:23:17 localhost kill[441]: usage: kill [ -s signal | -p ] [ -a ] pid ...
Feb 13 15:23:17 localhost kill[441]: kill -l [ signal ]
Feb 13 15:23:17 localhost systemd[1]: subsonic.service: control process exited, code=exited status=1
Feb 13 15:23:17 localhost systemd[1]: Failed to start Subsonic.
Feb 13 15:23:17 localhost systemd[1]: Unit subsonic.service entered failed state')

anyone have any ideas???

this is the contents for the subsonic_sh.log
$this->bbcode_second_pass_code('', 'dl failure on line 696Error: failed /usr/lib/jvm/java-6-openjdk/jre/lib/arm/server/libjvm.so, because libffi.so.5: cannot open shared object file: No such file or directory
')
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: Goflex Home and Subsonic

Postby dannyp » Wed Feb 13, 2013 6:26 pm

OK looks like it is an issue with the JAVA install.

Tried to reinstall Java and the following happened....
$this->bbcode_second_pass_code('', '[root@localhost ~]# pacman -Sy openjdk6
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
warning: openjdk6-6.b22_1.10-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): openjdk6-6.b22_1.10-1

Total Installed Size: 110.03 MiB
Net Upgrade Size: 0.00 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [##############################################################################] 100%
(1/1) loading package files [##############################################################################] 100%
(1/1) checking for file conflicts [##############################################################################] 100%
(1/1) checking available disk space [##############################################################################] 100%
(1/1) upgrading openjdk6 [##############################################################################] 100%
dl failure on line 696Error: failed /usr/lib/jvm/java-6-openjdk/jre/lib/arm/server/libjvm.so, because libffi.so.5: cannot open shared object file: No such file or directory
done.
[root@localhost ~]#')

Can anyone point me in the right direction to fix this???
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: Goflex Home and Subsonic

Postby moonman » Thu Feb 14, 2013 4:32 pm

To fix the issue run this:
$this->bbcode_second_pass_code('', 'ln -s /usr/lib/libffi.so.6.0.0 /usr/lib/libffi.so.5')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 108 guests