GithubHelp home page GithubHelp logo

Comments (9)

JumpingYang001 avatar JumpingYang001 commented on June 26, 2024

@NikPerne are you SCOM user or Azure OMS user? which SCOM version and can you create ticket or ICM to SCOM support?
can you try normal package?
wget https://github.com/microsoft/SCXcore-kits/raw/master/release/scx-1.7.3-0.universal.x64.sh

I guess you used security pacakge:
wget https://github.com/microsoft/SCXcore-kits/raw/master/release/scx-1.7.3-0.universal.s.x64.sh

we tried to install security package on centos 6, also repro same issue, but this is by design.
If you are using SCOM, please help to provide repro steps so we can check if some steps or something is wrong for SCOM discover. In normal case, it should install normal package instead of security package for CentOS 6.

from scxcore.

NikPerne avatar NikPerne commented on June 26, 2024

Hello,
I try installing security package scx-1.7.3-0.universal.s.x64.sh, but error is the same. Iz installs without error, but when I try to run command scxadmin, I get:
/opt/microsoft/scx/bin/tools/.scxadmin: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by /opt/microsoft/scx/bin/tools/.scxadmin)`

Whole console print out:

[root@lastovka2 admgperko]# ./scx-1.7.3-0.universal.s.x64.sh --install
Extracting...
Installing cross-platform agent ...
----- Upgrading package: omi (omi-1.7.3-0.ulinux.s.x64) -----
Skipping package since existing version >= version available
----- Installing package: scx (scx-1.7.3-0.universal.s.x64) -----
        package scx-1.7.3-0.x86_64 is already installed
Removing cross-platform agent(s) ...
----- Removing package: apache-cimprov -----
Apache not previously configured; nothing to unconfigure
warning: /etc/opt/microsoft/apache-cimprov/conf/installinfo.txt saved as /etc/opt/microsoft/apache-cimprov/conf/installinfo.txt.rpmsave
Trying to start omi with systemctl
Trying to start omi with initctl
Trying to start omi with /sbin/service
Trying to start omi with /usr/bin/service
Trying to start omi with invoke-rc.d
Trying to start omi with -d directly
Unrecognized service controller to start omid service
----- Removing package: scx -----
warning: /etc/opt/microsoft/scx/conf/installinfo.txt saved as /etc/opt/microsoft/scx/conf/installinfo.txt.rpmsave
Trying to start omi with systemctl
Trying to start omi with initctl
Trying to start omi with /sbin/service
Trying to start omi with /usr/bin/service
Trying to start omi with invoke-rc.d
Trying to start omi with -d directly
Unrecognized service controller to start omid service
Removing selinux policy module for scxagent-logrotate ...
----- Removing package: omi -----
Shutting down Microsoft OMI Server: [FAILED]
Unconfiguring omid service ...
2023-12-18 10:49:26 : Crontab no longer configured to update omi keytab.
warning: /etc/opt/omi/conf/omiserver.conf saved as /etc/opt/omi/conf/omiserver.conf.rpmsave
Deleting omiusers group ...
groupdel: cannot remove the primary group of user 'omsagent'
Deleting omi service account ...
Removing selinux policy module for omi-logrotate ...
Removing selinux policy module for omi-selinux ...
----- Installing package: omi (omi-1.7.3-0.ulinux.s.x64) -----
Creating omi group ...
Creating omi service account ...

************************************************************
* Warning: The certificate and keyfile were not generated  *
* since they already exist.                                *
************************************************************
2023-12-18 10:50:02 : Crontab not configured to update omi keytab automatically. Skip unconfigure
2023-12-18 10:50:02 : Crontab configured to update omi keytab automatically
Checking if cron is installed...
Checking if cron/crond service is started...
Set up a cron job to OMI logrotate every 15 minutes
System appears to have SELinux installed, attempting to install selinux policy module for logrotate
  Trying /usr/share/selinux/packages/omi-selinux/omi-logrotate.pp ...
INFO: omi-logrotate selinux policy module has not yet installed due to selinux is disabled.
When enabling selinux, load omi-logrotate module manually with following commands for logrotate feature to work properly for omi logs.
/usr/sbin/semodule -i /omi-logrotate.pp >/dev/null 2>&1
/sbin/restorecon -R /var/opt/omi/log/ > /dev/null 2>&1
Configuring OMI service ...
Trying to start omi with systemctl
Trying to start omi with initctl
Trying to start omi with /sbin/service
Trying to start omi with /usr/bin/service
Trying to start omi with invoke-rc.d
Trying to start omi with -d directly
Unrecognized service controller to start omid service
----- Installing package: scx (scx-1.7.3-0.universal.s.x64) -----
Trying to start omi with systemctl
Trying to start omi with initctl
Trying to start omi with /sbin/service
Trying to start omi with /usr/bin/service
Trying to start omi with invoke-rc.d
Trying to start omi with -d directly
Unrecognized service controller to start omid service
warning: %post(scx-1.7.3-0.x86_64) scriptlet failed, exit status 2
Checking if Apache is installed ...
  Apache found, Apache agent will be installed
Extracting...
Installing Apache agent ...
----- Installing package: apache-cimprov (apache-cimprov-1.0.1-10.universal.1.x86_64) -----
Detected Apache v2.2 ...
Trying to start omi with systemctl
Trying to start omi with initctl
Trying to start omi with /sbin/service
Trying to start omi with /usr/bin/service
Trying to start omi with invoke-rc.d
Trying to start omi with -d directly
Unrecognized service controller to start omid service
Checking if MySQL is installed ...
  MySQL not found, will not install
[root@lastovka2 admgperko]# scxadmin
/opt/microsoft/scx/bin/tools/.scxadmin: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/microsoft/scx/bin/tools/.scxadmin)

from scxcore.

JumpingYang001 avatar JumpingYang001 commented on June 26, 2024

@NikPerne try install normal package instead of secuirty package and see if it has issue?

from scxcore.

NikPerne avatar NikPerne commented on June 26, 2024

Sorry, I misread your post, done, and now it works.
How can I force this package to be picked up by SCOM wizard?

from scxcore.

ShirelyGu avatar ShirelyGu commented on June 26, 2024

In a normal case, it will pick up the security package in SCOM 2022.
for SCOM 2019, only Redhat 6 x64, will use a normal package.
for SCOM 2016, only for RedHat 5 and RedHat 6 x64, will use a normal package.
Other platforms will still pick up security package.
Since your machine's OS is CentOS 6.x, we recommend you install the scx agent manually instead of picking it up by SCOM wizard.
If you want to be monitored by SCOM, you can add 1270 httpsport, then you can manage it by SCOM wizard.

from scxcore.

JumpingYang001 avatar JumpingYang001 commented on June 26, 2024

@NikPerne check below,

In a normal case, it will pick up the security package in SCOM 2022. for SCOM 2019, only Redhat 6 x64, will use a normal package. for SCOM 2016, only for RedHat 5 and RedHat 6 x64, will use a normal package. Other platforms will still pick up security package. Since your machine's OS is CentOS 6.x, we recommend you install the scx agent manually instead of picking it up by SCOM wizard. If you want to be monitored by SCOM, you can add 1270 httpsport, then you can manage it by SCOM wizard.

from scxcore.

JumpingYang001 avatar JumpingYang001 commented on June 26, 2024

@NikPerne you can try Shirely's work around, in fact, SCOM 2016 don't support CentOS 6.x: https://learn.microsoft.com/en-us/system-center/scom/plan-supported-crossplat-os?view=sc-om-2016

from scxcore.

gregaperko avatar gregaperko commented on June 26, 2024

Hello,
I'm answering as Nik. I managed to switch sh packets in SCOM to normal one and now it works - I had to changed it in C:\Program Files\Microsoft System Center\Operations Manager\Server\Health Service State\Resources subfolders.
Thanks.

from scxcore.

JumpingYang001 avatar JumpingYang001 commented on June 26, 2024

@NikPerne @gregaperko glad to know you make it to work.
I just close this issue.

from scxcore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.