Re: dhclient-exit-hooks

2006-05-04 Thread Daniel Bye
(Apologies for the rather fragmentary nature of this post - I've been typing and reading the scripts and man pages, trying to get my head round what's going on...) On Wed, May 03, 2006 at 05:43:48PM -0400, fbsd wrote: I figured the Shared object not found error is another sign of what is wrong

RE: dhclient-exit-hooks

2006-05-04 Thread fbsd
Today I installed the isc-dhcp-client package. It installs a completlly different dhclient-script. One that looks like it matchhes what your begin/exit scripts are designed to work with. # base version /etc/dhclient-exit-hooks /etc/dhclient-exit-hooks.sav /etc/dhclient.conf /sbin/dhclient

Re: dhclient-exit-hooks

2006-05-04 Thread Daniel Bye
On Thu, May 04, 2006 at 10:41:05AM -0400, fbsd wrote: Today I installed the isc-dhcp-client package. 'K. Hope you have better luck. I have never used it, so don't know anything about it. I think this is another indicator of a bug with the base dhclient and that this bug makes the pkg

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Norbert Papke Sent: Tuesday, May 02, 2006 9:47 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Tuesday 02 May 2006 06:12, fbsd wrote: IF I execute the cat command to issue the notification email

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
: freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Tuesday 02 May 2006 06:12, fbsd wrote: IF I execute the cat command to issue the notification email from the command line it works fine, but when used in the script I get these messages during boot process. I am

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 08:07:39AM -0400, fbsd wrote: I changed #! /bin/sh to #!/bin/sh it had no effect. Logger command still not producing output. using sendmail to construct the email made no difference. Still get this message /libexec/ld-elf.so.1

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 12:17:00PM -0400, fbsd wrote: What goes in your_script_service? Is it suppose to be script name dhclient-exit-hooks? Yes. Sorry, hadn't been paying due attention, otherwise I would have put 'dhclient-exit-hooks' ;-) Is the # comment char to be removed? No - leave

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye Sent: Wednesday, May 03, 2006 12:22 PM To: Daniel Bye; freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 12:17:00PM -0400, fbsd wrote: What goes in your_script_service? Is it suppose to be script name

Re: dhclient-exit-hooks

2006-05-03 Thread Atom Powers
On 5/3/06, fbsd [EMAIL PROTECTED] wrote: I changed #! /bin/sh to #!/bin/sh it had no effect. Logger command still not producing output. using sendmail to construct the email made no difference. Still get this message /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found, required by

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 12:52:07PM -0400, fbsd wrote: Added this and still no joy. # PROVIDE: 'dhclient-exit-hooks' # REQUIRE: SERVERS I'm sure it won't fix the problem, but you shouldn't include the quotes around the term for # PROVIDE:. Also, I think the rcorder block needs a blank line

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
There is nothing to rebuild. I am using the built in dhclient that comes with the system. -Original Message- From: Atom Powers [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:05 PM To: [EMAIL PROTECTED] Cc: Norbert Papke; freebsd-questions@freebsd.org Subject: Re: dhclient-exit

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
for the binary of your MTA) Atom's suggestion is worth pursuing. Dan -Original Message- From: Atom Powers [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:05 PM To: [EMAIL PROTECTED] Cc: Norbert Papke; freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On 5

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 02:25:08PM -0400, fbsd wrote: There is nothing to rebuild. I am using the built in dhclient that comes with the system. But it's not dhclient that's emitting the error, is it? It's your MTA. (check in /etc/mail/mailer.conf

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 03:35:13PM -0400, fbsd wrote: I do not see why postfix would have any thing to do with logger not working. ACK. I've been talking about the Shared object not found error, which is definitely, from the error message you posted, caused by postfix not being able to find

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye Sent: Wednesday, May 03, 2006 4:42 PM To: Daniel Bye; freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Wed, May 03, 2006 at 03:35:13PM -0400, fbsd wrote: I do not see why postfix would have any thing to do

Re: dhclient-exit-hooks

2006-05-03 Thread Duane Whitty
fbsd wrote: When this script runs the logger statements do not create any message in the targeted log files. IF I execute the same logger statements from the command line they work as expected. Hi, Forgive my ignorance if it turns out I'm totally off track here but do you need a line in

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
[mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 6:50 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ORG Subject: Re: dhclient-exit-hooks fbsd wrote: When this script runs the logger statements do not create any message in the targeted log files. IF I execute the same logger statements from

Re: dhclient-exit-hooks

2006-05-02 Thread Norbert Papke
On Tuesday 02 May 2006 06:12, fbsd wrote: IF I execute the cat command to issue the notification email from the command line it works fine, but when used in the script I get these messages during boot process. I am running postfix launched by the sendmail wrappers on a FreeBSD 6.0 system.