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

    Failed vista image upload help

    Scheduled Pinned Locked Moved
    Windows Problems
    3
    38
    12.1k
    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 @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
                                  • T
                                    the_duke @Tom Elliott
                                    last edited by

                                    This post is deleted!
                                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @the_duke
                                      last edited by

                                      @the_duke are you installing a node or a full fledged fog server?

                                      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 This is from my .fogsettings file

                                        snmysqluser=“fogstorage”
                                        snmysqlpass=“fs6181”;
                                        snmysqlhost=“localhost”;

                                        do I need to delete the username and password here?
                                        Full fledged server

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

                                          @Tom-Elliott That must have been what it was, I deleted the username and password in the .fogsettings file and it now works

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

                                            Yes. Change the user to root and my guess is your root user does not have a password set. So make it just two single quotes. You will need to edit the .fogsettings file as it will pull in the info for the update. Edit the fogsettings file and then rerun the installer.

                                            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

                                            184

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project