java - starting tomcat via startup.sh fails with sudo -u myuser while running shell as user works - Ask Ubuntu
sudo -u myuser sh /var/lib/tomcat6/bin/startup.sh
fails while
sh /var/lib/tomcat6/bin/startup.sh
as user myuser works
i try run root user start service:
errors:
/usr/lib/jvm/java-6-openjdk/bin/java: 1: /usr/lib/jvm/java-6-openjdk/bin/java: ▒▒: not found /usr/lib/jvm/java-6-openjdk/bin/java: 1: /usr/lib/jvm/java-6-openjdk/bin/java: ▒▒: not found /usr/lib/jvm/java-6-openjdk/bin/java: 1: /usr/lib/jvm/java-6-openjdk/bin/java: ▒▒: not found /usr/lib/jvm/java-6-openjdk/bin/java: 1: /usr/lib/jvm/java-6-openjdk/bin/java: cannot create 1@@8▒@8: permission denied /usr/lib/jvm/java-6-openjdk/bin/java: 1: /usr/lib/jvm/java-6-openjdk/bin/java:elf: not found /usr/lib/jvm/java-6-openjdk/bin/java: 2: /usr/lib/jvm/java-6-openjdk/bin/java: syntax error: ")" unexpected
Comments
Post a Comment