Avatar of gudii9
gudii9
Flag 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
LinuxLinux NetworkingLinux OS DevUnix OSLinux Distributions

Avatar of undefined
Last Comment
Prabhin MP

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dr. Klahn

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
gudii9

ASKER
how to do cold full forced stop?
Dr. Klahn

For Apache, "apachectl stop" and then "apachectl start."  For other servers ... no idea.
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
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Prabhin MP

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>