cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
FrederickCoene
Engaged Sweeper
I seem to experience the same issue as on:
https://www.lansweeper.com/forum/yaf_postst17502_LsAgent-on-Ubuntu-18-04---Not-getting-updated-in-the-console.aspx#post58716

I installed the LsAgent on an ubuntu node, but it isn't picked up by Lansweeper.
I can't find the node in "Scanning"/"LsAgent Scanning" section.

cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

cat /opt/LansweeperAgent/LsAgent.ini
[default]
Server=
Port=9524
AgentKey=f64089c0-14c0-428f-b342-da268444f355
Enabled=1
AssetId=bb70e61c-254b-4056-9a29-d084fb0695aa
ComputerName=XXXXXX
LastScan=637836469902765011
LastSent=637836469909799838
Status=Running
Version=9.1.0.2

tail -n 30 /opt/LansweeperAgent/lsagentlog.txt
2022-03-23 16:43:10,980 [DEBUG] : Detected OS: Linux
2022-03-23 16:43:10,980 [DEBUG] : Reading ini file.
2022-03-23 16:43:10,980 [DEBUG] : Loading LS Agent Configuration File.
2022-03-23 16:43:10,982 [DEBUG] : Getting asset id
2022-03-23 16:43:10,982 [DEBUG] : Existing asset id found: bb70e61c-254b-4056-9a29-d084fb0695aa
2022-03-23 16:43:10,982 [DEBUG] : Creating communication channel
2022-03-23 16:43:10,982 [INFO ] : CreateReachableEndPoint for bb70e61c-254b-4056-9a29-d084fb0695aa
2022-03-23 16:43:10,998 [INFO ] : Url Check with address failed. Endpoint with address 'https://win-f7j33tu0cnr:9524/lsagent' was not reachable: Resource temporarily unavailable Resource temporarily unavailable
2022-03-23 16:43:10,998 [WARN ] : Connection to url https://win-f7j33tu0cnr:9524/lsagent failed
2022-03-23 16:43:10,999 [INFO ] : Url Check with address failed. Endpoint with address 'http://win-f7j33tu0cnr:9524/lsagent' was not reachable: Resource temporarily unavailable Resource temporarily unavailable
2022-03-23 16:43:10,999 [WARN ] : Connection to url http://win-f7j33tu0cnr:9524/lsagent failed
2022-03-23 16:43:10,999 [DEBUG] : Created RelayCommunicationSender to URL https://lsagentrelay.lansweeper.com/EchoService.svc
2022-03-23 16:43:10,999 [DEBUG] : Getting asset status
2022-03-23 16:43:12,005 [DEBUG] : Asset is enabled
2022-03-23 16:43:12,005 [DEBUG] : Retrieving configuration
2022-03-23 16:43:12,408 [DEBUG] : Updating local config
2022-03-23 16:43:12,409 [DEBUG] : Checking version
2022-03-23 16:43:12,409 [DEBUG] : Waiting for schedule...
2022-03-23 16:43:12,409 [DEBUG] : Schedule triggered
2022-03-23 16:43:12,409 [DEBUG] : Starting scan
2022-03-23 16:43:12,409 [DEBUG] : Detected OS: Linux
2022-03-23 16:43:12,409 [DEBUG] : Scanning computer...
2022-03-23 16:43:12,933 [DEBUG] : Computer scan completed
2022-03-23 16:43:12,933 [DEBUG] : Serializing ScanResult
2022-03-23 16:43:12,941 [DEBUG] : Compressing scan file
2022-03-23 16:43:12,945 [DEBUG] : Sending scan
2022-03-23 16:43:13,506 [DEBUG] : Scan has been sent
2022-03-23 16:43:13,506 [DEBUG] : Saving ini settings
2022-03-23 16:43:13,506 [DEBUG] : Creating ini backup.
2022-03-23 16:43:13,506 [DEBUG] : Waiting for 60 minutes until next iteration

tail -n 30 /var/log/LansweeperAgentService.err
Try 'uname --help' for more information.
/bin/bash: lshal: command not found
/bin/bash: xl: command not found
/bin/bash: prtdiag: command not found
/bin/bash: /usr/sbin/prtdiag: No such file or directory
/bin/bash: /usr/sbin/eeprom: No such file or directory
uname: invalid option -- 'X'
Try 'uname --help' for more information.
/bin/bash: lshal: command not found
/bin/bash: xl: command not found
/bin/bash: prtdiag: command not found
/bin/bash: /usr/sbin/prtdiag: No such file or directory
/bin/bash: /usr/sbin/eeprom: No such file or directory
uname: invalid option -- 'X'
Try 'uname --help' for more information.
/bin/bash: lshal: command not found
/bin/bash: xl: command not found
/bin/bash: prtdiag: command not found
/bin/bash: /usr/sbin/prtdiag: No such file or directory
/bin/bash: /usr/sbin/eeprom: No such file or directory
uname: invalid option -- 'X'
Try 'uname --help' for more information.
/bin/bash: lshal: command not found
/bin/bash: xl: command not found
/bin/bash: prtdiag: command not found
/bin/bash: /usr/sbin/prtdiag: No such file or directory
/bin/bash: /usr/sbin/eeprom: No such file or directory
uname: invalid option -- 'X'
Try 'uname --help' for more information.
/bin/bash: lshal: command not found

How can this issue be solved?
I don't have any specific exclusion reasons set on lansweeper.
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now