Sponsored Content
Special Forums IP Networking Problem with script execution from a DHCP event Post 302588563 by bypper on Monday 9th of January 2012 10:36:03 AM
Old 01-09-2012
The problem is... CHROOT

I think that the "chroot" funcionality have a BUG.

No script can be found using the "chroot" environment.

When I disable in "/etc/sysconfig/dhcpd"...

Quote:
...
DHCPD_RUN_CHROOTED="no"
...
The script run without problem.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

problem with shell script execution

Hi All, i am running a shell script in which there is a command `ps -ef | grep smon > db` When i execute this command in the command prompt i am getting the desired output..but when the script is executed..the db file is getting created but with no values...I could not find the reason for... (2 Replies)
Discussion started by: anju
2 Replies

2. Shell Programming and Scripting

problem with remote execution of script using telnet

Hi all, i am trying to remotely execute a script from a different server. this is the code that i use : #!bin/sh pwd (sleep 1 echo "username" sleep 2 echo "pwd" sleep 2 echo "cd /path/to/file" if then echo "script1.sh" echo "mailx -s "Task Executed"... (1 Reply)
Discussion started by: sais
1 Replies

3. UNIX for Advanced & Expert Users

How to get DHCP address change event notification programmatically?

Hello Experts, I am working on a software that has network client-server architecture. I need to have a mechanism that notifies me upon change of dhcp address change locally or at remote machine. Windows have IP Helper APIs to get address change notification. Is there something similar in Unix?... (3 Replies)
Discussion started by: GajendraSharma
3 Replies

4. Shell Programming and Scripting

parallel execution of script/ synchro problem

Hi everybody, In a csh script, i need to run 4 time the same prog with different parameters. What i want is to run them in parallel. for this i use the command toto1.sh & toto2.sh & toto3.sh & toto4.sh For this I have no problem. In fact, I need to wait until all the programs are over to... (2 Replies)
Discussion started by: Moumou
2 Replies

5. Shell Programming and Scripting

Execution problem with grep script (2 variables)

#!\bin\sh TEST=test.log GREP=\usr\bin\grep $GREP -i 'dog\|cat' ${TEST} Why doesn't grep run at all? (10 Replies)
Discussion started by: jazzaddict
10 Replies

6. Shell Programming and Scripting

Execution problem with shell script

Hi all, I want to use perl string manipulation commands in my shell script. I have written following script. echo "enter name" read name perl -e '$m=length($name); echo $m it gives an error: unrecognized token in perl command line. do not suggest me an equivalent command of shell... (3 Replies)
Discussion started by: admc123
3 Replies

7. Shell Programming and Scripting

Execution problem with csh script

Hi All, I have a small issue with my csh script which I am using to FTP a file. What I know is...there are two commands to execute script.. 'sh <file>' & '\<file>'. When I execute my script with command 'sh <file>', it gives me syntax error while it runs successfully with command '\<file>'. I am... (3 Replies)
Discussion started by: ndd
3 Replies

8. Solaris

Execution problem in shell script while insert into DB

Hi, am facing some problem while inserting a record into a script Please find script below. `sqlplus -s asdf/asdf123 <<eof! set feedback off; set heading off; set verify off; insert into... (2 Replies)
Discussion started by: senkerth
2 Replies

9. Shell Programming and Scripting

Execution problem with shell script for modifying a user

#/bin/sh echo "enter the user name" read $username echo "Enter new home directory" read $newhd usermod -d $newhd $username ;; error while executing : enter the user name Rev Enter new home directory: /home/58745 usermod: option requires an argument -- 'd' Try `usermod --help' or... (2 Replies)
Discussion started by: Revanth547
2 Replies
REC_CONTROL(1)							  [FIXME: manual]						    REC_CONTROL(1)

NAME
rec_control - control pdns_recursor SYNOPSIS
rec_control [--help] [--socket-dir] [--socket-pid] command .. DESCRIPTION
rec_control(1) allows the operator to control a running instance of the pdns_recursor. The commands that can be passed to the recursor are described on http://doc.powerdns.com/rec-control.html EXAMPLES
To stop the recursor by hand, run: # rec_control quit To dump the cache to disk, execute: # rec_control dump-cache /tmp/the-cache OPTIONS
--help provide this helpful message --socket-dir Where the controlsocket will live --socket-pid When running in SMP mode, pid of pdns_recursor to control --timeout Number of seconds to wait for the remote PowerDNS Recursor to respond. Set to 0 for infinite. COMMANDS
dump-cache filename Dumps the entire cache to the filename mentioned. This file should not exist already, PowerDNS will refuse to overwrite it. While dumping, the recursor will not answer questions. get statistic Retrieve a statistic. For items that can be queried, see http://doc.powerdns.com/recursor-stats.html get-all Retrieve all known statistics. ping Check if server is alive. quit Request shutdown of the recursor reload-zones Reload authoritative and forward zones. Retains current configuration in case of errors. top-remotes Shows the top-20 most active remote hosts. Statistics are over the last remotes-ringbuffer-entries queries, which defaults to 0. wipe-cache domain0 [domain1] Wipe entries from the cache. This is useful if, for example, an important server has a new IP address, but the TTL has not yet expired. Multiple domain names can be passed. Note that you must terminate a domain with a .! So to wipe powerdns.org, issue rec_control wipe-cache powerdns.org.. Versions beyond 3.1 don't need the trailing dot. Consider not only wiping www.domain.com. but also domain.com., as the cached nameservers or target of CNAME may continue to be undesired. BUGS
None known. File new ones at http://wiki.powerdns.com. AUTHOR
Written by PowerDNS.COM BV, bert hubert, <bert.hubert@netherlabs.nl[1]> RESOURCES
Website: http://wiki.powerdns.com, http://www.powerdns.com SEE ALSO
pdns_recursor(1) COPYING
Copyright (C) 2006 PowerDNS.COM BV. Free use of this software is granted under the terms of the GNU General Public License (GPL) version 2. NOTES
1. bert.hubert@netherlabs.nl mailto:bert.hubert@netherlabs.nl [FIXME: source] 08/30/2010 REC_CONTROL(1)
All times are GMT -4. The time now is 09:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy