Jenkins在Fedora上全新安装后没有加载

时间:2018-05-11 22:05:14

标签: jenkins fedora

我刚刚在Fedora上重新安装了Jenkins,请点击此页面:https://pkg.jenkins.io/redhat-stable/

所有安装都没有任何问题。但是,当我转到http://localhost:8080时,我只会看到一个白页: enter image description here

请您指出可能存在的问题吗?您可以在下面找到一些可能有用的其他信息。

谢谢!

当我执行nmap localhost时,我可以看到HTTP 8080已启动:

[root@localhost jenkins]# nmap localhost

Starting Nmap 7.60 ( https://nmap.org ) at 2018-05-11 23:59 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000010s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 998 closed ports
PORT     STATE SERVICE
631/tcp  open  ipp
8080/tcp open  http-proxy

Nmap done: 1 IP address (1 host up) scanned in 1.62 seconds

我还可以看到jenkins服务已启动:

[root@localhost jenkins]# systemctl status jenkins.service
● jenkins.service - Jenkins continuous build server
   Loaded: loaded (/usr/lib/systemd/system/jenkins.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2018-05-11 23:44:30 CEST; 15min ago
  Process: 3790 ExecStop=/usr/libexec/jenkins/jenkins stop (code=exited, status=0/SUCCESS)
  Process: 3862 ExecStart=/usr/libexec/jenkins/jenkins start (code=exited, status=0/SUCCESS)
 Main PID: 3936 (java)
    Tasks: 54 (limit: 4673)
   Memory: 454.9M
   CGroup: /system.slice/jenkins.service
           └─3936 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/l>

May 11 23:44:30 localhost.localdomain systemd[1]: Starting Jenkins continuous build server...
May 11 23:44:30 localhost.localdomain runuser[3919]: pam_unix(runuser:session): session opened for user jenkins by (uid=0)
May 11 23:44:30 localhost.localdomain runuser[3919]: pam_unix(runuser:session): session closed for user jenkins
May 11 23:44:30 localhost.localdomain jenkins[3862]: Starting Jenkins [  OK  ]
May 11 23:44:30 localhost.localdomain systemd[1]: Started Jenkins continuous build server.

如果我查看我的java版本,我会得到:

[root@localhost jenkins]# java -version
openjdk version "1.8.0_162"
OpenJDK Runtime Environment (build 1.8.0_162-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)

当我尝试使用Curl访问它时:

[fabio@localhost ~]$ curl http://localhost:8080
[fabio@localhost ~]$

0 个答案:

没有答案