java - apache tomcat not starting while service tomcat start -


i using rhel 7 os using apache tomcat6. while try start using command getting message as:

starting tomcat6: /etc/init.d/tomcat6: line 70: checkpid: command not found

and @ line number 70 code as:

if checkpid $kpid 2>&1;             echo "process allready running"             return -1         else             echo "lock file found no process running pid $kpid, continuing"         fi 

after execute command got process id tomcat command:

[root@localhost ~]# ps -ef | grep tomcat root     14074 13882  0 01:50 pts/1    00:00:00 grep --color=auto tomcat 

but war file not deployed , localhost:8080 not working.


Comments