Page 1 of 2

bubba.local not resolved

Posted: 17 Jun 2011, 07:04
by MrMastermindNL
Hi,

I've been using my B2 for two years now and it is still working fine. However, since last week, the http://bubba.local doesn't resolve anymore so I have to use the ip-address. Also on my MacBook I cannot access the smb mount anymore.

Any ideas on how to solve this?

Thanks in advance,
Marco

Re: bubba.local not resolved

Posted: 17 Jun 2011, 07:49
by DanielM
First thing I'd try would be restarting samba (ssh into the machine and run "/etc/init.d/samba restart"). If that doesn't help, check the logs in /var/log/samba, maybe they say something about what's wrong.

/Daniel

Re: bubba.local not resolved

Posted: 17 Jun 2011, 08:51
by MrMastermindNL
Thanks Daniel, although I'm not sure what to look for in the log. I also restarted the samba before, with no result. But when now using the afp to connect to a share, the smb seems to work again also.

Besides that, the http://bubba.local still doesn't resolve. But that ofcourse has nothing to do with the samba issue.

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:14
by Eek
you could try to restart your avahi-daemon

ssh into the machine and run /etc/init.d/avahi-daemon restart

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:28
by MrMastermindNL
Hi Eek,
Thanks for the suggestion. I tried restarting the avahi-deamon, but it fails. Where to go from here?

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:38
by Eek
you can check or post the log information in the file /var/log/syslog

should be something in there that looks like

Code: Select all

Jun 17 16:37:11 bubba avahi-daemon[2214]: avahi-daemon 0.6.16 starting up.

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:44
by MrMastermindNL
I found some lines:

Code: Select all

Jun 17 16:16:45 bubba avahi-daemon[21603]: Found user 'avahi' (UID 109) and group 'avahi' (GID 111).
Jun 17 16:16:45 bubba avahi-daemon[21603]: Successfully dropped root privileges.
Jun 17 16:16:45 bubba avahi-daemon[21603]: write(): No space left on device
Jun 17 16:16:45 bubba avahi-daemon[21603]: Failed to create PID file: No space left on device
That's all it is saying about it. I might have to clear some space, but as I'm no linux man I wouldn't know what to clear.

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:53
by Eek
Could you do a
df -k

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:54
by MrMastermindNL
That give's me the following:

Code: Select all

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              9621848   9421452         0 100% /
tmpfs                   127900         0    127900   0% /lib/init/rw
udev                     10240        24     10216   1% /dev
tmpfs                   127900         4    127896   1% /dev/shm
/dev/mapper/bubba-storage
                     950669364  42960328 859417812   5% /home

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:55
by RandomUsername
For starters run

Code: Select all

df -h
from the command line and have a look if any disks are full.

Also, /tmp is a likely suspect so run

Code: Select all

du -hs /tmp
and see what it reports as the size.

Re: bubba.local not resolved

Posted: 17 Jun 2011, 10:57
by Eek
Your disk is full
You can see what are the biggest files

Code: Select all

cd /
du -k .|sort -n

Re: bubba.local not resolved

Posted: 17 Jun 2011, 11:13
by MrMastermindNL
Thanks for the info. The sorted by filesize also returns files on my storage volumes, while I think I need to clear space on the system volume (but not really sure). Looking at the result of the filesystem:

Code: Select all

    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sda1              9621848   9421452         0 100% /
    tmpfs                   127900         0    127900   0% /lib/init/rw
    udev                     10240        24     10216   1% /dev
    tmpfs                   127900         4    127896   1% /dev/shm
    /dev/mapper/bubba-storage
                         950669364  42960328 859417812   5% /home
It says I have around 850GB of space available, but on the /dev/sda1 there's none left. So how and what can I clear there?

Re: bubba.local not resolved

Posted: 17 Jun 2011, 11:20
by Eek
Just delete some big files from the sorted list

Code: Select all

cd /
du -k . | sort -n | grep -v \/home
Probably files in the directories /tmp or /var/log

Re: bubba.local not resolved

Posted: 17 Jun 2011, 13:14
by Eek
Yes, there is enough space on the samba shares or /home mount

Re: bubba.local not resolved

Posted: 17 Jun 2011, 13:32
by MrMastermindNL
Thanks for all the help Eek. I cleared the maildrop using

Code: Select all

postsuper -d ALL -v
Now I have 85% free space again.
Do I really need the maildrop? Or is there a way to regulate the files created?