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

    Fog server keeps going down

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    103
    87.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.
    • S
      szecca1 @Wayne Workman
      last edited by

      @Wayne-Workman Hey after I am done typing the script how do I save it?

      1 Reply Last reply Reply Quote 0
      • S
        szecca1 @Wayne Workman
        last edited by

        @Wayne-Workman I’m sorry I am having a difficult time doing this, so I’m just going to skip it unless you have more instructions on how to do this.

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @szecca1
          last edited by Wayne Workman

          @szecca1 https://wiki.fogproject.org/wiki/index.php/Vi

          Also - use putty and just copy / paste. No need to type all that out.

          In Putty, you can copy by selecting the text and then right clicking anywhere on the window.
          In Putty, you can paste by simply putting the cursor where you want your text to go, and then right click anywhere on the window.

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          S 1 Reply Last reply Reply Quote 0
          • S
            szecca1 @Wayne Workman
            last edited by

            @Wayne-Workman Thank you but clearly I did something wrong. This is my output when I followed your instructions
            0_1448989852542_upload-f2f4a8dc-1889-4681-9097-91d7083a4258

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @szecca1
              last edited by

              @szecca1 The cat command just outputs the contents of a file for viewing.

              You run executibles in Linux with ./

              Like ./installfog.sh ?

              Try to run the script you just wrote. Like this:
              cd /root
              ./monitor.sh
              then output the contents of the log using the cat command.
              cat /root/monitor.log

              You can also look at the log using vi…
              vi /root/monitor.log

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              S 1 Reply Last reply Reply Quote 0
              • S
                szecca1 @Wayne Workman
                last edited by

                @Wayne-Workman I may have found my problem but not sure how to fix it
                0_1448990477493_upload-9f582c84-7e96-43a6-9566-86d924f5ff64

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @szecca1
                  last edited by

                  @szecca1 That’s not a big deal. What gets ran is what is stored on the disk.

                  Can you run the script? Is there output in the log?

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    szecca1 @Wayne Workman
                    last edited by

                    @Wayne-Workman No I tried to see if the file was in the /root folder and its not so i wanted to make sure that wasn’t a problem. I’ll just recreate it again

                    Wayne WorkmanW S 2 Replies Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @szecca1
                      last edited by

                      @szecca1 You’re using Fedora right?

                      Did you create the crontab event as root? the crontab -e command will create a cron event and run as the user who created the event, meaning, not created using root, no permission to the /root directory.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • S
                        szecca1 @szecca1
                        last edited by

                        @szecca1 I dont know what I am doing wrong but when I type /root then ls the file is not there and I continue to go back and resave it and still nothing

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @szecca1
                          last edited by Wayne Workman

                          @szecca1 Switch to the root user like this: su root and then create the crontab event.

                          Apologies for not saying that earlier. I do everything as root.

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          S 2 Replies Last reply Reply Quote 0
                          • S
                            szecca1 @Wayne Workman
                            last edited by

                            @Wayne-Workman apparently I don’t have the password for root

                            1 Reply Last reply Reply Quote 0
                            • S
                              szecca1 @Wayne Workman
                              last edited by

                              @Wayne-Workman I was just doing everything through sudo and my password

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator
                                last edited by

                                For better or worse here, I have to be the voice of reason: At some point (in the near future) you have to make a decision to continue down the path to try to fix this install, or just abandon it and spin up a new fog instance and manually copy the files across.

                                IMO something is botched with this OS install. This system should not become unavailable like this. How much effort are you going to expend on trying to revive this system, where spinning up a new OS and fog install can be done in about 30 minutes.

                                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!

                                Wayne WorkmanW S 2 Replies Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman @szecca1
                                  last edited by

                                  @szecca1 Ok.

                                  You can set this up under your username and not even need sudo or root permissions.

                                  Log into the server using your normal user account. issue the pwd command as soon as you log in (present working directory). What does it say?

                                  Change the paths in the script to point to that directory instead of /root/
                                  Also, create the script in this directory 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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @george1421
                                    last edited by

                                    @george1421 said:

                                    For better or worse here, I have to be the voice of reason: At some point (in the near future) you have to make a decision to continue down the path to try to fix this install, or just abandon it and spin up a new fog instance and manually copy the files across.

                                    IMHO, not having the root password is reason enough…

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      szecca1 @george1421
                                      last edited by

                                      @george1421 The problem isn’t getting the new OS installed, I have a NAS that also needs to be attached that Tom spent some time with me to get set up properly. If it was that simple I wouldn’t have even bothered to worry about it. The install of the OS was fine for about 5 months and then randomly this issue started occurring.

                                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @szecca1
                                        last edited by

                                        @szecca1 The synology NAS? FOG now fully supports those. No need for symbolic links or anything anymore.

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          szecca1 @Wayne Workman
                                          last edited by

                                          @Wayne-Workman If thats what you guys are recommending me do then fine I can do that. But what OS should I use? I don’t want to use Fedora and then have someone else tell me I should have used something else

                                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                          • Wayne WorkmanW
                                            Wayne Workman @szecca1
                                            last edited by Wayne Workman

                                            @szecca1 How about do nothing for the moment… The server was not crashed this morning. Let it go. See what happens.

                                            The below script and cronjob was just for information collecting.

                                            Plus you can always just manually monitor top and free -m

                                            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!
                                            Daily Clean Installation Results:
                                            https://fogtesting.fogproject.us/
                                            FOG Reporting:
                                            https://fog-external-reporting-results.fogproject.us/

                                            S 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • First post
                                              Last post

                                            182

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project