11-20-2011
/etc/rc.d/named restart issue (command not found)
Guys,
I am new to FreeBSD. I have this weird issue where when i issue the command "/etc/rc.d/named restart" i get --> command not found.
I am running BIND 9.6.-ESV-R3 on FreeBSD 8.2
I have added named_enable="YES" in rc.conf as per manual
named works great: No issue there. I just would like to be able to restart named without having to reboot my server.
Any help is much appreciated of course
Kind Regards,
10 More Discussions You Might Find Interesting
1. AIX
Hi Folks,
I have an AIX server and I would like the server to run the command saprouter -r at every system restarts. It needs to be run by a specific user. How would I do that?
Thanks!!! (1 Reply)
Discussion started by: brookingsd
1 Replies
2. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
3. Windows & DOS: Issues & Discussions
Hi all expert,
Anybody know how to restart the windows 2000 server through command line and without using any additional tool?
Thanks :):) (2 Replies)
Discussion started by: wilsonSurya
2 Replies
4. SuSE
Hi Experts,
I have a virtual server of SUSE Linux Enterprise Server 10 (x86_64). I am having strange issue of Naming services. Every 1 or 2 hours, named service stops working on this server and then I have to start it from "/etc/init./named start"
I am not getting clue, where should I start... (0 Replies)
Discussion started by: solaris_1977
0 Replies
5. Boot Loaders
hi guys
I have an issue with my grub configuration
I see I have this in my menu.lst file
default=0
timeout=1
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.19.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.19.1.el5 ro... (2 Replies)
Discussion started by: kopper
2 Replies
6. Red Hat
Hello All,
I have resubmitted this issue I am having as the my last post was moved to programming as the issue appeared to be specific to java but on further investigation this is not the case.
The issues also arises when running the host command and appears to be either a problem with the... (1 Reply)
Discussion started by: Paragon1970
1 Replies
7. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
8. Shell Programming and Scripting
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
9. Red Hat
I am facing the following issue after giving a restart (init 6) of my RHEL 5.9 system.
As a result,the system is not starting after a restart.
Can somebody help me to trouble shoot the issue.
Red Hat nash version 5.1.19.6 starting
Reading all physical volumes. This may take a while...
... (7 Replies)
Discussion started by: Anjan Ganguly
7 Replies
10. Windows & DOS: Issues & Discussions
Hi All,'
I need to write a windows bat program to delete particular folders with naming pattern scoped_dir45666 (for example)(including contents)
with batch program. For that I am using below code:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
i got above... (0 Replies)
Discussion started by: onenessboy
0 Replies
LEARN ABOUT REDHAT
rndc-confgen
RNDC-CONFGEN(8) RNDC-CONFGEN(8)
NAME
rndc-confgen - rndc key generation tool
SYNOPSIS
rndc-confgen [ -a ] [ -b keysize ] [ -c keyfile ] [ -h ] [ -k keyname ] [ -p port ] [ -r randomfile ] [ -s address ] [ -t chrootdir
] [ -u user ]
DESCRIPTION
rndc-confgen generates configuration files for rndc. It can be used as a convenient alternative to writing the rndc.conf file and the cor-
responding controls and key statements in named.conf by hand. Alternatively, it can be run with the -a option to set up a rndc.key file
and avoid the need for a rndc.conf file and a controls statement altogether.
OPTIONS
-a Do automatic rndc configuration. This creates a file rndc.key in /etc (or whatever sysconfdir was specified as when BIND was built)
that is read by both rndc and named on startup. The rndc.key file defines a default command channel and authentication key allowing
rndc to communicate with named with no further configuration.
Running rndc-confgen -a allows BIND 9 and rndc to be used as drop-in replacements for BIND 8 and ndc, with no changes to the exist-
ing BIND 8 named.conf file.
-b keysize
Specifies the size of the authentication key in bits. Must be between 1 and 512 bits; the default is 128.
-c keyfile
Used with the -a option to specify an alternate location for rndc.key.
-h Prints a short summary of the options and arguments to rndc-confgen.
-k keyname
Specifies the key name of the rndc authentication key. This must be a valid domain name. The default is rndc-key.
-p port
Specifies the command channel port where named listens for connections from rndc. The default is 953.
-r randomfile
Specifies a source of random data for generating the authoriazation. If the operating system does not provide a /dev/random or
equivalent device, the default source of randomness is keyboard input. randomdev specifies the name of a character device or file
containing random data to be used instead of the default. The special value keyboard indicates that keyboard input should be used.
-s address
Specifies the IP address where named listens for command channel connections from rndc. The default is the loopback address
127.0.0.1.
-t chrootdir
Used with the -a option to specify a directory where named will run chrooted. An additional copy of the rndc.key will be written
relative to this directory so that it will be found by the chrooted named.
-u user
Used with the -a option to set the owner of the rndc.key file generated. If -t is also specified only the file in the chroot area
has its owner changed.
EXAMPLES
To allow rndc to be used with no manual configuration, run
rndc-confgen -a
To print a sample rndc.conf file and corresponding controls and key statements to be manually inserted into named.conf, run
rndc-confgen
SEE ALSO
rndc(8), rndc.conf(5), named(8), BIND 9 Administrator Reference Manual.
AUTHOR
Internet Software Consortium
BIND9 Aug 27, 2001 RNDC-CONFGEN(8)