similar to: Script not running correctly as cronjob

Displaying 20 results from an estimated 200 matches similar to: "Script not running correctly as cronjob"

2017 Feb 01
1
Script not running correctly as cronjob
Thank you for the hints I modified like you described. I also moved the permission part out of the loop (once at the end of the script is enough). Now with the "set -x" the script is working also in cron. Best regards Daniel -----Original Message----- From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Tony Mountifield Sent: Wednesday, February 1, 2017 11:04 AM To:
2017 Feb 01
0
Script not running correctly as cronjob
In article <86827d81f1944333ae213f2d3f19856a at 2sic.com>, Daniel Reich <Daniel.Reich at 2sic.com> wrote: > Hi > > I have a script to resign all DNS zones every two weeks. When i run the script from bash, it works like it should. But > when it is executed in cron not. Its starting normal as cronjob: > Feb 1 03:00:01 xxx CROND[20116]: (root) CMD (sh
2006 Dec 10
5
which is the vaild a format?
hi, after i test nsd i find the following. if i use this in a zone file: $ORIGIN example.com. CNAME www www CNAME x x A 1.2.3.4 then it's excepted by nsd what's more give the proper result. if the slave is nsd than there is no problem, while if the slave is bind i've got the following error:
2019 Dec 28
2
tinydns to nsd
On Sat, 28 Dec 2019 17:02:09 +0100 richard lucassen via nsd-users <nsd-users at lists.nlnetlabs.nl> wrote: > The problem is (was) that I used "include:" statements in nsd.conf > to load zone information. Apparently nsd does not reread the include > files upon a SIGHUP. I scripted everything into 1 file and a HUP > rereads the zone info now. Wrong, I made a mistake it
2006 Mar 24
3
Triggering on close of a written file.
I have just started my first ''serious'' dtrace script and can use some advice. I want to have a probe triggered when close() occurs after a succesfull write of /etc/hosts ( I want to regenerate the nameserver zone files from /etc/hosts after it has changed) At the moment I have the following code: syscall::open*:entry, syscall::creat*:entry { self->file=arg0;
2022 Dec 31
1
rewrite manpages to mdoc(7)
Dear authors of NSD, currently, the manpages that come with NSD are written in the traditional man(7) markup language. I am proposing to rewrite them into the semantic markup of the mdoc(7) language. I am willing to do the work. See a version of nsd-checkzone.8 below as an example. Both the man(7) and mdoc(7) languages have been around for decades, and are supported by the prevalent formatters:
2002 Jul 02
2
Samba 2.2.5 Printing problem with HP Designjets
Hello, I sent this request already last week, but got no answer (maybe I did not use a good subject). My problem is the following: I use server side drivers with samba 2.2.5 and cups. I add them usually with cupsaddsmb. This works quite well, but I have trouble with printers with really large papersizes. I have some HP Designjet in our Network, we need for our mechanical engineers, as well as
2005 Jul 14
1
Any way to authenticate SIP peers using SRV?
A group which my school is part of wants to start using DNS SRV records to allow "email-style" dialing amongst members of the group. I have gotten the records in our zonefiles, and things work pretty much just fine. However, since the DNS server can only specify a host and port, there doesn't seem to be any way to authenticate the user coming in. Is that the case? Is there a
2023 Mar 20
1
NSD zone file GENERATE directive
BIND has a handy feature $GENERATE directive in zone files that allows you to handle large ranges of things like PTR/A records without having to actually create long lists in very large zonefiles. This was handy for things like IPv4/v6 PTR's and matching A/AAAA records for large dynamic hosts, etc. Does NSD support any type of range generation such at this? -- inoc.net!rblayzor XMPP:
2023 Dec 07
2
Question on slave
Jeroen Koekkoek via nsd-users <nsd-users at lists.nlnetlabs.nl> wrote: > Anand's answer is entirely correct. > > Once 4.8.0 is released, zone files will be written once per hour by > default. I'm confused now :-) Arnand said the "database" option is being removed. Does this mean the database will always be created, or NEVER be created? I always wondered why
2023 Dec 11
1
Question about "store-ixfr"
Hi NSD developers, I have been experimenting with the "store-ixfr" feature in NSD. I have a configuration with: server: zonefiles-write: 0 pattern: store-ixfr: yes With this configuration, NSD transfers zones from a primary, and keeps them in RAM. When the zones are updated, it receives and stores the IXFR in RAM too. I can query NSD with the IXFR qtype, and it replies with
2013 Jan 27
1
GPOs don't work after update from Samba4.0 alpha 17 to 4.0.1
Hi! I have updated our server from Samba 4 alpha 17 to Samba 4.0.1. Everything seems to work fine after some reconfiguration, but our GPOs are not working anymore. Samba 4 alpha 17 was using ntvfs and the root partition with the sysvol share was mounted with "user_xattr" only in /etc/fstab. Samba 4.0.1 is now set to use s3fs and the root partition is mouted with
2011 Sep 11
15
How To Expand an .erb Template Without Doing a Full Puppet Run?
We use puppet to distribute named zone files, like many of you do. We use git to maintain these files, which are then pulled by the puppet master machine. These zone files are actually puppet template .erb files. The other day, I made a mistake which resulted in some zone files with syntax errors in them. Puppet faithfully distributed the erroneous zone files to the name servers, which killed
2023 Dec 05
1
Question on slave
Hi Jean-Christophe, Anand's answer is entirely correct. Once 4.8.0 is released, zone files will be written once per hour by default. Best regards, Jeroen On Tue, 2023-12-05 at 10:48 +0100, Anand Buddhdev via nsd-users wrote: > On 04/12/2023 13:47, Jean-Christophe Boggio via nsd-users wrote: > > Hi Jean-Christophe, > > > When syncing between master and slaves, am I
2007 Jul 04
1
bind issue on centos 5
Hi all, i ma trying to setup bind-chroot on centos 5. its named.comf file is confused to me. I can not get it up and running. How can I fix it? It is very urgent. Can I run bind without chrootjail.if so, What is the pkg I should use? Pls note that this is a primary name server. I updated it to centos 5 from Redhat 9. on Redhat 9, I worked. But, without chroot jail. Some how, I wnat to get it
2003 Nov 06
1
Samba 3.0 and ADS How to
HelloList, Do someone have got a link/document/"How To" for setting up Samba 3.0 in ADS-Enviroment. I read Samba-Collection-How-To, but I got stuck and need help. My favour will be a easy and perspicuous manual like a walkthrough Thanks in advance. Regards Dominik Brosch
2005 Jan 29
1
samba in a WAN
Hello... We have a NT4 Domain in our mainoffice. Now we have to install servers all over germany. (About 20 locations) The offices are connectet over DSL/VPN. We think about using samba to have a stable and inexpensive solution. Is there a solution to use samba over a wide area network? We have alraedy one standalone samba-domain (domain-logons with machine-accounts) in a small office in
2004 Jul 29
2
XP does not join domain
hi, i've the following problem: i want a XP pro sp1 to join my samba (3.0.5) domain (MHC). with my first try it complained that it could not resolve: _ldap._tcp.dc._msdcs.MHC i've fixed this with the following DNS setup: ------------------------------ _ldap._tcp.MHC. 600 IN SRV 0 100 389 server.MHC.
2010 May 20
7
unable to join to a Samba4 domain
I'm trying to join a Windows 2008 to a Samba4 domain. I'm able to ping Samba4 or browse its network shares. Unfortunately, I can't join Windows 2008 to this Samba4 domain - I'm not even asked for Administrator password. Windows 2008 errors with the below message, which roughly translates to: DSN-query for domain "samba4.my.domain" was successful. The query was for
2009 Sep 07
4
Upgrade from b113 to b122 - any gotchas
We are running 4 Solaris10u7 DomUs on a b113 Dom0 I''d like to upgrade the Dom0 to b122 but not rebuild the DomUs. Below is a typical DomU xml dump. Is there anything obvious that will bite me in upgrading from 113 to 122? Thanks John virsh # dumpxml achilles2 <domain type=''xen'' id=''1''> <name>achilles2</name>