LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   avahi deamon failed at startup (http://www.linuxquestions.org/questions/linux-newbie-8/avahi-deamon-failed-at-startup-815873/)

mq15 06-23-2010 05:17 AM

avahi deamon failed at startup
 
I am getting avahi daemon failed message at startup and after that the screen keep flickering but no login screen appears. I have read somewhere at the Internet that the cause is full usage of /tmp. Further they advised to delete /tmp/X0-lock. I am using fedora9. Please tell me:
1. If deleting /tmp/X0-lock will be safe?
2. To do this, how can I access the command line when system is not starting up ?

Thanks

mq15 06-23-2010 12:51 PM

How to access root to view /var/log/messages
 
Someone has suggested that this may be caused when there is no space left in the Filesystem partition. I must view /var/log/messages to see what happened when the problem occured. But at the time I am logged into the system using LiveUSB :
Code:

[fedora@localhost ~]$ su
[root@localhost fedora]# cat /var/log/messages | grep -i avahi
Jun 23 17:18:26 localhost avahi-daemon[3049]: Found user 'avahi' (UID 498) and group 'avahi' (GID 495).
Jun 23 17:18:26 localhost avahi-daemon[3049]: Successfully dropped root privileges.
Jun 23 17:18:26 localhost avahi-daemon[3049]: avahi-daemon 0.6.22 starting up.
Jun 23 17:18:26 localhost avahi-daemon[3049]: Successfully called chroot().
Jun 23 17:18:26 localhost avahi-daemon[3049]: Successfully dropped remaining capabilities.
Jun 23 17:18:26 localhost avahi-daemon[3049]: Loading service file /services/ssh.service.
Jun 23 17:18:26 localhost avahi-daemon[3049]: System host name is set to 'localhost'. This is not a suitable mDNS host name, looking for alternatives.
Jun 23 17:18:26 localhost avahi-daemon[3049]: Network interface enumeration completed.
Jun 23 17:18:26 localhost avahi-daemon[3049]: Registering HINFO record with values 'I686'/'LINUX'.
Jun 23 17:18:26 localhost avahi-daemon[3049]: Server startup complete. Host name is linux.local. Local service cookie is 1211811720.
Jun 23 17:18:26 localhost avahi-daemon[3049]: Service "linux" (/services/ssh.service) successfully established.
Jun 23 17:18:31 localhost avahi-daemon[3049]: Registering new address record for fe80::21e:68ff:fec3:dcc8 on eth0.*.
Jun 23 17:18:33 localhost avahi-daemon[3049]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.2.
Jun 23 17:18:33 localhost avahi-daemon[3049]: New relevant interface eth0.IPv4 for mDNS.
Jun 23 17:18:33 localhost avahi-daemon[3049]: Registering new address record for 192.168.1.2 on eth0.IPv4.

But I think these /var/log/messages doesn't belong to the one that created the problem instead they belong to that of LiveUSB only. Please note that when I put su command, I am not promted for password. So I don't think I am actually logged in as root.

This is very disastrous situation. Please help me on how to access root or any other user to view /var/log/messages or to delete some files from Filesystem.

Thanks

mq15 06-24-2010 06:03 AM

Unable to empty Trash now
 
When booting through LiveUSB, when log-in screen appears, I clicked Cancel instead of OK. Then Fedora Live, Automatic Login and Other are shown as login options. I selected Other and in the username box that appeared next I typed root and pressed enter. I was never asked for the root password but I can now access all my drive partitions.
I noticed that zero free space was left on my Filesystem. So I have now deleted some bulky files to make some space. But the problem is that deleted files are accumulated in the Trash and it is not being empted. I know that Trash folder is found in /root/.local/share/Trash/files directory. But I found no files in this directory. When in Trash folder I select Empty Trash, nothing happens. When I manually delete a file (say patch-ns-2.27-FSR-v081.zip), I get this message:
Code:

There was an error getting information about "media____.Trash-0_patch-ns-2.27-FSR-v081.zip".
Show more details:
Error stating file '/media__.Trash-0/files/patch-ns-2.27-FSR-v081.zip': No such file or directory

I have already searched a lot on this issue on the Internet but no trick works. Please help me.

mq15 06-24-2010 06:19 AM

I don't know which information will be useful to show here. Please consider this:
Code:

[root@localhost ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/live-rw  4.0G  2.2G  1.9G  55% /
tmpfs                505M  60K  505M  1% /dev/shm
/dev/sdb1            1.9G  887M  1.1G  46% /mnt/live
/dev/sda1              31G  30G  1.5G  96% /media/disk
/dev/sda2              71G  63G  7.8G  89% /media/New Volume
/dev/sda3            9.0G  8.5G    0 100% /media/_
gvfs-fuse-daemon      4.0G  2.2G  1.9G  55% /root/.gvfs


mq15 06-26-2010 07:36 AM

Successfully Rescued !!
 
What I did is: I stopped deleting any more files from the filesystem as all the files I was deleting were merely being accumulated in Trash directory, releasing no disk space.I moved some files from filesystem to other partitions and then deleted such files from the other partition. Now these files were deleted bypassing the Trash.

Thanks

PS: I think this will be the first thread of it's kind in which the problem is reported and resolved by the Original Poster himself only.


All times are GMT -5. The time now is 09:08 AM.