Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sun Solaris Install Help 1

Status
Not open for further replies.

jdhinze

MIS
Jul 14, 1999
35
US
I am installing Solaris 8 on a Sun e 250 . The install went without a hitch or I thought .
I ran a pkgchk and encountered the following errors. Is there any way to clean up the errors without re installation of the OS? The biggest problem is the "pg" command, which appears to not work at all.

Any help is appreciated .

Thanks in advance,






ERROR: /opt/answerbooks/english/solaris_8/SUNWopen/collinfo
file size <152> expected <178> actual
file cksum <12506> expected <15496> actual
ERROR: /opt/answerbooks/english/solaris_8/SUNWopen/socat
file size <480> expected <610> actual
file cksum <35597> expected <50547> actual
ERROR: /opt/answerbooks/english/solaris_8/SUNWsup1/collinfo
file size <165> expected <191> actual
file cksum <13387> expected <16336> actual
ERROR: /opt/answerbooks/english/solaris_8/SUNWsup1/socat
file size <541> expected <697> actual
file cksum <40166> expected <57860> actual
ERROR: /usr/bin/pg
permissions <0555> expected <0755> actual
group name <bin> expected <other> actual
file size <26852> expected <585> actual
file cksum <59592> expected <41271> actual

 
Currently using 2.6 but have used 7. Las time I used 7 I recall man on pg said it was being dropped, you will have to use more.
Can't realy help with the others, was this an install or an upgrade?
 
It was a new install . I am also currently running 7 on an intel box. Pg works on that system and is sized the same as the error message. I have not heard that pg was being dropped by Sun.
 
It was either in man on solaris 7 or in the O'Reilly &quot;In a Nutshell&quot; book for Solaris 7.
 
I would try using &quot;pkgadd&quot; to reinstall the packages that contain the affected files. The last time I saw the kind of messages you are seeing, I had mistakenly installed an Intel package onto a SPARC server... Maybe you got a SPARC package onto your Intel box?
 
Andy,

I you could help me out it would be greatly appreciated.

1. Do I have to remove the SUNWcsu package before I install?
2. If I install over the existing will I lose all the changes mode to other files?
3. Can I pull off &quot;pg&quot; by itself from somewhere? That seems to be the only file that is trashed. The answerbook items that appeared in the errors are not important to me. But I have several people that are lost without the &quot;pg&quot; and are crying miserablely .... ( They just won't use page or more)

Any insight would be helpfull . this is my first exposure to Sun and we have a short timeline.

Thanks
 
As a work around, you could use view to look at files for now.
It is a read only version ov the vi editor, use ctl J and ctl K to move up and down. ZZ(Upper Case) will exit.
 
If all you need is the pg command, I would try spooling the SUNWcsu package to a directory on the hard disk (Use the &quot;-s&quot; option of pkgadd). Once this is done you should be able to locate the pg command in the spool directory and copy it to the correct location.

I didn't realise that pg was part of SUNWcsu. As this is the core Solaris package, it isn't really one that you want to be removing from the system... You might also have a problem with files being in use if you try to re-install the package while the system is up and running. Hence the suggestion that you spool the package to a directory and copy pg from there.

On the &quot;quick and dirty fixes&quot; side of things, did you think of creating a link from /usr/bin/more to /usr/bin/pg? ;^)
 
Andy,

Thanks much you pointed me on the right track . The file resides in /../../../Tools/usr/bin on the first install disk for Solaris 8.

Thanks again,


Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top