Skip to main content

Thread: Tomcat 7 Don't Start


hi friends,

i'm trying start "tomcat 7" service, application folder, has inside user folder, build file named "start_services", inside flder "/etc/init.d/", don't execute automatic, manual using console, after autenticate, need know, how can make run automatic, ou i'm doing wrong? detail is, "tomcat" start automatic when inside "opt" folder.

p.s: sorry poor english

command:

code:
sudo /etc/init.d/start_services start
file "start_services":

code:
# description: auto-starts tomcat  # processname: tomcat  # pidfile: /var/run/tomcat.pid    # conteúdo arquivo de execução  #!/bin/sh    home_programas=/opt/  tomcat_path=/home/desenvolvimento/programas/apache-tomcat-7.0.30/bin  sonar_path=sonar-3.2/bin/linux-x86-32  nexus_path=/home/desenvolvimento/nexus-2.1.2-bundle/nexus-2.1.2/bin/jsw/linux-x86-32    case $1 in  start)   *#tomcat#   *echo “iniciando tomcat”   *sudo -u desenvolvimento sh $tomcat_path/startup.sh   *#     *#sonar#   *echo “iniciando sonar”   *#sh $home_programas$sonar_path/sonar.sh start   *#     *#nexus#   *echo “iniciando nexus”   *#sudo -u desenvolvimento $nexus_path/nexus start   *#   *;;  stop)   *#tomcat#   *echo “parando tomcat”   *sudo -u desenvolvimento sh $tomcat_path/shutdown.sh   *#     *#sonar#   *echo “parando sonar”   *#sh $home_programas$sonar_path/sonar.sh stop   *#     *#nexus#   *echo “parando nexus”   *#sudo -u desenvolvimento $nexus_path/nexus stop   *#   *;;  restart)   *$0 stop   *$0 start   *;;    *)  echo $”utilize uma das opções $0 {start|stop|restart}”  exit 3  ;;    esac  :



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Tomcat 7 Don't Start


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?