Page 1 of 1

Error, some other host already uses address

PostPosted: Thu Apr 23, 2009 11:12 am
by globalme
Whats the fastest way to delete all files under monitorDONE/orig ?

As I cant configure my local eth0 Lan IP.

When I chekc the disk space, it show 95% full.

[root@vicidialnow ~]# system-config-network
[root@vicidialnow ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Error, some other host already uses address 192.168 .0.100.
[FAILED]
Bringing up interface eth1: [ OK ]
[root@vicidialnow ~]#
[root@vicidialnow ~]# tcpdump -nni eth0
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
19:18:23.196513 IPX 00000000.00:24:21:19:ce:5b.4008 > 00000000.ff:ff:ff:ff:ff:ff .0452: ipx-sap-resp 0640 'LPDC[|ipx 64]
^[[B
1 packets captured
2 packets received by filter
0 packets dropped by kernel
[root@vicidialnow ~]# ping 192.168.0.100
PING 192.168.0.100 (192.168.0.100) 56(84) bytes of data.

--- 192.168.0.100 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms

[root@vicidialnow ~]# system-config-network
[root@vicidialnow ~]# du /|sort -rnb|more
du: `/proc/23459': No such file or directory
224413543 /
221127280 /var
202543784 /var/spool
115505052 /var/spool/asterisk
115504968 /var/spool/asterisk/monitorDONE
109632648 /var/spool/asterisk/monitorDONE/ORIG
87037572 /var/spool/clientmqueue


Any suggestions how to solve the problem ?

PostPosted: Thu Apr 23, 2009 12:56 pm
by Op3r
If you had bothered to read the scratch install you will encounter the crontab entry that shows this:

/usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +7 -print | xargs rm -f

You can use that to delete the recordings on monitorDONE/ORIG folder.

and the hard drive doesnt have any connections on why you cant configure your lan

PostPosted: Thu Apr 23, 2009 1:06 pm
by globalme
I am VicidialNOW and I never modified Original CronTab file.

Though I added few more but didn't remove or delete any.

And I guess I see an entry like

/usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +7 -print | xargs rm -f

But does that mean its not working ?

PostPosted: Thu Apr 23, 2009 1:16 pm
by Op3r
check crontab if it is commented.

PostPosted: Thu Apr 23, 2009 1:35 pm
by globalme
It was commented

I UNCOMMENTED it and rebooted but still see 95% HDD filled.

:-(

PostPosted: Thu Apr 23, 2009 1:47 pm
by mflorell
Did you run the command manually?

PostPosted: Thu Apr 23, 2009 1:58 pm
by globalme
I tried

find . -name '*' | xargs rm

Also, tried

/usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +7 -print | xargs rm -f

But it takes hell lot of time to delete files.

Btw, how much time it will take to delete 210 gb ? approx ?