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

    Trouble installing SmartClient on MacOS Sierra

    Scheduled Pinned Locked Moved Unsolved
    Mac Problems
    9
    53
    11.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.
    • K
      kwetiaw
      last edited by

      Server
      • FOG Version: 1.3.0 RC14
      • OS: Ubuntu 14 LTS
      Client
      • Service Version: SmartInstaller.exe
      • OS: Sierra
      Description

      Unable to install smartinstaller.exe to MacBook Pro running Sierra. I followed the guide using Mono.
      Error message attached

       20/10/2016 1:42 PM Installer ERROR: Method: PinFOGCert
       20/10/2016 1:42 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
       20/10/2016 1:42 PM Installer ERROR: Unable to install FOG CA cert
       20/10/2016 1:42 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
       20/10/2016 1:42 PM Installer ERROR: Method: PinFOGCert
       20/10/2016 1:42 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
       20/10/2016 1:51 PM Installer ERROR: Unable to install FOG CA cert
       20/10/2016 1:51 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
       20/10/2016 1:51 PM Installer ERROR: Method: PinFOGCert
       20/10/2016 1:51 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
      

      Any ideas? I checked /usr/share/.mono but there is no folder called .mono

      Thanks

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        Have you installed the very latest mono as the instructions say?

        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/

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

          Have you tried installing using root/admin permissions?

          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

          K 1 Reply Last reply Reply Quote 1
          • K
            kwetiaw @Wayne Workman
            last edited by

            @Wayne-Workman Hi Wayne

            Sorry for late reply, yes I installed the latest mono as described in the guide.

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

              @Tom-Elliott I did use elevated access as root.

              As mentioned, the hidden folder .mono is simply not there.

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

                @kwetiaw That’s what’s odd. The statements in the file aren’t saying anything about file not existing. It’s stating permission denied, which is a totally different error.

                If you run ls -lhart in terminal as sudo ls -lhart "/usr/share/.*" is nothing returned?

                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

                K 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by Wayne Workman

                  Pinging @Joe-Schmitt because this is outside my knowledge area at this point, and I have zero Mac devices to test on.

                  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
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Also, can you check if sudo -lhart "/usr/local/share/.*" has .mono within it?

                    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

                    K 1 Reply Last reply Reply Quote 0
                    • J
                      Joe Schmitt Senior Developer
                      last edited by Joe Schmitt

                      @Wayne-Workman thanks for pinging me, I was meaning to get back to this topic.

                      @kwetiaw in short here’s what’s happening. Starting with El Capitan OSX ships with a feature called system integrity protection (SIP). Many applications have had some difficulty adjusting to the new security model. Mono included. With the release of El Capitan they had to rebuild parts of their build process to be in compliance with SIP. Even then it took them awhile to figure out how to ensure their root keystore was also compliant with SIP. The client was actually OSX compatible a long time ago, but I and @Tom-S had to wait for mono to patch this issue.

                      I suspect with the release of OSX Sierra some changes were made to SIP. While mono still works (hence you can run the smart installer), the keystore is once again broken. This keystore is what allows the client to “pin” your FOG server for security purposes. If you can ensure you are running the latest version of mono (and if so report back with the exact version number mono --version) I can confirm the issue and check in with the Mono team about this issue. Also if you can, upload the entire SmartInstaller.log file.

                      To clarify; this is not an issue with the client, but rather a bug with mono dealing with Apple’s SIP.

                      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.

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

                        @Tom-Elliott Hi Tom,
                        It listed different folder but none of them is .mono

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

                          @Tom-Elliott there isnt a folder called “share”

                          1 Reply Last reply Reply Quote 0
                          • K
                            kwetiaw @Joe Schmitt
                            last edited by

                            @Joe-Schmitt

                            Mono version
                            1_1477352533349_mac fog 2.png

                            When i tried running mono to install smartclient.exe
                            0_1477352533348_mac fog 1.png

                            A 1 Reply Last reply Reply Quote 0
                            • D
                              Duncan
                              last edited by

                              https://www.howtogeek.com/230424/how-to-disable-system-integrity-protection-on-a-mac-and-why-you-shouldnt/

                              reboot into recovery > start terminal

                              csrutil disable
                              
                              1 Reply Last reply Reply Quote 1
                              • A
                                ArtLong @kwetiaw
                                last edited by

                                @kwetiaw I’m getting this same error on HS has this been resolved?

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

                                  @ArtLong As Joe posted long time ago:

                                  To clarify; this is not an issue with the client, but rather a bug with mono dealing with Apple’s SIP (system integrity protection).

                                  I don’t have access to a Mac to test so we probably need other people to confirm this is still an issue. There is nothing much we can do about I suppose.

                                  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
                                  • D
                                    Daniel Miller
                                    last edited by

                                    This is still an issue. Tested with Mono 5.20.1 Stable (5.20.1.19) on macOS 10.11.6, 10.13.6, and 10.14.5 with SmartInstaller.exe distributed with 1.5.5 and 1.5.6.

                                    SmartInstaller.log

                                    output from mono --version

                                    Mono JIT compiler version 5.20.1.19 (2018-10/886c4901747 Tue Apr  9 12:37:29 EDT 2019)
                                    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
                                    	TLS:           
                                    	SIGSEGV:       altstack
                                    	Notification:  kqueue
                                    	Architecture:  amd64
                                    	Disabled:      none
                                    	Misc:          softdebug 
                                    	Interpreter:   yes
                                    	LLVM:          yes(600)
                                    	Suspend:       hybrid
                                    	GC:            sgen (concurrent by default)
                                    

                                    Issue on the mono GitHub related to this is certmgr System.UnauthorizedAccessException: Access to the path “/usr/share/.mono” is denied. #12005 and it is still in an open status.

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

                                      @Daniel-Miller Good you brought this topic up again. We had a very similar thing on Linux where the fog-client wouldn’t be able to read back the certificates from the mono cert store. I can imagine this being the same issue.

                                      Check out this: https://forums.fogproject.org/topic/13374/fog-client-under-ubuntu-18-04-authentication-error-could-not-authenticate

                                      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

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        Daniel Miller @Sebastian Roth
                                        last edited by

                                        @Sebastian-Roth
                                        Well, not the same, but likely related. The mono issue noted the problem was present on both Linux and macOS, but for different reasons. If the changes in that version of zazzles takes over the cert handling from mono, that solution might work, but the installer removes the client when it detects the failed install so I don’t have a means to test if it does. These are all new installations as part of an attempt to solve a large package deployment issue here, so I don’t have a previously working client base to play with unfortunately.

                                                             ..#######:.    ..,#,..     .::##::.   
                                                        .:######          .:;####:......;#;..      
                                                        ...##...        ...##;,;##::::.##...       
                                                           ,#          ...##.....##:::##     ..::  
                                                           ##    .::###,,##.   . ##.::#.:######::. 
                                                        ...##:::###::....#. ..  .#...#. #...#:::.  
                                                        ..:####:..    ..##......##::##  ..  #      
                                                            #  .      ...##:,;##;:::#: ... ##..    
                                                           .#  .       .:;####;::::.##:::;#:..     
                                                            #                     ..:;###..        
                                                                                                   
                                                        ###########################################
                                                        #     FOG                                 #
                                                        #     Free Computer Imaging Solution      #
                                                        #                                         #
                                                        #     https://www.fogproject.org/         #
                                                        #                                         #
                                                        #     Credits:                            #
                                                        #     https://fogproject.org/Credits      #
                                                        #     GNU GPL Version 3                   #
                                                        ###########################################
                                                        #           FOG Service Installer         #
                                        
                                        ------------------------------------License-----------------------------------
                                        
                                        FOG Service Copyright (C) 2014-2017 FOG Project
                                        This program comes with ABSOLUTELY NO WARRANTY.
                                        This is free software, and you are welcome to redistribute it under certain
                                        conditions. See your FOG server under 'FOG Configuration' -> 'License' for
                                        further information.
                                        
                                        ----------------------------------Information---------------------------------
                                        
                                        Version................................................................0.11.16
                                        OS.........................................................................Mac
                                        Current Path........................................../Users/x/Downloads
                                        Install Location............................................../opt/fog-service
                                        
                                        -----------------------------------Configure----------------------------------
                                        
                                        FOG Server address [default: fogserver]: fogserver
                                        Webroot [default: /fog]:                 
                                        Enable tray icon? [Y/n]:                 y
                                        
                                        ----------------------------------Installing----------------------------------
                                        
                                        Getting things ready....................................................[Pass]
                                        Installing files........................................................[Pass]
                                        Saving Configuration....................................................[Pass]
                                        Applying Configuration..................................................[Pass]
                                        Pinning FOG Project.....................................................[Fail]
                                        
                                        Installation failed, cleaning system
                                        
                                        -----------------------------------Uninstall----------------------------------
                                        
                                        Uninstalling............................................................[Pass]
                                        
                                        -----------------------------------Finished-----------------------------------
                                        
                                        See /Users/x/Downloads/SmartInstaller.log for more information.
                                        
                                        ASEGCB0240-06:opt x$ ls -al /opt
                                        total 0
                                        drwxr-xr-x   2 root  wheel    68 Jun 27 10:23 .
                                        drwxr-xr-x  40 root  wheel  1428 Jun 26 16:37 ..
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by

                                          @Daniel-Miller said:

                                          ...
                                          FOG Server address [default: fogserver]: fogserver
                                          ...
                                          

                                          Make sure you give the FOG server IP hear or it won’t be able to pin to it!

                                          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

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Daniel Miller @Sebastian Roth
                                            last edited by

                                            @Sebastian-Roth names were changed to protect the guilty. 🙂

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

                                            237

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project