1836383 Members
3736 Online
110100 Solutions
New Discussion

Re: swinstall

 
SOLVED
Go to solution
Donny Jekels
Respected Contributor

swinstall

New Installation of 11.0. but it does not allow me to run swinstall.

Keeps telling me I don't have permissions. Please help!
"Vision, is the art of seeing the invisible"
6 REPLIES 6
Michael Tully
Honored Contributor
Solution

Re: swinstall

Hi,

There are 3 things that could be wrong, where I
seen documentation like this:

1. Make sure that 'swacl' has permissions for the root user
2. Stop and restart the swagent daemon.
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start

3. The /var/spool/sw directory is missing

Or have a look at this posting:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc5ed6c96588ad4118fef0090279cd0f9,00.html

Cheers
~Michael
Anyone for a Mutiny ?
Animesh Chakraborty
Honored Contributor

Re: swinstall

Hi,
File permission should be like this:
do
#ll /usr/sbin/swinstall

-r-sr-xr-x 11 root bin 1830912 Apr 18 2000 /usr/sbin/swinstall
Did you take a backup?
T G Manikandan
Honored Contributor

Re: swinstall

Just restart your swagentd.

Do a /usr/sbin/swagentd -r

or do a
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start

This error is frequently received if the network configuration has been
changed since the swagentd daemon was started.So a restart should solve it.

Thanks
S.K. Chan
Honored Contributor

Re: swinstall

Checklist ..
1) Run
# swacl -l root
2) /etc/passwd got no duplicate entries for root.
3) /etc/host got to have "loopback" and also make sure no incorrect entries.
4) Check DNS ..
# nslookup
5) Check umask.
# umask
6) Check /var, make sure it's not full.

If all the above is ok, just restart swagentd and usually it'll fix it.
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
Niraj Kumar Verma
Trusted Contributor

Re: swinstall

hi,

/usr/lib/sw/sys.defaults
/var/adm/sw/defaults

Check the above files for
any restriction.

# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start


-Niraj
Niraj.Verma@philips.com
Mateja Bezjak
Respected Contributor

Re: swinstall

Hi Donny,

Are you running swinstall as a non root user? Check as root the permissions:
/usr/sbin/swacl -l root
/usr/sbin/swacl -l host

If you can't see the permissions set, run:
swacl -l root -M user:xxx@system_name:a
swacl -l host -M user:xxx@system_name:a

You can find more information about swacl in the manual pages (man swacl)

If you still have problems, please post swagent.log.
Regards,
Mateja