cbd4
![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I managed to upgrade my tiny server to 7.0-RELEASE-p5. After the make installkernel KERNCONF=QUOTAKERNEL which has been going smoothly (the only difference between QUOTAKERNEL and GENERIC is the uncommented line "options QUOTA"), I reboot the server. And then remote login via SSH is not possible anymore. The os is now: FreeBSD pavillon.siege.pnrun.local 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #4: Sun Nov 16 16:01:33 RET 2008 ad@pavillon.siege.pnrun.local:/usr/obj/usr/src/sys/QUOTAKERNEL i386 When trying to connect to this machine, the output of sshd -ddd is in attachment. The client get an 'Connection closed by remote host.' while the server exits with a 'Segmentation fault' shortly after 'Allocating pty.' I'm not sure if the p5 patch is involved, I don't think so. But the problem occured after the upgrade. I was SSHing to update the kernel, reboot, and ssh segfault. For completeness, the machine is a BDC in a samba domain. Authentication is done with pam_ldap and nss_ldap. However, the problem still remains when I remove all pam_ldap.so references in /etc/pam.d/sshd and all ldap references in /etc/nsswitch.conf. I can't figure out the nature of the problem, and google wasn't very helpful, so any help/idea would be greatly appreciated. Thanks |
|
#2
|
|||
|
|||
|
Quote:
freebsd-update is much better for this. |
|
#3
|
||||
|
||||
|
What version were you upgrading from?
__________________
Looking for administrator? http://www.syscare.sk |
|
#4
|
|||
|
|||
|
Sorry, I forgot to tell you that I was upgrading from 7.0-RELEASE-p4. So I've just followed the instructions along with the p5 patch, that is to say: rebuild the kernel:
# cd /usr/src # make buildkernel KERNCONF=QUOTAKERNEL # make installkernel KERNCONF=QUOTAKERNEL # shutdown -r now |
|
#5
|
||||
|
||||
|
Read /usr/src/UPDATING.. It's quite likely you need to update world too..
As in make buildworld make installworld Once that's done, don't forget to run mergemaster |
|
#6
|
|||
|
|||
|
Ok, ok, I know, rtfm
Instead of 'make buildworld', a 'make kernel-toolchain' as indicated in /usr/src/UPDATING solved my problem. Thanks everybody |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BTX fault booting FreeBSD 6.3 amd64 on VMware Server 2 | Christopher | Installing & Upgrading | 4 | November 21st, 2008 05:04 |
| net-snmp port upgrade build error on fbsd 7.0 | ardya | Installation and Maintenance of FreeBSD Ports or Packages | 8 | November 17th, 2008 10:41 |