IT Management Suite

 View Only
Expand all | Collapse all

Agent installation on Ubuntu 20.04

  • 1.  Agent installation on Ubuntu 20.04

    Posted Jul 08, 2020 11:49 AM
    hello,
    trying to install agent on 2 Ubuntu machine: 
    1x 18.04 - works great
    1x 20.04 - fails.

    error given is:
    ERROR: Failed to download NS certificate from supplied URL: 'http://NS.domain.com:80//Altiris/UnixAgent/DownloadNSPublicHttpsCertificate.aspx'.
    Must provide either install XML in current working directory,
    or run correct bootstrap file with embedded install XML,
    or specify NS/URL parameter.

    does someone knows why or what is needed to be done? (i checked the 2 " // " - they are ok, and working great on the 18.04).

    also, since the ITMS version is 8.5 RU3 - if forced install manually from the agent console it detects 20.04 as an unsupported linux version.

    please help?

    tnx

    Hagai Nachmani


  • 2.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 08, 2020 12:30 PM
    Make sure that affected Ubuntu machine 20.04 can properly see your NS machine by NS FQDN.

    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 3.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 08, 2020 02:13 PM
    could you please elaborate how to achieve / check such thing? 

    the machine can ping, and has DNS, and can reach the NS using FQDN.

    both 18.04 and 20.04 sit on the same subnet, on same hardware. 
    only different is the OS version.

    when you say "properly see", what do you mean?

    thanks,

    Hagai Nachmani


  • 4.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 09, 2020 04:02 AM

    Yeap, I meant that client machine can see NS machine by its FQDN in network.
    Actually 20.04 version isn't supported yet, you can check Client OS Support matrix
    https://knowledge.broadcom.com/external/article/181899/symantec-management-platform-and-altiris.html



    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 5.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 09, 2020 05:16 AM
    Do we have any estimation when will it be supported? (will it be available on the 8.5 RU4).


    thanks,

    Hagai Nachmani


  • 6.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 09, 2020 07:40 AM
    According to list of OS client support for upcoming 8.5 RU4 release, Ubuntu 20.04 isn't officially supported
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/symantec-security-software/endpoint-security-and-management/it-management-suite/8-5/Platform_and_OS_Support_1/client-management-suite-v120882208-d780e23719/client-os-support-matrix-v132626715-d780e25881.html

    There is a KB about same error message that you have mentioned above, but in case of Agent push to MacOS:
    https://knowledge.broadcom.com/external/article/169629/agent-push-to-mac-failed-with-an-error-e.html

    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 7.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 09, 2020 08:18 AM
    Edited by Hagai Nachmani Jul 09, 2020 08:21 AM
    Thank you Igor.

    and you might know why another Ubuntu 16.04 is having the same issues?

    it's connection to device
    it's download bootstrap
    and then fails on installation.

    (we tried giving logged in user ROOT permissions, same end result = failed).

    we don't fully understand what is missing.

    and doubled checked: machine does see NS FQDM.

    ACTIVE SHELL IS /bin/bash END
    ]0;user@hostname: ~user@hostname:~$ id; echo ERROR=$?
    uid=19759(user) gid=1000(user) groups=1000(user),0(root),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),128(sambashare),129(wireshark),134(libvirtd),1001(admin),33869(mwg)
    ERROR=0
    ]0;user@hostname: ~user@hostname:~$ sudo -s
    ]0;root@hostname: /home/userroot@hostname:/home/user# user: command not found
    ]0;root@hostname: /home/userroot@hostname:/home/user# echo ACTIVE SHELL IS $SHELL END
    ACTIVE SHELL IS /bin/bash END
    ]0;root@hostname: /home/userroot@hostname:/home/user#
    ]0;root@hostname: /home/userroot@hostname:/home/user# ps -ef | grep -v grep | grep aex-bootstrap-linux; echo ERROR=$?
    ERROR=1
    ]0;root@hostname: /home/userroot@hostname:/home/user# ps -ef | grep -v grep | grep AltirisAgentInstaller.bin; echo ERROR=$?
    ERROR=1
    ]0;root@hostname: /home/userroot@hostname:/home/user# dpkg-query -W -f='${Version}\n' aex-nsclt; echo ERROR=$?
    dpkg-query: no packages found matching aex-nsclt
    ERROR=1
    ]0;root@hostname: /home/userroot@hostname:/home/user# mkdir -p /opt/altiris/notification/nsagent; echo ERROR=$?
    ERROR=0
    ]0;root@hostname: /home/userroot@hostname:/home/user# cd /opt/altiris/notification/nsagent; echo ERROR=$?
    ERROR=0
    ]0;root@hostname: /opt/altiris/notification/nsagentroot@hostname:/opt/altiris/notification/nsagent# umask 077; echo ERROR=$?
    ERROR=0
    ]0;root@hostname: /opt/altiris/notification/nsagentroot@hostname:/opt/altiris/notification/nsagent# chown 'user' /opt/altiris/notification/nsagent; echo ERROR=$?
    ERROR=0
    ]0;root@hostname: /opt/altiris/notification/nsagentroot@hostname:/opt/altiris/notification/nsagent# rm -f aex-bootstrap-linux; echo ERROR=$?
    ERROR=0
    // Uploading 'aex-bootstrap-linux' file using 'scp' source='C:\Program Files\Altiris\Notification Server\NSCap\Bin\Unix\AgentInstall\Linux\x64\o11xilsy.0d0' target='/opt/altiris/notification/nsagent/aex-bootstrap-linux'.
    ]0;root@hostname: /opt/altiris/notification/nsagentroot@hostname:/opt/altiris/notification/nsagent# find /opt/altiris/notification/nsagent/ -name aex-bootstrap-linux; echo ERROR=$?
    /opt/altiris/notification/nsagent/aex-bootstrap-linux
    ERROR=0
    ]0;root@hostname: /opt/altiris/notification/nsagentroot@hostname:/opt/altiris/notification/nsagent# chown 'root' /opt/altiris/notification/nsagent; echo ERROR=$?
    ERROR=0
    ]0;root@hostname: /opt/altiris/notification/nsagentroot@hostname:/opt/altiris/notification/nsagent# chmod 755 aex-bootstrap-linux; echo ERROR=$?
    ERROR=0
    // Performing SHA 256 sum integrity check and checking connectivity with NS.
    // Command './aex-bootstrap-linux -- -checkpackage -selfcheck aex-bootstrap-linux c2efffcca272ad49cc245c6c2b4bf8f132d62c28aff0f39ee137738b6d7ab20f' threw an exception: 'Connection terminated because of inactivity for 60 seconds.'
    ]0;root@hostname: /opt/altiris/notification/nsagentroot@hostname:/opt/altiris/notification/nsagent# Connection terminated because of inactivity for 60 seconds.

    thanks,

    Hagai Nachmani


  • 8.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 09, 2020 09:05 AM
    What it says if you run this command on Ubuntu 16?
    What if you manually run ULM Agent installation on Ubuntu 16?
    • cd /opt/altiris/notifications/nsagent/
    • ./aex-bootstrap-linux && https://Your NS Name or FQDN/Altiris/
    Does your "Default Web Site" has HTTPs:443 binding set with correct certificate? where NS is installed/running
    Check whether you have limits set in IIS Manager for NS web site


    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 9.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 09, 2020 09:50 AM

    Hi Igor,

     

    WGET  NS name works great:

     

    HTTP request sent, awaiting response... 200 OK

    Length: 2243271 (2.1M) [application/octet-stream]

    Saving to: 'aex-bootstrap-linux.1'

     

    aex-bootstrap-linux.1              100%[==============================================================>]   2.14M  11.6MB/s    in 0.2s

    2020-07-09 16:07:22 (11.6 MB/s) - 'aex-bootstrap-linux.1' saved [2243271/2243271]

     

    Problem is with the installation after that requires root user only (sudo su):

     

     

    NS is installed on another site, but on 18.04 ubuntu I see no issue with these things... that's the weird thing...

     

    No limits on the IIS:

     

     

    But I don't have SSL required option turned on (we never used it)

     

     

    Thanks,

     

    Hagai Nachmani,

    ---------------------------------------------------------------------
    A member of the Intel Corporation group of companies

    This e-mail and any attachments may contain confidential material for
    the sole use of the intended recipient(s). Any review or distribution
    by others is strictly prohibited. If you are not the intended
    recipient, please contact the sender and delete all copies.






  • 10.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 09, 2020 10:22 AM

    "root" account isn't disabled?
    Actually I'm using another account instead of 'root' when doing push install of ULM Agent on RHEL/CentOS from SMP Console and it worked fine.
    If you downloaded aex-bootstrap-linux, then give it chmod u+x (or chmod 777) and try to manually install it?

    This is how looks binaries in /opt/altiris/notification/nsagent on CentOS machine when "ULM" Agent was installed by push from SMP Console using non root account
    And check what contains .aex-agent-install-config.xml (There should be shown NS URL, settings, Run Level, etc.



    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 11.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 09, 2020 11:45 AM

    Hi Igor,

     

    I don't know how to proceed.

    Checked FW, no port is blocked (all green)

     

    Still getting this error:

    $chmod u+x aex-bootstrap-linux && ./aex-bootstrap-linux

    Verifying archive integrity... All good.

    Uncompressing Symantec Management Agent Installer 8.5.5017

    ......

    INFO: Trying to extract embedded install XML from bootstrap file

     

     

    It's taking long break here , until:

    WARNING: Failed to establish connection with 'http://servername.com:80/'.

    ERROR: Failed to download NS certificate from supplied URL: 'http://servername.com:80//Altiris/UnixAgent/DownloadNSPublicHttpsCertificate.aspx'.

    Must provide either install XML in current working directory,

    or run correct bootstrap file with embedded install XML,

    or specify NS/URL parameter.

     

     

    Why does it do that? Why is it using proxy on an internal network?

    Why does it work from other OS on the same subnets?

    I've tried multiple 16.04 machines – same result.

     

    Is there a way I could just tell it to use port 443?

     

    Even on manual installation like you suggested, same result...

     

     

     

     

    Thanks,

     

    Hagai Nachmani,

    ---------------------------------------------------------------------
    A member of the Intel Corporation group of companies

    This e-mail and any attachments may contain confidential material for
    the sole use of the intended recipient(s). Any review or distribution
    by others is strictly prohibited. If you are not the intended
    recipient, please contact the sender and delete all copies.






  • 12.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 09, 2020 11:50 AM

    I tired manually, same result:

     

    This is how the folder looks like:

     

     

     

    Thanks,

     

    Hagai Nachmani,

     

    ---------------------------------------------------------------------
    A member of the Intel Corporation group of companies

    This e-mail and any attachments may contain confidential material for
    the sole use of the intended recipient(s). Any review or distribution
    by others is strictly prohibited. If you are not the intended
    recipient, please contact the sender and delete all copies.






  • 13.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 09, 2020 10:04 AM

    This is so strange,

     

    I have 2 18.04 x64 ubuntu on the same segment with the 16.04 and the installation there was smooth and easy.

     

    Don't know why I am missing...

     

    Thanks,

     

    Hagai Nachmani

     






  • 14.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 09, 2020 11:54 AM
    Well, then check what settings you have in NS Communication profile for NS URL links, SSL, proxy, etc.

    Once you make changes in NS Communication profile and save changes, then it will automatically rebuild installation packages and .xml for bootstrap for further ULM Agent installation.

    On Agent install page, you can also verify what contains .xml there for bootstrap



    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 15.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 09, 2020 12:05 PM

     

    Hi Igor,

     

    NS server, I see 443 is enabled, but I never used it as far as I know):

     

     

    Task server (one of them) only port 80, not 443, is it ok?:

     

     

    Should I change anything?

     

    Do you see a need to add "SSL REQUIRED" to the IIS? (never needed it before).

     

    Tnx,

     

    Hagai Nachmani

     

     

     






  • 16.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 09, 2020 12:26 PM
    Well give a try and enable "SSL Required" in iis manager for Web Site where NS is running, then Install.xml file will use <NSProtocol>https</NSProtocol> instead of current http (no need to restart Altiris Services after this, just refresh Agent install page and check installation settings for further ULM Agent push install try).

    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 17.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 12, 2020 02:34 PM

    Hi Igor,

     

    This was a Proxy issue after all.

     

    Works great on 16.04 /18.04 /20.04.

     

    Only 1 machine gives me an error:

    Sun Jul 12 16:39:47 EDT 2020

    Performing installation of Altiris Client Task Agent for UNIX, Linux and Mac 8.5.5017

    ======================================================================================

    rollout-ctagent.sh: 1: rollout-ctagent.sh: aex-helper: not found

    Failed to find the Altiris Agent installation root dir.

    Failed to find the target installation root dir.

    ERROR: At least one input parameter for event sending is invalid: Action: 'Remote Install Finished', Client ID: ''.

    ERROR: Failed to install package. Agent install failed.

    Must provide either install XML in current working directory,

    or run correct bootstrap file with embedded install XML,

    or specify NS/URL parameter.

     

    Do you know how to fully uninstall so I will be able to reinstall the agent?

     

    Tnx,

     

    Hagai

     

    ---------------------------------------------------------------------
    A member of the Intel Corporation group of companies

    This e-mail and any attachments may contain confidential material for
    the sole use of the intended recipient(s). Any review or distribution
    by others is strictly prohibited. If you are not the intended
    recipient, please contact the sender and delete all copies.






  • 18.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 13, 2020 02:10 AM
    1. Make sure that you don't have aex-pluginmanager or aex-helper processes running
    • ps -axf | grep aex-
    If running, then you can use aex-uninstall
    • cd /opt/altiris/notification/nsagent/bin
    • ./aex-uninstall
    2. Make sure you don't have already installed rpm of aex-
    • rpm -qa | grep aex
    If there is aex- package installed, then remove it
    • rpm -e <package name>
    3. You can delete unnecessary binaries and install xml to try reinstall ULM agent
    • cd /opt/altiris/notification
    • rm -rf *


    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 19.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 13, 2020 02:37 AM

    Hi Igor,

    Thank you, sadly no "/opt/altiris/notification/nsagent/bin" folder. And no grep aex found as all. (./aex-uninstall file or cmd as well)

     

    Something in the last removal / uninstall got stuck, so now I can't reinstall properly

     

    Thanks,

     

    Hagai

     

    ---------------------------------------------------------------------
    A member of the Intel Corporation group of companies

    This e-mail and any attachments may contain confidential material for
    the sole use of the intended recipient(s). Any review or distribution
    by others is strictly prohibited. If you are not the intended
    recipient, please contact the sender and delete all copies.






  • 20.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 13, 2020 02:44 AM
    Try to reinstall it from Console, but don't forget to uncheck "Keep..." checkbox in install settings for selected computer so it should re-upload install xml and required binaries for agent installation (of course if you still don't have network proxy problems between this client PC and NS machine)


    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 21.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 13, 2020 03:01 AM

    Thanks Igor,

    Did all that. No proxy issues, and unchecked the "keep...." Box, but still fails.

    Only on a specific machine (but it's a server, so I can't just redeploy from scratch... ).

     

    I will keep trying to locate rouge files and try manual installation.

     

     

    Thanks,

     

    Hagai

     

    ---------------------------------------------------------------------
    A member of the Intel Corporation group of companies

    This e-mail and any attachments may contain confidential material for
    the sole use of the intended recipient(s). Any review or distribution
    by others is strictly prohibited. If you are not the intended
    recipient, please contact the sender and delete all copies.






  • 22.  RE: Agent installation on Ubuntu 20.04

    Broadcom Employee
    Posted Jul 13, 2020 03:08 AM
    There are useful links on Agent install page
    Choose required Linux x86 or x64 -> then click on view page




    ------------------------------
    Software QA Engineer 3
    Broadcom Inc.
    ------------------------------



  • 23.  RE: Agent installation on Ubuntu 20.04

    Posted Jul 13, 2020 03:17 AM

    Thanks!

     

    ---------------------------------------------------------------------
    A member of the Intel Corporation group of companies

    This e-mail and any attachments may contain confidential material for
    the sole use of the intended recipient(s). Any review or distribution
    by others is strictly prohibited. If you are not the intended
    recipient, please contact the sender and delete all copies.