小编moe*_*oe_的帖子

无法在 ubuntu 18.04 上启动 Apache HTTP 服务器

我试图在我的 ubuntu 18.04 上创建一个 Web 服务器,所以我安装了 Apache2,但我无法启动它。这是我运行systemctl status apache2.service命令时出现的内容

apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           ??apache2-systemd.conf
   Active: failed (Result: exit-code) since Sat 2020-02-22 13:58:09 CET; 34s ago
  Process: 2791 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Run Code Online (Sandbox Code Playgroud)
Feb 22 13:58:09 moemen apachectl[2791]: AH00558: apache2: Could not reliably determine the server's
Feb 22 13:58:09 moemen apachectl[2791]: (98)Address already in use: AH00072: make_sock: could not b
Feb 22 13:58:09 moemen apachectl[2791]: (98)Address already in use: …
Run Code Online (Sandbox Code Playgroud)

apache ubuntu apache2

5
推荐指数
2
解决办法
4万
查看次数

当我运行“git Push”时,我得到“当前分支的尖端位于其远程后面”,但当前分支没有上游跟踪分支

我正在这个本地分支 X 上工作,当我尝试使用错误消息进行推送时,git push -u origin X 错误消息是:

! [rejected]        X -> X (non-fast-forward)
error: failed to push some refs to "********"
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Run Code Online (Sandbox Code Playgroud)

所以我运行:git pull 并且还出现错误消息:

There is no tracking information for the current branch.
Please specify which …
Run Code Online (Sandbox Code Playgroud)

git push pull github git-branch

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

apache ×1

apache2 ×1

git ×1

git-branch ×1

github ×1

pull ×1

push ×1

ubuntu ×1