View previous topic :: View next topic |
Author |
Message |
Cymraeg n00b
Joined: 02 Apr 2003 Posts: 12 Location: slc, ut
|
Posted: Mon Jan 19, 2004 8:49 pm Post subject: weird remote server disconnect when emerging |
|
|
here's a strange one. i'm upgrading two of my remote boxes to glibc-2.3.2-r9, and everytime the upgrade is nearly complete, i lose my ssh connection to the boxes. i'm able to duplicate this behavior every time. i am connecting via putty to the sshd server on the remotes. i've never had this happen before.
my ssh client - putty - displays a dialog box with the error "Network error: Software caused connection abort." this is where the disconnect happens:
* Installing Locale data...
make: Entering directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere'
make -r PARALLELMFLAGS="-j2" CVSOPTS="" -C .. objdir=`pwd` localedata/install-locales
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2'
make -j2 -C localedata install-locales
make[2]: Entering directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/localedata'
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.2-r9/image//usr/lib/locale
mkdir /var/tmp/portage/glibc-2.3.2-r9/image/usr/lib/locale
aa_DJ.ISO-8859-1aa_ER.UTF-8...... done
aa_ER.UTF-8@saaho... done
:
: [ bunch of locales ]
:
yi_US.CP1255... done
zh_CN.GB2312... done
zh_CN.GB18030... done
zh_CN.GBK... done
zh_HK.BIG5-HKSCS... done
zh_TW.BIG5... done
zh_TW.EUC-TW... done
zu_ZA.ISO-8859-1... done
*poof* nothing
here's what portage tells me now:
INCOMPLETE MERGE: /var/db/pkg/sys-libs/-MERGING-glibc-2.3.2-r9
[ebuild U ] sys-libs/glibc-2.3.2-r9 [2.3.2-r3]
[ebuild U ] dev-libs/openssl-0.9.7c-r1 [0.9.6k]
[ebuild U ] dev-db/mysql-4.0.16 [4.0.14-r2]
[ebuild U ] dev-libs/libxml2-2.6.3 [2.5.11]
[ebuild U ] dev-libs/libxslt-1.1.1 [1.0.33]
[ebuild U ] app-arch/bzip2-1.0.2-r3 [1.0.2-r2]
[ebuild U ] sys-devel/m4-1.4-r1 [1.4]
[ebuild U ] sys-devel/autoconf-2.58 [2.57-r1]
[ebuild U ] sys-devel/automake-1.7.7 [1.7.5-r2]
[ebuild U ] net-www/apache-1.3.29-r1 [1.3.28]
[ebuild U ] net-analyzer/snort-2.0.6 [2.0.0]
[ebuild U ] net-misc/wget-1.9-r2 [1.8.2-r2]
[ebuild N ] sys-apps/module-init-tools-0.9.15_pre4
INCOMPLETE MERGE: /var/db/pkg/sys-libs/-MERGING-glibc-2.3.2-r9
[ebuild U ] sys-libs/ncurses-5.3-r5 [5.3-r2]
[ebuild N ] sys-kernel/gentoo-sources-2.4.22-r5
[ebuild U ] dev-php/mod_php-4.3.4-r2 [4.3.3-r2]
[ebuild U ] dev-php/php-4.3.4-r3 [4.3.3-r2]
[ebuild U ] sys-apps/coreutils-5.0.91-r4 [5.0-r5]
[ebuild U ] dev-util/tla-1.1 [1.1_pre8]
[ebuild U ] net-www/mod_ssl-2.8.16 [2.8.15]
[ebuild U ] sys-apps/slocate-2.7-r5 [2.7-r4]
anyone else seen this before? |
|
Back to top |
|
|
FreeFly42 l33t
Joined: 03 Nov 2003 Posts: 848 Location: Houston, TX
|
Posted: Tue Jan 20, 2004 12:31 am Post subject: |
|
|
I have seen a post about this. I think it is because you are upgrading glibc and that kills the ssh server...
Anyway, to prevent your install from being corrupted emerge screen and use it. You can just call "screen" from the ssh session before you emerge glibc, and it will allow the emerge to finish even if the session which launched it (ssh) dies, so your install won't be corrupted. See man screen for more details. Pretty cool. _________________ Kent
Planes are dangerous, get out of 'em quick |
|
Back to top |
|
|
Cymraeg n00b
Joined: 02 Apr 2003 Posts: 12 Location: slc, ut
|
Posted: Tue Jan 20, 2004 2:41 am Post subject: |
|
|
kent,
that was the trick. thanks for the tip. you saved me a harrowing trip to the colo 20 miles away.
for the searchers, all i did was:
# emerge screen
# screen emerge -u glibc
sean |
|
Back to top |
|
|
|