• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Kindly Request to FOG People about Configuration of Multiple Network Cards

Scheduled Pinned Locked Moved Solved
FOG Problems
2
5
466
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Basavarajnc
    last edited by Sebastian Roth Oct 28, 2018, 7:45 AM Oct 28, 2018, 12:41 PM

    Dear Sir,

    Kindly Request to FOG People about Configuration of Multiple Network Cards In Ubuntu 16.4 to make Dedicated Server for FOG…

    In my Ubuntu Machine 3 Networks are there.

    first Network Card configured statically for FOG Server using following things

    added the IP Address to First Network Card (i.e. enp1s0) for FOG Server

                          auto enp1s0
                         iface enp1s0 inet static
                          address       192.168.147.xx
                          netmask      255.255.255.0
                          network      192.168.147.0
                          broadcast    192.168.147.255
    

    Second Network Card configured statically for My Local Network with own IP Address

    added the IP Address to Second Network Card (i.e enp3s0) for My local area Network…

                                                    auto enp3s0
                                                    iface enp3s0 inet static
                                                     address       10.12.2.XX
                                                     netmask      255.255.254.0
                                                     gateway      10.12.2.1
                                                     network      10.12.2.0
                                                     broadcast    10.12.3.255
                                                     dns-nameservers 10.10.1.2 8.8.8.8
    

    It is giving following Error after running the this command

    $sudo /etc/init.d/networking restart

    OUTPUT :
    […] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See “systemctl status networking.service” and "journalctl -xe for details.
    Failed!

    Please kindly help me in this regard… It seems to be everything is correct but why this service is not running successfully.

    Warm Regards,

    Basavaraj From India,

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 4, 2018, 9:18 AM

      @Basavarajnc said in Kindly Request to FOG People about Configuration of Multiple Network Cards:

      /etc/network/interfaces:2: misplaced option

      There seems to be a problem in your /etc/network/interfaces configuration file on line 2.

      Searching the web I found a forum post where someone talks about a similar issue. It was just a missing comment character # on the second line in his config.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      B 1 Reply Last reply Nov 4, 2018, 11:42 AM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Oct 28, 2018, 1:56 PM

        @Basavarajnc Try as suggested in the error message, run the commands systemctl status networking.service and journalctl -xe and post results here.

        The configs you posted don’t have an obvious error I think. At least I have not seen it yet. While netmask and broadcast of the second interface to seem a bit strange at first I verified that this should be a valid subnet configuration that Ubuntu should be able to handle I suppose.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • B
          Basavarajnc
          last edited by Sebastian Roth Nov 4, 2018, 3:13 AM Nov 4, 2018, 5:25 AM

          Dear Sir(Sebastian Roth),

                       I did run the following Commands ... These commnads gave OUTPUT Like this........
          
          **hanry-ford@SVVKND:~$** **systemctl status networking.service**
          ● networking.service - Raise network interfaces
             Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
            Drop-In: /run/systemd/generator/networking.service.d
                     └─50-insserv.conf-$network.conf
             Active: failed (Result: exit-code) since Sun 2018-11-04 16:06:11 IST; 2min 55s ago
               Docs: man:interfaces(5)
            Process: 2023 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
            Process: 2019 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && ud
           Main PID: 2023 (code=exited, status=1/FAILURE)
          
          Nov 04 16:06:11 SVVKND systemd[1]: Stopped Raise network interfaces.
          Nov 04 16:06:11 SVVKND systemd[1]: Starting Raise network interfaces...
          Nov 04 16:06:11 SVVKND sh[2019]: /etc/network/interfaces:2: misplaced option
          Nov 04 16:06:11 SVVKND sh[2019]: ifquery: couldn't read interfaces file "/etc/network/interfaces"
          Nov 04 16:06:11 SVVKND ifup[2023]: /etc/network/interfaces:2: misplaced option
          Nov 04 16:06:11 SVVKND ifup[2023]: /sbin/ifup: couldn't read interfaces file "/etc/network/interfaces"
          Nov 04 16:06:11 SVVKND systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
          Nov 04 16:06:11 SVVKND systemd[1]: Failed to start Raise network interfaces.
          Nov 04 16:06:11 SVVKND systemd[1]: networking.service: Unit entered failed state.
          Nov 04 16:06:11 SVVKND systemd[1]: networking.service: Failed with result 'exit-code'.
          
          **hanry-ford@SVVKND:~$** **journalctl -xe**
          Nov 04 16:07:14 SVVKND cracklib[2076]: no dictionary update necessary.
          Nov 04 16:07:14 SVVKND systemd[1]: Stopping Make remote CUPS printers available locally...
          -- Subject: Unit cups-browsed.service has begun shutting down
          -- Defined-By: systemd
          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
          -- 
          -- Unit cups-browsed.service has begun shutting down.
          Nov 04 16:07:14 SVVKND systemd[1]: Stopped Make remote CUPS printers available locally.
          -- Subject: Unit cups-browsed.service has finished shutting down
          -- Defined-By: systemd
          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
          -- 
          -- Unit cups-browsed.service has finished shutting down.
          Nov 04 16:07:14 SVVKND systemd[1]: Stopping CUPS Scheduler...
          -- Subject: Unit cups.service has begun shutting down
          -- Defined-By: systemd
          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
          -- 
          -- Unit cups.service has begun shutting down.
          Nov 04 16:07:14 SVVKND systemd[1]: Stopped CUPS Scheduler.
          -- Subject: Unit cups.service has finished shutting down
          -- Defined-By: systemd
          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
          -- 
          -- Unit cups.service has finished shutting down.
          Nov 04 16:07:14 SVVKND systemd[1]: Started CUPS Scheduler.
          -- Subject: Unit cups.service has finished start-up
          -- Defined-By: systemd
          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
          -- 
          -- Unit cups.service has finished starting up.
          -- 
          -- The start-up result is done.
          Nov 04 16:07:14 SVVKND systemd[1]: Started Make remote CUPS printers available locally.
          -- Subject: Unit cups-browsed.service has finished start-up
          -- Defined-By: systemd
          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
          -- 
          -- Unit cups-browsed.service has finished starting up.
          -- 
          -- The start-up result is done.
          Nov 04 16:07:16 SVVKND anacron[695]: Job `cron.daily' terminated
          lines 2240-2281/2281 (END)
          **hanry-ford@SVVKND:~$** 
          

          Thanking you Sir

          From Basavaraj,

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Nov 4, 2018, 9:18 AM

            @Basavarajnc said in Kindly Request to FOG People about Configuration of Multiple Network Cards:

            /etc/network/interfaces:2: misplaced option

            There seems to be a problem in your /etc/network/interfaces configuration file on line 2.

            Searching the web I found a forum post where someone talks about a similar issue. It was just a missing comment character # on the second line in his config.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            B 1 Reply Last reply Nov 4, 2018, 11:42 AM Reply Quote 0
            • B
              Basavarajnc @Sebastian Roth
              last edited by Nov 4, 2018, 11:42 AM

              @Sebastian-Roth

              Dear Sir (Sebastian-Roth),

              Sir, One Word … You are Real Great Sir…

              I am totally frustrated with Error…Till Now.

              Now It has got solved. Now running successfully…

              Devotedly and Willingly Thankful to You Sir. Real Great…

              Sincerely Yours,

              Basavaraj From India,

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/5
                Last post

              188

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project