Comments (9)
@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.
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.
@NikPerne try install normal package instead of secuirty package and see if it has issue?
from scxcore.
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.
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.
@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.
@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.
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.
@NikPerne @gregaperko glad to know you make it to work.
I just close this issue.
from scxcore.
Related Issues (20)
- "omiagent" segfault libnss_dns on Linux (scx provider) HOT 13
- install scx crash on sles 10x64 &x86 HOT 1
- doc update for ExecuteScript
- omiagent segfault libnss_files on Linux (scx provider) HOT 1
- omiagent using 100% cpu HOT 1
- Ubuntu Performance counters for % Disk Used reporting precision HOT 1
- SCX_UnixProcess returns no results on SunOS with Zones installed HOT 1
- SCX installation fails on Ubuntu 18.04.4 HOT 18
- SCX installation error on Ubuntu 18.04
- OS release version not updating HOT 8
- selinux problems in linux builds HOT 2
- Checksum error for scx-1.6.4-7.universal.x64.rpm HOT 2
- Rocky Linux support HOT 1
- Give me a reason to exclude a particular file system. HOT 1
- missing 1.6.9 release HOT 2
- Post-installation script fails on RHEL 6,7,8,9 when there are readonly variables in /etc/profile HOT 4
- LAD unable to get NFS/CIFS mount point filesystem statistics HOT 1
- This repo is missing important files HOT 1
- SCXcore v1.8.1-0 .deb/.rpm release missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scxcore.