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

    Latest Development FOG

    Scheduled Pinned Locked Moved
    General
    57
    652
    1.2m
    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.
    • J
      jamesb
      last edited by

      Should I run that command from certain folder, such as /trunk or /trunk/bin?

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

        It doesn’t matter,

        The command is implicitly telling it which file to use and copy over.

        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
          jamesb
          last edited by

          That didn’t seem to help. My apache error log has multiple lines of:
          PHP Fatal error: Call to a member function isValid() on a non-object in /var/www/fog/service/servicemodule-active.php on line 11

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

            That’s okay.

            3111 should fix the issues and still maintain access to the interface.

            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
              jamesb
              last edited by

              Yep, 3111 fixed it. Thank you Tom.

              1 Reply Last reply Reply Quote 0
              • Bill RiceB
                Bill Rice Testers
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • Bill RiceB
                  Bill Rice Testers
                  last edited by

                  Current SVN - 3121 installed today. I did get a SQL error but all seems to be intact.

                  This is for informational purpose only. I can live with current error, just showing there is still bug in settings options.
                  If you require the full log please let me know. ill provide what ever data you need to help nail down outstanding issues.
                  Thanks Tom!
                  and development team! Awesome job.

                  [Tue Mar 17 09:58:28.008706 2015] [mpm_prefork:notice] [pid 4206] AH00169: caught SIGTERM, shutting down
                  [Tue Mar 17 10:01:43.050081 2015] [mpm_prefork:notice] [pid 4193] AH00163: Apache/2.4.10 (Ubuntu) PHP/5.5.12-2ubuntu4.2 configured – resuming normal operations
                  [Tue Mar 17 10:01:43.080004 2015] [core:notice] [pid 4193] AH00094: Command line: ‘/usr/sbin/apache2’
                  [Tue Mar 17 10:10:08.641183 2015] [:error] [pid 4248] [client 172.31.176.207:3642] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 290, referer: [url]http://roxmintfog/fog/management/index.php?node=about&sub=settings[/url]
                  [Tue Mar 17 10:24:17.830533 2015] [:error] [pid 5718] [client 127.0.0.1:34866] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 290, referer: [url]http://roxmintfog/fog/management/index.php?node=about&sub=settings[/url]
                  [Tue Mar 17 10:24:40.882685 2015] [:error] [pid 5728] [client 127.0.0.1:34872] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 290, referer: [url]http://roxmintfog/fog/management/index.php?node=about&sub=settings[/url]
                  [Tue Mar 17 10:54:19.409926 2015] [core:notice] [pid 4193] AH00051: child pid 10367 exit signal Segmentation fault (11), possible coredump in /etc/apache2

                  1 Reply Last reply Reply Quote 0
                  • Bill RiceB
                    Bill Rice Testers
                    last edited by

                    Tom, Is there an issue with the latest Dev that effects the SQL as well as the settings page, most features do not reflect the updated status when you make a change to any setting , either in the host tables or in fog settings.
                    What information would you require to see the errors im getting , this may assist in troubleshooting this

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

                      For your errors, I believe you need to have:

                      php-mcrypt or php5-mcrypt.

                      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
                      • Bill RiceB
                        Bill Rice Testers
                        last edited by

                        [quote=“Tom Elliott, post: 44060, member: 7271”]For your errors, I believe you need to have:

                        php-mcrypt or php5-mcrypt.[/quote]
                        I have verified I do infact already have that installed and updated. I have php5-mcrypt installed.
                        any other suggestions?
                        I’m back at the point where I may have to back up the revision again. is there a log that will offer up more detail info? should i send you a copy of the apachelog? would this help? I still have the ability to image systems and register them so I’m not broken, just cant make changes to the host in the fog server or modify the settinings from the web pages. i may have to go in and change them manually
                        I am getting mysql errors when trying to access the mysql database for fog.

                        1 Reply Last reply Reply Quote 0
                        • B
                          Berend de Boer
                          last edited by

                          Bill, in case you just installed php5-mcrypt, make sure apache is restarted.

                          Second thing to check is if mcrypt is actually loaded so for example in php5/apache2/conf.d does it mention to load mcrypt? Else load explicitly in your php.ini with extension=mcrypt.so or so, just to be sure.

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

                            You could also, if on ubuntu/debian, just run:

                            [code]sudo a2enmod mcrypt[/code]

                            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
                            • Bill RiceB
                              Bill Rice Testers
                              last edited by

                              Running that command Tom
                              Returns this --> sudo a2enmod mcrypt
                              ERROR: Module mcrypt does not exist!

                              Modifying the php file adding extension=mcrypt.so appears to have given me the ability to save settings again.

                              [COLOR=#3366ff]Line 278 in file --> return $this->link->real_escape_string(strip_tags($data));[/COLOR]

                              [COLOR=#993300]I still see this error in the SQL line 278. this is a paste from the apache log file.[/COLOR]
                              [Thu Mar 19 07:02:32.262527 2015] [:error] [pid 4247] [client 172.31.178.79:56675] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 278
                              [Thu Mar 19 07:02:32.262538 2015] [:error] [pid 4247] [client 172.31.178.79:56675] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 278
                              [Thu Mar 19 07:02:32.262741 2015] [:error] [pid 4247] [client 172.31.178.79:56675] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 278
                              [Thu Mar 19 07:02:32.262751 2015] [:error] [pid 4247] [client 172.31.178.79:56675] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 278
                              [Thu Mar 19 07:02:32.262958 2015] [:error] [pid 4247] [client 172.31.178.79:56675] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 278
                              [Thu Mar 19 07:02:32.262969 2015] [:error] [pid 4247] [client 172.31.178.79:56675] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 278

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

                                I’m sory about that.

                                a2enmod is for Apache modules.

                                php5enmod is for php (mcrypt is a php function)

                                [code]sudo php5enmod mcrypt[/code]

                                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
                                • Bill RiceB
                                  Bill Rice Testers
                                  last edited by

                                  ok updated to latest svn, 3123 lost all screens- im trying that command, rebooting and will update as it restarts.

                                  If this still breaks the screens (can log in to fog but then all other screens dont display) I’ll back to svn 3122

                                  Rebooted and no screens display other then the inital log on screen but i can click on log out and it will go back to initial log on screen.
                                  no biggie. just an fyi.

                                  1 Reply Last reply Reply Quote 0
                                  • Bill RiceB
                                    Bill Rice Testers
                                    last edited by

                                    Ok current update - After adding the extension=mcrypt.so to the php file and also running the php5 command tom provided i am able to see all options and make needed changes.
                                    I then did the SVN update and that when I lost all the option screens it allowed me to log in but then no other screen except for main screen would show up. I rebooted the system still no joy. I did run the command --> Sudo svn up -r 3122
                                    allowed to update, and then run the installer. this has brought me back top 3122 and all is functional again.

                                    If you would like my log file for apache then let me know, I’ll post a little of the log in my next post for review.

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

                                      Just the relevant parts. When you upgrade to 3123 and get the “white” screen, tail the log and give me that. It’s much more likely to show the relevant issue you’re seeing. Also, do you have plugins enabled/installed?

                                      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
                                      • Bill RiceB
                                        Bill Rice Testers
                                        last edited by

                                        As far as plugins yes I have them enabled / Installed as I want to experiment with them.
                                        I’ll look for the section where with ver 3123 was not opening the pages.

                                        Hope this is what you were looking for if not I’ll send in my entire log file.

                                        PHP Warning: Module ‘mcrypt’ already loaded in Unknown on line 0
                                        [Thu Mar 19 09:20:33.122027 2015] [mpm_prefork:notice] [pid 10579] AH00163: Apache/2.4.10 (Ubuntu) PHP/5.5.12-2ubuntu4.3 configured – resuming normal operations
                                        [Thu Mar 19 09:20:33.122107 2015] [core:notice] [pid 10579] AH00094: Command line: ‘/usr/sbin/apache2’
                                        mkdir: cannot create directory ‘/var/www/html/fog//management/other/ssl/’: File exists
                                        [Thu Mar 19 09:26:50.685365 2015] [core:notice] [pid 10579] AH00051: child pid 10988 exit signal Segmentation fault (11), possible coredump in /etc/apache2
                                        [Thu Mar 19 09:34:19.398974 2015] [:error] [pid 11210] [client 172.31.179.192:62153] PHP Warning: require_once(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
                                        [Thu Mar 19 09:34:19.399000 2015] [:error] [pid 11210] [client 172.31.179.192:62153] PHP Fatal error: require_once(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
                                        [Thu Mar 19 09:34:22.414912 2015] [:error] [pid 11166] [client 172.31.179.192:62154] PHP Warning: require_once(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
                                        [Thu Mar 19 09:34:22.414944 2015] [:error] [pid 11166] [client 172.31.179.192:62154] PHP Fatal error: require_once(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
                                        [Thu Mar 19 09:34:50.271903 2015] [core:notice] [pid 10579] AH00051: child pid 11166 exit signal Segmentation fault (11), possible coredump in /etc/apache2
                                        [Thu Mar 19 09:37:14.497270 2015] [core:notice] [pid 10579] AH00051: child pid 13276 exit signal Segmentation fault (11), possible coredump in /etc/apache2
                                        [Thu Mar 19 09:37:21.505580 2015] [core:notice] [pid 10579] AH00051: child pid 13294 exit signal Segmentation fault (11), possible coredump in /etc/apache2
                                        [Thu Mar 19 09:50:44.506872 2015] [core:notice] [pid 10579] AH00051: child pid 13830 exit signal Segmentation fault (11), possible coredump in /etc/apache2

                                        1 Reply Last reply Reply Quote 0
                                        • Bill RiceB
                                          Bill Rice Testers
                                          last edited by

                                          here is the log file complete.
                                          Obviously change name back to error.log 🙂

                                          [url=“/_imported_xf_attachments/1/1796_error.log.txt?:”]error.log.txt[/url]

                                          1 Reply Last reply Reply Quote 0
                                          • UpACreekU
                                            UpACreek
                                            last edited by

                                            SVN 3134 installed. When doing a host search, it narrows it down to 76 hosts, rather than giving me the exact system I am searching for. I have 451 hosts on this FOG instance.

                                            [ATTACH]1800[/ATTACH]

                                            [url=“/_imported_xf_attachments/1/1800_76hosts.png?:”]76hosts.png[/url]

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 32
                                            • 33
                                            • 26 / 33
                                            • First post
                                              Last post

                                            257

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project