cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FNMS Inventory Agent config corrupt

This is how the corrupt config.ini looks and thes agent would fall into Out of Date Inventory and will never be able to get policy update or upload inventory 

initially i thought it was just missing Download and Upload server info but, since the config file is missing other part it generates inaccurate ndi file.

--------------------------------------------------------------------------------------------------------------------

[ManageSoft]

InstallDir=/opt/managesoft
ETCPInstallDir=/opt/managesoft
CommonAppDataFolder=/var/opt/managesoft
ETCPVersion=14.0.0

[ManageSoft\Schedule Agent\CurrentVersion]

Catchup=
CurrentUserSchedule=
Disabled=False
DisablePeriod=3600
EventNetType=3
LogFile=$(CommonAppDataFolder)/log/managesoft.log
LogLevel=A-z
LogModules=default
LogMsgCatPath=
LogFileOld=$(CommonAppDataFolder)/log/managesoft.old
LogFileSize=4000000
MachineScheduleDirectory=$(CommonAppDataFolder)/scheduler/schedules
UserScheduleDirectory=$(AppDataFolder)/.managesoft/scheduler/schedules
CurrentMachineSchedule=
MachineId=$(MachineName)
NativeScheduler=ndtask
UserId=$(UserName)
HideMachineUI=True
RetryPolicy=True
RetryPolicyCommand=mgspolicy -t Machine -o UserInteractionLevel=Quiet
ApplyPolicyIfLoggedOn=True
UnixTaskSchedulerSocket=$(CommonAppDataFolder)/run/MGS.RemoteTaskScheduler.1.sock

[ManageSoft\Launcher\CurrentVersion]

http_proxy=
https_proxy=
no_proxy=
AlertExecute=False
AutoAlertExecute=
VirusScan=False
VirusScanCommand=
VerifyFilesSigned=False
VerifyCatalogSigned=False
VerifyTrustOrSign=False
CacheDirectory=
PkgCacheDirectory=
LogFile=$(CommonAppDataFolder)/log/managesoft.log
LogFileBak=
LogFileOld=$(CommonAppDataFolder)/log/managesoft.old
LogFileSize=4000000
DownloadOnly=False
NoStage=False
UninstallString=
BaseURLAlgo=First
ServiceConnectTimeout=20
ServiceCreateTimeout=30
NetworkTimeout=30
UserInteractionLevel=Full
PublicAppAccess=FullAccess
PrivateAppAccess=FullAccess
NetworkRetries=1
NetworkRetryPeriodIncrement=0
MaximumNetworkRetryPeriod=300
ConnectionAttempts=2
RotateConnectionsOnFailedConnectionAttempt=False
NetworkSense=False
NetworkMinSpeed=1
NetworkHighSpeed=0
NetworkLowUsage=100
NetworkLowUsageLowerLimit=100
NetworkLowUsageUpperLimit=100
NetworkHighUsage=100
NetworkHighUsageLowerLimit=100
NetworkHighUsageUpperLimit=100
NetworkMaxRate=0
NetworkMaxByteLevelSpeed=262144
AllowByteLevel=True
ServerAuthentication=
BaseURLDll=
UIMsgCatPath=
LogLevel=A-z
LogModules=default
LogMsgCatPath=
LogFlags=
LogType=Auto
PluginDirectory=/opt/managesoft/bin/plugins
SelfUpdateURL=http://www.managesoft.com/software/netdploy/download/ndlaunch.osd
CheckRegistry=False
ForceCOMRegistration=False
ForceValidSignature=False
DisplayAllAuthcode=False
AskAboutDependencies=False
AskBeforeInstalling=True
PromptOnInstallCompletion=False
PromptOnUninstallCompletion=False
AutoPromptOnInstallCompletion=
AutoPromptOnUninstallCompletion=
CmdLineOverrides=False
AddRemove=Default
RemoveNDAppsGroup=
SupplyWorstCaseReturnValue=False
MigrationState=
SaveAllUserSymbols=False
RetainMachinePrefs=
RetainUserPrefs=
DiskReservedKB=
PromptOnCOMRegFailures=True
AutoRedundancy=True
QuietUntilUpdate=False
ShowIcon=
ConfirmSharedFileRemoval=True
GenerateComplianceLog=
ReportCompliance=
PostponeUserInteractionLevel=Full
PostponeByDefault=False
SplashScreenFile=
RebootIfRequired=False
AlwaysDisplayReboot=False
UITimeoutWait=300
RenotifyTimeout=240
ForceReboot=False
ForceRebootIfLocked=True
AllowRebootIfLocked=False
AllowRebootIfServer=False
SecurityPatchRebootIfRequired=True
ForceSharedFileRemove=
LowProfile=
PropagatePkgChanged=False
UninstallIShieldSilently=Auto
UseLastUpdateLocation=False
PolicyServerPriority=50
DetectApplicationVersionConflicts=True
StageInactivePackages=False
RebootPath=$(ProgramPath)/reboot
RebootCmdLine="$(RebootPath)"
FileFilters=
NeverMoveOnReboot=False
InstallationStatusRefreshPeriod=604800
ReInstallRequiresVersionChange=True
RebootPromptCycles=0
RebootPromptUnlimited=false
RebootPromptWait=600
AllowTimeoutIfLocked=true
RebootPreCommand=
RebootPostCommand=
RebootContinueAfterCmdFailure=true
RebootForceWindowToTop=false
RebootShowShutdown=false
DisableUninstallBehaviour=False
PostponementQueryBefore=Download
PostponePath=$(ProgramPath)/mgspostpone
PostponeCmdLine="$(PostponePath)"
PolicyStep=Install

[ManageSoft\AgentUniqueID\History]

History01=AAAAAQAAABIAAAAKAAAAAAAAAAAAAAAPAAAAAGUzMDQzOTE1ZGEyNDZmOWM0NjAxOTY0NjM1YzkwNTY4NjdmMzYyMWNkNTg3YzQwODQxZmNmZGNhNTU3Njk5ZDQwWDgwMDAxNjhGMUY5MDAwMUVhMDFzZmNkYjJhMjAyMTAzMjFUMTQwNjAxAAAAAA==
Count=1l

[ManageSoft\AgentUniqueID]

AgentUniqueID=e3043915da246f9c4601964635c9056867f3621cd587c40841fcfdca557699d4

[ManageSoft\Tracker\CurrentVersion]

Generation=Full

(1) Solution

Settings in config.ini on UNIX-like operating systems are set through various process: some are set as defaults at installation time, some are set through policy, and some are set by various agent processes when they run.

You may want to take a look at the following other recent thread which sounds similar to this one and may have some useful comments for you: Inventory Agent ERROR: No upload servers are configured (tracker.log)

In particular, as per the discussion on that thread, two possible approaches to restoring the configuration of an agent that has got corrupted are as follows.

Uninstall & reinstall

  1. Uninstall the agent
  2. Remove the /var/opt/managesoft directory
  3. Re-install the agent

Re-initialize configuration and re-bootstrap the agent by applying policy

This can be done by executing commands like the following (as a user with root rights):

/opt/managesoft/bin/mgsconfig -i /opt/managesoft/install/default.ini

/opt/managesoft/bin/mgspolicy -t Machine -o DownloadRootURL=http://your-beacon/ManageSoftDL

 

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)

View solution in original post

(5) Replies

Appricate if anyone has inputs on this query, I am trying to understand if all of the config.ini setting are populated during installation (which basically will be inputed with FNMS Beacon details) or there are any setting which will be populated with policy update apart from (schedule ).

I am actually trying to do AutoHeal using 3rd party  tool for  FNMS Inventory agents which are Out- of-date, unable to communicate to the beacon due to corrupt config.ini file as in this post.

Settings in config.ini on UNIX-like operating systems are set through various process: some are set as defaults at installation time, some are set through policy, and some are set by various agent processes when they run.

You may want to take a look at the following other recent thread which sounds similar to this one and may have some useful comments for you: Inventory Agent ERROR: No upload servers are configured (tracker.log)

In particular, as per the discussion on that thread, two possible approaches to restoring the configuration of an agent that has got corrupted are as follows.

Uninstall & reinstall

  1. Uninstall the agent
  2. Remove the /var/opt/managesoft directory
  3. Re-install the agent

Re-initialize configuration and re-bootstrap the agent by applying policy

This can be done by executing commands like the following (as a user with root rights):

/opt/managesoft/bin/mgsconfig -i /opt/managesoft/install/default.ini

/opt/managesoft/bin/mgspolicy -t Machine -o DownloadRootURL=http://your-beacon/ManageSoftDL

 

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)
Hi @ChrisG,
Thanks for those inputs, I am checking them out. should have my solution in them.
Hi @ChrisG,

I missed to check with you, What would the command to do similar on Windows(for windows agents)

There's no equivalent to the "mgsconfig -i /opt/managesoft/install/default.ini" command on Windows to reset all configuration settings stored in the Windows registry to vanilla default values. However the following command line can be executed (with local administrator rights) to apply policy on Windows:

"c:\Program Files (x86)\ManageSoft\Policy Client\mgspolicy.exe" -t Machine -o DownloadRootURL=http://your-beacon/ManageSoftDL -o UILevel=Auto

 

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)