service fails while creating pid file in /ccustomdir/tmp/
Hello all,
I have a service file to start/top tomcat. While starting tomcat, the tomcat starts up correctly....but the service returns a failed state. After running an strace on service startup process, I get the following output. I gather this means it is unable to create the pid file under /ccustomdir/tmp/ and I did NOT find the pid file. The permissions on
ccustomdir are drwxr-xr-x and on
subdir tmp are drwxrwxrwt.
I was able to manually create/edit the file in that directory. Anything that I missed or any suggestions?
Thanks
open("/ccustomdir/tmp/tomcat-bir-service.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, ".", 1.) = 1
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
open("/ccustomdir/tmp/tomcat-bir-service.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, ".", 1.) = 1
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
write(1, "... failed!\n", 12... failed!
|