Link to home
Create AccountLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

rm file restoration

i have removed below pid file using rm command as i got some error messages with permissions on that

rm xyz.pid

is there is a way i can restore that file

I am trying to start the web logic server and having issues which used to work earlier file

Please advise
ASKER CERTIFIED SOLUTION
Avatar of Dr. Klahn
Dr. Klahn

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of gudii9

ASKER

how to do cold full forced stop?
Avatar of Dr. Klahn
Dr. Klahn

For Apache, "apachectl stop" and then "apachectl start."  For other servers ... no idea.
Avatar of gudii9

ASKER

it asked while stoping to remove something i said yes and enter
then it stoppedd
then when i gave start command it started successfully

not sure some times while stopping get these dummy errors making me nervous
or else you create  touch a file in the same location and restart the service,



if the service is not stopped kill the service,

kill -9 < service PID>