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

Let's make scripts!

Scheduled Pinned Locked Moved
FOG Problems
8
32
14.3k
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.
  • W
    Wayne Workman
    last edited by Apr 21, 2015, 11:44 PM

    Tom helped with a command to convert the output file to windows-friendly text. I’ve added this at the very bottom of the script.

    Latest and greatest is attached.

    [url=“/_imported_xf_attachments/1/1910_troubleshoot.zip?:”]troubleshoot.zip[/url]

    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
    • T
      Tom Elliott
      last edited by Apr 22, 2015, 12:46 AM

      Here’s a more refined version. This particular should work on CentOS/Redhat (in general e.g. 5,6,7) and Fedora.

      It also prints that the file is complete and where it can be located.

      [url=“/_imported_xf_attachments/1/1911_troubleshoot.zip?:”]troubleshoot.zip[/url]

      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
        Tom Elliott
        last edited by Tom Elliott May 30, 2015, 7:46 PM Apr 24, 2015, 1:21 AM

        Here’s slightly more refined. Log items are somewhat nice now (more informative). Theres also a lot more checking.

        troubleshoot.zip

        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
        • W
          Wayne Workman
          last edited by Apr 24, 2015, 1:41 AM

          Now that’s awesome. This is going to be a major help for troubleshooting!

          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
          • J
            Joseph Hales Testers
            last edited by May 6, 2015, 9:06 PM

            Can we sticky this and add to the wikki.

            RTFM

            1 Reply Last reply Reply Quote 0
            • J
              Joseph Hales Testers
              last edited by May 6, 2015, 9:11 PM

              When I ran the latest version in this thread I got the following output in terminal.
              ./troubleshoot.sh: line 19: [: : integer expression expected
              rpcbind: unrecognized service
              nfs: unrecognized service
              iptables: unrecognized service
              Usage FOGMulticastManager {start|stop|restart}
              Usage FOGSnapinReplicator {start|stop|restart}
              Usage FOGImageReplicator {start|stop|restart}
              Usage FOGScheduler {start|stop|restart}
              Script Completed Wed May 6 16:10:25 CDT 2015
              Your logfile can be found in /home/jhales/test/FOGtroubleshoot.log

              [url=“/_imported_xf_attachments/1/1977_FOGtroubleshoot.log.txt?:”]FOGtroubleshoot.log.txt[/url]

              RTFM

              1 Reply Last reply Reply Quote 0
              • C
                ch3i Moderator
                last edited by May 7, 2015, 7:02 AM

                [quote=“Tom Elliott, post: 46119, member: 7271”]Here’s slightly more refined. Log items are somewhat nice now (more informative). Theres also a lot more checking.[/quote]

                Hi,

                Is it possible to had it in the web interface ?

                Regards,
                Ch3i.

                1 Reply Last reply Reply Quote 0
                • C
                  ch3i Moderator
                  last edited by May 12, 2015, 8:09 AM

                  [quote=“Joseph Hales, post: 46929, member: 18131”]When I ran the latest version in this thread I got the following output in terminal.
                  ./troubleshoot.sh: line 19: [: : integer expression expected
                  rpcbind: unrecognized service
                  nfs: unrecognized service
                  iptables: unrecognized service
                  Usage FOGMulticastManager {start|stop|restart}
                  Usage FOGSnapinReplicator {start|stop|restart}
                  Usage FOGImageReplicator {start|stop|restart}
                  Usage FOGScheduler {start|stop|restart}
                  Script Completed Wed May 6 16:10:25 CDT 2015
                  Your logfile can be found in /home/jhales/test/FOGtroubleshoot.log[/quote]

                  Hi,

                  For the status of FOG services I have submit modifications here : [url]http://fogproject.org/forum/threads/add-the-status-of-fog-services-in-the-command-service.12912/[/url]

                  Regards,
                  Ch3i.

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman
                    last edited by May 12, 2015, 3:43 PM

                    I will work on integrating these.

                    Tom, is the latest and greatest the last thing you’ve posted?

                    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
                    • T
                      Tom Elliott
                      last edited by May 12, 2015, 3:54 PM

                      Probably?

                      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
                      • J
                        Joseph Hales Testers
                        last edited by May 15, 2015, 9:02 PM

                        Where in the SVN is this being placed or is it not part of it then?

                        RTFM

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by May 16, 2015, 12:09 AM

                          I haven’t coded or tested it for all the specifications of different os’s so it’s not part of it yet…

                          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
                          • W
                            Wayne Workman
                            last edited by May 25, 2015, 5:02 PM

                            Can we get attachments working? I can’t grab the latest script.

                            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
                            • A
                              afuente26
                              last edited by afuente26 Jun 1, 2015, 9:21 AM Jun 1, 2015, 3:15 PM

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • cmlC
                                cml Moderator
                                last edited by Jun 1, 2015, 6:00 PM

                                [troubleshoot.zip](uploading 100%)

                                I added a function to add the revision number.

                                W 1 Reply Last reply Jun 1, 2015, 8:51 PM Reply Quote 0
                                • W
                                  Wayne Workman @cml
                                  last edited by Jun 1, 2015, 8:51 PM

                                  @cml Nice, can you upload a copy?

                                  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
                                  • cmlC
                                    cml Moderator
                                    last edited by cml Jun 2, 2015, 3:49 AM Jun 1, 2015, 9:21 PM

                                    Hmm, I thought I did. I will re-upload when I get back to my laptop.

                                    —EDIT—
                                    Latest is attached.
                                    troubleshoot.zip

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Wayne Workman
                                      last edited by Oct 27, 2015, 4:14 AM

                                      Bumping this, just so everyone now knows it’s a source forge project. 🙂

                                      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
                                      • 1
                                      • 2
                                      • 2 / 2
                                      • First post
                                        Last post

                                      240

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project