Suse 8 /var Directory

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Suse 8 /var Directory
# 1  
Old 05-09-2012
Question Suse 8 /var Directory

Hi there,
I'm working on a Suse 8 based system and picked up that the crontab was missing. after some investigation i realized that the hole /var directory is missing. Smilie

I would like to now if its common for this directory to go missing?
Can I copy another Suse 8 /var directory to this one? or would it break the machine?

Kind Regards
# 2  
Old 05-09-2012
Maybe it is just not mounted. Check
Code:
grep var /etc/fstab

# 3  
Old 05-09-2012
As far as I know its not set up as a partition.
This machine was not rebooted for 40 days.
# uptime
8:01pm up 40 days, 11:37, 0 users, load average: 3.08, 3.06, 3.05
When I do "grep var /etc/fstab" its not showing anything.

Do you think this will come back after a reboot?

Kind Regards
# 4  
Old 05-09-2012
Maybe something was mounted over "var" (unlikely but possible). Check
Code:
mount | grep var

# 5  
Old 05-09-2012
If I run this i just get a #. What does that mean?? LOL
mount | grep var
# 6  
Old 05-09-2012
Can you post full command that you run with its output?
# 7  
Old 05-09-2012
This is what I'm getting on both commands.

0091173:/ #
0091173:/ # grep var /etc/fstab
0091173:/ #
0091173:/ # mount | grep var
0091173:/ #
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. SuSE

Non root user want to see /var/log/messages - any suse equivalent of Solaris dmesg

Hi New to Suse - mainly used Solaris. In solaris dmesg will also show you contents of messages log file but in Suse Liux it doesnt appear to. I dont have root access to this Suse server, and wondering is there any other tool / utility that allows me to see the messages file contents like on... (1 Reply)
Discussion started by: frustrated1
1 Replies

2. HP-UX

Unidentified File on /var Directory

Hi All, I'm having problem with /var directory which is keep increasing. Here's the output of bdf and du command # uname -a HP-UX rppmis1 B.11.11 U 9000/800 1153414645 unlimited-user license # bdf /var Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol8 ... (8 Replies)
Discussion started by: stu33
8 Replies

3. UNIX for Dummies Questions & Answers

How to protect directory var/www in debian?

hi i need somme help to protect directory in debian with user and pass var/www thank's (6 Replies)
Discussion started by: azzeddine2005
6 Replies

4. Ubuntu

problem with /var/mail directory

Hi, There is no "administrator" file in "/var/mail" directory........ can any one tell me what could be the reason for that?...and also how to resolve that??? Thanks, ~Kavi (4 Replies)
Discussion started by: kavi.mogu
4 Replies

5. HP-UX

[Solved] /var directory in HP-UX is showing 95%?

Hi Everyone, My var directory is showing near to 100% ? What are the files should i delete to make it less?? Kindly suggest # bdf -i Filesystem kbytes used avail %used iused ifree %iuse Mounted on /dev/vg00/lvol3 1048576 107616 933616 10% 3342 29394 10% /... (10 Replies)
Discussion started by: yadvinder
10 Replies

6. Emergency UNIX and Linux Support

/var/log/wtmp SuSE log permission rollback

Hello All, On my SuSE system, I have wtmp log this log file permission is 644 but every reboot the file permission rollback to 664. In the logrotate.conf and logrotate.d/wtmp files the wtmp logrotate set to 644. I would like to know, which "file" or "script" modify the wtmp log to rollback to... (7 Replies)
Discussion started by: kalaso
7 Replies

7. Solaris

Usage of /var/tmp/ directory on Solaris 10

Hi All, I have some threaded applications. Design of the application is such that one thread will decode some data and put it in data structure, And main thread will wait for another child threads pick up the decoded data. The data will be large decoded files. Once decoded data is picked by... (1 Reply)
Discussion started by: patilmuragesh
1 Replies

8. UNIX for Dummies Questions & Answers

Unix Swap File in /var directory

Thank you 98_1LE.... Please help required urgently... We are getting error message in SUN... Please give solution ERROR MESSAGE: NOTICE: alloc: /var: file system full Output of command "df -k" in our system is... Filesystem kbytes used avail capacity Mounted on... (1 Reply)
Discussion started by: wipro fluid power
1 Replies
Login or Register to Ask a Question