Sponsored Content
Top Forums UNIX for Dummies Questions & Answers stunnell log file has reached its limit Post 302554568 by Peasant on Monday 12th of September 2011 11:12:16 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Email::FolderType(3pm)					User Contributed Perl Documentation				    Email::FolderType(3pm)

NAME
Email::FolderType - determine the type of a mail folder SYNOPSIS
use Email::FolderType qw(folder_type); print folder_type "~/mymbox"; # prints 'Mbox' print folder_type "~/a_maildir/"; # prints 'Maildir' print folder_type "some_mh/."; # prints 'MH' print folder_type "an_archive//"; # prints 'Ezmlm' DESCRIPTION
Provides a utility subroutine for detecting the type of a given mail folder. SUBROUTINES
folder_type <path> Automatically detects what type of mail folder the path refers to and returns the name of that type. It primarily bases the type on the suffix of the path given. Suffix | Type --------+--------- / | Maildir /. | MH // | Ezmlm In case of no known suffix it checks for a known file structure. If that doesn't work out it defaults to "Mbox" although, if the "Mbox" matcher has been overridden or the default changed (see DEFAULT MATCHER below) then it will return undef. matchers Returns a list of all the matchers available to the system. DEFAULT MATCHER
Currently the default matcher is "Mbox" and therefore it is always checked last and always returns 1. If you really want to change this then you should override "Email::FolderType::Mbox::match" and/or change the variable $Email::Folder- Type::DEFAULT to be something other than 'Mbox'. use Email::FolderType; use Email::FolderType::Mbox; $Email::FolderType::DEFAULT = 'NewDefault'; package Email::FolderType::Mbox; sub match { return (defined $_[0] && -f $_[0]) } package Email::FolderType::NewDefault; sub match { return (defined $_[0] && $_[0] =~ m!some crazy pattern!) } 1; REGISTERING NEW TYPES
"Email::FolderType" briefly flirted with a rather clunky "register_type" method for registering new matchers but, in retrospect that wasn't a great idea. Instead, in this version we've reverted to a "Module::Pluggable" based system - any classes in the "Email::FolderType::" namespace will be interrogated to see if they have a c<match> method. If they do then it will be passed the folder name. If the folder matches then the match function should return 1. For example ... package Email::FolderType::GzippedMbox; sub match { my $folder = shift; return (-f $folder && $folder =~ /.gz$/); } 1; These can even be defined inline ... #!perl -w use strict; use Email::Folder; use Email::LocalDelivery; # copy all mail from an IMAP folder my $folder = Email::Folder->new('imap://example.com'); # read INBOX for ($folder->messages) { Email::LocalDelivery->deliver($_->as_string, 'local_mbox'); } package Email::FolderType::IMAP; sub match { my $folder = shift; return $folder =~ m!^imap://!; } 1; If there is demand for a compatability shim for the old "register_type" method then we can implement one. Really though, this is much bet- ter in the long run. PERL EMAIL PROJECT
This module is maintained by the Perl Email Project. http://emailproject.perl.org/wiki/Email::FolderType AUTHOR
Simon Wistow <simon@thegestalt.org> COPYING
(C) Copyright 2005, Simon Wistow Distributed under the same terms as Perl itself. This software is under no warranty and will probably ruin your life, kill your friends, burn your house and bring about the apocalypse. SEE ALSO
Email::LocalDelivery, Email::Folder perl v5.8.8 2006-08-22 Email::FolderType(3pm)
All times are GMT -4. The time now is 12:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy