Displaying 20 results from an estimated 3000 matches similar to: "cron jobs not running"
2012 Mar 05
5
cron job not running
hello list,
I am attempting to backup a centos 5.4 (x86_64) server running mysql
with a cron job. Here's how the cron job looks:
[root at cloud:/home/bluethundr/backupdb] #crontab -l
* 3 * * * /usr/bin/mysqldump jfwiki >
/home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql
However if I run the command from the command line it seems to work fine.
If I grep syslog for cron this is what
2012 Oct 01
5
s3 as mysql directory
Hello list,
I am soliciting opinion here as opposed technical help with an idea I
have. I've setup a bacula backup system on an AWS volume. Bacula stores a
LOT of information in it's mysql database (in my setup, you can also use
postgres or sqlite if you chose). Since I've started doing this I notice
that the mysql data directory has swelled to over 700GB! That's quite a lot
and
2011 Jan 05
3
cron jobs fail to run
hey centos
long time no hear! :) I'm having a small issue where the backup jobs
that I set to run in the crontab of the backup user do not appear to
be running. Here's how I set it up (with crontab -e as the backup
user):
run amanda every night (check at 2:45 and backup at 3)
45 2 * * * /usr/sbin/amcheck /var/log/amanda/crontab/amcheck.log
* 3 * * * /usr/sbin/amdump
2011 Aug 13
2
java permission denied
Hey guys,
I just tried installing jdk 1.0.7 on my centos 5.6 box and I am getting a permission denied error when I try to display the java version.
[root at VIRTCENT09:/usr/lib] #ln -s /usr/lib/jdk1.7.0 /etc/alternatives/jdk
[root at VIRTCENT09:/usr/lib] #ln -s /usr/lib/jdk1.7.0/bin/java /etc/alternatives/java
[root at VIRTCENT09:/usr/lib] #ln -s /etc/alternatives/java /usr/bin/java
[root at
2018 Mar 20
4
rsync time machine backup permissions
That doesn’t work too. :-(
Last login: Mon Mar 19 19:18:16 on console
iMac:~ andre$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2 on /Volumes/G-DRIVE Thunderbolt 3 (hfs, local, nodev, nosuid, journaled, noowners)
iMac:~ andre$
2018 Mar 19
4
rsync time machine backup permissions
Dear rsync users,
I'm trying to copy my Time Machine Backup from my old USB hard drive to a new one. I got error messages, because rsync don't create group and other permissions.
I use rsync 3.1.3.
Did I use the correct parameters? Who has an idea, what mistake?
Thanks!
Best, André
--
The bash script:
#!/bin/bash
source=/Volumes/LaCie\ d2\ Quadra\ v3/Backups.backupdb
2018 Mar 19
1
rsync time machine backup permissions
sh-3.2# /Users/andre/Desktop/Skripte/rsync_tm
Kopiere Time Machine Backup ...
rsync: chgrp "/Volumes/G-DRIVE Thunderbolt 3/Backups.backupdb/.RecoverySets/0/com.apple.recovery.boot/boot.efi" failed: Operation not permitted (1)
rsync: failed to set times on "/Volumes/G-DRIVE Thunderbolt 3/Backups.backupdb/iMac": Operation not permitted (1)
rsync: symlink "/Volumes/G-DRIVE
2015 Jul 14
2
ssh failed only with nfs home directory
Hey all,
Having a weird ssh issue I'd like some opinions on.
If I have my home directory mounted on the NFS server itself, I get
permission denied when I try to ssh into it. The correct permissions and
ownership are on the home directory, ssh directory and the authorized_users
file.
Here's what a verbose ssh session looks like:
#ssh -v bluethundr at nfs1.example.com
OpenSSH_6.2p2,
2015 Oct 31
4
use pssh to restart a service
Hi all,
I need to restart a service on a few elasticsearch nodes. I'm trying to do
it with pssh.
I'm getting this error when I try to do that:
pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch"
[1] 17:01:50 [FAILURE] bluethundr at es2.example.com Exited with error code 1
[2] 17:01:51 [FAILURE] bluethundr at es3.example.com Exited with error code 1
[3]
2015 Oct 31
1
use pssh to restart a service
>
> Have you tried running the command from a conventional login?
> sudo -S
> expects a password from stdin, where is that being supplied?
Yep! That works fine.
#ssh -qt bluethundr at es1.example.com "/bin/sudo -S /bin/systemctl restart
elasticsearch"
#ssh -qt bluethundr at es1.example.com "/bin/echo $?"
0
And the user has 'NOPASSWD' access.
Any
2016 Jun 28
2
rsync failure on corrupted source data
I am trying to copy data from a partially corrupt backup (time machine)
disk on a os x system to another.
Firstly the rsync version (OS X 10.11.5):
sync --version
rsync version 2.6.9 protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
2011 Dec 04
1
syncing imap servers with imapsync
hello list,
I am attempting to sync two imap servers using the imapsync perl script. It seems handy and easy.
Here's what happens when I try to do this:
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
# -o smtpd_sasl_auth_enable=yes
# -o
2015 Oct 31
3
use pssh to restart a service
>
> What does the sudo log say?
This is all the secure logs say about the ssh session:
[root at logs:~] #tail -f /var/log/secure
Oct 31 19:15:20 logs sshd[24407]: Accepted publickey for bluethundr from
47.18.111.100 port 47469 ssh2: RSA
ae:62:1f:de:54:89:af:2c:10:16:0e:fd:8d:7e:81:06
Oct 31 19:15:21 logs sshd[24407]: pam_unix(sshd:session): session opened
for user bluethundr by (uid=0)
2010 Sep 24
2
grep contents of file on remote server
Hello,
I am attempting to grep the contents of a key file I have SCP'd to a
remote server. I am able to cat it:
[code]
[bluethundr at LBSD2:~]$:ssh root at sum1 cat /root/id_rsa.pub
root at lcent01.summitnjhome.com's password:
ssh-rsa
2010 Nov 28
2
ssh-agent fails to hold values
Hello list
I am attempting to manage my key logins with ssh-agent. However EVERY
time I try to ssh I have to go through the same exact routing and it's
getting a little old...
[bluethundr at LCENT01:~]#ssh sum3
Enter passphrase for key '/home/bluethundr/.ssh/id_rsa':
[bluethundr at LCENT01:~]#exec ssh-agent bash
[bluethundr at LCENT01:~]#ssh-add
Enter passphrase for
2010 Oct 29
2
migrating users to openldap
I noticed that when I migrated my users with the migrate_passwd.pl
tool from PADL it didn't migrate the actual passwords (just the rest
of the posixAccount info). I think I need to set the EXTENDED_SCHEMA
variable and then try running the tool again. does anyone know what
this should be?
I actually thought there might be a migrate_shadow.pl tool that could
accomplish this, but there
2010 Nov 16
5
ssh prompting for password
hello list
I have a network mounted home directory shared between all hosts on my network:
[bluethundr at LCENT03:~]#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
140G 4.4G 128G 4% /
/dev/sda1 99M 35M 60M 37% /boot
tmpfs 1.6G 0 1.6G 0% /dev/shm
nas.summitnjhome.com:/mnt/nas
2019 Nov 22
1
Issue with "ExecStartPost" attribute in systemd daemon faile
Hellos,
Yes, I did some tests with "OnFailure" attribute, but the result was the same: system didn't sent any mail.
Daemon and script files were:
* crond.service:
* [Unit]
Description=Command Scheduler
After=auditd.service systemd-user-sessions.service time-sync.target
OnFailure=crond-notify-email.service
[Service]
EnvironmentFile=/etc/sysconfig/crond
2020 Apr 06
2
CentOS 8.1 cron does not send mail
On 6 Apr 2020, at 12:21, Stephen John Smoogen wrote:
> On Mon, 6 Apr 2020 at 04:16, Tobias Kirchhofer <collect at shift.agency>
> wrote:
>
>> On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote:
>>
>>>>>> we experience difficulties with crond behaviour sending mail
>>>>>> since
>>>>>> CentOS 8.1. The cron job is the
2011 Jan 15
1
keychain problem
hello centos.. I am having a very annoying problem on my network right
now. it looks like every time I try to add my ssh key to keychain I
have to issue a command just to get my ssh subsystem communicating
with the ssh-agent:
I have this line in my .bashrc file
$(keychain --eval --quick --quiet private_key1 private_key2 private_key3)
If I try to perform ssh-add I get the message:
[bluethundr