473,679 Members | 3,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cron issue using backup software - Solved

6 New Member
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 1884
Oralloy
988 Recognized Expert Contributor
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
mikee99
6 New Member
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.night ly" 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 Recognized Expert Contributor
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
mikee99
6 New Member
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 Recognized Expert Contributor
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
mikee99
6 New Member
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 Recognized Expert Specialist
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
mikee99
6 New Member
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
mikee99
6 New Member
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
1248
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 terminal server, Win2003) before to copy the new files, or I have to wait until the evening until they stop to work and it's quite annoying. Does one of you have a good alternative ? Steve
1
1313
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 Manager and Query Analyzer without having to logon to the Server and using the 3rd party backup application's software. Is this possible through SQL? Thank you, Stephanie
2
1752
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. He has few windows boxes with some webfile and (most important) - mssql database. And he asks for a backup. I found some company, which offers us IBM's Tivoli software, but my opinion is that they want a little bit too much for it and also, from...
6
1722
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 for Access which claims to back up open Access databases? (One example is something called Access Database Autopilot.) The pessimist in me tends to distrust such things. We currently are asking the end user in charge of this db to kick everyone...
9
2464
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 anything that will allow you to sync directly with the Access database. Any information I could get would be great. I'd also like to get some resources on PDAs with bar code readers in them; any ideas?
0
2200
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 creates its own .resx file (i.e. form1.resx) for each form. I realized that I was not able to add any strings inside that .resx file because the .Net Designer will overwrite that .resx file causing me to lose the strings I add. Therefore, I created a...
3
2820
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 backup? Could this be done with: db2 set write suspend for db
6
1964
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: #include <string> #include <map> #include <iostream> #include <utility> #include <iterator>
0
1577
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 2003. and the webservice works fine under Win2000 and XP. However I have been unable to get the webservice working with our COM+ application on a Windows 2003 server, although I can use the same COM+ application from a Windows forms application on...
0
8542
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9001
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8748
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6401
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5774
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4280
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2900
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2160
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1891
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.