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

    Create Task Capture Error

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    37
    6.9k
    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
      butch2861 @Sebastian Roth
      last edited by

      @Sebastian-Roth I get this ls: cannot access ‘/var/www/fog/lib/client/servicemodule.class.php’: No such file or directory

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @butch2861 Something went very wrong when installing FOG I’m afraid. You can try fixing this very issue by copying the PHP file over from the source but I wonder why it’s missing. Possibly other parts are also missing? For now try:

        sudo -i
        cd /path/to/git/repo
        cd packages/web/lib/client/
        cp -i servicemodule.class.php /var/www/fog/lib/client/
        

        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 george1421G 3 Replies Last reply Reply Quote 0
        • B
          butch2861 @Sebastian Roth
          last edited by

          @Sebastian-Roth I ran this and got this back:
          cp:cannot stat ‘servicemodule.class.php’ :No such file or directory

          "I can get into Fog via Web GUI and everything seems to work just fine but the Client Capture…

          1 Reply Last reply Reply Quote 0
          • B
            butch2861 @Sebastian Roth
            last edited by

            @Sebastian-Roth i have 2 files in this dir ‘packages/web/lib/client/’ they are download and index.php

            1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Sebastian Roth
              last edited by

              @Sebastian-Roth the path may be

              /var/www/html/fog/lib/client/servicemodule.class.php
              

              just for kicks run this command
              find /var/www -name servicemodule.class.php
              That should give you the full path to the file if it exists in the web services 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!

              B 1 Reply Last reply Reply Quote 0
              • B
                butch2861 @george1421
                last edited by

                @george1421 When I run this command I get back to the prompt and it displays nothing.
                find /var/www -name servicemodule.php
                I manually went into these dir and could not see it anywhere.
                next step?

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @butch2861
                  last edited by

                  @butch2861 Just to be sure I ran that on my FOG server.

                  find /var/www -name servicemodule*
                  /var/www/html/fog/lib/client/servicemodule.class.php
                  

                  And it was found in that path. I’m almost thinking you have a botched install (but also be aware that the file name you repeated in your last post is incorrect too).

                  How did you install FOG? Did you use the git method?

                  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!

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    butch2861 @george1421
                    last edited by

                    @george1421 George I ran this command find /var/www -name servicemodule* and it found this:
                    /var/www/fog/service/servicemodule-active.php

                    when I do an update for Fog I do this procedure that Tom Elliot told me to do:

                    cd /root/fogproject
                    git pull
                    cd bin
                    ./installfog.sh -y

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @butch2861
                      last edited by

                      @butch2861 Yes that is the right process, but it didn’t find the needed file.

                      I would suggest that you rerun the installer and then confirm that the file exists after running the installer.

                      cd /root/fogproject/bin
                      ./installfog.sh
                      

                      (note without the -y) make sure the defaults are still accurate. The installer will insert what you answered the first time you ran through the installer for answers.

                      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!

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        butch2861 @george1421
                        last edited by

                        @george1421 okay i re-ran the install and at the end it displayed this and I am still at this point: what do I need to do about the database schema issue?

                        • You still need to install/update your database schema.

                        • This can be done by opening a web browser and going to:

                          http://10.0.10.247/fog/management

                        • Press [Enter] key when database is updated/installed.

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @butch2861
                          last edited by george1421

                          @butch2861 OK at this point go to that URL using your windows browser.

                          On that page there should be a button to update the schema. Press it. When it says the schema has been updated return to the linux server install script and press enter to continue with the installation.

                          If you don’t get the schema update page, but the login window instead then the schema is up to date and just return to the installer and continue with the install.

                          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!

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            butch2861 @george1421
                            last edited by

                            @george1421 I ahve re-ran the installer and rebooted and am still getting the same error when trying to Upload an Image to a pc…

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @butch2861
                              last edited by

                              @butch2861 look at the forum chat bubble for additional information.

                              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!

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @butch2861 To me it looks like the GIT repo you are running the installer from is corrupted. Missing files?!? Possibly just delete and re-clone.

                                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

                                george1421G 1 Reply Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth I remoted into the OPs fog server. I switch him over to the working branch and repulled the using git. After I reran the installer all of the files were where they should be. He was able to schedule a deployment. I think he is good for now.

                                  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!

                                  1 Reply Last reply Reply Quote 2
                                  • J
                                    Jim Holcomb
                                    last edited by

                                    I am having the same issue. Tried re-installing as listed below. Still getting the same generic error - internal server error when trying to perform a capture.

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

                                      @Jim-Holcomb Yes, you’re on working-1.6 and I’ll be helping with that here shortly.

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

                                      224

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project