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

    Fog was working fine until a power outage

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    42
    13.5k
    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.
    • T
      To_Tha_Cloud
      last edited by

      [quote=“Tom Elliott, post: 18124, member: 7271”]Okay,

      When you performed the install, did you have any special parameters involved. Such as:

      [LIST]
      []Is your tftpboot folder in a location other than /tftpboot?
      [
      ]Is your tftpboot folder hosted on another filesystem?
      [/LIST]
      Has your system performed a filesystem check and/or is your filesystem on a RAID setup? Is it possible one of the drives has failed?[/quote]

      The only special perameter was /images is mounted on a seperate drive. I just checked it and it appears to be mounted properly and I can navigate to it.
      The system as far as I know has not performed a filesystem check and I am not on a RAID setup.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        I’m going to ask that you reboot the server, if that’s okay with you?

        But before you reboot type:

        [code]touch /forcefsck
        shutdown -rF now[/code]

        The shutdown -rF now command will force the system to shutdown and ensure that, if for some other reason, forcefsck will work on next reboot.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
        • T
          To_Tha_Cloud
          last edited by

          [quote=“Tom Elliott, post: 18126, member: 7271”]I’m going to ask that you reboot the server, if that’s okay with you?

          But before you reboot type:

          [code]touch /forcefsck
          shutdown -rF now[/code]

          The shutdown -rF now command will force the system to shutdown and ensure that, if for some other reason, forcefsck will work on next reboot.[/quote]

          Rebooting now.

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            okay, thanks.

            Maybe this fixes it fingers crossed lol.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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
            • T
              To_Tha_Cloud
              last edited by

              [quote=“Tom Elliott, post: 18128, member: 7271”]okay, thanks.

              Maybe this fixes it fingers crossed lol.[/quote]

              had fingers and toes crossed but no luck.

              When running tftp on the server I am still getting Error code 0: Permission denied
              😞

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                Can you show me the contents of:

                [code]/etc/xinetd.d/tftp[/code]

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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
                • T
                  To_Tha_Cloud
                  last edited by

                  [quote=“Tom Elliott, post: 18131, member: 7271”]Can you show me the contents of:

                  [code]/etc/xinetd.d/tftp[/code][/quote]

                  default: off

                  description: The tftp server serves files using the trivial file transfer # protocol. The tftp protocol is often used to boot diskless # workstations, download configuration files to network-aware printers, # and to start the installation process for some operating systems.

                  service tftp
                  {
                  socket_type = dgram
                  protocol = udp
                  wait = yes
                  user = root
                  server = /usr/sbin/in.tftpd
                  server_args = -s /tftpboot
                  disable = no
                  per_source = 11
                  cps = 100 2
                  flags = IPv4
                  }

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    can you perform
                    [code] tail -f /var/log/messages[/code]

                    Then, in another terminal or tty (CTRL+ALT+[1-6]) try your tftp command.

                    NOTE: [1-6] is a representation of a number, so type the individual tty you want access to. 1 is the one you usually first see.

                    You should see the access hopefully.

                    Display the output of that here for clarity.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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
                    • T
                      To_Tha_Cloud
                      last edited by

                      [quote=“Tom Elliott, post: 18133, member: 7271”]can you perform
                      [code] tail -f /var/log/messages[/code]

                      Then, in another terminal or tty (CTRL+ALT+[1-6]) try your tftp command.

                      NOTE: [1-6] is a representation of a number, so type the individual tty you want access to. 1 is the one you usually first see.

                      You should see the access hopefully.

                      Display the output of that here for clarity.[/quote]

                      tail -f /var/log/messages
                      Oct 14 16:20:16 charon kernel: RPC: Registered tcp transport module.
                      Oct 14 16:20:16 charon kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
                      Oct 14 16:20:17 charon kernel: Installing knfsd (copyright © 1996 [email]okir@monad.swb.de[/email]).
                      Oct 14 16:20:17 charon rpc.mountd[1411]: Version 1.2.3 starting
                      Oct 14 16:20:17 charon kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
                      Oct 14 16:20:17 charon kernel: NFSD: starting 90-second grace period
                      Oct 14 16:20:18 charon xinetd[1493]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
                      Oct 14 16:20:18 charon xinetd[1493]: Started working: 1 available service
                      Oct 14 16:22:12 charon xinetd[1493]: START: tftp pid=2091 from=127.0.0.1
                      Oct 14 16:37:12 charon xinetd[1493]: EXIT: tftp status=0 pid=2091 duration=900(sec)
                      Oct 14 16:37:41 charon xinetd[1493]: START: tftp pid=3879 from=127.0.0.1

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Same error message as well?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          is selinux running per chance?

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          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
                          • T
                            To_Tha_Cloud
                            last edited by

                            [quote=“Tom Elliott, post: 18135, member: 7271”]Same error message as well?[/quote]

                            Yes sir. same error Permission Denied.

                            Should I try Percussive Maintenance?

                            1 Reply Last reply Reply Quote 0
                            • T
                              To_Tha_Cloud
                              last edited by

                              [quote=“Tom Elliott, post: 18136, member: 7271”]is selinux running per chance?[/quote]

                              sestatus
                              SELinux status: enabled
                              SELinuxfs mount: /selinux
                              Current mode: enforcing
                              Mode from config file: enforcing
                              Policy version: 24
                              Policy from config file: targeted

                              1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Lol, no!

                                Can you verify that SELINUX is enabled/disabled? To do so, what’s the output of:
                                [code]cat /etc/sysconfig/selinux[/code]

                                It should, hopefully, look like this:
                                [code]# This file controls the state of SELinux on the system.

                                SELINUX= can take one of these three values:

                                enforcing - SELinux security policy is enforced.

                                permissive - SELinux prints warnings instead of enforcing.

                                disabled - No SELinux policy is loaded.

                                SELINUX=disabled

                                SELINUXTYPE= can take one of these two values:

                                targeted - Targeted processes are protected,

                                mls - Multi Level Security protection.

                                SELINUXTYPE=targeted[/code]

                                Especially with the SELINUX=disabled line!

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                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
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by

                                  Ah ha!

                                  Does your system need SELINUX running?

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  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
                                  • T
                                    To_Tha_Cloud
                                    last edited by

                                    [quote=“Tom Elliott, post: 18140, member: 7271”]Ah ha!

                                    Does your system need SELINUX running?[/quote]
                                    Not that I am aware. This machine is an old dell Optiplex 740 and only used for FOG

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      Okay,

                                      Run this command:
                                      [code]sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/sysconfig/selinux[/code]

                                      Then reboot and try again!

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      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
                                      • T
                                        To_Tha_Cloud
                                        last edited by

                                        [quote=“Tom Elliott, post: 18142, member: 7271”]Okay,

                                        Run this command:
                                        [code]sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/sysconfig/selinux[/code]

                                        Then reboot and try again![/quote]

                                        I rebooted and tried again… and… Sucess!

                                        tftp -4 localhost
                                        tftp> get
                                        (files) pxelinux.0
                                        tftp>

                                        BUT… When I try from another machine I am still getting the can’t write to local file error.

                                        1 Reply Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott
                                          last edited by

                                          what does the /var/log/messages say when this happens?

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          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
                                          • T
                                            To_Tha_Cloud
                                            last edited by

                                            [quote=“Tom Elliott, post: 18144, member: 7271”]what does the /var/log/messages say when this happens?[/quote]

                                            HOLY MOTHER OF GOD! I just rebooted my laptop to try the tftp command from another machine and I forgot it is set to boot from network. And guess what!? It booted up into FOG! WOOOT! Many Thanks! If you are ever in Jackson, TN I’ll owe you a beer!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project