Sep 19, 2022
02:51 PM
Hi ChrisG
1)-3) TMPDIR is used to create mgsft_rollout_response. After it is created, we don't need TMPDIR anymore.
TMPDIR=/var/tmp/tempdir.$RANDOM.$RANDOM.$$
mv -f $TMPDIR/mgsft_rollout_response /var/tmp/mgsft_rollout_response || ret=1 rm -rf $TMPDIR
4) The script created
if [ "`uname -s`" = "SunOS" ]; then TMP1=/var/tmp cat <<EOF >$TMP1/admin.$$ conflict=nocheck setuid=nocheck action=nocheck partial=nocheck EOF
I also have tried the followings in admin file, but still got the same error.
mail= instance=overwrite partial=nocheck runlevel=nocheck idepend=nocheck rdepend=nocheck space=quit setuid=nocheck conflict=nocheck action=nocheck basedir=default
... View more
Sep 15, 2022
11:03 AM
Hi Chris
Our SA ran the install script on /var/tmp and got install error, but no error when running pkgadd outside of the install script.
-bash-5.1# sh -x unix-setup-m.sh qidc-flexera + dirname unix-setup-m.sh + BASEDIR=. + [ 1 '=' 0 ] + beaconsvr=qidc-flexera + echo 'qidc-flexera will be used as default Beacon' qidc-flexera will be used as default Beacon + TMPDIR=/var/tmp/tempdir.26045.22400.10523 + umask 077 + mkdir /var/tmp/tempdir.26045.22400.10523 + cat + 0<< \EOF
# The initial download location(s) for the installation. # For example, http://myhost.mydomain.com/ManageSoftDL/ # Refer to the documentation for further details. #MGSFT_BOOTSTRAP_DOWNLOAD=http://beacon.mydomain.com:8080/ManageSoftDL/ MGSFT_BOOTSTRAP_DOWNLOAD=https://qidc-flexera/ManageSoftDL/
# The initial reporting location(s) for the installation. # For example, http://myhost.mydomain.com/ManageSoftRL/ # Refer to the documentation for further details. #MGSFT_BOOTSTRAP_UPLOAD=http://beacon.mydomain.com:8080/ManageSoftRL/ MGSFT_BOOTSTRAP_UPLOAD=https://qidc-flexera/ManageSoftRL/
# The initial proxy configuration. Uncomment these to enable proxy configuration. # Note that setting values of NONE disables this feature. #MGSFT_HTTP_PROXY=http://webproxy.local:3128 #MGSFT_HTTPS_PROXY=https://webproxy.local:3129 #MGSFT_PROXY=socks:socks.socksproxy.local:19121,direct #MGSFT_NO_PROXY=internal1.local,internal2.local
# Check the HTTPS server certificate's existence, name, validity period, # and issuance by a trusted certificate authority (CA). This is enabled # by default and can be disabled with false. #MGSFT_HTTPS_CHECKSERVERCERTIFICATE=true MGSFT_HTTPS_CHECKSERVERCERTIFICATE=false
# Check that the HTTPS server certificate has not been revoked. This is # enabled by default and can be disabled with false. #MGSFT_HTTPS_CHECKCERTIFICATEREVOCATION=true MGSFT_HTTPS_CHECKCERTIFICATEREVOCATION=false EOF 1> /var/tmp/tempdir.26045.22400.10523/mgsft_rollout_response + uname -s + [ SunOS '=' SunOS ] + chown install /var/tmp/tempdir.26045.22400.10523/mgsft_rollout_response + 2> /dev/null + chown nobody /var/tmp/tempdir.26045.22400.10523/mgsft_rollout_response + 2> /dev/null + ret=0 + mv -f /var/tmp/tempdir.26045.22400.10523/mgsft_rollout_response /var/tmp/mgsft_rollout_response + rm -rf /var/tmp/tempdir.26045.22400.10523 + [ 0 -ne 0 ] + echo 'Installing the FlexNet inventory agent' Installing the FlexNet inventory agent + uname -s + [ SunOS '=' SunOS ] + TMP1=/var/tmp + cat + 0<< \EOF conflict=nocheck setuid=nocheck action=nocheck partial=nocheck EOF 1> /var/tmp/admin.10523 + uname -p + [ sparc '=' i386 ] + uname -p + [ sparc '=' i586 ] + uname -p + [ sparc '=' i686 ] + uname -p + [ sparc '=' sparc ] + /usr/sbin/pkgadd -n -a /var/tmp/admin.10523 -r /dev/null -d managesoft-17.0.1.sparc.pkg ManageSoft pkgadd: ERROR: unable to make temporary directory to unpack datastream: No such file or directory + ret=1 + rm -f /var/tmp/admin.10523 + [ 1 -ne 0 ] + echo + 1>& 2
+ echo 'ERROR: Failed to install the FlexNet inventory agent' + 1>& 2 ERROR: Failed to install the FlexNet inventory agent + exit 1
... View more
Aug 29, 2022
02:11 PM
Recently we experienced issue in Solaris 11 when running pkgadd to install FNMS 2021 R2 agent. We have no issue in running following, but with issue in running it inside a shell script. Any idea of why pkgadd failed when running inside a script?
-bash-5.1# /usr/sbin/pkgadd -n -a admin -r /dev/null -d managesoft-*.sparc.pkg ManageSoft (C) 2021 Flexera Software LLC. All rights reserved. Protected by US patents 6,006,034 and 6,360,366; patents pending. Previous versions of ManageSoft were known as NETDEPLOY GLOBAL. ManageSoft Corp was previously known as Open Software Associates. NETDEPLOY, NETDEPLOY GLOBAL, ManageSoft, and the ManageSoft logo are trademarks or registered trademarks of ManageSoft Corp. Other product names are trademarks of their respective owners and are used to their credit. Configuring ManageSoft for Managed Devices ... Installation directory: "/opt/managesoft" Data directory: "/var/opt/managesoft" Created /etc/managesoft.ini Updating configuration with defaults: Done Applying bootstrap answer file "/var/tmp/mgsft_rollout_ response" ... Starting ManageSoft services... Starting ndtask: successful Starting mgsusageag: successful Setting heartbeat schedule: Done ManageSoft was configured using an answer file. Removing legacy files: Done Installation of <ManageSoft> was successful. -bash-5.1#
When running inside a script called unix-setup-m.sh, we got following error.
+ [ sparc '=' sparc ] + /usr/sbin/pkgadd -n -a admin -r /dev/null -d managesoft-17.0.1.sparc.pkg ManageSoft pkgadd: ERROR: unable to make temporary directory to unpack datastream: No such file or directory + ret=1
... View more
May 06, 2022
10:58 AM
Hi Chris
Thanks for your response. Is it possible that I can put the server name in the table that manage the servers in the targets instead of updating the target in the UI? Can you find out the table name for me?
Thanks
... View more
May 05, 2022
09:16 AM
Hi Chris I found the problem. I applied the followings on a specific Target that created only for those servers with JavaFullVersion issue to be fixed, but the policy was gone after some days (when I ran "select * FROM dbo.BeaconTargetPropertyValue WHERE KeyName = 'CTrackerJavaFullVersion'", it returned NULL value). Just wanted to know will it work on a specific Target instead of those 3 Target names that you specified in you SQL script? -- The value of @TargetName should be set to one 'Target__windows', -- 'Target__osx' or 'Target__unix' to set policy settings for computers -- running the identified type of operating system. -- -- To target multiple types of operating systems, change the value and -- re-run this script multiple times. DECLARE @TargetName NVARCHAR(100) SET @TargetName = 'Unix Servers turn off Java Full Version' -- Ensure the built-in target exists EXEC dbo.BeaconTargetPutByNameInternal @Name = @TargetName, @Internal = 0, @Description = NULL, @Visible = 1 -- Get the ID of the target to have settings applied DECLARE @btid INT SELECT @btid = BeaconTargetID FROM dbo.BeaconTarget WHERE Name = @TargetName -- Add setting to agent policy for computers covered by the above target EXEC dbo.BeaconTargetPropertyValuePutByKeyNameBeaconTargetID @KeyName = 'CTrackerJavaFullVersion', @BeaconTargetID = @btid, @Value = 'False' -- Force beacons to update to get latest settings containing the above changes EXEC dbo.BeaconPolicyUpdateRevision
... View more
May 03, 2022
02:22 PM
Hi Chris, I used your "advanced" mechanisms and some unix servers could successfully get the agent policy update on config.ini and some didn't (no error was found in policy.log). How to troubleshoot those devices not getting JavaFullVersion update in the config.ini ? Thanks
... View more
Apr 25, 2022
12:15 PM
Was this issue resolved?
... View more
Sep 27, 2021
11:31 AM
Hi Nicolas Our FNMS Compliance database is using "FULL" Recovery model. What is the benefits of setting FNMS Compliance database using "SIMPLE" Recovery model? Getting better performance for inventory import and reconciliation? Thanks
... View more
Jun 04, 2021
01:29 PM
We don't assign subnet to beacons. Do I need to set @scopeToBeaconSubnet = 'True' to make "Reducing FlexNet Beacon engine's DNS Lookups" working?
... View more
Feb 18, 2021
05:31 PM
For the agent running on Windows server without DNS set up, how can I configure nslookup to look at hosts file to resolve host name?
... View more
Aug 12, 2020
09:17 AM
1 Kudo
Any DOC that has example of writing an ndtrack VBscript plugin to gather software details to be stored in the FlexNet inventory database, and modify the out-of-the-box FlexNet inventory adapter to import these details into the custom properties
... View more
May 28, 2020
01:27 PM
What you mean " SCCM does supply user data from Active Directory which impacted us"? What is the impact?
... View more
Latest posts by Woo_Lam
Subject | Views | Posted |
---|---|---|
445 | Sep 19, 2022 02:51 PM | |
568 | Sep 15, 2022 11:03 AM | |
692 | Aug 29, 2022 02:11 PM | |
1219 | May 11, 2022 01:55 PM | |
1341 | May 06, 2022 10:58 AM | |
1402 | May 05, 2022 09:16 AM | |
1464 | May 03, 2022 02:22 PM | |
1148 | Apr 25, 2022 12:15 PM | |
4491 | Sep 27, 2021 11:31 AM | |
659 | Jun 04, 2021 01:29 PM |
Activity Feed
- Posted Re: Solaris agent installation error - pkgadd: ERROR: unable to open admin file <admin> on FlexNet Manager Knowledge Base. Sep 19, 2022 02:51 PM
- Posted Re: Solaris agent installation error - pkgadd: ERROR: unable to open admin file <admin> on FlexNet Manager Knowledge Base. Sep 15, 2022 11:03 AM
- Posted Re: Solaris agent installation error - pkgadd: ERROR: unable to open admin file <admin> on FlexNet Manager Knowledge Base. Aug 29, 2022 02:11 PM
- Posted Re: Known Issue: Inventory gathering process may terminate on Unix-like operating systems while gathering Java version details (IOJ-2241253) on FlexNet Manager Suite Known Issues. May 11, 2022 01:55 PM
- Posted Re: Known Issue: Inventory gathering process may terminate on Unix-like operating systems while gathering Java version details (IOJ-2241253) on FlexNet Manager Suite Known Issues. May 06, 2022 10:58 AM
- Posted Re: Known Issue: Inventory gathering process may terminate on Unix-like operating systems while gathering Java version details (IOJ-2241253) on FlexNet Manager Suite Known Issues. May 05, 2022 09:16 AM
- Posted Re: Known Issue: Inventory gathering process may terminate on Unix-like operating systems while gathering Java version details (IOJ-2241253) on FlexNet Manager Suite Known Issues. May 03, 2022 02:22 PM
- Posted Re: Failed to grab execution mutex. System error 258 on InstallShield Forum. Apr 25, 2022 12:15 PM
- Posted Re: FNMS Inventory Computer and History deletion scripts on FlexNet Manager Knowledge Base. Sep 27, 2021 11:31 AM
- Posted Re: Reducing FlexNet Beacon engine's DNS Lookups on FlexNet Manager Knowledge Base. Jun 04, 2021 01:29 PM
- Posted Re: Client Uplaoder Log says Failed to upload to beacon on FlexNet Manager Forum. Feb 18, 2021 05:31 PM
- Got a Kudo for Re: Computers with Bitlocker turned on. Aug 12, 2020 09:18 AM
- Posted Re: Computers with Bitlocker turned on on FlexNet Manager Forum. Aug 12, 2020 09:17 AM
- Posted Re: SCCM integration with FNMS: pros/cons on FlexNet Manager Forum. May 28, 2020 01:27 PM