LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-23-2010, 05:17 AM   #1
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Rep: Reputation: 30
Question 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
 
Old 06-23-2010, 12:51 PM   #2
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Original Poster
Rep: Reputation: 30
Question 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
 
Old 06-24-2010, 06:03 AM   #3
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Original Poster
Rep: Reputation: 30
Question 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.

Last edited by mq15; 06-24-2010 at 06:18 AM.
 
Old 06-24-2010, 06:19 AM   #4
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Original Poster
Rep: Reputation: 30
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

Last edited by mq15; 06-24-2010 at 06:21 AM.
 
Old 06-26-2010, 07:36 AM   #5
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Original Poster
Rep: Reputation: 30
Smile 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.

Last edited by mq15; 06-26-2010 at 07:41 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.xsession-errors: Failed to execute mesage bus deamon:No such file or directory chakra Linux - Newbie 1 03-10-2009 11:54 AM
Avahi-daemon on startup OR13 Fedora 1 07-13-2006 12:24 PM
Recovery after removing avahi deamon sorenchr Fedora 2 07-04-2006 12:09 AM
CRON deamon lockup during startup. Dr.Jamescook Suse/Novell 0 11-11-2004 08:56 PM
make a deamon startup at boot time kernelvn Fedora 4 10-20-2004 06:50 PM


All times are GMT -5. The time now is 11:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration