09-08-2009
you miss a lot about how does work a daemon...
I do too: AFAIK
a daemon is still listening, ever, at what ever could come to it by its port...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi. I have a kornshell script that runs on a daily basis as a cron job. Part of what the script does is copy the folder contents from another server to the current server (server where KSH script is running).
I have a scp command, as follows:
scp $REMOTE_HOST:$REMOTE_FILE_DIR/* $TMP_DIR
... (8 Replies)
Discussion started by: dmilks
8 Replies
2. Shell Programming and Scripting
Hi All:
I need a script that can be timed to run every half hour to an hour to run a traceroute through a VPN to test that a connection is still up from a Win XP system. Which would be the best, C++ or Perl and what are some good resources to look at.
(If anyone has a script to do this... (1 Reply)
Discussion started by: maxhewitt
1 Replies
3. Solaris
How do you test the physical network connection of an interface in solaris. I know that if you have an active connection and the cable gets yanked, you can look in the messages file to check for link failure messages. But is there any better way to see if you have good layer 2 connectivity? (1 Reply)
Discussion started by: tjlst15
1 Replies
4. Shell Programming and Scripting
Hi,
I am trying to figure out how to test to see if a server is accepting telnet connections via a script.
I have several remote MPE servers that are set in single user mode (and hence not accepting telnet connections), for their backups, I want to try and automate a test (from a unix... (0 Replies)
Discussion started by: dikiee
0 Replies
5. Shell Programming and Scripting
Hi everyone , i am new to shell scripting and am having some problem to test if this line has been executed well and display a pass message on the screen or fail if not
sqlplus XXTEST/$2 <<END > $XXTEST_TOP/log/$0.log
@$XXTEST_TOP/admin/sql/XXTEST_SPE1_XX_QUOTE_DETAILS_TBL.sql XXTEST$2... (2 Replies)
Discussion started by: Lutchumaya
2 Replies
6. Shell Programming and Scripting
Hi there,
I have a computers that has a fixed address :
terminal48:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo... (1 Reply)
Discussion started by: chebarbudo
1 Replies
7. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
8. Shell Programming and Scripting
I was wondering if anyone already had a script to check rpm packages versions x.x.x or greater.
so I could do a:
# CheckRpmVersion Somepackage-1.2.3
And would output: whether the package is installed or not and if it was equal to or greater than the version 1.2.3.
I know I can pull out... (0 Replies)
Discussion started by: Ikon
0 Replies
9. Shell Programming and Scripting
I have a script that does db query in postgres. I'm trying to put in some error checking in the script. I keep running into the password prompt problem where when invalid credentials/or database is put it, it would prompt me for a password which hangs the script. Is there a way that I can check for... (0 Replies)
Discussion started by: zerofire123
0 Replies
10. Shell Programming and Scripting
Hello Scripting Czars
I have written one script, which does the Openssl Connection test to 1000's of server's , but before it finally takes off , its error-ring out, kindly take a look into this.
#!/bin/bash
#Script to Test Connectivity withListen Address & Port Address
#Script... (10 Replies)
Discussion started by: raghunsi
10 Replies
LEARN ABOUT CENTOS
ocf_heartbeat_dhcpd
OCF_HEARTBEAT_DHCPD(7) OCF resource agents OCF_HEARTBEAT_DHCPD(7)
NAME
ocf_heartbeat_dhcpd - Chrooted ISC DHCP server resource agent.
SYNOPSIS
dhcpd [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Manage an ISC DHCP server service in a chroot environment.
SUPPORTED PARAMETERS
config
The absolute path to the DHCP server configuration file.
(unique, required, string, no default)
chrooted
Configure the dhcpd service to run in a chrooted or non-chrooted mode.
(unique, optional, boolean, default true)
chrooted_path
The absolute path of the chrooted DHCP environment.
(unique, optional, string, default "/var/lib/dhcp")
binary
The binary for the DHCP server process. An absolute path definition is not required, but can be used to override environment path.
(optional, string, default "dhcpd")
user
The system user the DHCP server process will run as when it is chrooted.
(optional, string, default "dhcpd")
group
The system group the DHCP server process will run as when it is chrooted.
(optional, string, default "nogroup")
interface
The network interface(s) the DHCP server process will bind to. A blank value will bind the process to all interfaces.
(optional, string, no default)
includes
This parameter provides a means to copy include files into the chrooted environment. If a dhcpd.conf file contains a line similar to
this:
include "/etc/named.keys";
Then an admin also has to tell the dhcpd RA that this file should be pulled into the chrooted environment. This is a space delimited
list.
(optional, string, no default)
leases
The leases database file, relative to chrooted_path.
(optional, string, default "/db/dhcpd.leases")
pid
The path and filename of the PID file. It is relative to chrooted_path.
(optional, string, default "/var/run/dhcpd.pid")
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20.
stop
Stops the resource. Suggested minimum timeout: 20.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20.
EXAMPLE
The following is an example configuration for a dhcpd resource using the crm(8) shell:
primitive p_dhcpd ocf:heartbeat:dhcpd
params
config=string
op monitor timeout="20" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/dhcpd_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_DHCPD(7)