please help me solve this issue.........


 
Thread Tools Search this Thread
Operating Systems Solaris please help me solve this issue.........
# 1  
Old 05-17-2008
please help me solve this issue.........

Hi,

I am having a Solaris 5.9 server in which an audit trail script is running every day.It is doing nothing but taking the backup of three files given below

-rw-r--r-- 1 root root 1807 May 18 01:30 login_server1_17May2008
-rw-r--r-- 1 root root 0 May 18 01:30 msgs_server1_17May2008
-rw-r--r-- 1 root root 7168 May 18 01:30 history_server1_17May2008.tar

In which msgs_ file size is zero.I cleared wtmpx file and checked but it is not working .
I type dmesg also its showing an error at last line something like

May 15 14:51:19 server1 genunix: [ID 603404 kern.notice] NOTICE: core_log: cub7
5[27241] no space left on device, core truncated: /var/core/core_server1_cub75_ 207_103_1210843251_27241


What else i can do to solve this pbm??
# 2  
Old 05-19-2008
check the /var FS space

Thanks
# 3  
Old 05-21-2008
Please disable audit service within /var/audit directory.

It would probably hog up all of /var if it isn't disabled intime. Check with your team members who activated audit service on that box and why?

Cheers Smilie
# 4  
Old 05-21-2008
first of all, remove your core file or move it to some other location. As mentioned, check with your team. df -k and see the % used for file system. If its more than 80%,you need to housekeep. cd /var ;du -sk * |sort -rn to check the culprits and get rid of them. Use this for other partitions as well
# 5  
Old 05-22-2008
hi

'incredible' is right! You need to check the largest files... if they are core dumps or log files (thats what populat /var most of the times), just compress the older ones.

df -h (use -k for Solaris 8 and below) will give you the consumed capacity of your file systems. Your company must be keeping some sort of threshold levels to page/call the on call person to address the issue. We are using 80% for major alerts and 90% for critical alerts!

If it is some other file system than /var and the owner of the culprit files is not root, contact your help desk to contact the file owner to address the issue.

Cheers!
# 6  
Old 05-23-2008
wow great incredible ......exact answer..
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to solve hang issue in script?

i have one function block in the beginning of my script and there are some commands inside that function which will perform some operations. And i am invoking that function from my main script by passing some values. Sometimes it is hanging in the middle for some value. For example: For 1st... (3 Replies)
Discussion started by: thomasraj87
3 Replies

2. Programming

Removed /root/.cabal by mistake - how to solve this issue?

I have mistakenly removed /root/.cabal/ from my root directoty and when I tried to reinstall it I get this output: faiz:~$ sudo cabal install pandoc --reinstall Resolving dependencies... In order, the following will be installed: pandoc-1.14.0.4 (reinstall) Warning: Note that reinstalls are... (3 Replies)
Discussion started by: faizlo
3 Replies

3. Shell Programming and Scripting

Can't solve a simple SSH/scp issue.. Please help.

Disclaimer: I tried searching but wasn't able to get to the answer so please don't flame. Scenario: I have a root script that generates a file on box1 and then needs to scp it over to box2 using user1. Both boxes are running open-ssh. root@locat-host# scp /tmp/file1 user1@box2:/tmp/file1 ... (10 Replies)
Discussion started by: denissi
10 Replies

4. Shell Programming and Scripting

Request to checkVenn diagram issue solve by Unix programm

Hello Any Unix programm can help me to solve thsi issue: I have 2 venn digrams please checke the attached file for pictures of venn diagram for eg red is A yellow is B and green is C..Please see attached file for Venn diagrams In one ..... I have 3 data set A , B and C Venn diagram... (0 Replies)
Discussion started by: manigrover
0 Replies

5. UNIX for Dummies Questions & Answers

Can anyone solve this awk issue ?

awk -F^ '{ if (($1 != "X") && ($5 != "3")) || if (($1 != "S") && ($5 != "2")) print $0}' abc> xyz The above command returns this error awk: syntax error near line 1 awk: illegal statement near line 1 I am newbie to awk, Any awk intelligence involved in correcting this issue is highly... (2 Replies)
Discussion started by: karthickrn
2 Replies

6. Solaris

Help me to solve this issue

Hi, I want to send a .tar file from one solaris 5.9 server to another server in order to make files in sync.What method i can use? (2 Replies)
Discussion started by: Renjesh
2 Replies

7. Shell Programming and Scripting

How to solve this

I have to write an script for.. CUST: 123 trans: some contents CUST: 1234 trans: some contents Now wat i have to do is this: CUST:123 akash trans: some contents CUST:1234 akash1 trans: I have been able to add... (3 Replies)
Discussion started by: akashag22
3 Replies
Login or Register to Ask a Question