Re: downgraded server from 5.2 to 5.1, everything dumps core now

2004-09-15 Thread Peter
Kris Wrote:
If you did it properly, yeah.  You're trying to run 5.2 binaries on a
5.1 kernel, which will not work.  At this point you can go back to the
5.2 kernel, or reinstall 5.1 from other media (CD, FTP, etc).

Kris

That's the first thing I checked, but logs and 'ls -l' show differently.
Three other servers I ran this script, but cvsupped from 5.0 to 5.2, no problems. 
[except mergemaster here and there].
I built world and kernel all from the same sources.  I had 5.2, cvsupped [src-all] to 
5.1 [accidentally], ran my buildworld script:
cvsup -g -L2 /root/stable-supfile  echo STABLE --- `date`  /root/buildword  \ 
rm -rf /usr/obj/*  \
cd /usr/src  \
make buildworld  echo BUILD - `date`  /root/buildword  \
make buildkernel KERNCONF=intranetecho BKERNEL - `date` /root/buildword  \
make installkernel KERNCONF=intranetecho IKERNEL - `date`/root/buildword \
make installworld  echo INSTALL - `date`  /root/buildword  reboot

with the following stuff being logged:
STABLE --- Fri Sep 10 22:57:43 MDT 2004
BUILD - Sat Sep 11 01:34:37 MDT 2004
BKERNEL - Sat Sep 11 11:02:54 MDT 2004
IKERNEL - Sat Sep 11 11:03:14 MDT 2004
INSTALL - Sat Sep 11 11:09:55 MDT 2004
time lapse there is because I went to sleep, and in the morning woke up, and noticed I 
 misspelled the kernel name.
If I do 'ls -l /bin/' and 'ls -l /boot/kernel' the create dates/times are within a couple minutes of each other.
I can ssh into the server fine, but another funny thing, su works without a password [pam has issues also].  Apache dies, sendmail dies. 
ksh93 dumps core on 'tab' auto completion.

Why would Apache die? It's from ports, no matter if I compiled it with 5.2 kernel, or 
5.0, it should work thoughout all the 5.x series right?
This is more of a mystery than a problem.  I just want to figure out what/where went 
wrong.
Confused like a nucking fut.  First time in 5+ years a FreeBSD didn't just work.
---Peter---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: downgraded server from 5.2 to 5.1, everything dumps core now.

2004-09-14 Thread Kris Kennaway
On Tue, Sep 14, 2004 at 11:11:02PM -0600, Peter wrote:
 Hello,
   I was doing an upgrade to several servers, and one of them I 
 accidentally cvsupped from RELENG_5_2 to  RELENG_5_1, did a normal 
 buildworld/kernel, install kernel/world, and lastly a reboot.  When I 
 realized that I had accidentally downgraded, I tried to upgrade, cvsup 
 ran fine.  But now buildworld, and tons of other commands 
 [w,config,man,ifconfig,etc.etc.] dont' work, or just core dump on me 
 with Bad System Call.
   Question:  Even though I downgraded, the system should function 
 right?

If you did it properly, yeah.  You're trying to run 5.2 binaries on a
5.1 kernel, which will not work.  At this point you can go back to the
5.2 kernel, or reinstall 5.1 from other media (CD, FTP, etc).

Kris

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]