From owner-freebsd-questions Mon Sep 23 22:42:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4D3037B401 for ; Mon, 23 Sep 2002 22:42:21 -0700 (PDT) Received: from mta01ps.bigpond.com (mta01ps.bigpond.com [144.135.25.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B77B43E7B for ; Mon, 23 Sep 2002 22:42:20 -0700 (PDT) (envelope-from dannyho@bigpond.net.au) Received: from win2000 ([144.135.25.75]) by mta01ps.bigpond.com (Netscape Messaging Server 4.15 mta01ps Jul 16 2002 22:47:55) with SMTP id H2XH6I00.32A; Tue, 24 Sep 2002 15:42:18 +1000 Received: from CPE-203-45-119-212.nsw.bigpond.net.au ([203.45.119.212]) by PSMAM03.mailsvc.email.bigpond.com(MailRouter V3.0n 89/18054375); 24 Sep 2002 15:42:18 Message-ID: <000e01c2638f$588cc990$bf01a8c0@x.com> From: "Danny" To: Cc: References: <000d01c25f9c$d614cee0$bf01a8c0@x.com> <20020919053946.GA15586@nucl03.anu.edu.au> <05d701c2630c$97d548d0$bf01a8c0@x.com> <20020924040042.GA44003@nucl03.anu.edu.au> Subject: Re: Upgrading using /stand/sysinstall Date: Tue, 24 Sep 2002 15:58:03 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Gregory, I found the old files by typing in /usr/libexec/locate.updatedb - locate master.passwd backup# ls aliases.bak group.bak2 master.passwd.bak2 group.bak master.passwd.bak backup# pwd /var/backups When you say I should merge them to the new password files does it mean I issue the following commands to copy the old passwords, groups overs cat aliases.bak > /etc/aliases cat group.bak > /etc/group cat master.passwd.bak > /etc/master.passwd Yours faithfullly dannyho@bigpond.net.au ----- Original Message ----- From: "Greg Lane" To: "Danny" Cc: Sent: Tuesday, September 24, 2002 2:00 PM Subject: Re: Upgrading using /stand/sysinstall > > Dear Gregory, > > > > Thank you for replying to my email with the games.telstra.com/gamearena/ > > site it was very helpful. > > No worries. > > > I tried the instruction on a test machine in the email below: > > and after the installation has completed I typed in "cp kernel.GENERIC > > kernel" then reboot the computer > > > > I am now currently running : > > > > backup# uname -a > > FreeBSD backup.freebsbsd.org 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 > > 06:14:12 GMT 2002 > > murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 > > backup# > > > > After the upgrade I am experiencing the following probelms with FreeBSD: > > > > 1) After FreeBSD has booted up I can't seem to log in with my old usernames > > and password, I have checked /etc/passwd and I can't find the usernames. > > > > 2)When the machine boots up and I try to start the PostgreSQL service I get > > the following error message > > backup# ./010.pgsql.sh start > > PGDATA: Undefined variable. > > pgsqlbackup# > > > > 3)When the machine boots up and I try to start the MySQL service I get the > > following error message: > > backup# ./mysql-server.sh start > > mysqldbackup# pschown: mysql: illegal user name > > > > 4)When I load webmin to test it everything works fine expect Webmin still > > shows I am running Version 0.93 on backup.freebsbsd.org (FreeBSD 4.3) after > > the upgrade > > > > Does anyone in the mailing list know how to solve the problems? > > > > dannyho@bigpond.net.au > > This is a bit of conjecture on my part since its ages since I've done > it with sysinstall (I usually upgrade via the cvsup / buildworld method). > > I dimly remember, but may be wrong, that many files in /etc are > archived somewhere else by the install and you are supposed to copy > back the ones you need. Can anyone confirm or correct that? > > If so, that would be the source of at least some of your problems. > You will need to copy back your old passwd and group files, possibly > mergin in any new groups or users that were added by the install > (possibilities include sshd, smmsp etc). Use diff on the archived and > new versions to check for additions / deletions. > > Cheers, > Greg > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message