473,387 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Cron issue using backup software - Solved

We are using the backup program Microlite Backup Edge on a Centos OS. When running the program from the menu, we can backup with no problem. When we schedule a backup in cron, we get an error "file size limit exceeded". The ulimit of the system is unlimited and this program has been running for years. It has just happened recently and the program will not run. Any ideas?

Thanks
Jun 2 '13 #1
9 1873
Oralloy
988 Expert 512MB
mikee99,

This may be a trifle off the mark, but is your backup file size crossing the 2 GiByte or 4 GiByte threshold?

Oralloy
Jun 3 '13 #2
No it isn't. I would suspect if the files were too big the backup couldn't run from the menu...which it can. I think it must be to do with how cron does the job. the error is "sh line 1. File size limit exceeded /usr/lib/edge/bin/edge.nightly. "edge.nightly" is the executable of the scheduled backup program.

Thanks for replying. I'm sure someone has seen or heard of this and it's an easy fix.
Jun 3 '13 #3
Oralloy
988 Expert 512MB
mikee99,

Likely it is relatively easy.

What diagnostics have you run?

What might have changed on your system just before this problem started?

Is there a user-account difference between running from the menu, and running under cron?

Are there any other differences?

I know I'm just suggesting standard diagnostic methods.
Jun 3 '13 #4
This will be a standard user answer..lol..."nothing changed" from May 2 when the backup ran fine to May 3rd when the error began. This server never gets touched. It just runs a database. I know something has changed in the system but I don't know what cron sees about file size limit when the ulimit is unlimited.
Jun 3 '13 #5
Oralloy
988 Expert 512MB
mikee99,

I kind of figured that "nothing changed" was going to be the answer, but I had to ask. :)

I can offer a couple of suggestions:
1) At the top of the nightly script, put a "ulimit -a" and verify that the limit is truly unrestricted.
2) Is there anything else in the script, or is it a one-liner invoking Microlite?
3) Command line option differences between the cron script and menu invocation?
4) Check your file-system - are you running low on space? "df -k"
5) Check disk quotas - I know the concept is practically obsolete, but I've been bitten before.
6) Call Microlite and ask for some help?

Yeah, all first-grader sorts of suggestions, I know.

Oralloy
Jun 3 '13 #6
First, I want to thank you for taking the time to help me.
This is a program file so I can't edit it.
Cron runs the command at a certain time and that is it...it has done the same thing now for 6 years - no issues.
Lots of space...the full system backup with verify only takes 3 hours and we ran a menu initiated backup yesterday.
I have contacted Microlite - they don't know

It must have something to do with how cron runs a program.
the error line is
sh Line 1 (a # that varies) File limit exceeded /usr/lib/edge/bin/edge.nightly
Jun 3 '13 #7
Nepomuk
3,112 Expert 2GB
Just a thought: you say you can run Microlite from the menu but not from cron. Have you checked, whether the command which cron runs works if you run it via command line? Maybe there has been an update that broke the syntax or something like that.
Jun 4 '13 #8
Hello
Thanks you for your input. Microlite support which you can get free email support is pretty good. Arne gets back very quickly. He asked for the .debug file to be sent to him. When I checked the file it was huge 2147483647 bytes. I ran the program from the command line and received the "File size limit exceeded error". I then made a copy of .debug the cat /dev/null > .debug. I reran the program from the comman line and I did not receive the error. We will see if cron is able to run the program tonight. I will post if we have success. :)
Jun 4 '13 #9
Clearing the .debug file (reducing the size) fixed the issue. I was told this was a bug in Microlite and the .debug file was appending instead of overwriting as it should be doing.
Thanks for all your suggestions.
Jun 5 '13 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Stivo | last post by:
I have created a few software in .NET for some companies and very often I have to update the .exe and some .dll. The problem is that I always have to ask every body to exit the software (it s on a...
1
by: Stephanie | last post by:
Can SQL 2000 initiate backups to 3rd party applications (like LiteSpeed and BrightStor's SQL Backup Agent)? My goal is to be able to manage backup and restores completely through SQL Enterprise...
2
by: anton.aleksandrov | last post by:
Hello, First of all - sorry for may be stupid question, but as I am not a Win* administrator and my field is *nix, I am a little bit stuck with a problem, presented to me by one of the customers....
6
by: Sue W via AccessMonster.com | last post by:
We have a database that is in use 24/7, and does not get backed up by our network backup software because it is always open. Does anyone have experience with backup software specifically designed...
9
by: Jozef | last post by:
Hello, I'd like to get a bit of a pole on what PDA software any (or all ) of you use with MS Access. I'm interested in creating a PDA interface to the database, but was wondering if there is...
0
by: qh0st | last post by:
Hi all. I have a frustrating issue that I can't seem to figure out. EXPERTS please help me~! Deadline is coming up soon~! My task is to localize a winform application. The .Net Designer...
3
by: Bernard Dhooghe | last post by:
Suppose a running database (DB2 UDB) with all containers being SMS based (file system as JFS or JFS2 on AIX). How to make a backup (online) by doing a file system backup and not a database...
6
by: Chris Johnson | last post by:
Greetings all. I am really stuck on this one as I can't seem to grok if I am abusing the C++ language or if I am simply using components of the C++ Standard Library incorrectly. Here is the code:...
0
by: nhaughton | last post by:
I have writtten a webservice in .Net 1.1 using C#, that exposes an existing COM+ application as a webservice to remote web applications. The COM+ application works fine under Win 2000, XP amd...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.