Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Odhiambo Washington

* Mike Tancsa [EMAIL PROTECTED] [20020919 15:10]: wrote:
 At 02:54 PM 9/19/2002 +0300, Odhiambo Washington wrote:
 
 Did I miss a CRITICAL Heads Up??? What could be happening here?
 
 
 When I start them manually they do start however. I did not make any
 changes to the rc files during mergemaster.
 
 You must have accidentally changed something at mergemaster / install time. 
 Double check that the files in /etc/ didnt get incorrectly altered.  Also, 
 dmesg -a might still have your bootup info stored and it might offer a clue 
 as to what went wrong.

Hello Mike,

Thanks for the quick response. During mergemaster, I am pretty sure no critical
file changed. I may swear this and be proved wrong though/


What I need to find out is which file controls the starting of the scripts in rc.d/

The first clue I have about all this is that I realized that mysql-server.sh
refused to start. When I attempted to start it manually the system complained that
there was  that was unexpected. So I am wondering whether the syntax for /bin/sh
has changed??? There has never been a probem with these scripts before. They cannot
all develop a problem at once, and furthermore they are the default startup scripts
that come with apps installed from the ports.

The bad thing about all this is that once I was over with mergemaster, I blew away
the backup etc :-(


-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


I can't understand why a person will take a year or two to write a
novel when he can easily buy one for a few dollars.
-- Fred Allen

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Ulrich 'Q' Spoerlein

On Thu, 19 Sep 2002 15:20:39 +0300, you wrote:

 When I start them manually they do start however. I did not make any
 changes to the rc files during mergemaster.
 
 You must have accidentally changed something at mergemaster / install time. 
 Double check that the files in /etc/ didnt get incorrectly altered.  Also, 
 dmesg -a might still have your bootup info stored and it might offer a clue 
 as to what went wrong.

Thanks for the quick response. During mergemaster, I am pretty sure no critical
file changed. I may swear this and be proved wrong though/

re-run your mergemaster with the -s option and make sure all files are as
accurate as possible.

What I need to find out is which file controls the starting of the scripts in rc.d/

The first clue I have about all this is that I realized that mysql-server.sh
refused to start. When I attempted to start it manually the system complained that
there was  that was unexpected. So I am wondering whether the syntax for /bin/sh
has changed??? There has never been a probem with these scripts before. They cannot

yes, command1   command2 won't work any longer. please update your
mysql ports as there are new startup scripts (or replace mysql   echo
mysql with mysql ; echo mysql)

all develop a problem at once, and furthermore they are the default startup scripts
that come with apps installed from the ports.

aside from mysql-server.sh which scripts are failing too? do they include
the   syntax?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Dimitry Andric

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2002-09-19 at 14:20:39 Odhiambo Washington wrote:

OW The first clue I have about all this is that I realized that mysql-server.sh
OW refused to start. When I attempted to start it manually the system complained that
OW there was  that was unexpected. So I am wondering whether the syntax for 
/bin/sh
OW has changed??? There has never been a probem with these scripts before. They cannot
OW all develop a problem at once, and furthermore they are the default startup scripts
OW that come with apps installed from the ports.

Please see this thread for more information:
http://www.geocrawler.com/mail/thread.php3?subject=%2Fbin%2Fsh+changed%3Flist=152

In short, the shell script construction:

  run_a_deamon   echo deamon started

is no longer supported, since it didn't make any sense in the first
place. :)

It might help to simply reinstall the port(s) that put scripts in
/usr/local/etc/rc.d, because these scripts should be updated by now,
to support the changes in /bin/sh.

I fear this is going to be a FAQ when 4.7 hits the streets... Wouldn't
this be a good entry for the /usr/src/UPDATING file? :)

Cheers,
- --
Dimitry Andric [EMAIL PROTECTED]
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: http://duncan.gn.apc.org/stoa_cover.htm

iQA/AwUBPYm5sLBeowouIJajEQIVAACgr0wHw2FnvpWpVSO2irh7/ND0XQwAoMWE
d0XgOTRmtSed0TOgaMhvrJlP
=pxx2
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Odhiambo Washington

* Ulrich 'Q' Spoerlein [EMAIL PROTECTED] [20020919 15:37]: wrote:
 On Thu, 19 Sep 2002 15:20:39 +0300, you wrote:
 
  When I start them manually they do start however. I did not make any
  changes to the rc files during mergemaster.
  
  You must have accidentally changed something at mergemaster / install time. 
  Double check that the files in /etc/ didnt get incorrectly altered.  Also, 
  dmesg -a might still have your bootup info stored and it might offer a clue 
  as to what went wrong.
 
 Thanks for the quick response. During mergemaster, I am pretty sure no critical
 file changed. I may swear this and be proved wrong though/
 
 re-run your mergemaster with the -s option and make sure all files are as
 accurate as possible.

Will do. Thanks.


 What I need to find out is which file controls the starting of the scripts in rc.d/
 
 The first clue I have about all this is that I realized that mysql-server.sh
 refused to start. When I attempted to start it manually the system complained that
 there was  that was unexpected. So I am wondering whether the syntax for /bin/sh
 has changed??? There has never been a probem with these scripts before. They cannot
 
 yes, command1   command2 won't work any longer. please update your
 mysql ports as there are new startup scripts (or replace mysql   echo
 mysql with mysql ; echo mysql)

Where is this documented? I missed it. Is this relevant to 4.6 also? I find a problem,
for example this line:

/usr/local/bin/safe_mysqld --user=mysql --log=/var/log/mysql.log  /dev/null  echo 
-n ' mysqld'

On a 4.6 when I try the change you suggest, it complains about the ;, as in

/usr/local/bin/safe_mysqld --user=mysql --log=/var/log/mysql.log  /dev/null ; echo 
-n ' mysqld'

That is wrong isn't it? Moreso, when I change the  , then I cannot do 
./mysql-server.sh start,
because then it doesn't detach from the tty.


 aside from mysql-server.sh which scripts are failing too? do they include
 the   syntax?


All the scripts in there failed to start - ALL of them.
I have tpop3d.sh, exim.sh, proftppd.sh, apache.sh, drwebd.sh ..
I mean I have to start all of them manually :-(

Please allow me to bother you with this by attaching the scripts.
I believe there is something else that has made them fail.
If only I could zero in on it.


THANK YOU SO MUCH for taking your time to see me through this. I am most grateful.



-Wash

S y s t e m s   A d m i n i s t r a t o r
-- 

--=--
Odhiambo Washington Wananchi Online Ltd 
E: [EMAIL PROTECTED]www.wananchi.com 
P: (+254)2 313 985-91st Floor Loita Hse 
F: (+254)2 313 922  Loita St., NAIROBI 
--=--
++
Nuclear war would really set back cable.
-- Ted Turner



apache.sh
Description: Bourne shell script


drwebd.sh
Description: Bourne shell script


samba.sh
Description: Bourne shell script


proftpd.sh
Description: Bourne shell script


slapd.sh
Description: Bourne shell script


spamd.sh
Description: Bourne shell script


tpop3d.sh
Description: Bourne shell script


z-exim.sh
Description: Bourne shell script


Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Odhiambo Washington

* Dimitry Andric [EMAIL PROTECTED] [20020919 15:49]: wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 2002-09-19 at 14:20:39 Odhiambo Washington wrote:
 
 OW The first clue I have about all this is that I realized that mysql-server.sh
 OW refused to start. When I attempted to start it manually the system complained 
that
 OW there was  that was unexpected. So I am wondering whether the syntax for 
/bin/sh
 OW has changed??? There has never been a probem with these scripts before. They 
cannot
 OW all develop a problem at once, and furthermore they are the default startup 
scripts
 OW that come with apps installed from the ports.
 
 Please see this thread for more information:
 http://www.geocrawler.com/mail/thread.php3?subject=%2Fbin%2Fsh+changed%3Flist=152

Thank you for this.

 In short, the shell script construction:
 
   run_a_deamon   echo deamon started
 
 is no longer supported, since it didn't make any sense in the first
 place. :)


I see.


 It might help to simply reinstall the port(s) that put scripts in
 /usr/local/etc/rc.d, because these scripts should be updated by now,
 to support the changes in /bin/sh.


Hoping that the port maintainers are all up to date with the info, that is.
I'll look at that option in a few minutes.


 I fear this is going to be a FAQ when 4.7 hits the streets... Wouldn't
 this be a good entry for the /usr/src/UPDATING file? :)


I normally read the /usr/src/UPDATING before doing any builds but I did not
see anything and was later to get this shcok.



Thank you so much


-Wash

S y s t e m s   A d m i n i s t r a t o r
-- 

--=--
Odhiambo Washington Wananchi Online Ltd 
E: [EMAIL PROTECTED]www.wananchi.com 
P: (+254)2 313 985-91st Floor Loita Hse 
F: (+254)2 313 922  Loita St., NAIROBI 
--=--
++
INVENTORY
Four be the things I am wiser to know:
Idleness, sorrow, a friend, and a foe.

Four be the things I'd been better without:
Love, curiosity, freckles, and doubt.

Three be the things I shall never attain:
Envy, content, and sufficient champagne.

Three be the things I shall have till I die:
Laughter and hope and a sock in the eye.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Ulrich 'Q' Spoerlein

On Thu, 19 Sep 2002 15:58:43 +0300, you wrote:

 yes, command1   command2 won't work any longer. please update your
 mysql ports as there are new startup scripts (or replace mysql   echo
 mysql with mysql ; echo mysql)

Where is this documented? I missed it. Is this relevant to 4.6 also? I find a problem,
for example this line:

/usr/local/bin/safe_mysqld --user=mysql --log=/var/log/mysql.log  /dev/null  echo 
-n ' mysqld'

On a 4.6 when I try the change you suggest, it complains about the ;, as in

/usr/local/bin/safe_mysqld --user=mysql --log=/var/log/mysql.log  /dev/null ; echo 
-n ' mysqld'

That is wrong isn't it? Moreso, when I change the  , then I cannot do 
./mysql-server.sh start,
because then it doesn't detach from the tty.

AFAIR mysqld was started like this: safe_mysqld /dev/null   echo -n '
mysqld' which won't work anymore. instead use something like this:
safe_mysqld 
echo -n ' mysqld'

or (safe_mysqld );echo foo

All the scripts in there failed to start - ALL of them.
I have tpop3d.sh, exim.sh, proftppd.sh, apache.sh, drwebd.sh ..
I mean I have to start all of them manually :-(

since mergemaster doesn't change anything in /usr/local/etc/ i think you
made some mistakes at /etc/rc* please redo the merge with -s and update
all the rc scripts.

THANK YOU SO MUCH for taking your time to see me through this. I am most grateful.

the attached scripts should all work fine...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Tim Robbins

On Thu, Sep 19, 2002 at 02:48:59PM +0200, Dimitry Andric wrote:

[...]
 I fear this is going to be a FAQ when 4.7 hits the streets... Wouldn't
 this be a good entry for the /usr/src/UPDATING file? :)

It's in the release notes. The version on www.freebsd.org is out of date;
try this instead:
ftp://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/4-LATEST/RELNOTES.TXT


Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Bruce A. Mah

If memory serves me right, Tim Robbins wrote:
 On Thu, Sep 19, 2002 at 02:48:59PM +0200, Dimitry Andric wrote:
 
 [...]
  I fear this is going to be a FAQ when 4.7 hits the streets... Wouldn't
  this be a good entry for the /usr/src/UPDATING file? :)
 
 It's in the release notes. The version on www.freebsd.org is out of date;

GI don't know why this stopped updating (yet again).  I've sent
off a query to try to get this fixed.

 try this instead:
 ftp://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/4-LATEST/RELNOTES.T
 XT

Which in turn is updated from files at:

http://people.freebsd.org/~bmah/relnotes/

(This may be slightly more up-to-date, because updating this site is a 
part of my build testing for release documentation changes.)

Cheers,

Bruce.





msg49745/pgp0.pgp
Description: PGP signature


Re: 4.7-PRERELEASE FAILING!!

2002-09-19 Thread Odhiambo Washington

* Ulrich 'Q' Spoerlein [EMAIL PROTECTED] [20020919 17:12]: wrote:
 AFAIR mysqld was started like this: safe_mysqld /dev/null   echo -n '
 mysqld' which won't work anymore. instead use something like this:
 safe_mysqld 
 echo -n ' mysqld'


That works. mysql sorted ;)

 since mergemaster doesn't change anything in /usr/local/etc/ i think you
 made some mistakes at /etc/rc* please redo the merge with -s and update
 all the rc scripts.


When I ran mergemaster, I actually installed the newer versions of rc* except
for /etc/rc.conf which I did not want touched, so the problem is somewhere else, no?
I have re-run mergemaster -s and reinstalled those files again (without any mods).
Doesn't change the situation.


 the attached scripts should all work fine...

At the expense of being seen as dump, I'd like to know which script does the
initialization/running of the scripts in rc.d/ - I guess that is where the
problem is, because it would appear rc.d/ is totally ignored!!



Thank you.



-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


Old programmers never die.  They just branch to a new address.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message