Check ulimit -a file size limit, write it down.
Use fuser to get which pids are using /usr/sbin/stunnel
Then, lsof -p those pids.
That will list open files, then check their size with du -sk /path/to/file, if the size of file is greater the ulimit file size value, that file is the problem.
If it's a log or alike file, you can make it 0 size with
DO NOT use rm on file if processes are using it.
After that i would be wise do increase it ulimit value for file size (if it's not large enough)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
mb2md
MB2MD(1) General Commands Manual MB2MD(1)NAME
mb2md -- Converts Mbox mailboxes to Maildir format.
SYNOPSIS
mb2md [-h]
mb2md [-c] [-m] [-d destdir]
mb2md [-c] [-s sourcefile] [-d destdir]
mb2md [-c] [-s sourcedir] [-l wu-mailboxlist] [-R|-f somefolder] [-d destdir] [-r strip_extension]
DESCRIPTION
mb2md Converts Mbox mailboxes to Maildir format.
OPTIONS -h Show summary of options.
-c Use the Content-Length: headers (if present) to find the beginning of the next message. Use with caution! Results may be unreli-
able. I recommend to do a run without "-c" first and only use it if you are certain, that the mbox in question really needs the
"-c" option.
-m If this is used then the source will be the single mailbox at /var/spool/mail/blah for user blah and the destination mailbox will
be the "destdir" mailbox itself.
-s sourcedir
Directory, relative to the user's home directory, which is where the the "somefolders" directories are located. Or if directory
starts with a "/" it is taken as a absolute path, e.g. /mnt/oldmail/user _OR_ A single mbox file which will be converted to the
destdir.
-R If defined, do not skip directories found in a mailbox directory, but runs recursively into each of them, creating all wanted
folders in Maildir.
Incompatible with '-f'
-f somefolder
Directories, relative to "sourcedir" where the Mbox files are. All mailboxes in the "sourcedir" directory will be converted and
placed in the "destdir" directory. (Typically the Inbox directory which in this instance is also functioning as a folder for
other mailboxes.)
The "somefolder" directory name will be encoded into the new mailboxes' names. See the example in the USAGE file (see below).
This does not save an UW IMAP dummy message file at the start of the Mbox file. Small changes in the code could adapt it for
looking for other distinctive patterns of dummy messages too.
Don't let the source directory you give as "somefolders" contain any "."s in its name, unless you want to create subfolders from
the IMAP user's point of view. See the example in the USAGE file (see below).
Incompatible with '-R'
-d destdir
Directory where the Maildir format directories will be created. If not given, then the destination will be ~/Maildir . Typi-
cally, this is what the IMAP server sees as the Inbox and the folder for all user mailboxes. If this begins with a '/' the path
is considered to be absolute, otherwise it is relative to the users home directory.
-r strip_extension
If defined this extension will be stripped from the original mailbox file name before creating the corresponding maildir. The
extension must be given without the leading dot ("."). See the example in the USAGE file (see below).
-l WU-file
File containing the list of subscribed folders. If migrating from WU-IMAP the list of subscribed folders will be found in the
file called .mailboxlist in the users home directory. This will convert all subscribed folders for a single user:
/bin/mb2md -s mail -l .mailboxlist -R -d Maildir
and for all users in a directory as root you can do the following:
for i in *; do echo $i;su - $i -c "/bin/mb2md -s mail -l .mailboxlist -R -d Maildir";done
USAGE
Please read the USAGE documentation (zless /usr/share/doc/mb2md/USAGE.gz).
AUTHOR
This manual page was written by Noel Kothe noel@debian.org for the Debian system (but may be used by others). Permission is granted to
copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version pub-
lished by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
MB2MD(1)