You are not logged in.
hi guys , i have met a problem after installing the tomcat6 followed the wiki .When i started it with the command
”/etc/rc.d/tomcat6 start" ,there were some wrong tips :
/etc/rc.d/tomcat6: line 6: /etc/rc.d/functions: No such file or directory
/etc/rc.d/tomcat6: line 11: stat_busy: command not found
/etc/rc.d/tomcat6: line 13: get_pid: command not found
/etc/rc.d/tomcat6: line 35: add_daemon: command not found
/etc/rc.d/tomcat6: line 36: stat_done: command not found
i am a new archlinux user and do not know what "/etc/rc.d/functions“ is and the file does not exist in my system.
Last edited by windowswind (2012-12-01 07:53:41)
Offline
if you have installed you Arch lately, you your system does not use rc scripts anymore, the job is done by systemd now.
Try to launch it with:
#systemctl start tomcat [or tomcat6 or tomcat7]
view the status of the service with
#systemctl start tomcat [tomcat6, tomcat7]
“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson
Offline
if you have installed you Arch lately, you your system does not use rc scripts anymore, the job is done by systemd now.
Try to launch it with:#systemctl start tomcat [or tomcat6 or tomcat7]
view the status of the service with
#systemctl start tomcat [tomcat6, tomcat7]
thanks, i have found that the tomcat has actually been running after “/etc/rc.d/tomcat6 start " ,but how to write a .service file so that i can use the "systemctl start tomcat"?
Offline