[HPADM] Re: swinstall error.

From: Sudhansu Dora (s_dora@yahoo.com)
Date: Thu Sep 22 2005 - 11:03:21 EDT


Hi

thanks to all who have replied.
The actual proablem was as Bill has mentioned, some
network changes like new lan config was carried out
but then somebody had changed the hostname to one of
the LAN ip mentioned in /etc/hosts file.

First we tried wit reverting the /etc/hosts file and
swinstall could run successfully.
Also I tested with stopping and restarting swagent,
that also worked.

Best regards

sudhansu
--- Bill Hassell <bill@billhassell.com> wrote:

>
> Any file with 777 permission is almost always
> wrong!!
>
> When you change a file to 777, you are saying that
> this file is
> an executable program or script and that every user
> on the system
> is allowed to trash the contents. NEVER change files
> to 666 or 777
> or directories to 777 until you know that this is
> proper. It is
> very common to try to fix a "permission" problem
> with chmod but
> most of the time that is not the problem, and
> everyone forgets
> to go back and change the permissions to the correct
> values. And
> that leads to system corruption in the future. The
> only directories
> that should be 777 are /tmp and /var/tmp.
>
> Anyways, the VERY misleading message about not
> having permission
> for swinstall has nothing to do with the depot
> permission. Most
> often it is due to a networking change made while
> the system is
> running and swagentd (the daemon used to manage
> swinstall networking)
> is out of sync with your current settings. Just
> restart swagentd:
>
> /sbin/init.d/swagentd stop
> /sbin/init.d/swagentd start
>
>
> Bill
>
>
>
> On 9/22/2005, "Sudhansu Dora" <s_dora@yahoo.com>
> wrote:
>
> >Hi All
> >
> >What does this mean? I am running swinstall -s
> >/tmp/xyz.depot and then in the window I can see
> this
> >error..The file permission is 777
> >ERROR: "host1:/tmp/package70_CD01_B.depot": You
> do
> >not have the
> > required permissions to perform this
> >operation. Check
> > permissions using the "swacl" command or
> see
> >your system
> > administrator for assistance. Or, to
> manage
> >applications
> > designed and packaged for nonprivileged
> mode,
> >see the
> > "run_as_superuser" option in the "sd" man
> >page.
> > * Beginning Selection
> >
> >Thanks and best regards
> >
> >sudhansu
> >
> >
> >--
> > ---> Please post QUESTIONS and
> SUMMARIES only!! <---
> > To subscribe/unsubscribe to this list,
> contact majordomo@dutchworks.nl
> > Name: hpux-admin@dutchworks.nl Owner:
> owner-hpux-admin@dutchworks.nl
> >
> > Archives:
> ftp.dutchworks.nl:/pub/digests/hpux-admin
> (FTP, browse only)
> >
> http://www.dutchworks.nl/htbin/hpsysadmin (Web,
> browse & search)
> >
>

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:50 EDT