DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-03-13 18:34:26

DaLass
Member
From: The Netherlands
Registered: 2009-02-02
Posts: 5

Squeezecenter 7.3.2 funplug on USB fails

I have installed the squeezecenter 7.3.2 funplug package on my CH3SNAS.
After installing and enabling telnet, i installed the following packages by manually downloading and installing them with tar:

Funpkg
RSync

After that, i was able to download all other funplug packages with rsync, and I installed the following ones with funpkg:

dns323-utils-0.7.176-2 
nfs-utils-1.1.0-4       
unrar-3.7.8-1
nano-2.0.9-1           
openssh-5.2p1-1         
usbutils-0.73-1
ncurses-5.6-4           
unfs3-0.9.22-1

After installation, i activated SSH and disabled telnet.
So far, everything works OK.

After that, i prepared a USB stick for FFP, according to some tutorials found.
Copied the FFP directory to the USB stick and created the file .usb-ffp on the USB stick.

Upon the next reboot, the FFP seems to be running from USB (according to LOG and path when executing: cd /ffp)
Also Squeezecenter is available.

Next, i renamed the ffp folder on HD_a2 to ffp_renamed, to be sure that the folder on the HDD is not used, and can be removed when everything is working OK. After renaming, I rebooted the CH3SNAS with reboot.

Now Squeezecenter is not available anymore. The service is not running, according to the small admin page running at port 90.

If i start it through the small admin page, the message "Starting Slimserver Please wait ..FAILED" is shown.
When checking the status of mysqld.sh in /ffp/start, the status is "stopped".

I start it again with: ./mysqld.sh start
The message "Starting mysqld daemon with databases from /ffp/var/mysql". is shown, and the status is running.

Next i tried to start the squeezecenter with: ./slimserver.sh start.
The status of slimserver.sh is still not running.

I try to start it through the web interface, and the message "Starting Slimserver Please wait ..FAILED" is shown again.

My SSH session in Putty shows:
STOPPING server from pid file /ffp/var/mysql/CH3SNAS.pid
090313 17:00:15  mysqld ended

It seems that the Squeezecenter FFP depends on some files on HD_a2, but i copied the complete ffp folder to the USB stick.

Anyone knows what is wrong?

Last edited by DaLass (2009-03-13 18:34:58)

Offline

 

#2 2009-03-18 19:39:53

DaLass
Member
From: The Netherlands
Registered: 2009-02-02
Posts: 5

Re: Squeezecenter 7.3.2 funplug on USB fails

Somebody any clue where to find the solution?

Offline

 

#3 2009-03-18 19:48:13

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Squeezecenter 7.3.2 funplug on USB fails

ffp.log? /ffp/var/mysql/xxx.err?

Offline

 

#4 2009-03-19 20:09:26

DaLass
Member
From: The Netherlands
Registered: 2009-02-02
Posts: 5

Re: Squeezecenter 7.3.2 funplug on USB fails

ffp.log shows the following information (captured from the last boot):

**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Sat Mar 14 18:10:25 GMT 2009
* Running /mnt/HD_a2/.bootstrap/setup.sh ...
Installing USB module and sleeping for 30 seconds
/dev/sdc2 mountable and mounted on /mnt/usb
Either /dev/sdc6 is already the root partition
     or /mnt/usb/.usb-root not accessible
     or /ffp/boot/reload.sh doesn't exist
So skipping reloading kernel...
Running FFP from *USB* and linking /ffp -> /mnt/usb...
ln -snf /mnt/usb/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/fun_plug.local ...
* Running /ffp/etc/rc ...
rcorder: requirement `portmap' in file `/ffp/start/unfsd.sh' has no providers.
rcorder: requirement `portmap' in file `/ffp/start/nfsd.sh' has no providers.
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/unfsd.sh ...
Linking /etc/exports ...
/ffp/sbin/rpc.portmap: Not executable
* /ffp/start/nfsd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/mysqld.sh ...
Starting mysqld daemon with databases from /ffp/var/mysql
* /ffp/start/slimserver.sh ...
* /ffp/start/rsyncd.sh inactive
* /ffp/start/inetd.sh inactive
* /ffp/start/ffp-admin.sh ...
Starting /ffp/sbin/httpd -p 90 -c /ffp/etc/ffp-admin.conf
*  OK
STOPPING server from pid file /ffp/var/mysql/CH3SNAS.pid
090314 18:16:25  mysqld ended


in the folder /ffp/var/mysql, i can find the file CH3SNAR.err, with the following contents:

090314 18:16:25  mysqld ended

090314 18:16:42  mysqld started
090314 18:16:42 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090314 18:16:42 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090314 18:16:42 [Warning] option 'myisam_max_extra_sort_file_size': unsigned value 2147483648 adjusted to 2147483647
090314 18:16:42 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
090314 18:16:42 [Note] /ffp/libexec/mysqld: ready for connections.
Version: '5.0.67'  socket: '/ffp/var/run/mysql/mysql.sock'  port: 0  Source distribution
090314 18:17:04 [Note] /ffp/libexec/mysqld: Normal shutdown

090314 18:17:04 [Note] /ffp/libexec/mysqld: Shutdown complete

090314 18:17:04  mysqld ended

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB