stunnell log file has reached its limit


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers stunnell log file has reached its limit
# 8  
Old 09-12-2011
Perhaps the FAILED status is since stunnel wasn't up (crashed due to big file).
Run service stunnel start and checkout the /var/log/stunnel.log

Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
# 9  
Old 09-12-2011
Thank you.

Code:
 
[root@mail1 ~]# service stunnel stop
Shutting down stunnel:                                     [FAILED]
[root@mail1 ~]# service stunnel start
Starting stunnel:
[root@mail1 ~]# /var/log/stunnel.log
-bash: /var/log/stunnel.log: Permission denied

So does that mean that the permissions need adjusting on the log file? I think I'm getting the hang of this a little.
# 10  
Old 09-12-2011
Can you post :
Code:
ps -ef | grep stunnel

You don't execute the log, tail it for instance (read it)
Code:
tail -100 /var/log/stunnel.log

And post back here.
# 11  
Old 09-12-2011
Quite probably. ls -l /var/log/stunnel.log
# 12  
Old 09-12-2011
Quote:
Originally Posted by Peasant
Can you post :
Code:
ps -ef | grep stunnel

You don't execute the log, tail it for instance (read it)
Code:
tail -100 /var/log/stunnel.log

And post back here.
I did check there were no grep instances running, it came back clear again.
The other one didnt do anything, and Corona688's suggestion just showed the file details.

Code:
root@mail1 ~]# ps -ef | grep stunnel
root     24723 24139  0 16:19 pts/1    00:00:00 grep stunnel
[root@mail1 ~]# tail -100 /var/log/stunnel.log
[root@mail1 ~]# ls -l /var/log/stunnel.log
-rw-r----- 1 root root 0 Sep 12 15:27 /var/log/stunnel.log

Keep the suggestions coming Smilie
# 13  
Old 09-12-2011
Disk is full probably, /var mountpoint, you can check with df -h
# 14  
Old 09-12-2011
I'm 100% sure the disk isn't full. Just to be on the safe side though I did check

Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00
220G 45G 165G 22% /
/dev/sda1 99M 25M 70M 27% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm

Please make it work again.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to confirm that I've reached the nproc limit?

Hi, I am getting the error su: cannot set user id: Resource temporarily unavailable. In limits.conf, it shows soft nproc 2047 for this user. ps H -u | wc -l shows 508 processes only. Linux flavour is Red Hat Enterprise Linux Server release 5.10 (Tikanga) Any advice will be much... (1 Reply)
Discussion started by: newbie_01
1 Replies

2. UNIX and Linux Applications

Autosys R11.3 : Error on log file size limit

Just had a migration from Autosys 4.5 to R11.3. After the migration to R11.3, Autosys jobs have been failing when the log file reaches a size of 800 MB. This did not happen before the migration, when Autosys 4.5 was used. Is there a way to configure the file size limit/cap in Autosys... (1 Reply)
Discussion started by: kimo222
1 Replies

3. Shell Programming and Scripting

Increment and find closest value until the end of the file is reached.

Hi all, I have a file which looks like: 0 1.1985506 1 1.2237930 2 1.2159038 3 1.2668828 4 1.2650216 5 1.2474344 6 1.2817688 7 1.2721698 8 1.2665005 9 1.2826315 10 1.2797879 11 1.3201736 12 1.3116595 13 1.3361583 14 1.3309238 (2 Replies)
Discussion started by: ezitoc
2 Replies

4. Shell Programming and Scripting

Check space of directories and send email if it has reached threshold limit

Hi, I need help in writing unix script for checking space of some directories on the system and also send an email when it reaches the threshold limit. I have written the followng code; #!/bin/ksh ADMIN="me@somewhere.com" # set alert level 80% is default THRESHOLD=80 df | grep -E... (5 Replies)
Discussion started by: jmathew99
5 Replies

5. Shell Programming and Scripting

Log Size Exceeds Limit

Everytime I try to start Discreet Flame on my Octane2 machine it keeps giving me an error message "initial log size exceeds limit--aborting" Can anyone please help me how to fix this problem. Thanks. Octane2 IRIX64 Release 6.5 Flame 2007 (6 Replies)
Discussion started by: dewaraja
6 Replies

6. UNIX for Advanced & Expert Users

Log Size Exceeds Limit

Everytime I try to start Discreet Flame on my Octane2 machine it keeps giving me an error message "initial log size exceeds limit--aborting" Can anyone please help me how to fix this problem. Thanks. Octane2 IRIX64 Release 6.5 Flame 2007 (0 Replies)
Discussion started by: dewaraja
0 Replies

7. UNIX for Dummies Questions & Answers

Log Size Exceeds Limit

Everytime I try to start Discreet Flame on my Octane2 machine it keeps giving me an error message "initial log size exceeds limit--aborting" Can anyone please help me how to fix this problem. Thanks. Octane2 IRIX64 Release 6.5 Flame 2007 (0 Replies)
Discussion started by: dewaraja
0 Replies

8. Linux

Limit size of log file from syslog

Hi, I'm using Linux 2.6 cross compiled for a embedded powerpc. Earlier we were using busybox syslogd for logging the messages, but as the flexibilty is less, we decided to move to standard syslog. Now I want to limit the size of the log file (/var/log/messages) to 128K. I couldn't find... (4 Replies)
Discussion started by: jockey007
4 Replies

9. SCO

cpio: Ulimit reached for file output

I am trying run cpio backing up to tape, but I get the above error. Can anyone assist please as I am sleeping at work today. I tried setting the ulimit to unlimited but when I rebooted the server it came back with another value and I cannot run my backup now.... (0 Replies)
Discussion started by: dustytina
0 Replies

10. Shell Programming and Scripting

tar: 0511-194 Reached end-of-file before expected.

Hello everyone! I wrote a script for backing up a folder. It goes fine but today it started to spit out this error, when a folder is taring: tar: 0511-194 Reached end-of-file before expected. I didn't make any changes! - OS: UNIX AIX ibm 3 - the folder I'm trying to tar is 11Gb large... (4 Replies)
Discussion started by: Funky_ass
4 Replies
Login or Register to Ask a Question