LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2005, 10:16 AM   #1
manudath
Member
 
Registered: Oct 2004
Posts: 42

Rep: Reputation: 15
/var device busy


Hi,

I installed a Red Hat Enterprise Edition WS on my system... I gave 1GB for /var on my 40GB hard drive... and I selected the Mail server package while installation since I wanted to play around with sendmail.

But, right from the first shutdown, whenever I halt/reboot my system, I get a message similar to:
"/var: Unable to unmount filesystem ..." It checks for 3 times and fails and continues rebooting / halting...

I thought there might be some problem with my installation/machine, and tried it again... and also in a different machine. I still get the same error... I read online that if I put a 5-10 second delay in /etc/init.d/halt (just before it tries to umount the /var system), I can correct this... But it did not work...

One more strange thing - whenever I shutdown/reboot my system within a few minutes of booting, I dont get any error and all filesystems are unmounted properly... Only after working on something for sometime and then i reboot/shutdown, I get this error...

Can you please help me what's worng with it and how do I correct it?

Thanks a lot,
Manudath
 
Old 01-06-2005, 11:21 PM   #2
bobbyjoe
Member
 
Registered: Nov 2004
Posts: 46

Rep: Reputation: 15
I don't think you did something wrong.
Just start your Computer, let it run 5/10 min (to get the error at halt)

And before halting the system, try to umount /var as root.

Now check if you get the same error.

If the reply is YES, its good !
try that:
fuser -v /var

will return what process ID is in use of that directory. Its probably your mail deamon/client that check your mailbox every 10 mins, and use /var/spool/mail to put new received messages. But I'm tired, so do not read this
 
Old 01-17-2005, 12:13 PM   #3
manudath
Member
 
Registered: Oct 2004
Posts: 42

Original Poster
Rep: Reputation: 15
Hi,

I tried the unmounting /var before shutting down and it gave the same error:

[root@localhost root]# umount /var
umount: /var: device is busy
[root@localhost root]# fuser -v /var

USER PID ACCESS COMMAND
/var root kernel mount /var
[root@localhost root]#

What can I do now?

Thanks,
Manudath
 
  


Reply



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
/var : device is busy bigdawg352 Red Hat 3 09-14-2012 11:08 AM
/: Device busy? ginda Linux - Newbie 4 02-02-2005 04:29 PM
Device is busy anamika123 Linux - General 6 09-19-2004 11:58 AM
umount /var device is busy (unclean shutdown) feetyouwell Linux - Software 3 09-13-2004 06:18 PM
umount /var device busy winchester169 Linux - Networking 1 06-25-2004 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration