Operating System - HP-UX
1832490 Members
3052 Online
110043 Solutions
New Discussion

Installing from depot-files problems ....

 
SOLVED
Go to solution
Torsten Ermlich
Advisor

Installing from depot-files problems ....

Hello there,

well, I read several threads regarding problems when trying to install software, but I found none regarding this.

What I did so far:
- did a fresh installation of HP-UX 11.00 using CD-ROMs
- setup the network settings

Now I wanted to install unzip & samba, using this way:
# swreg -l depot /temp/software/unzip-5.50-sd-11.00.depot

======= 07/28/03 09:34:02 WETDST BEGIN swreg SESSION
(non-interactive)

* Session started for user "root@kpg180c2".

* Beginning Selection
ERROR: Could not contact host "kpg180c2". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").

======= 07/28/03 09:34:02 WETDST END swreg SESSION (non-interactive)

# ping kpg180c2 -n 4
PING kpg180c2.q8.de: 64 byte packets
64 bytes from 10.104.10.214: icmp_seq=0. time=1. ms
64 bytes from 10.104.10.214: icmp_seq=1. time=0. ms
64 bytes from 10.104.10.214: icmp_seq=2. time=0. ms
64 bytes from 10.104.10.214: icmp_seq=3. time=0. ms

----kpg180c2.q8.de PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/1

What's wrong with it?

And one more question: the system did not create an entry in /etc/fstab for the CD-ROM.
I guess I have to add it manually, but how does it have to look like?

Thanks in advance!!!!

c y
Torsten
Continuum Hierarchy Supervisor. You have already been assimilated.
5 REPLIES 5
RAJESH GANGADHARAN
Regular Advisor

Re: Installing from depot-files problems ....

Hi
Check whether swagentd daemon is running if not try to start it by
/sbin/init.d/swagentd start
This will start swagentd daemon

reg your second quesion You have to make an entry in /etc/fstab or you have to manually mount the cd-rom every time you need with all the option. I think this will be better because you may be using cd-roms in different formats.


-Rajesh
Let the choices you make today be the choices you can live with tomorrow.
Massimo Bianchi
Honored Contributor

Re: Installing from depot-files problems ....

Hi,
you must not have an entry for the cdrom in the fstab, otherwise at each boot the system will try to mount the cdrom, and usually is is empty. you will get mount errors for nothig...

If you want comodity, search for the path to the cdrom using ioscan (let's say /dev/dsk/c1t2d3) and make a soft link, for easier of typing:

ln -s /dev/dsk/c1t2d3 /dev/cdrom

For the install:

do not register, but simply install it.

swinstall -s /temp/software/unzip-5.50-sd-11.00.depot "*"

this should work.

If it does not work, try stopping and starting the swagentd daemon:
swagentd -r

If it fails, check another time name resolution: fully qualified, not fully qualified, direct and reverse lookup, and if network cable are properly connected (it is essential).

Massimo
Torsten Ermlich
Advisor

Re: Installing from depot-files problems ....

Hi,

seems the system does not like me .....

When trying to start swagentd I get this:
# /sbin/init.d/swagentd start
Running /usr/lib/sw/mx/configure to reset hostname.
ERROR: Failed to package AgentConfig into /var/opt/mx/depot11.
swpackage did not run or produced no output.
ERROR: Failed to package AgentConfig into /var/opt/mx/depot10.
swpackage did not run or produced no output.
WARNING: Could not properly configure SD into ServiceControl.
You may try again later by running /usr/lib/sw/mx/configure.
# /usr/lib/sw/mx/configure
ERROR: Failed to package AgentConfig into /var/opt/mx/depot11.
swpackage did not run or produced no output.
ERROR: Failed to package AgentConfig into /var/opt/mx/depot10.
swpackage did not run or produced no output.

So I checked /var/opt/mx:
# ls -l /var/opt/mx
total 0
drwxr-xr-x 4 root root 96 Jul 24 20:15 depot10
drwxr-xr-x 4 root root 96 Jul 24 20:15 depot11
dr-xr-xr-x 2 root root 96 Jul 24 20:15 tools

Right after doing that I tried to install it directly:
# swinstall -s /temp/softwate/unzip-5.50-sd-11.00.depot "*"

======= 07/28/03 10:01:42 WETDST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@kpg180c2".

* Beginning Selection
ERROR: Could not contact host "kpg180c2". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Target connection failed for "kpg180c2:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
kpg180c2:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 07/28/03 10:01:42 WETDST END swinstall SESSION
(non-interactive)

#

c y
Torsten
Continuum Hierarchy Supervisor. You have already been assimilated.
Massimo Bianchi
Honored Contributor
Solution

Re: Installing from depot-files problems ....

Hi,
from this error, i re-suggest name checking:

/etc/hosts
/etc/rc.config.d/netconf
uname -a
hostname

Are all these coherent ?

try setting it with
uname -S
hostname kpg180c2


From your output you ping kpg180c2 but answer the fully qualified. This os no good for name resolution. Chec the alis in /etc/hosts.

Massimo
Torsten Ermlich
Advisor

Re: Installing from depot-files problems ....

Hi,

I found it ... damned, I need some glasses ... ;-)
It was a typo on our central DNS server.
Sorry for checking that not before starting an thread here.

Thank you all!!!!!

c y
Torsten
Continuum Hierarchy Supervisor. You have already been assimilated.