On a linux machine, am trying to start Glassfish server.
./startserv
This returns the following message:
There is a process already running using the admin port 4848 -- it is probably another instance of a Glassfish server
Have tried to identify which process this is with the following command:
lsof -t -i tcp:4848
On another machine on which Glassfish is running, this command returns the process id used by Glassfish. However, on the machine on which we are having the issue, nothing is returned.
What is the best way to identify and kill the process using port 4848, given that the lsof -t -i tcp:4848
is not helping?
Thanks