Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install on terastation intel atom
17-08-2014, 22:24
Post: #31
RE: Install on terastation intel atom
(17-08-2014 22:08)simoncn Wrote:  What happened with this change? What was written to minimserver.out? Even if this file was reset to empty, this is important information
I am sorry, absolutely nothing changed - checked the time too.

(17-08-2014 22:08)simoncn Wrote:  On Linux, it doesn't matter whether a script has a .sh extension. It does matter that the script is marked as an executable file (ls -l shows rwxr-xr-x) and that it starts with the line #!/bin/sh.
Lesson learned, thank you -and checked
Find all posts by this user
Quote this message in a reply
17-08-2014, 22:30 (This post was last modified: 17-08-2014 22:31 by simoncn.)
Post: #32
RE: Install on terastation intel atom
(17-08-2014 22:24)hpapen Wrote:  I am sorry, absolutely nothing changed - checked the time too.

Thanks! This means the NAS Linux isn't calling the startup script for some reason.

Please post the output of this command:

ls -l /etc/rc*
Find all posts by this user
Quote this message in a reply
17-08-2014, 22:35
Post: #33
RE: Install on terastation intel atom
(17-08-2014 22:30)simoncn Wrote:  Please post the output of this command:
ls -l /etc/rc*
root@paapnas:/usr/local# ls -l /etc/rc*
drwxr-xr-x 2 root root 4096 Mar 13 2013 extensions.d
lrwxrwxrwx 1 root root 9 Aug 17 15:35 init.d -> ../init.d
drwxr-xr-x 2 root root 4096 Mar 13 2013 initweb.d
drwxr-xr-x 2 root root 4096 Mar 13 2013 sysinit.d
Find all posts by this user
Quote this message in a reply
18-08-2014, 09:29
Post: #34
RE: Install on terastation intel atom
(17-08-2014 22:35)hpapen Wrote:  
(17-08-2014 22:30)simoncn Wrote:  Please post the output of this command:
ls -l /etc/rc*
root@paapnas:/usr/local# ls -l /etc/rc*
drwxr-xr-x 2 root root 4096 Mar 13 2013 extensions.d
lrwxrwxrwx 1 root root 9 Aug 17 15:35 init.d -> ../init.d
drwxr-xr-x 2 root root 4096 Mar 13 2013 initweb.d
drwxr-xr-x 2 root root 4096 Mar 13 2013 sysinit.d

Thanks very much! From this, I can see why the setup script isn't working on your NAS.

To fix it, I will need a bit more information. Please post the output from both the following commands:

ls -l /etc/rc.d/init.d
ls -l /etc/rc.d/extensions.d

Thanks for all your help with this.
Find all posts by this user
Quote this message in a reply
18-08-2014, 10:16 (This post was last modified: 18-08-2014 10:18 by hpapen.)
Post: #35
RE: Install on terastation intel atom
(18-08-2014 09:29)simoncn Wrote:  ls -l /etc/rc.d/init.d
root@paapnas:/usr/local# ls -l /etc/rc.d/init.d
lrwxrwxrwx 1 root root 9 Aug 17 15:35 /etc/rc.d/init.d -> ../init.d



(18-08-2014 09:29)simoncn Wrote:  ls -l /etc/rc.d/extensions.d
ls -l /etc/rc.d/extensions.d
lrwxrwxrwx 1 root root 22 Aug 17 15:35 K40_twonky.sh -> ../../init.d/twonky.sh
lrwxrwxrwx 1 root root 30 Aug 17 15:35 K40_webaxs.sh -> /usr/local/webaxs/sbin/init.sh
lrwxrwxrwx 1 root root 26 Aug 17 15:35 K60_bittorrent.sh -> ../../init.d/bittorrent.sh
lrwxrwxrwx 1 root root 24 Aug 17 15:35 K60_lighttpd.sh -> ../../init.d/lighttpd.sh
lrwxrwxrwx 1 root root 22 Aug 17 15:35 K60_mtdaapd.sh -> ../../init.d/itunes.sh
lrwxrwxrwx 1 root root 21 Aug 17 15:35 K60_mysql.sh -> ../../init.d/mysql.sh
lrwxrwxrwx 1 root root 23 Aug 17 15:35 K60_squeeze.sh -> ../../init.d/squeeze.sh
lrwxrwxrwx 1 root root 20 Aug 17 15:35 K60_wafs.sh -> ../../init.d/wafs.sh
lrwxrwxrwx 1 root root 25 Aug 17 15:35 K90_fo_server.sh -> ../../init.d/fo_server.sh
lrwxrwxrwx 1 root root 20 Aug 17 15:35 K99_acpid.sh -> /etc/init.d/acpid.sh
lrwxrwxrwx 1 root root 20 Aug 17 15:35 S01_acpid.sh -> /etc/init.d/acpid.sh
lrwxrwxrwx 1 root root 25 Aug 17 15:35 S10_fo_server.sh -> ../../init.d/fo_server.sh
lrwxrwxrwx 1 root root 22 Aug 17 15:35 S40B_twonky.sh -> ../../init.d/twonky.sh
lrwxrwxrwx 1 root root 36 Aug 17 15:35 S40B_update_notifications.sh -> ../../init.d/update_notifications.sh
lrwxrwxrwx 1 root root 26 Aug 17 15:35 S40_bittorrent.sh -> ../../init.d/bittorrent.sh
lrwxrwxrwx 1 root root 24 Aug 17 15:35 S40_lighttpd.sh -> ../../init.d/lighttpd.sh
lrwxrwxrwx 1 root root 22 Aug 17 15:35 S40_mtdaapd.sh -> ../../init.d/itunes.sh
lrwxrwxrwx 1 root root 21 Aug 17 15:35 S40_mysql.sh -> ../../init.d/mysql.sh
lrwxrwxrwx 1 root root 23 Aug 17 15:35 S40_squeeze.sh -> ../../init.d/squeeze.sh
lrwxrwxrwx 1 root root 20 Aug 17 15:35 S40_wafs.sh -> ../../init.d/wafs.sh
lrwxrwxrwx 1 root root 30 Aug 17 15:35 S40_webaxs.sh -> /usr/local/webaxs/sbin/init.sh
lrwxrwxrwx 1 root root 30 Aug 17 15:35 S90B_chimera.sh -> /etc/init.d/chimera-control.sh
lrwxrwxrwx 1 root root 21 Aug 17 15:35 S98splxboot -> ../../init.d/splxboot
lrwxrwxrwx 1 root root 17 Aug 17 15:35 S99splx -> ../../init.d/splx


(18-08-2014 09:29)simoncn Wrote:  Thanks for all your help with this.
I think I 'll have to thank you for this sublime support
Find all posts by this user
Quote this message in a reply
18-08-2014, 10:37
Post: #36
RE: Install on terastation intel atom
(18-08-2014 10:16)hpapen Wrote:  root@paapnas:/usr/local# ls -l /etc/rc.d/init.d
lrwxrwxrwx 1 root root 9 Aug 17 15:35 /etc/rc.d/init.d -> ../init.d

As this is a link, please also post the result of:

ls -l /etc/init.d
Find all posts by this user
Quote this message in a reply
18-08-2014, 11:16
Post: #37
RE: Install on terastation intel atom
(18-08-2014 10:37)simoncn Wrote:  ls -l /etc/init.d
root@paapnas:/usr/local# ls -l /etc/init.d
-rwxr-xr-x 1 root root 1216 Jan 31 2013 EnablingAutoip.sh
-rwxr-xr-x 1 root root 547 Aug 19 2010 acpid.sh
-rwxr-xr-x 1 root root 4614 Aug 18 2011 atalk.sh
-rwxr-xr-x 1 root root 4536 May 16 2012 bittorrent.sh
-rwxr-xr-x 1 root root 4666 Oct 8 2010 bonjour.sh
-rwxr-xr-x 1 root root 1232 Mar 6 2013 bootcomplete.sh
-rwxr-xr-x 1 root root 1437 Jan 31 2013 bridge_control.sh
-rwxr-xr-x 1 root root 254 Jan 31 2013 checkSysMd.sh
-rwxr-xr-x 1 root root 1687 Jan 31 2013 check_initialization.sh
-rwxr-xr-x 1 root root 40 Jan 31 2013 check_smart.sh
-rwxr-xr-x 1 root root 1795 Jan 31 2013 checkconfig.sh
-rwxr-xr-x 1 root root 1218 Jan 31 2013 checkroot.sh
-rwxr-xr-x 1 root root 4519 Jul 12 2011 chimera-control.sh
-rwxr-xr-x 1 root root 1707 Jan 31 2013 clientUtil_servd.sh
-rwxr-xr-x 1 root root 76 Jan 31 2013 closeSysMd.sh
-rwxr-xr-x 1 root root 946 Jan 31 2013 consoled.sh
-rwxr-xr-x 1 root root 55 Jan 31 2013 create_devlink.sh
-rwxr-xr-x 1 root root 877 Jan 31 2013 cron.sh
-rwxr-xr-x 1 root root 378 Jan 31 2013 daemonwatch.sh
-rwxr-xr-x 1 root root 816 Jan 31 2013 devpts.sh
-rwxr-xr-x 1 root root 538 Jan 31 2013 dhcps.sh
-rwxr-xr-x 1 root root 350 Jan 31 2013 diskmon.sh
-rwxr-xr-x 1 root root 1047 Jan 31 2013 dnrd.sh
-rwxr-xr-x 1 root root 743 Jan 31 2013 drivecheck.sh
lrwxrwxrwx 1 root root 9 Aug 17 15:35 dwarf.sh -> dwarfd.sh
-rwxr-xr-x 1 root root 1954 Jul 2 2010 dwarfd.sh
-rwxr-xr-x 1 root root 509 Jan 31 2013 errormon.sh
-rwxr-xr-x 1 root root 987 Jan 31 2013 fanctld.sh
-rwxr-xr-x 1 root root 546 Jan 31 2013 firewall.sh
-rwxr-xr-x 1 root root 9919 Mar 7 2013 fo_server.sh
-rwxr-xr-x 1 root root 372 Jan 31 2013 free_ramdisk.sh
-rwxr-xr-x 1 root root 1688 Oct 26 2012 ftpd.sh
-rwxr-xr-x 1 root root 1893 Jul 22 2011 fuse
-rwxr-xr-x 1 root root 5732 Jan 31 2013 hdd_late_check.sh
-rwxr-xr-x 1 root root 845 Jan 31 2013 hdd_spindown_control.sh
-rwxr-xr-x 1 root root 152 Jan 31 2013 hotplug.sh
-rwxr-xr-x 1 root root 1864 Jan 31 2013 httpd.sh
-rwxr-xr-x 1 root root 1015 Jan 31 2013 httpd.sh_apache
-rwxr-xr-x 1 root root 648 Jan 31 2013 inetd.sh
-rwxr-xr-x 1 root root 51 Jul 8 2010 init_sem.sh
-rwxr-xr-x 1 root root 4311 Jan 31 2013 iptables.sh
-rwxr-xr-x 1 root root 3110 Jul 5 2010 iscsi-target.sh
-rwxr-xr-x 1 root root 2981 Jul 2 2010 itunes.sh
-rwxr-xr-x 1 root root 586 Jan 31 2013 kernelmon.sh
-rwxr-xr-x 1 root root 3120 Nov 7 2012 lighttpd.sh
-rwxr-xr-x 1 root root 4043 Jan 31 2013 log_save.sh
-rwxr-xr-x 1 root root 445 Mar 6 2013 logchkd.sh
-rwxr-xr-x 1 root root 43 Jan 31 2013 logtag
-rwxr-xr-x 1 root root 4091 Nov 9 2010 lprng.sh
-rwxr-xr-x 1 root root 649 Jan 31 2013 lsprcvd.sh
-rwxr-xr-x 1 root root 209 Jan 31 2013 lvm.sh
-rwxr-xr-x 1 root root 645 Jan 31 2013 mdadm.sh
-rwxr-xr-x 1 root root 1040 Jan 31 2013 micon_setup.sh
-rwxr-xr-x 1 root root 1521 Jan 31 2013 miconmon.sh
-rwxr-xr-x 1 root root 641 Aug 16 21:12 minimserver
-rwxr-xr-x 1 root root 1876 Jan 31 2013 modules.sh
-rwxr-xr-x 1 root root 52 Jan 31 2013 mount_share.sh
-rwxr-xr-x 1 root root 3254 Jan 13 2011 mysql.sh
-rwxr-xr-x 1 root root 317 Jan 31 2013 network_control.sh
-rwxr-xr-x 1 root root 18533 Jan 31 2013 networking.sh
-rwxr-xr-x 1 root root 2719 Jan 31 2013 nfs.sh
-rwxr-xr-x 1 root root 789 Jun 13 2011 ntfs.sh
-rwxrwxrwx 1 root root 4338 Jun 16 11:59 plex.sh
-rwxr-xr-x 1 root root 778 Jan 31 2013 pmcd.sh
-rwxr-xr-x 1 root root 437 Jan 31 2013 process_killer.sh
-rwxr-xr-x 1 root root 501 Jan 31 2013 procps.sh
-rwxr-xr-x 1 root root 3655 Mar 6 2013 pwrmgr.sh
-rwxr-xr-x 1 root root 692 Jan 31 2013 rcDown
-rwxr-xr-x 1 root root 3493 Mar 21 21:01 rcS
-rwxr-xr-x 1 root root 161 Jan 31 2013 reboot.sh
-rwxr-xr-x 1 root root 266 Jan 31 2013 reboot_start.sh
-rwxr-xr-x 1 root root 579 Jan 31 2013 remove_appledb.sh
-rwxr-xr-x 1 root root 12851 Jan 31 2013 replication.sh
-rwxr-xr-x 1 root root 2309 Jan 31 2013 restore_config.sh
-rwxr-xr-x 1 root root 53 Jan 31 2013 save_config.sh
-rwxr-xr-x 1 root root 107 Jan 31 2013 sendsigs.sh
-rwxr-xr-x 1 root root 8131 Jan 31 2013 set_quota.sh
-rwxr-xr-x 1 root root 1275 Jan 31 2013 sethostname.sh
-rwxr-xr-x 1 root root 1266 Jan 31 2013 shutdown_proc.sh
-rwxr-xr-x 1 root root 2653 Mar 6 2013 shutdown_start.sh
-rwxr-xr-x 1 root root 7294 Jun 5 2012 smb.sh
-rwxr-xr-x 1 root root 1337 May 27 2011 snmpd.sh
-rwxr-xr-x 1 root root 17066 Aug 20 2012 splx
-rwxr-xr-x 1 root root 9939 Aug 20 2012 splx_buffalo.sh
-rwxr-xr-x 1 root root 772 May 26 2011 splx_watchd.sh
-rwxr-xr-x 1 root root 1336 Sep 21 2010 splxboot
-rwxr-xr-x 1 root root 32179 Aug 20 2012 splxcore
-rwxr-xr-x 1 root root 15397 Aug 20 2012 splxhttpd
-rwxr-xr-x 1 root root 7898 Sep 2 2011 squeeze.sh
-rwxr-xr-x 1 root root 2069 Jul 4 2011 sshd.sh
-rwxr-xr-x 1 root root 2972 Mar 6 2013 standby.rcDown
-rwxr-xr-x 1 root root 1902 Mar 6 2013 standby.rcS
-rwxr-xr-x 1 root root 637 Jan 31 2013 startSysMd.sh
-rwxr-xr-x 1 root root 21578 Jan 31 2013 start_data_array.sh
-rwxr-xr-x 1 root root 2472 Jan 31 2013 syslog.sh
-rwxr-xr-x 1 root root 6578 Jan 31 2013 syslog_user_setup.sh
-rwxr-xr-x 1 root root 26898 Dec 10 2010 twonky.sh
-rwxr-xr-x 1 root root 114 Jan 31 2013 umount_disk.sh
-rwxr-xr-x 1 root root 14691 Aug 23 2011 update_notifications.sh
-rwxr-xr-x 1 root root 1192 Jan 31 2013 update_ntp.sh
-rwxr-xr-x 1 root root 990 Jan 31 2013 upnpd.sh
-rwxr-xr-x 1 root root 6793 Oct 24 2012 ups.sh
-rwxr-xr-x 1 root root 388 Jan 31 2013 ups_late_check.sh
-rwxr-xr-x 1 root root 1575 Jan 31 2013 usb.sh
-rwxr-xr-x 1 root root 199 Jan 31 2013 usb_late_check.sh
-rwxr-xr-x 1 root root 385 Jan 31 2013 vm_tune.sh
-rwxr-xr-x 1 root root 5567 Mar 6 2013 wafs.sh
-rwxr-xr-x 1 root root 2147 Jan 31 2013 wol.sh
-rwxr-xr-x 1 root root 1032 Jan 31 2013 xmlrpc.sh
root@paapnas:/usr/local#
Find all posts by this user
Quote this message in a reply
18-08-2014, 11:35
Post: #38
RE: Install on terastation intel atom
Please try doing the following:

ln -s /etc/init.d/minimserver /etc/init.d/rc.d/extensions.d/S40_minimserver.sh
ln -s /etc/init.d/minimserver /etc/init.d/rc.d/extensions.d/K60_minimserver.sh

then restart the NAS.
Find all posts by this user
Quote this message in a reply
18-08-2014, 12:47
Post: #39
RE: Install on terastation intel atom
(18-08-2014 11:35)simoncn Wrote:  Please try doing the following:

ln -s /etc/init.d/minimserver /etc/init.d/rc.d/extensions.d/S40_minimserver.sh
ln -s /etc/init.d/minimserver /etc/init.d/rc.d/extensions.d/K60_minimserver.sh
I did try this but it didn't work. It returned:
root@paapnas:/# ln -s /etc/init.d/minimserver /etc/init.d/rc.d/extensions.d/S40_minimserver.sh
ln: /etc/init.d/rc.d/extensions.d/S40_minimserver.sh: No such file or directory

I changed it to ln -s /etc/init.d/minimserver S40_minimserver.sh and ln -s /etc/init.d/minimserver K60_minimserver.sh. while being in /etc/rc.d/extensions.d

Restarted and YES.

Thank you very much
Find all posts by this user
Quote this message in a reply
18-08-2014, 14:33
Post: #40
RE: Install on terastation intel atom
(18-08-2014 12:47)hpapen Wrote:  I did try this but it didn't work. It returned:
root@paapnas:/# ln -s /etc/init.d/minimserver /etc/init.d/rc.d/extensions.d/S40_minimserver.sh
ln: /etc/init.d/rc.d/extensions.d/S40_minimserver.sh: No such file or directory

I changed it to ln -s /etc/init.d/minimserver S40_minimserver.sh and ln -s /etc/init.d/minimserver K60_minimserver.sh. while being in /etc/rc.d/extensions.d

I had the paths slightly wrong. It should have been:

ln -s /etc/init.d/minimserver /etc/rc.d/extensions.d/S40_minimserver.sh
ln -s /etc/init.d/minimserver /etc/rc.d/extensions.d/K60_minimserver.sh

The way you have done it is fine.

Quote:Restarted and YES.

Thank you very much

Thanks very much for your help with this. I will publish an updated Linux download that creates these links automatically if there is a /etc/rc.d/extensions.d directory.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)