You are not logged in.

#1 2012-12-01 07:43:11

windowswind
Member
Registered: 2012-12-01
Posts: 4

[finished]can not start tomcat

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

#2 2012-12-01 07:54:01

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [finished]can not start tomcat

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

#3 2012-12-01 07:58:37

windowswind
Member
Registered: 2012-12-01
Posts: 4

Re: [finished]can not start tomcat

scar wrote:

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

Board footer

Powered by FluxBB