Operating System - HP-UX
1748003 Members
4931 Online
108757 Solutions
New Discussion юеВ

Re: Swagentd Daemon Not Enabled!!!

 
SOLVED
Go to solution
Kapil Jha
Honored Contributor

Re: Swagentd Daemon Not Enabled!!!

Can you stop and the restart the daemon.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
smatador
Honored Contributor

Re: Swagentd Daemon Not Enabled!!!

Hi,
I don't think that .gz is the cause of this error because even a management session could not start. So the solution is to be sure that the swagentd is ok.
Look for ps -ef | grep sw
And kill all session sw. Look at the date of the swagentd. When you do a swagentd -r the date of the daemon is updated. So you could also kill the swagentd to be sure and restart it.
After that gunzip the depot and install it.
HTH
Robert-Jan Goossens
Honored Contributor

Re: Swagentd Daemon Not Enabled!!!

Hi,

Could you post your /etc/hosts and the /etc/rc.config.d/netconf file.

Regards,
Robert-Jan
Dennis Handly
Acclaimed Contributor

Re: Swagentd Daemon Not Enabled!!!

>smatador: I don't think that .gz is the cause of this error

Better to fix all of the simple problems before tackling the hard SD networking issues.
johnsonjthomas
Frequent Advisor

Re: Swagentd Daemon Not Enabled!!!

Hi Robert,

The contents of the files are as follows:

/etc/hosts

172.16.41.25 nitkhp01
127.0.0.1 localhost loopback
172.16.41.26 nitkhp01

I have attached the file /etc/rc.config.d/netconf

johnsonjthomas
Frequent Advisor

Re: Swagentd Daemon Not Enabled!!!

Hi

I have found that when executing ps -ef|grep sw, it shows that the process /usr/sbin/swagentd -r is still running and there is no swagentd daemon running. Does anyone know as to why the /usr/sbin/swagentd -r process is still runnning without starting the daemon?

Thanks
Kapil Jha
Honored Contributor

Re: Swagentd Daemon Not Enabled!!!

-r
The restart option stops the currently running daemon and restarts a new daemon. Because the swagentd daemon processes options only at startup, you must restart the daemon after you have modified any daemon options. Otherwise, the modified options have no effect.

-r only restart the daemon, what we are asking here is kill the process and restart it again.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
johnsonjthomas
Frequent Advisor

Re: Swagentd Daemon Not Enabled!!!

Hi Kapil

That is exactly what I am doing. I killed the process and restart it using swagentd -r command but strangely it shows that the process running is "swagentd -r" and the daemon never starts (I mean the process "swagentd -r" is running instead of restarting the swagentd daemon).

Thanks
Dennis Handly
Acclaimed Contributor

Re: Swagentd Daemon Not Enabled!!!

>Better to fix all of the simple problems

For a gzipped file, you get different more obvious errors:
$ swlist -s $PWD/ffox_A20019ar02_ia.depot.gz
ERROR: tar: /var/tmp/ffox_A20019ar02_ia.depot.gz:
This doesn't look like a tar archive
johnsonjthomas
Frequent Advisor

Re: Swagentd Daemon Not Enabled!!!

Could anyone explain me as to why "swagentd -r" process is running and not the daemon swagentd when I give a "swagentd -r" command. I have attached the output file of "ps -ef" showing the output before executing "swagentd -r" and after executing "swagentd -r" in order to give a clear idea to what I am saying. Any help would be great.

Thanks