Youtrack安装和启动failes

时间:2018-01-30 14:19:59

标签: jar debian youtrack

我想在Debian 9.3系统上安装Youtrack。在安装之前,系统已更新。

我使用了Jetbrains网页上的说明:Jetbrains Tutorial
我按照描述启动了脚本,并在运行/etc/init.d/youtrack status时出现以下错误:

Jan 30 15:13:18 eggplant-development systemd[1]: Starting SYSV: Test Wrapper Sample Application...
Jan 30 15:13:18 eggplant-development youtrack[14205]: /etc/init.d/youtrack: 21: /etc/init.d/youtrack: pushd: not found
Jan 30 15:13:18 eggplant-development su[14261]: Successful su for youtrack by root
Jan 30 15:13:18 eggplant-development su[14261]: + ??? root:youtrack
Jan 30 15:13:18 eggplant-development su[14261]: pam_unix(su:session): session opened for user youtrack by (uid=0)
Jan 30 15:13:18 eggplant-development youtrack[14205]: /etc/init.d/youtrack: 21: /etc/init.d/youtrack: pushd: not found
Jan 30 15:13:18 eggplant-development youtrack[14205]: Starting youtrack...
Jan 30 15:13:18 eggplant-development youtrack[14205]: "/home/youtrack/standalone/bin/wrapper" "/home/youtrack/standalone/conf/wrapper.conf" wrapper.syslog.ident=youtrack wrapper.pidfile="/home/youtrack/standalone/youtrack.pid" wrapper.da
Jan 30 15:13:19 eggplant-development youtrack[14205]: /etc/init.d/youtrack: 557: /etc/init.d/youtrack: popd: not found
Jan 30 15:13:19 eggplant-development systemd[1]: Started SYSV: Test Wrapper Sample Application.

所有文件和版本都与指定的安装说明相似。

有谁知道这个问题或有想法如何解决它?

1 个答案:

答案 0 :(得分:3)

无法找到" pushd"命令是一个内置的bash。我的猜测是你的/ bin / sh指向一个没有pushd的shell。您可以通过添加

强制它在bash中运行
switch(myName) {
    case "Ace": {
        ResultText.text = ("You are number one, "+ myName);
        break;
    }
    case "Blue": {
        ResultText.text = ("You color my life, "+ myName);
        break;
    }
    case "Crow": {
        ResultText.text = ("You are free, "+ myName);
        break;
    }
    default: {
        ResultText.text = ("You are unknown, "+ myName);
    }
}

#! /usr/bin/env bash 的开头。

查看/bin/sh: pushd: not found可能也会有所帮助,它会更详细地讨论这个错误。