Date: Tue, 24 Sep 2002 15:58:03 +1000 From: "Danny" <dannyho@bigpond.net.au> To: <gregory.lane@anu.edu.au> Cc: <freebsd-questions@freebsd.org> Subject: Re: Upgrading using /stand/sysinstall Message-ID: <000e01c2638f$588cc990$bf01a8c0@x.com> References: <000d01c25f9c$d614cee0$bf01a8c0@x.com> <20020919053946.GA15586@nucl03.anu.edu.au> <05d701c2630c$97d548d0$bf01a8c0@x.com> <20020924040042.GA44003@nucl03.anu.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <gregory.lane@anu.edu.au> To: "Danny" <dannyho@bigpond.net.au> Cc: <freebsd-questions@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c2638f$588cc990$bf01a8c0>