XMLWordPrintable

    • 6
    • ILT
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)
      Workaround:

      Description: I get a different output than what is shown in the instructions:

      [student@workstation ~]$ lab package-issues setup

      Setting up servera for lab exercise work:

      . Installing network service.................................. SUCCESS
      . Opening relevant firewall port.............................. SUCCESS
      . Performing breakage......................................... SUCCESS
      . Starting network service.................................... SUCCESS

      [student@workstation ~]$ curl http://servera.lab.example.com
      curl: (7) Failed to connect to fd37:5265:6448:6174::a: Network is unreachable

      Thought it might be a timing issue. Waited couple of minutes. Retried and got same result.

      • STEP 1.1: I get different output than that shown with the <screen> tags:

      [student@workstation ~]$ ssh root@servera
      Last login: Wed Mar 2 21:22:49 2016 from workstation.lab.example.com
      [root@servera ~]# systemctl status httpd
      ● httpd.service - The Apache HTTP Server
      Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
      Drop-In: /etc/systemd/system/httpd.service.d
      └─10-dependencies.conf
      Active: inactive (dead)
      Docs: man:httpd(8)
      man:apachectl(8)

      • STEP 1.2: I get different output than that shown with the <screen> tags:

      [root@servera ~]# tail /var/log/yum.log
      Mar 02 21:02:05 Installed: kernel-doc-3.10.0-327.el7.noarch
      Mar 02 21:07:23 Installed: rht-prereq-0.2-1.el7.noarch
      Mar 02 21:08:37 Installed: rht-prereq-0.1-1.el7.noarch
      Mar 02 21:08:44 Installed: rht-main-0.1-1.el7.noarch
      Mar 02 21:09:35 Installed: yum-plugin-versionlock-1.1.31-34.el7.noarch
      Mar 02 21:11:25 Erased: rht-main-0.1-1.el7.noarch
      Mar 02 21:11:25 Erased: rht-prereq-0.1-1.el7.noarch
      Mar 02 21:11:25 Erased: yum-plugin-versionlock-1.1.31-34.el7.noarch
      Mar 02 21:40:05 Installed: sudo-1.8.6p7-16.el7.x86_64
      Mar 02 21:43:20 Installed: httpd-2.4.6-40.el7.x86_64

      • STEP 2.2: Got the following error:

      [root@servera ~]# systemctl restart httpd
      Failed to restart httpd.service: Unit vsftpd.service failed to load: No such file or directory.

      This looks like it's due to remnant from practice 3.3.

          • RESET ALL VMs AND REQA ***

      I get a different output than what is shown in the instructions:

      [student@workstation ~]$ lab package-issues setup

      Setting up servera for lab exercise work:

      . Installing network service.................................. SUCCESS
      . Opening relevant firewall port.............................. SUCCESS
      . Performing breakage......................................... SUCCESS
      . Starting network service.................................... SUCCESS

      [student@workstation ~]$ curl http://servera.lab.example.com
      curl: (7) Failed to connect to fd37:5265:6448:6174::a: Network is unreachable

      Thought it might be a timing issue. Waited couple of minutes. Retried and got same result.

      • STEP 2.2: I got a different output.

      [root@servera ~]# systemctl restart httpd
      [root@servera ~]# systemctl status httpd
      ● httpd.service - The Apache HTTP Server
      Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
      Active: active (running) since Wed 2016-03-02 22:00:28 EST; 10s ago
      Docs: man:httpd(8)
      man:apachectl(8)
      Process: 1558 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
      Main PID: 1621 (httpd)
      Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
      CGroup: /system.slice/httpd.service
      ├─1621 /usr/sbin/httpd -DFOREGROUND
      ├─1622 /usr/sbin/httpd -DFOREGROUND
      ├─1623 /usr/sbin/httpd -DFOREGROUND
      ├─1624 /usr/sbin/httpd -DFOREGROUND
      ├─1625 /usr/sbin/httpd -DFOREGROUND
      └─1626 /usr/sbin/httpd -DFOREGROUND

      Mar 02 22:00:28 servera.lab.example.com systemd[1]: Starting The Apache HTTP Server...
      Mar 02 22:00:28 servera.lab.example.com systemd[1]: Started The Apache HTTP Server.

              ghacker_jira George Hacker (Inactive)
              rht-cchang Chen Chang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: