NS2 unreachable

Post Reply
enkratno
Posts: 9
Joined: Fri Oct 07, 2011 6:08 pm

NS2 unreachable

Post by enkratno » Fri Oct 07, 2011 6:12 pm

hi

i'm using an NS2 disk and since few days i'm not able to mount it on ubuntu release :
mount error(111): Connection refused
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
if i try by the web interface, not possible to have the login page, only one time i could log in but settings where uncomplete
( like timer to start disk).

My disk is reacheable by FTP normally.

The firmware is the default one.Since i can't reach NS2 , ubuntu said boot device where changed, but after repair, NS2 still unreachable..

what can i do to fix this ?

thanks

enkratno
Posts: 9
Joined: Fri Oct 07, 2011 6:08 pm

Re: NS2 unreachable

Post by enkratno » Sun Oct 09, 2011 2:08 pm

so the disk is reachable by FTP, i think about a samba issue...just strange to have the same problem with windows no ?

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: NS2 unreachable

Post by Mijzelf » Sun Oct 09, 2011 6:01 pm

Did you already try a factory reset?

enkratno
Posts: 9
Joined: Fri Oct 07, 2011 6:08 pm

Re: NS2 unreachable

Post by enkratno » Tue Nov 01, 2011 9:23 pm

yes, the blue light blink all time, the disk seem to load the os but cannot at list

before i had FTP access but now i get a EHOSTUNREACH - No route to host

web interface : one time incomplete access, and now impossible access ! ...so i go to try the HDD on a PC with SATA connecting to see if i access the datas...

i think about a media server overload...because i'm using a dual boot XP/ubuntu pc, and problems came after using itunes on xp pro...after that samba came crazy...and now nothing works

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: NS2 unreachable

Post by Mijzelf » Wed Nov 02, 2011 12:17 pm

Media server? On the NS1 it sometimes happens that a logfile of twonky goes out of control, ultimately kicking the device from the network. See here for more details.

enkratno
Posts: 9
Joined: Fri Oct 07, 2011 6:08 pm

Re: NS2 unreachable

Post by enkratno » Sun Nov 06, 2011 2:31 pm

ok i've open the box and connected the hdd via sata port to my desktop.

in a terminal i've this :

Disque /dev/sdc: 1000.2 Go, 1000204886016 octets
255 têtes, 63 secteurs/piste, 121601 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0x00000000

Périphérique Amorce Début Fin Blocs Id Système
/dev/sdc1 1 250 2008093+ 5 Etendue
/dev/sdc2 251 121601 974751907+ 83 Linux
/dev/sdc5 1 32 256977 82 Linux swap / Solaris
/dev/sdc6 33 33 8001 83 Linux
/dev/sdc7 34 34 8001 83 Linux
/dev/sdc8 35 140 851413+ 83 Linux
/dev/sdc9 141 249 875511 83 Linux
/dev/sdc10 250 250 8001 83 Linux

and i do that :
~$ sudo mount /dev/sdc2 /media/NS2
and i 've full access to the disk..i can copy from NS2 hdd to another hdd...

what i do modify or clean , verify to my NS2 can run in is box again ?

thanks

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: NS2 unreachable

Post by Mijzelf » Sun Nov 06, 2011 8:33 pm

Did you read the thread I gave you? You should mount /dev/sdc9, and then run 'df', which shows partition usage. If sdc9 appears to be full, seach the partition for a multi-megabyte logfile, and delete it.

enkratno
Posts: 9
Joined: Fri Oct 07, 2011 6:08 pm

Re: NS2 unreachable

Post by enkratno » Mon Nov 07, 2011 6:36 pm

yes i read it but not understand all...so i go to do you tell me..

EDIT :

Code: Select all

$ df
Sys. de fichiers           1K-blocs   Utilisé    Dispo. Uti% Monté sur
/dev/sdb1            147891664  12453592 127925548   9% /
none                   1026608       308   1026300   1% /dev
none                   1030848      1620   1029228   1% /dev/shm
none                   1030848       348   1030500   1% /var/run
none                   1030848         0   1030848   0% /var/lock
none                   1030848         0   1030848   0% /lib/init/rw
/dev/sda5            108872472  48298640  60573832  45% /media/ECHANGE
/dev/sdc9               861728    861728         0 100% /media/DEPAN
in /media/DEPAN/EDMINI/var/log aka sdc9/var/log , i've some logs about differents things, witch i could to delete ?
this is the list of files:

Code: Select all

$ sudo ls -l /media/DEPAN/EDMINI/var/log
total 839344
drwxr-xr-x 2 root root      4096 2011-10-06 00:00 cups
-rw-r----- 1 root root         0 2011-11-01 22:33 dmesg
-rw-r--r-- 1 root root     32908 2011-10-16 13:37 lighttpd-error.log
-rw-r--r-- 1 root root    205116 2011-07-02 02:00 lighttpd-error.log.1
-rw-r--r-- 1 root root    159744 2011-11-01 22:33 messages
-rw-r--r-- 1 root root    222876 2011-09-29 18:01 messages.1
-rw-r--r-- 1 root root    225069 2011-09-19 18:00 messages.2
-rw-r--r-- 1 root root    229088 2011-09-11 16:00 messages.3
-rw-r--r-- 1 root root 592990208 2011-10-04 02:12 mt-daapd.log
-rw-r--r-- 1 root root   1945600 2011-11-01 22:00 mt-daapd.log.1
-rw-r--r-- 1 root root 260935680 2011-11-01 00:00 mt-daapd.log.2
-rw-r--r-- 1 root root     49414 2009-10-29 22:18 pacman.log
drwxr-xr-x 3 root root      4096 2011-10-05 23:06 samba
-rw-r--r-- 1 root root     89878 2011-10-16 13:39 smart_spindown.log
-rw-r--r-- 1 root root         0 2011-10-04 20:00 transmission.log
-rw-r--r-- 1 root root    221861 2011-10-05 02:00 transmission.log.1
-rw-r--r-- 1 root root    163840 2011-10-16 13:57 unicorn.log
-rw-r--r-- 1 root root    426587 2011-10-05 02:00 unicorn.log.1
-rw-r--r-- 1 root root    208896 2011-09-26 19:59 unicorn.log.2
-rw-r--r-- 1 root root    211289 2011-09-21 13:45 unicorn.log.3
-rw-rw-r-- 1 root root    233472 2011-11-01 22:33 wtmp
mt-daapd.log seem to be the guilty...no ?

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: NS2 unreachable

Post by Mijzelf » Mon Nov 07, 2011 7:42 pm

enkratno wrote:mt-daapd.log seem to be the guilty...no ?
Definitely. You can delete all three mt-daapd log files. (Actually you could delete all logfiles, but the others are acting normal)
It might be a good idea to look *in* the logs to see why they became that big. Mt-daapd.log.1 is the easiest, as it's not ridiculous big.

enkratno
Posts: 9
Joined: Fri Oct 07, 2011 6:08 pm

Re: NS2 unreachable

Post by enkratno » Tue Nov 08, 2011 9:07 pm

i've delete mt-daapd.log 's files...and NS2 restart and is reachable now :)
but the web interface not...which log do i delete ?

in mt-daapd.log , there is info about listing files on each start of the ns2 , i think...

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: NS2 unreachable

Post by Mijzelf » Wed Nov 09, 2011 10:47 am

enkratno wrote:which log do i delete ?
Logfiles are write-only, from the OS point of view. So unless a logfile is occupying all available space, it has no influence on the running of the box.
I *think* some other file has been damaged due to lack of diskspace. The only file I can think of is unicorn.db, which can be found in sda9/snaps/XX/etc.
You can delete this file, a new one will be generated automatically.
enkratno wrote:in mt-daapd.log , there is info about listing files on each start of the ns2 , i think...
There must be more. mt-daapd.log was almost 600MB.

langerak
Posts: 160
Joined: Sat May 29, 2010 6:37 pm

Re: NS2 unreachable

Post by langerak » Fri Nov 11, 2011 4:04 pm

I've had similar problems on my EDMini, there I made symlinks for the logs to /dev/null ;), endless storage for your logs! :D

enkratno
Posts: 9
Joined: Fri Oct 07, 2011 6:08 pm

Re: NS2 unreachable

Post by enkratno » Sun Nov 20, 2011 8:51 am

is it secure to do symlink to dead end ?
can i delete all logs files ?

i've deleted unicord.db but now i've this :

Code: Select all

~$ sudo mount -a
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
and web interface doesn't load or give access...

path seem to has changed to : smb://networkspace2/openshare/Recovery/OpenShare

can i delete all log files?

EDIT: ok after scanning all files i can set the ns2 via webinterface, but path steel keep Recovery/ in...

Post Reply