WVCtrl.sh timeout because netstat is not found
search cancel

WVCtrl.sh timeout because netstat is not found

book

Article ID: 389525

calendar_today

Updated On: 03-07-2025

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

error with WVCtrl.sh because netstat is not found.

Installed EM on Suse linux. the netstat command is now obsolete and replaced with “ss”.

get an error in bin/WVCtrl.sh because netstat is not found. 

can’t install this as a service.  need the new command for line 200 in the script:

netstat -nlp | grep jav | grep -Fw $1 | awk '{print $4}' |  awk -F':' '{print $NF}' | sed -n 1p

Environment

Installed EM on Suse Linux

Resolution

Modify the WVCtrl.sh script and replace the netstat with ss command.

Can do start/stop/status successfully with WVCtrl.sh script.

For Webview service

Start WebView Automatically on reboot in Linux

Add this under [Service].

TimeoutStartSec=300