05-09-2012
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.
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
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Solaris
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
3. Emergency UNIX and Linux Support
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
4. HP-UX
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
5. Ubuntu
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
6. UNIX for Dummies Questions & Answers
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
7. HP-UX
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
8. SuSE
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
LEARN ABOUT OSF1
db_recover
db_recover(8) System Manager's Manual db_recover(8)
NAME
db_recover - Restores the database to a consistent state (Enhanced Security)
SYNOPSIS
/usr/tcb/bin/db_recover [-cv] [-h home]
FLAGS
Failure was catastrophic. Specify a home directory for the database. The correct directory for enhanced security is /var/tcb/files.
Write out the pathnames of all of the database log files, whether or not they are involved in active transactions. Run in verbose mode.
DESCRIPTION
A customized version of the Berkeley Database (Berkeley DB) is embedded in the operating system to provide high-performance database sup-
port for critical security files. The DB includes full transactional support and database recovery, using write-ahead logging and check-
pointing to record changes.
The db_recover utility runs after an unexpected system failure to restore the security database to a consistent state. All committed
transactions are guaranteed to appear after db_recover has run, and all uncommitted transactions are completely undone. DB recovery is
normally performed automatically for the security files as part of system startup.
In the case of catastrophic failure, an archival copy, or snapshot of all database files must be restored along with all of the log files
written since the database file snapshot was made. (If disk space is a problem, log files may be referenced by symbolic links).
If the failure was not catastrophic, the files present on the system at the time of failure are sufficient to perform recovery.
If log files are missing, db_recover identifies the missing log files and fails, in which case the missing log files need to be restored
and recovery performed again.
The db_recover utility attaches to one or more of the Berkeley DB shared memory regions. In order to avoid region corruption, it should
always be given the chance to detach and exit gracefully. To cause db_recover to clean up after itself and exit, send it an interrupt sig-
nal (SIGINT).
RETURN VALUES
The db_recover utility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT VARIABLES
If the -h option is not specified and the environment variable DB_HOME is set, it is used as the path of the database home. The home
directory for security is /var/tcb/files.
FILES
/var/tcb/files/auth.db
/var/tcb/files/dblogs/*
RELATED INFORMATION
Commands: db_archive(8), db_checkpoint(8), db_printlog(8), db_dump(8), db_load(8), db_stat(8), secconfig(8) delim off
db_recover(8)