【问题标题】:Youtrack installation and starting failesYoutrack 安装和启动失败
【发布时间】:2018-01-30 14:19:59
【问题描述】:

我想在我的 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.

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

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

【问题讨论】:

    标签: jar debian youtrack


    【解决方案1】:

    找不到内置 bash 的“pushd”命令。我的猜测是你的 /bin/sh 指向一个没有 pushd 的 shell。您可以通过添加来强制它在 bash 中运行

    #! /usr/bin/env bash
    

    /etc/init.d/youtrack的开头。

    查看/bin/sh: pushd: not found 也可能会有所帮助,其中更详细地讨论了此错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-21
      • 2017-05-30
      • 2017-04-28
      • 2018-01-01
      • 1970-01-01
      相关资源
      最近更新 更多