Please help! I am really new to Linux, and my colleague who usually deals with these things isnt here to help me out.
We are running Scalix mail services on CentOS 6.0. Email users with IMAP folders are getting an error message stating the server cannot be reached, however POP3 mail users are fine.
Whilst restarting some services I found this:
Is it best to delete the contents of this file? If so how would I go about doing that? Please can someone tell me what to do?
Thanks in advance.
Moderator's Comments:
Please use [CODE] tags when posting command lines and console output
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)
Is that a 32bit architecture ?
Check and see if the log is bigger then 2GB.
I don't know the location of stunnel logs, please check configuration of that service to find where it is logging.
You can also run thisto find all log files which are bigger then 1.9 GB, on the entire machine and list them with ls command.
Hope this helps
Regards
Peasant.
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)
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 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)
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)
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)
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)
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)
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)