Telnet window closes the PPM server (612 Views)
Reply
Frequent Advisor
shijubch
Posts: 45
Registered: ‎12-10-2010
Message 1 of 12 (612 Views)

Telnet window closes the PPM server

Hi,

 

we have a PPM 8.1 installed on windows and whenever we start PPM using telnet PPM starts successfully, but once the telnet window is closed automatically PPM also goes down.

 

Any command to be paramter or command to be run to make this service run as required.

 

Thanks

Frequent Advisor
philipwood
Posts: 64
Registered: ‎05-05-2010
Message 2 of 12 (611 Views)

Re: Telnet window closes the PPM server

Hi,

Are you starting it using kStart.sh?

Because as soon as the shell session associated with the telnet logon terminates all processes it has started (including PPM) will be killed.

 

Use the service method rather:

net start <service_name>

This will not terminate when the session terminates.

 

Kind Regards

 

Philip Wood

Honored Contributor
Utkarsh_Mishra
Posts: 713
Registered: ‎07-13-2010
Message 3 of 12 (609 Views)

Re: Telnet window closes the PPM server

Another approach would be, to start the PPM server from Windows Services.

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
Frequent Advisor
shijubch
Posts: 45
Registered: ‎12-10-2010
Message 4 of 12 (604 Views)

Re: Telnet window closes the PPM server

@philipwood
yes i am using kstart.sh to start the PPM.But once I close the telnet window, PPM also comes down.
I would require to keep the PPM up and running eventhough we close the telnet window

@Utkarsh, this would not help since, the log rotation does not work, if I start the PPM using windows service.



Honored Contributor
Jim Esler
Posts: 722
Registered: ‎05-09-2008
Message 5 of 12 (601 Views)

Re: Telnet window closes the PPM server

A common method in UNIX environments to deal with this situation is to start the process in the background:

 

./kStart.sh <parameters> &

 

This is just something you can try. We do not run PPM on a Windows server so I have no way to verify whether this works in this case.

Honored Contributor
Utkarsh_Mishra
Posts: 713
Registered: ‎07-13-2010
Message 6 of 12 (597 Views)

Re: Telnet window closes the PPM server

Try this...

 

nohup sh <Path till bin>/kStart.sh

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
Honored Contributor
Celil
Posts: 548
Registered: ‎03-17-2011
Message 7 of 12 (583 Views)

Re: Telnet window closes the PPM server

shijubch, could you please inform us which one of these solutions run/satisfy you ?

Celil
Celil

IT Governance Professional
& PPM Solution Architect
director@ppmdiary.com
director@isframeworks.com
Frequent Advisor
shijubch
Posts: 45
Registered: ‎12-10-2010
Message 8 of 12 (579 Views)

Re: Telnet window closes the PPM server

./kStart.sh <parameters> &
PPM went down after closing the telnet window

nohup sh <Path till bin>/kStart.sh
got this error while running the above one,bash: /cygdrive/e/Kintana/NetPack/cygnus/cygwin32/bin/nohup: bad interpreter: No
 such file or directory


Honored Contributor
Celil
Posts: 548
Registered: ‎03-17-2011
Message 9 of 12 (574 Views)

Re: Telnet window closes the PPM server

Hi shijubch,

nohup is the best command but don't run with cygwin. Could you please try below command and close cygwin session:
start /b sh ./kStart.sh

Celil
Celil

IT Governance Professional
& PPM Solution Architect
director@ppmdiary.com
director@isframeworks.com
Frequent Advisor
shijubch
Posts: 45
Registered: ‎12-10-2010
Message 10 of 12 (514 Views)

Re: Telnet window closes the PPM server

Thanks to all,

 

I just have the hotfix given from HP ,so planning to apply that patch.

The issue with telnet start/stop is that whenever the telnet window is closed after the start the PPM, the windows closes the connection and in turn brings down the PPM.

 

 

Honored Contributor
Celil
Posts: 548
Registered: ‎03-17-2011
Message 11 of 12 (497 Views)

Re: Telnet window closes the PPM server

Hi

 

 

Celil

IT Governance Professional
& PPM Solution Architect
director@ppmdiary.com
director@isframeworks.com
Frequent Advisor
shijubch
Posts: 45
Registered: ‎12-10-2010
Message 12 of 12 (481 Views)

Re: Telnet window closes the PPM server

HP would provide a hotifix for this issue. It is change in knta_loggin.jar. you would require to change it, and all works fine

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.