Ubuntu :: Error Coming From: /etc/cron.daily/apt?
Nov 30, 2010
since I setup my system so that I'd receive system errors via email, I get an email each day from /etc/cron.daily/apt.Just wondering why this is, how I can fix it, or if I can just remove apt from cron.daily?uote:
To: root@jon-desktop
Subject: fcron <systab@jon-desktop> run-parts --report /etc/cron.daily
/etc/cron.daily/apt:
[code]....
View 3 Replies
ADVERTISEMENT
May 31, 2011
I am running on a laptop and cron.daily is set to run at 0625 So I wonder what happens if my machine is not turned on at that time.. At that rate it could also be off for the other periods as well (weekly, monthly) Is there solution that will allow them to run once they are online after the appointed time? using a cron entry that runs every 15 or 5 or 1 minute.
View 2 Replies
View Related
Feb 25, 2010
It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:
Code:
ps -A | grep apt
showed it for a long time,
Code:
sudo tcpdump tcp
showed communication with canonical sites,
but:
Code:
top
did not show any apt using CPU
[code].....
View 2 Replies
View Related
Jan 29, 2011
I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).
The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.
The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.
I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)
View 3 Replies
View Related
Feb 21, 2011
I'm with Ubuntu server 10.10. I created a script and put it in /etc/cron.daily. But looks it doesn't run (it didn't generate any log). The following is all I did.
Code:
root@chonseng1:/var/log# cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab' command to install the new version when you edit this file and files in /etc/cron.d. These files also have username fields, that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
root@chonseng1:/var/log# ls -l /etc/cron.daily/ntpdate
-rwxr-xr-x 1 root root 52 2011-02-18 13:22 /etc/cron.daily/ntpdate
root@chonseng1:/var/log# cat /etc/cron.daily/ntpdate
ntpdate ntp.ubuntu.com >>/var/log/ntpdate.log 2>&1
View 7 Replies
View Related
Dec 31, 2008
I have an issue, it doesn't happen every day, I can't seem to trace it down. It happens at 4:02am the cron.daily kicks of at 4AM.. The following is from the /var/log/messages. I receive an panic error then the server shuts down.
View 1 Replies
View Related
Oct 26, 2009
I'm having a very strange issue with cron on centos 5.3 64-bit. I have 3 cron scripts in /etc/cron.daily which run backups. They are as follows:
script1:
#!/bin/bash
/usr/local/bin/backup-script1
script2:
#!/bin/bash
/usr/local/bin/backup-script2
script3:
#!/bin/bash
/usr/local/bin/backup-script3
The contents of the 3 /usr/local/bin scripts are ...
/usr/local/bin/backup-script1:
#!/bin/bash
synbak -s srv1 -m rsync
rsync -av --delete /data/backup/srv1/* root@::share/srv1/
To explain this, the 1st active line does a synbak backup and the 2nd active line rsyncs the backup data to a remote server.
/usr/local/bin/backup-script2:
#!/bin/bash
synbak -s srv2 -m rsync
rsync -av --delete /data/backup/srv2/* root@::share/srv2/
[code]....
View 7 Replies
View Related
Sep 30, 2010
My backup script works fine after some effort to get it where I wanted it. So the script is fine when I run it.
sudo bash backup.sh
now I have a sym-link to /etc/cron.daily but I do not see any new backups
View 9 Replies
View Related
Nov 25, 2010
I made a big rookie mistake in a script in cron.daily, which emptied the directory when I tested it... now I'm left with an empty cron.daily directory, and from what I know there definitely were more scripts there than only my own. Does anybody know what scripts CentOS 5.4 (Final) needs in the cron.daily?
View 3 Replies
View Related
Jan 19, 2011
I have noticed that in the /etc directory there are some subdirectories of /etc/cron.daily and /etc/cron.hourly. Also I have determined that there is a service included as part of the Fedora OS 'crond' which I have started with the use of 'service crond start'. My question is this. If I drop an executable file into the '/etc/cron.daily' directory will it just run? If not what configuration files should I go about editing to run my executable daily? There seems to be a pretty large network of cron related files. I'm trying to make sense out of all of it.
View 9 Replies
View Related
Nov 9, 2010
I have two custom tasks running daily. How do you give priority to one over the other?One of them is configured via the logrotate.conf. The other sits directly in cron.daily.I'd like the one in cron.daily to run after the script that is in logrotate.Please can you advise how to do this...
View 3 Replies
View Related
Sep 14, 2010
I installed XAMPP from http://portableapps.com/apps/development/xampp
I'm running XAMPP off my USB thumb drive ( ARAM 8gig )
I have worked out how to get most of sites up and running as in Wordpress + db's
I can't seem to get phpbb going, keeps coming up with an error ( CGI script )with throws me a Error 500
Is there some thing else I need to turn on ?
View 1 Replies
View Related
Aug 24, 2010
I'm using Debian 5.0.4 Lenny. Daily my logs kern.log, messages, and syslog are filled with errors regarding dircolors: Quote: Aug 24 23:05:34 myserver.com kernel: [1906415.362252] dircolors[11556]: segfault at 0 ip 08049e30 sp bfffcd4c error 6 in dircolors[8048000+8000] Aug 24 23:08:02 myserver.com kernel: [1906563.298468] dircolors[12296]: segfault at 0 ip 08049e30 sp bffff61c error 6 in dircolors[8048000+8000] Aug 24 23:10:30 myserver.com kernel: [1906711.794160] dircolors[12914]: segfault at 0 ip 08049e30 sp bfffe8fc error 6 in dircolors[8048000+8000] etc...
I've googled this to death and still haven't found a solution to fix or stop this. I read on man dircolors to: dircolors --version The output I receive on this cmd is only: Segmentation fault I do: dircolors --print-database The output I pasted here since it is quite long: [URL] It ends with: .wav 00;36 Segmentation fault
View 4 Replies
View Related
Jun 14, 2010
I just noticed that my ClamAV is too old, and it will no longer start:
Starting ClamAV daemon: clamd LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
[code]...
Problem is, that there is no newer version for Debian Lenny.I did my aptitude-update and aptitude safe-upgrade, but nothing newer is available.I want to stay within stable (cuz it is a production server). What am I to do?
View 3 Replies
View Related
Feb 4, 2010
I was having a problem on my squid server whereby 1 website would timeout daily and return a nscd not found error: [url]....There may be other sites but this is the only one I know of. A selection of other sites still work correctly, which is the strange thing.I have found that by restarting the dns cache everything works again: /etc/init.d/nscd restart.I never know quite when this will timeout so it is not very good for people accessing that site on the server.
View 3 Replies
View Related
Mar 11, 2011
I found that indicator-weather was taking up a huge amount of memory recently so I removed it via:
I then started to get periodic indicator messages saying 'Network error in weather", so I reinstalled the indicator applet and the messages continue!
View 9 Replies
View Related
Jan 25, 2010
i need to change a file that keeps coming up with a error how can i log in as root i can logging in as user and i was doing everything though terminal but now i need to login ass root
View 9 Replies
View Related
Aug 19, 2009
i configured sendmail with squirrelmail in RHEL5.3
it is working fine. i can send the mail and receive the mail .
but when i try to send the mail a selinux error is coming[but mail is sending successfully ]. i don't under stand this message.
Quote:
Summary:
SELinux is preventing sendmail (system_mail_t) "read" to eventpoll (httpd_t).
Detailed Description:
SELinux denied access requested by sendmail. It is not expected that this access is required by sendmail and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.
Allowing Access:
Sometimes labeling problems can cause SELinux denials. You could try to restore the default system file context for eventpoll,
restorecon -v 'eventpoll'
If this does not work, there is currently no automatic way to allow this access.Instead, you can generate a local policy module to allow this access - see FAQ(url) Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended.Please file a bug report (url) against this package.
Additional Information:
Source Context system_u:system_r:system_mail_t
Target Context system_u:system_r:httpd_t
Target Objects eventpoll [ file ]
Source sendmail
Source Path /usr/sbin/sendmail.sendmail
Port <Unknown>
code....
View 3 Replies
View Related
Mar 24, 2011
i have uninstalled and reinstalled alsa and made sure its not muted, in pulse audio it displays sound is coming out when i play a song, but no sound is actually coming out.. i dont want to go back to windows, but if i cant get sound im going to have to
View 1 Replies
View Related
Nov 13, 2010
Code:
#!/bin/sh
chown -Rc steven:users "/home/steven"
I have more lines in the script but each line does the same error. This is run in a cron job but it always returns.
Code:
chown: cannot access `/home/steven
': No such file or directory
But it is a valid directory I have even tried adding an / and even a space on the end and still same error.
View 7 Replies
View Related
Apr 29, 2011
Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com
this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.
View 1 Replies
View Related
Aug 26, 2010
I already posted a link in the ubuntuusers.de Forum (german) [URL].. But I haven't found a solution yet. The problem is, that I wanna set an Emblem in Nautilus via a Script that is called by cron. The problem happens in that line
Code:
/usr/bin/gvfs-set-attribute -t stringv /path/to/file metadata::emblems minus14
thats the error: Error setting attribute: Setting attribute metadata::emblems not supported
I already tried to call the script via /etc/crontab and /var/spool/cron/crontabs/meles, i tired it with
Code:
/path/to/script
[Code]...
View 2 Replies
View Related
Sep 19, 2010
I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.
View 2 Replies
View Related
Aug 2, 2011
I have a desktop environment with Apache2.(If someone asks why desktop to run Apache2, its because the desktop must display a local website)When I update the html files from a windows box it is being copied in a home/user folder.Cron now has to copy the files with r to the localhost area.sudo cp -R home/myself/Downloads/* /var/www/ works fine:The script containing just that one line is in a file in my /home/myself/Documents folder named: copy_site_localhost.Cron entry in turn was created with the command: sudo crontab -e and the entry is:*/10 * * * * /home/myself/Documents/copy_site_localhostThe error in the syslog file in /var/logs is as follows:
.......CRON[1234] (root) CMD (home/myself/Documents?copy_site_localhost)
.......CRON[1236] error (grandchild #1234 failed with exit status126)
.......CRON{1236] info (No MTA installed, disregarding output)
[code]....
View 1 Replies
View Related
Sep 15, 2009
When I boot I get this error:
Starting CRON daemondone
Starting smartd done
Starting VirtualBox kernel moduledone
[code]....
View 1 Replies
View Related
Feb 16, 2010
I have set up a cron in /var/spool/cron/root
*/15 * * * * /usr/bin/phplist.sh
I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.
If I run /usr/bin/phplist.sh right in the shell it works great.
View 3 Replies
View Related
Feb 9, 2011
Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.
Code:
View 2 Replies
View Related
May 26, 2010
So I'm getting a new laptop soon, and it ships with Windows 7 64-bit. So I assume I have to use 10.04 64-bit. I noticed that the download page says "not recommended for daily use". I was wondering why this is, and if there were any things I need to look out for when using Ubuntu and 64-bit. I read the older FAQ thread in the closed 64-bit forum, but I wanted to make sure I got more recent information.
View 5 Replies
View Related
Aug 26, 2010
I have a 64-bit computer and needed to download 10.04 again and now notice the following:64-bit - Not recommended for daily desktop usage.This worries me so I would like to ask a couple of questions here if I may.
QUESTION ONE
What version, on a 64-bit machine, should I download for use every day and all day?
QUESTION TWO
If the answer to Question One is, "use the 32-bit version", and I have 8GB of memory, I can only use 3.4GB with 32-bit so would the other memory be available to use if I downloaded vbox and used a second operating system?
View 9 Replies
View Related
Feb 13, 2010
I have ubuntu 8.4 can i backup or clone the system daily using ssh ??
View 3 Replies
View Related