New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

bubba.local not resolved

Got problems with your B2 or B3? Share and get helped!
MrMastermindNL
Posts: 15
Joined: 16 Apr 2010, 05:17

bubba.local not resolved

Post 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
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: bubba.local not resolved

Post 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
MrMastermindNL
Posts: 15
Joined: 16 Apr 2010, 05:17

Re: bubba.local not resolved

Post 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.
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: bubba.local not resolved

Post by Eek »

you could try to restart your avahi-daemon

ssh into the machine and run /etc/init.d/avahi-daemon restart
cheers
Eek
MrMastermindNL
Posts: 15
Joined: 16 Apr 2010, 05:17

Re: bubba.local not resolved

Post by MrMastermindNL »

Hi Eek,
Thanks for the suggestion. I tried restarting the avahi-deamon, but it fails. Where to go from here?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: bubba.local not resolved

Post 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.
cheers
Eek
MrMastermindNL
Posts: 15
Joined: 16 Apr 2010, 05:17

Re: bubba.local not resolved

Post 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.
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: bubba.local not resolved

Post by Eek »

Could you do a
df -k
cheers
Eek
MrMastermindNL
Posts: 15
Joined: 16 Apr 2010, 05:17

Re: bubba.local not resolved

Post 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
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: bubba.local not resolved

Post 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.
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: bubba.local not resolved

Post by Eek »

Your disk is full
You can see what are the biggest files

Code: Select all

cd /
du -k .|sort -n
cheers
Eek
MrMastermindNL
Posts: 15
Joined: 16 Apr 2010, 05:17

Re: bubba.local not resolved

Post 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?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: bubba.local not resolved

Post 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
cheers
Eek
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: bubba.local not resolved

Post by Eek »

Yes, there is enough space on the samba shares or /home mount
cheers
Eek
MrMastermindNL
Posts: 15
Joined: 16 Apr 2010, 05:17

Re: bubba.local not resolved

Post 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?
Post Reply