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

    Failed vista image upload help

    Scheduled Pinned Locked Moved
    Windows Problems
    3
    38
    12.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.
    • T
      the_duke
      last edited by

      I’ll go ahead and apologize before hand if I needed to create a new post here. I know that this is a really old post, but I have come back to these laptops and trying to deploy a vista image to them now that I have updated fog versions. I am using fog 1.2.0 on ubuntu 12.04. I have been successful at deploying linux mint 17, ubuntu 12.04 and 14.04 to these laptops. When I try to do a clean install of vista it seems to upload just fine, but on deployment, it starts going through the process;
      checking os…windows vista
      checking cpu cores…2
      send method…nfs
      attempting to send inventory…done
      etc, etc

      goes all the way down to changing hostname…done
      updating computer database status
      database updated
      task is completed, computer will now restart, but it never actually deploys. Computer will reboot and black screen with missing OS.

      Any ideas or suggestions.

      Again these are Lenovo SL500s

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

        Vista is known NOT to work on 1.2.0.

        If you want, update to SVN revision 2096 (1.2.0 was SVN revision 2094) and it should be fixed.

        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

        T 1 Reply Last reply Reply Quote 0
        • T
          the_duke @Tom Elliott
          last edited by

          @Tom-Elliott oh ok, does it matter which method that I use to update to trunk?

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

            @the_duke for that particular revision I’d say use svn.

            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

            T 2 Replies Last reply Reply Quote 0
            • T
              the_duke @Tom Elliott
              last edited by

              @Tom-Elliott Ok, it got to the restarting apache2 for fog vhost and failed. Should I try to install again or is there something else I need to look at?

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

                @Tom-Elliott Here is what came out in the terminal

                • Starting web server apache2 *
                • The apache2 configtest failed.
                  Output of config test was:
                  apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authz_default.load: Cannot load /usr/lib/apache2/modules/mod_authz_default.so into server: /usr/lib/apache2/modules/mod_authz_default.so: cannot open shared object file: No such file or directory
                  Action ‘configtest’ failed.
                  The Apache error log may have more information.
                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @the_duke
                  last edited by

                  @the_duke said:

                  @Tom-Elliott Ok, it got to the restarting apache2 for fog vhost and failed. Should I try to install again or is there something else I need to look at?

                  Well I’m glad it failed as it could’ve been disasterous. You svnd to the latest didn’t you? You need to checkout a specific revision. Use the command svn co -r 2096 https://svn.code.sf.net/p/freeghost/code/trunk

                  If you want to try the latest you’ll most likely need to update your current Linux os.

                  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

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    the_duke @Tom Elliott
                    last edited by

                    @Tom-Elliott Yes I did, I’ll do this now

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

                      @the_duke
                      To fix those issues run:

                      sudo a2dismod authz_default authz_default mem_cached; sudo a2enmod authz_core;sudo apache2 restart;

                      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

                      T Tom ElliottT 2 Replies Last reply Reply Quote 0
                      • T
                        the_duke @Tom Elliott
                        last edited by

                        @Tom-Elliott Ok, installed revision 2096 and apache2 still failed. I then ran the commands that you posted and here is what came out:

                        Module authz_default already disabled
                        Module authz_default already disabled
                        ERROR: Module mem_cached does not exist!
                        jcsadmin@jcstest69:~$ sudo a2enmod authz_core
                        Module authz_core already enabled
                        jcsadmin@jcstest69:~$ sudo apache2 restart
                        Usage: apache2 [-D name] [-d directory] [-f file]
                        [-C “directive”] [-c “directive”]
                        [-k start|restart|graceful|graceful-stop|stop]
                        [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]
                        Options:
                        -D name : define a name for use in <IfDefine name> directives
                        -d directory : specify an alternate initial ServerRoot
                        -f file : specify an alternate ServerConfigFile
                        -C “directive” : process directive before reading config files
                        -c “directive” : process directive after reading config files
                        -e level : show startup errors of level (see LogLevel)
                        -E file : log startup errors to file
                        -v : show version number
                        -V : show compile settings
                        -h : list available command line options (this page)
                        -l : list compiled in modules
                        -L : list available configuration directives
                        -t -D DUMP_VHOSTS : show parsed vhost settings
                        -t -D DUMP_RUN_CFG : show parsed run settings
                        -S : a synonym for -t -D DUMP_VHOSTS -D DUMP_RUN_CFG
                        -t -D DUMP_MODULES : show all loaded modules
                        -M : a synonym for -t -D DUMP_MODULES
                        -t : run syntax check for config files
                        -T : start without DocumentRoot(s) check
                        -X : debug mode (only one worker, do not detach)

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

                          @Tom-Elliott sorry the sudo apache2 restart should’ve been sudo service apache2 restart

                          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

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            the_duke @Tom Elliott
                            last edited by

                            @Tom-Elliott Tried that too, here’s the output of that:

                            jcsadmin@jcstest69:~$ sudo service apache2 restart

                            • Restarting web server apache2 [fail]
                            • There are processes named ‘apache2’ running which do not match your pid file which are left untouched in the name of safety, Please review the situation by hand.
                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @the_duke
                              last edited by

                              @the_duke can you 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

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                the_duke @Tom Elliott
                                last edited by

                                @Tom-Elliott Here is what it it is saying now:

                                Restarting web server apache2 [fail]

                                • The apache2 configtest failed.
                                  Output of config test was:
                                  AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/001-fog.conf:
                                  SSLCertificateFile: file ‘/var/www/fog/management/other/ssl/srvpublic.crt’ does not exist or is empty
                                  Action ‘configtest’ failed.
                                  The Apache error log may have more information.
                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @the_duke
                                  last edited by

                                  @the_duke now run sudo a2dissite 001-fog. Then rerun sudo service apache2 restart

                                  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

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    the_duke @Tom Elliott
                                    last edited by

                                    @Tom-Elliott Ok, now it restarted the apache2, but when I go to my web gui to update/install database schema, I get the update/installed failed

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

                                      @the_duke please rerun the installer in whole. My guess is the Config file is not present as it failed to even restart Apache before.

                                      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

                                      T 2 Replies Last reply Reply Quote 0
                                      • T
                                        the_duke @Tom Elliott
                                        last edited by

                                        @Tom-Elliott same thing

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          the_duke @Tom Elliott
                                          last edited by

                                          @Tom-Elliott apache is fine, just the database update failing

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

                                            @the_duke going on a limb that the db has a root user and password?

                                            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

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

                                            160

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project