Jump to content

Archived

This topic is now archived and is closed to further replies.

Adrien

Service start failed on SuSe12

Recommended Posts

Hello,

I installed ERA Agent on my Linux Server (SUSE12 64-bits), I used agent-linux-x86_64.sh with the hostname and port of the ERA Server and the PFX and the DER file's. I followed this hxxp://help.eset.com/era_install/65/en-US/index.html?component_installation_agent_linux.htm using the Offline installation part.

Everything went well except when I tried to start the service :

#systemctl start eraagent.service
#systemctl status eraagent.service
eraagent.service - ESET Remote Administrator Agent
   Loaded: loaded (/etc/systemd/system/eraagent.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-08-30 15:09:12 CEST; 1s ago
  Process: 22781 ExecStart=/opt/eset/RemoteAdministrator/Agent/ERAAgent --daemon --pidfile /var/run/eraagent.pid (code=exited, status=0/SUCCESS)
 Main PID: 22785 (code=exited, status=70)

Aug 30 15:09:12 XXX systemd[1]: Starting ESET Remote Administrator Agent...
Aug 30 15:09:12 XXX systemd[1]: Started ESET Remote Administrator Agent.
Aug 30 15:09:12 XXX systemd[1]: eraagent.service: Main process exited, code=exited, status=70/n/a
Aug 30 15:09:12 XXX systemd[1]: eraagent.service: Unit entered failed state.
Aug 30 15:09:12 XXX systemd[1]: eraagent.service: Failed with result 'exit-code'.

I tried to follow what this post says : https://forum.eset.com/topic/11580-65-agent-doesnt-start-centos-6/

I removed the noexec of the /tmp mount.
I was not able to use the MODMAPDIR configuration because I don't have the /etc/init/eraagent.conf file.

I noticed if I start manually Era Agent using :

/opt/eset/RemoteAdministrator/Agent/ERAAgent --daemon --pidfile /var/run/eraagent.pid

Everything works well.

 

Here is the trace.log file with a service start :

2017-08-30 13:18:12 Information: [Thread 7fef15876740]: Loading ESET modules from /var/opt/eset/RemoteAdministrator/Agent/Modules/
2017-08-30 13:18:12 Error: Service [Thread 7fef15876740]: ReloadModules: LoadLoader failed with 5000

Here is the trace.log file with a manual start :

2017-08-30 13:18:28 Information: [Thread 7feba4484740]: Loading ESET modules from /var/opt/eset/RemoteAdministrator/Agent/Modules/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Local time is 2017-Aug-30 15:18:28
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProductLine: era
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProductVersion: 6.5.417.0
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: Locale: en_US
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProductInstanceID: 910fe10b-f524-41aa-b3b3-484652668306
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProgramDataDirectory: /var/opt/eset/RemoteAdministrator/Agent/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProductConfigurationDirectory: /etc/opt/eset/RemoteAdministrator/Agent/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProgramLogsDirectory: /var/log/eset/RemoteAdministrator/Agent/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: TempDirectory: /tmp/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProgramLibraryDirectory: /opt/eset/RemoteAdministrator/Agent/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: ProgramEsetUpdatableModulesDirectory: /var/opt/eset/RemoteAdministrator/Agent/Modules/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: InstallConfiguration: CrashDumpsDirectory: /var/opt/eset/RemoteAdministrator/Agent/Dumps/
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Hardware Fingerprint: 0100F38F-6938-77B6-BC69-426F4A04B4C7
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded ESET modules: 1=1069,2=1484,18=1611,40=1526
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Used memory before loaded module libraries is 23612 KB
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Updates
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Updates (used 0 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Symbols
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Symbols (used 456 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Database
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Database (used 308 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Security
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Security (used 2252 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Scheduler
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Scheduler (used 196 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Network
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Network (used 1864 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Cleanup
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Cleanup (used 728 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library DataMiners
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library DataMiners (used 320 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library DynamicGroups
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library DynamicGroups (used 856 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Replication
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Replication (used 388 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Automation
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Automation (used 676 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library Policies
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library Policies (used 584 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library OSConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library OSConnector (used 488 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library ESSConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library ESSConnector (used 1196 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +EVSAConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library +EVSAConnector (used 948 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +ESLCConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library +ESLCConnector (used 1124 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +ERAG1ClientConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library +ERAG1ClientConnector (used 3060 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +MDMCoreConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library +MDMCoreConnector (used 4 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +VAHCoreConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library +VAHCoreConnector (used 1064 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +ProxyConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library +ProxyConnector (used 1028 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +RDSensorConnector
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loaded module library +RDSensorConnector (used 732 KB)
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Loading module library +EIAgentConnector
2017-08-30 13:18:28 Warning: Kernel [Thread 7feba4484740]: Module library +EIAgentConnector was not loaded
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Used memory before modules load and initialization is 41884 KB
2017-08-30 13:18:28 Information: Kernel [Thread 7feba4484740]: Initializing module CUpdatesModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CUpdatesModule (used 1100 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CSymbolsModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CSymbolsModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CDatabaseModule
2017-08-30 13:18:29 Information: CDatabaseModule [Thread 7feba4484740]: Startup configuration builder builds successfully ...
2017-08-30 13:18:29 Information: CDatabaseModule [Thread 7feba4484740]: Startup connection pool created ...
2017-08-30 13:18:29 Information: CDatabaseModule [Thread 7feba4484740]: Builder rebuilds successfully ...
2017-08-30 13:18:29 Information: CDatabaseModule [Thread 7feba4484740]: Connection pool recreated ...
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CDatabaseModule (used 3368 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CAgentSecurityModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CAgentSecurityModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module SchedulerModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module SchedulerModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module NetworkModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module NetworkModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CCleanupModule
2017-08-30 13:18:29 Information: CCleanupModule [Thread 7feba4484740]: Module initialized
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CCleanupModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CDataMinersModule
2017-08-30 13:18:29 Information: CDataMinersModule [Thread 7feba4484740]: DataMinerCompletionHandler: Starting completion handler worker thread
2017-08-30 13:18:29 Information: CDataMinersModule [Thread 7feba4484740]: DataMinerCompletionHandler: Starting completion handler worker thread
2017-08-30 13:18:29 Information: CDataMinersModule [Thread 7feba4484740]: CStatusLogDataMiner: Initializing local status log cache
2017-08-30 13:18:29 Information: CDataMinersModule [Thread 7feba4484740]: CStatusLogDataMiner: Finished initialization of status log cache
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CDataMinersModule (used 2024 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CDynamicGroupsModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CDynamicGroupsModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CReplicationModule
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feba4484740]: CReplicationModuleBase: Starting module initialization
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feba4484740]: CReplicationModuleBase: Initializing message processing
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feba4484740]: CReplicationModuleBase: Module initialization done
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CReplicationModule (used 444 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module AutomationModule
2017-08-30 13:18:29 Information: AutomationModule [Thread 7feba4484740]: TaskResumeHandler: There are 0 pending task resume requests.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module AutomationModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CPoliciesModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CPoliciesModule (used 2928 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CSystemConnectorModule
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feba4484740]: No installed Rogue Detection Sensor version was detected at start
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feba4484740]: No installed Proxy version was detected at start
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feba4484740]: No installed MDMCore version was detected at start
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feba4484740]: No installed VAHCore version was detected at start
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feba4484740]: No installed ESET Security Product version was detected at start
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feba4484740]: No installed ESET Shared Local Cache version was detected at start
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feba4484740]: No installed ESET Virtualization Security Appliance version was detected at start
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CSystemConnectorModule (used 984 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CEssConnectorModule
2017-08-30 13:18:29 Information: CEssConnectorModule [Thread 7feba4484740]: No suitable product was found.
2017-08-30 13:18:29 Information: CEssConnectorModule [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CEssConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CEvsaConnectorModule
2017-08-30 13:18:29 Information: CEvsaConnectorModule [Thread 7feba4484740]: No suitable product was found.
2017-08-30 13:18:29 Information: CEvsaConnectorModule [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CEvsaConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CEslcConnectorModule
2017-08-30 13:18:29 Information: CEslcConnectorModule [Thread 7feba4484740]: No suitable product was found.
2017-08-30 13:18:29 Information: CEslcConnectorModule [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CEslcConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module ERAG1ClientConnector
2017-08-30 13:18:29 Information: ERAG1ClientConnector [Thread 7feba4484740]: <CONNECTOR_MODULE> exception N3Era10Connectors17G1ClientConnector20no_installed_productE occurred at /mnt/builds/jenkins/workspace/ERA/release_6.5/37a27c02/src/Products/RemoteAdministrator/Src/Connectors/ERAG1ClientConnector/Agent/ProductOfflineConfiguration/UnixProducts.cpp:161. Product not installed.
2017-08-30 13:18:29 Information: ERAG1ClientConnector [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module ERAG1ClientConnector (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CMDMCoreConnectorModule
2017-08-30 13:18:29 Information: CMDMCoreConnectorModule [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CMDMCoreConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CVAHCoreConnectorModule
2017-08-30 13:18:29 Information: CVAHCoreConnectorModule [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CVAHCoreConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module AgentToProxyConnectorModule
2017-08-30 13:18:29 Information: AgentToProxyConnectorModule [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module AgentToProxyConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initializing module CRDSensorConnectorModule
2017-08-30 13:18:29 Information: CRDSensorConnectorModule [Thread 7feba4484740]: Connector was deactivated. No tasks will be processed and no logs will be produced.
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Initialized module CRDSensorConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting crash dumps sending thread
2017-08-30 13:18:29 Information: Kernel [Thread 7feb9a435700]: Initiating crash dumps sender for directory: "/var/opt/eset/RemoteAdministrator/Agent/Dumps/"
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Used memory before modules start-up is 52732 KB
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CUpdatesModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CUpdatesModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CSymbolsModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CSymbolsModule (used 28 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CDatabaseModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CDatabaseModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CAgentSecurityModule
2017-08-30 13:18:29 Information: CAgentSecurityModule [Thread 7feb99c34700]: Checking agent peer certificate expiration in 30 days
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CAgentSecurityModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module SchedulerModule
2017-08-30 13:18:29 Information: SchedulerModule [Thread 7feb99433700]: Received message: RegisterSleepEvent
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module SchedulerModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module NetworkModule
2017-08-30 13:18:29 Warning: NetworkModule [Thread 7feba4484740]: Failed to start wake up on ipv6 set_option: No such device
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module NetworkModule (used 6064 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CCleanupModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CCleanupModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CDataMinersModule
2017-08-30 13:18:29 Information: SchedulerModule [Thread 7feb99433700]: Received message: RegisterTimeEvent
2017-08-30 13:18:29 Information: SchedulerModule [Thread 7feb99433700]: Received message: RegisterTimeEvent
2017-08-30 13:18:29 Information: SchedulerModule [Thread 7feb99433700]: Received message: RegisterTimeEvent
2017-08-30 13:18:29 Information: SchedulerModule [Thread 7feb99433700]: Received message: RegisterTimeEvent
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CDataMinersModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CDynamicGroupsModule
2017-08-30 13:18:29 Information: CDynamicGroupsModule [Thread 7feb88ff9700]: Refreshing dynamic groups after replication
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CDynamicGroupsModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CReplicationModule
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feba4484740]: CReplicationModuleBase: Starting module
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feba4484740]: CStepProcessor: Starting
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feba4484740]: CStepProcessor: Creating 1 worker threads
2017-08-30 13:18:29 Information: CDynamicGroupsModule [Thread 7feb88ff9700]: Refreshing dynamic groups templates after replication
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feba4484740]: CReplicationManager: Starting replication control messages processing
2017-08-30 13:18:29 Information: CReplicationModule [Thread 7feb6bfff700]: CStepProcessor: Starting worker thread 7feb6bfff700
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CReplicationModule (used 2048 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module AutomationModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module AutomationModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CPoliciesModule
2017-08-30 13:18:29 Information: AutomationModule [Thread 7feb6affd700]: Facade: Loading all enabled triggers.
2017-08-30 13:18:29 Information: CDynamicGroupsModule [Thread 7feb88ff9700]: Refreshing static groups after replication
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CPoliciesModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CSystemConnectorModule
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feb697fa700]: Connecting to product
2017-08-30 13:18:29 Information: SchedulerModule [Thread 7feb99433700]: Received message: RegisterSleepEvent
2017-08-30 13:18:29 Information: CDynamicGroupsModule [Thread 7feb88ff9700]: Evaluating dynamic groups templates
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feb697fa700]: Connected to product, processing tasks
2017-08-30 13:18:29 Information: CSystemConnectorModule [Thread 7feb697fa700]: Retrieving general operating system information
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CSystemConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CEssConnectorModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CEssConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CEvsaConnectorModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CEvsaConnectorModule (used 260 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CEslcConnectorModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CEslcConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module ERAG1ClientConnector
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module ERAG1ClientConnector (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CMDMCoreConnectorModule
2017-08-30 13:18:29 Information: AutomationModule [Thread 7feb6affd700]: Facade: Trigger has been created [UUID=57731716-a811-4644-9d64-a5f749daf076, TYPE=DYNAMIC_GROUP_JOINED, CONFIG=triggerType: DYNAMIC_GROUP_JOINED triggerThrottle { }].
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CMDMCoreConnectorModule (used 260 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CVAHCoreConnectorModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CVAHCoreConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module AgentToProxyConnectorModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module AgentToProxyConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Starting module CRDSensorConnectorModule
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Started module CRDSensorConnectorModule (used 0 KB)
2017-08-30 13:18:29 Information: Kernel [Thread 7feba4484740]: Used memory after modules start-up is 61392 KB
2017-08-30 13:18:29 Information: CDataMinersModule [Thread 7feb53fff700]: CStatusLogDataMiner: Scheduled clear operation for multi-source logs with 5s delay
2017-08-30 13:18:29 Information: SchedulerModule [Thread 7feb99433700]: Received message: RegisterSleepEvent
2017-08-30 13:18:29 Information: CDataMinersModule [Thread 7feb53fff700]: CFunctionalityLogDataMiner: Scheduled first publishing of functionality logs with 5s delay

I really need my Era Agent to start at boot (so to use service). What should I do?
Is it possible to not use /tmp folder? I don't want to remove the noexec parameter on my /tmp

Regards,
Adrien

Share this post


Link to post
Share on other sites

If I recall correctly, AGENT, SERVER (and also other security ESET products) are attempting to load "modules" from following directories:

  • /tmp
  • $HOME
  • $MODMAPDIR

where at least on of them must have enabled execution (loading of binary objects into process).

When you are starting AGENT manually from console, it inherits your user's environment, which will contain environment variable HOME -> and that is from where are modules loaded in that case. Unfortunatelly this is not true when running AGENT as daemon, as it is most probably being executed with almost empty set of environment variables.

As you noted, referenced forum post won't work in this case, as your system is not using ustart, but instead systemd daemon manager. This means that you should have file /etc/systemd/system/eraagent.service where you should add entry defining environment variable MODMAPDIR as described in systemd manual (search for Environment=).

Share this post


Link to post
Share on other sites

Hi MartinK,

Thank for your answer but it should work without adding a MODMAPDIR environment variable because I removed the noexec parameter of my /tmp so when running AGENT as daemon it should use /tmp right? But yeah if I can use another solution it would be better.

So, I tried anyway to add this to my /etc/systemd/system/eraagent.service :

Environment=MODMAPDIR='/var/opt/eset/RemoteAdministrator/Agent/'

The problem is still exactly the same...

Regards,
Adrien

Share this post


Link to post
Share on other sites

It worked, I had to write it this way:

Environment="MODMAPDIR=/var/opt/eset/RemoteAdministrator/Agent/"

Thank you!

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...