Quantcast
Channel: Active questions tagged redhat - Stack Overflow
Viewing all 3585 articles
Browse latest View live

Execute shell script everytime a new user is created on rhel

$
0
0

Stackoverflow Quetion this link works only ubuntu. anyone know to execute for the centos/rhel system.

I want to execute a script when new user is added.

please help me.


Asign a location to a host on Satellite with Ansible

$
0
0

I have been trying to figure out if there is a way to assign a location on Satellite to a host using ansible. With the redhat_subscription I can register the host but it assign it to the default location and not to the one I need.

Checking the Satellite Collection I can see there is a host module but is just on beta and it seems is not ready to edit host yet. And the location module is to create/delete/edit locations no to assign host to it.

install mod_ssl issue apache 2.4 aws linux

$
0
0

Using aws Linux . When I try to install mod_ssl its give a conflict error with ttpd-tools-2.2.31-1.8.amzn1.x86_64 and httpd-2.2.31-1.8.amzn1.x86_64. Tried yum remove but it's not working. When I do a yum list the old httpd version is not getting listed. Not sure why is it. Could anyone help me out regarding this.

 [root@ip-61 ec2-user]# yum install mod_sslLoaded plugins: priorities, update-motd, upgrade-helperResolving Dependencies--> Running transaction check---> Package mod_ssl.x86_64 1:2.2.31-1.8.amzn1 will be installed--> Processing Dependency: httpd = 2.2.31-1.8.amzn1 for package: 1:mod_ssl-2.2.31-1.8.amzn1.x86_64--> Processing Dependency: httpd-mmn = 20051115 for package: 1:mod_ssl-2.2.31-1.8.amzn1.x86_64--> Running transaction check---> Package httpd.x86_64 0:2.2.31-1.8.amzn1 will be installed--> Processing Dependency: httpd-tools = 2.2.31-1.8.amzn1 for package: httpd-2.2.31-1.8.amzn1.x86_64--> Processing Dependency: apr-util-ldap for package: httpd-2.2.31-1.8.amzn1.x86_64--> Running transaction check---> Package apr-util-ldap.x86_64 0:1.4.1-4.17.amzn1 will be installed---> Package httpd-tools.x86_64 0:2.2.31-1.8.amzn1 will be installed--> Processing Conflict: httpd24-2.4.18-1.64.amzn1.x86_64 conflicts httpd < 2.4.18--> Restarting Dependency Resolution with new changes.--> Running transaction check---> Package httpd24.x86_64 0:2.4.18-1.64.amzn1 will be updated---> Package httpd24.x86_64 0:2.4.23-1.66.amzn1 will be an update--> Processing Dependency: httpd24-tools = 2.4.23-1.66.amzn1 for package: httpd24-2.4.23-1.66.amzn1.x86_64--> Running transaction check---> Package httpd24-tools.x86_64 0:2.4.18-1.64.amzn1 will be updated---> Package httpd24-tools.x86_64 0:2.4.23-1.66.amzn1 will be an update--> Processing Conflict: httpd24-2.4.23-1.66.amzn1.x86_64 conflicts httpd < 2.4.23--> Processing Conflict: httpd24-tools-2.4.23-1.66.amzn1.x86_64 conflicts httpd-tools < 2.4.23--> Finished Dependency ResolutionError: httpd24-tools conflicts with httpd-tools-2.2.31-1.8.amzn1.x86_64Error: httpd24 conflicts with httpd-2.2.31-1.8.amzn1.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest[root@ip-61 ec2-user]# yum l[root@ip-61 ec2-user]# yum list installed | grep -in httpd120:httpd24.x86_64                    2.4.18-1.64.amzn1                @amzn-main121:httpd24-tools.x86_64              2.4.18-1.64.amzn1                @amzn-main[root@ip-61 ec2-user]# yum remove httpd-tools-2.2.31-1.8.amzn1.x86_64Loaded plugins: priorities, update-motd, upgrade-helperNo Match for argument: httpd-tools-2.2.31-1.8.amzn1.x86_64No Packages marked for removal[root@ip-61 ec2-user]# yum remove httpd-2.2.31-1.8.amzn1.x86_64Loaded plugins: priorities, update-motd, upgrade-helperNo Match for argument: httpd-2.2.31-1.8.amzn1.x86_64No Packages marked for removal[root@ip-61 ec2-user]#

]# yum list installed | grep -in httpd120:httpd24.x86_64 2.4.18-1.64.amzn1 @amzn-main121:httpd24-tools.x86_64 2.4.18-1.64.amzn1 @amzn-main

Error while installing Openjdk1.8 using microdnf on UBI8/RHEL8 [closed]

$
0
0

I'm getting error while adding OpenJDK1.8.0 using microdnf on top of RHEL8/UBI8 image. It is failing with the error :

Downloading metadata...error: cannot update repo 'ubi-8-baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/repodata/repomd.xml 

I tried searching for the fix but couldn't get much information. Any help is really appreciated.

snappy-c.h: No such file or directory

$
0
0

I am unable to install python-snappy with pip I have all the required packages, can someone please help me with it.

# /opt/company/project/3.0.0.1/bin/pip3 install --index-url=http://pypi.company.local:9700 --trusted-host pypi.dvms.local python-snappy ...SNIP...    running build_ext    generating cffi module 'build/temp.linux-x86_64-3.6/snappy._snappy_cffi.c'    creating build/temp.linux-x86_64-3.6    building 'snappy._snappy_cffi' extension    creating build/temp.linux-x86_64-3.6/build    creating build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6    gcc -pthread -DNDEBUG -O2 -fPIC -I/opt/company/project/3.0.0.1/include -I/opt/pypy3.6-v7.3.1-linux64/include -c build/temp.linux-x86_64-3.6/snappy._snappy_cffi.c -o build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/snappy._snappy_cffi.o    build/temp.linux-x86_64-3.6/snappy._snappy_cffi.c:543:10: fatal error: snappy-c.h: No such file or directory     #include "snappy-c.h"              ^~~~~~~~~~~~    compilation terminated.    error: command 'gcc' failed with exit status 1    ----------------------------------------ERROR: Command errored out with exit status 1: /opt/company/project/3.0.0.1/bin/pypy3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4cjkoc8u/python-snappy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4cjkoc8u/python-snappy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-w1vtpk57/install-record.txt --single-version-externally-managed --compile --install-headers /opt/company/project/3.0.0.1/include/site/python3.6/python-snappy Check the logs for full command output.

snappy is already installed

yum install snappyLast metadata expiration check: 2:36:13 ago on Fri 17 Jul 2020 08:24:25 PM UTC.Package snappy-1.1.7-5.el8.x86_64 is already installed.Dependencies resolved.Nothing to do.Complete!

server is running Red Hat Enterprise Linux release 8.2

# cat /etc/redhat-releaseRed Hat Enterprise Linux release 8.2 (Ootpa)

IntelliJ IDEA shows a colored rectangle when running via VNC (JetBrains Privacy Policy dialog)

$
0
0

When I remotely launched IDEA via VNC, an exception was displayedenter image description here

JBoss 4.5 plugin freeze Eclipse Oxygen navigation

$
0
0

I'm working on a J2EE project with Eclipse Oxygen (03/2020) and I have installed the JBoss tools 4.5.

After installation Eclipse freeze everytime I try to navigate inside class method or interfaces by ctrl + click.

It freezes for several seconds and I can't work well.

I try to remove the plugin and everything work well, but I need it because of the app run on JBoss 7.

Can you help me please??

why TripleO concept in Openstack / Requirement of TripleO concept in Openstack..?

$
0
0

Please tell why this tripleO concept came into picture..what were the complications/problems which lead to origin of tripleO concept in RedHat Openstack..?A explanation with example will be highly appreciated.


Can not install semanage tool on RedHat virtual machine

$
0
0

I'm trying to change the MongoDB default port on my AWS Virtual Machine but semanage is not found on the server

semanage port -a -t mongod_port_t -p tcp 27042

-bash: semanage: command not found

Trying to find the package that provides semanage fails.

dnf whatprovides semanage

Errors during downloading metadata for repository 'rhui-client-config-server-8':Curl error (58): Problem with the local SSL certificate for https://rhui3.eu-west-3.aws.ce.redhat.com/pulp/mirror/protected/rhui-client-config/rhel/server/8/x86_64/os [could not load PEM client certificate, OpenSSL error error:0200100D:system library:fopen:Permission denied, (no key found, wrong pass phrase, or wrong file format?)]

Error: Failed to download metadata for repo 'rhui-client-config-server-8': Cannot prepare internal mirrorlist: Curl error (58): Problem with the local SSL certificate for https://rhui3.eu-west-3.aws.ce.redhat.com/pulp/mirror/protected/rhui-client-config/rhel/server/8/x86_64/os [could not load PEM client certificate, OpenSSL error error:0200100D:system library:fopen:Permission denied, (no key found, wrong pass phrase, or wrong file format?)]

dnf update works and the system is up-to-date

Last metadata expiration check: 0:42:00 ago on Tue 21 Jul 2020 10:11:35 AM UTC.Dependencies resolved.Nothing to do.Complete!

Additional informations :

cat /etc/redhat-release

Red Hat Enterprise Linux release 8.2 (Ootpa)

dnf repolist

repo id / repo name

mongodb-org-4.2 / MongoDB Repository

rhel-8-appstream-rhui-rpms / Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs)

rhel-8-baseos-rhui-rpms / Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs)

rhui-client-config-server-8 / Red Hat Update Infrastructure 3 Client Configuration Server 8

Could you help me to install semanage please ? Thanks.

How do I configure and compile apache 2.4 with ldap support on redat 6

$
0
0

System info:cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 6.4 (Santiago)

uname -aLinux lb-cam-bca-13 2.6.32-642.15.1.el6.x86_64 #1 SMP Fri Feb 24 14:31:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

httpd -versionServer version: Apache/2.4.25 (Unix)Server built: Jun 27 2017 16:23:25

gcc --versiongcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)


I have installed a local version of apache 2.4 on my rhel 6 machine and is currently up and running fine.

However I now wish to enable ldap support on it and so initially tried to configure using the following:

./configure --prefix=/lb-cam-bca-13/usr/local/apache --with-included-apr --enable-ldap --enable-authnz-ldap --enable-ssl --enable-so --with-ldap

which seems to configure ol, but when I try to build I get the following errors:

gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/os/unix -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/include -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr/include -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr-util/include -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/aaa -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/cache -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/core -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/database -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/filters -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/ldap -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/loggers -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/lua -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/proxy -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/session -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/ssl -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/test -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/server -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/arch/unix -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/dav/main -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/generators -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/mappers  -c /lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/server/buildmark.c/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread         -o httpd  modules.lo buildmark.o -export-dynamic server/libmain.la modules/core/libmod_so.la modules/http/libmod_http.la server/mpm/event/libevent.la os/unix/libos.la -lpcre     /lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr-util/libaprutil-1.la -lexpat /lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr/libapr-1.la -lrt -lcrypt -lpthreadserver/.libs/libmain.a(exports.o):(.data+0x2758): undefined reference to `apr_ldap_ssl_init'server/.libs/libmain.a(exports.o):(.data+0x2760): undefined reference to `apr_ldap_ssl_deinit'server/.libs/libmain.a(exports.o):(.data+0x2768): undefined reference to `apr_ldap_init'server/.libs/libmain.a(exports.o):(.data+0x2770): undefined reference to `apr_ldap_info'server/.libs/libmain.a(exports.o):(.data+0x2778): undefined reference to `apr_ldap_get_option'server/.libs/libmain.a(exports.o):(.data+0x2780): undefined reference to `apr_ldap_set_option'server/.libs/libmain.a(exports.o):(.data+0x2788): undefined reference to `apr_ldap_rebind_init'server/.libs/libmain.a(exports.o):(.data+0x2790): undefined reference to `apr_ldap_rebind_add'server/.libs/libmain.a(exports.o):(.data+0x2798): undefined reference to `apr_ldap_rebind_remove'server/.libs/libmain.a(exports.o):(.data+0x27a0): undefined reference to `apr_ldap_is_ldap_url'server/.libs/libmain.a(exports.o):(.data+0x27a8): undefined reference to `apr_ldap_is_ldaps_url'server/.libs/libmain.a(exports.o):(.data+0x27b0): undefined reference to `apr_ldap_is_ldapi_url'server/.libs/libmain.a(exports.o):(.data+0x27b8): undefined reference to `apr_ldap_url_parse_ext'server/.libs/libmain.a(exports.o):(.data+0x27c0): undefined reference to `apr_ldap_url_parse'collect2: ld returned 1 exit statusmake[1]: *** [httpd] Error 1make[1]: Leaving directory `/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25'make: *** [all-recursive] Error 1

I also noticed that there is a --with-openldap option, so I tried that as well, but this resulted in configuration errors:

configure: WARNING: apr/apr-util is compiled without ldap supportchecking whether to enable mod_authnz_ldap... configure: error: mod_authnz_ldap has been requested but can not be built due to prerequisite failures

looking at config.log and seraching for error I see:

...configure:5860: gcc -E  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.cconftest.c:9:28: error: ac_nonexistent.h: No such file or directory 134 configure:5860: $? = 1 135 configure: failed program was: 136 | /* confdefs.h */ 137 | #define PACKAGE_NAME "" 138 | #define PACKAGE_TARNAME "" 139 | #define PACKAGE_VERSION "" 140 | #define PACKAGE_STRING "" 141 | #define PACKAGE_BUGREPORT "" 142 | #define PACKAGE_URL "" 143 | /* end confdefs.h.  */ 144 | #include <ac_nonexistent.h> 145 configure:5889: checking for gcc option to accept ISO C99 146 configure:6038: gcc  -c  -g -O2 -pthread  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5 147 conftest.c:59: error: expected ';', ',' or ')' before 'text' 148 conftest.c: In function 'main': 149 conftest.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' 150 conftest.c:113: error: 'newvar' undeclared (first use in this function) 151 conftest.c:113: error: (Each undeclared identifier is reported only once 152 conftest.c:113: error: for each function it appears in.) 153 conftest.c:123: error: 'for' loop initial declarations are only allowed in C99 mode 154 conftest.c:123: note: use option -std=c99 or -std=gnu99 to compile your code ... configure:6954: gcc -std=gnu99 -c  -g -O2 -pthread  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5 conftest.c:52:26: error: minix/config.h: No such file or directory ... configure:6954: gcc -E  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c conftest.c:19:26: error: minix/config.h: No such file or directory ... configure:7397: gcc -std=gnu99 -c  -g -O2 -pthread  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5 531 conftest.c:66:27: error: sys/processor.h: No such file or directory ... configure:7397: gcc -E  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c 603 conftest.c:33:27: error: sys/processor.h: No such file or directory ... configure:7397: gcc -std=gnu99 -c  -g -O2 -pthread  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5 664 conftest.c:68:25: error: sys/loadavg.h: No such file or directory ... configure:7397: gcc -E  -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c 738 conftest.c:35:25: error: sys/loadavg.h: No such file or directory ... configure:10876: checking whether to enable mod_authnz_ldap1075 configure:10882: error: mod_authnz_ldap has been requested but can not be built due to prerequisite failures
  1. Given that I am using openladap over ssl for authentication - can anyone tell me how I should configure and build apache to include ldap authentication support ?

  2. Does anyone know what the difference between --with-ldap and --with-openldap is ? And under which conditions one or the other should be specified ?

  3. Looking at the make errors in the first case I initially thought that the included apr was not built with ldap, but searching the source files it looks like ldap is included.Does anyone know if the default included apr includes ldap support, or do I need to down load and build a separate version (which includes ldap support) ?

  4. Looking at the config errors in the second case - are these related to the gcc version used ?

python ImportError: No module named Tkinter

$
0
0

Every time I tried to run import matplotlib,I have error ImportError: No module named Tkinter.

The output result is as listed below:

Python 2.7.5 (default, Aug  2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import matplotlib.pyplot as pltTraceback (most recent call last):File "<stdin>", line 1, in <module>File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 115, in <module>_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()File "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setupglobals(),locals(),[backend_name],0)File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in <module>from six.moves import tkinter as TkFile "/usr/lib/python2.7/site-packages/six.py", line 203, in load_modulemod = mod._resolve()File "/usr/lib/python2.7/site-packages/six.py", line 115, in _resolvereturn _import_module(self.mod)File "/usr/lib/python2.7/site-packages/six.py", line 82, in _import_module__import__(name)ImportError: No module named Tkinter

I tried to install the tk.x86_64 and tk-devel.x86_64 packages, and tried to reinstall the python package but the error still appeared.Also I tried to import Tkinter but I got the following error.

Python 2.7.5 (default, Aug  2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import TkinterTraceback (most recent call last):  File "<stdin>", line 1, in <module>ImportError: No module named Tkinter

Does anyone have a workaround for this error?

In Openshift, how can I create a new build with an environment variable that's value is a secret using the CLI?

$
0
0

I have the following command.

oc new-build gen-dev/genbuilder:latest~ssh://git@mycompany.net:7999/gen/pfs-converter.git#DEV1 \  --source-secret='privatekey' \  --name='testbuild' \  --env=KEY=VALUE

I would like to set the environment variables to have some secret values because the build will fail without them and I need to do it before this command takes places because new build immediately builds a new container.

Openshift - How to get current memory usage of POD List

$
0
0

I want to see current memory usage of PODs. I tried "oc get pods | grep elastic-*" to get POD details

elastic-index-5-kwz79                                       1/1       Running   0          1helastic-index-5-lcfzp                                       1/1       Running   0          1helastic-master-0                                            1/1       Running   0          1helastic-master-1                                            1/1       Running   0          1helastic-master-2                                            1/1       Running   0          1helastic-query-2-wspl5                                       1/1       Running   0          1h

Table is showing status and last running details but I am looking for current memory usage and total memory details

For Example -

Name                          Total Memory         Available Memoryelastic-index-5-kwz79           1024MB                723MB

Running the script in VM at boot up using KVM

$
0
0

I have to boot a virtual machine and want to run a script in it as soon as VM comes up in RHEL7 using KVM.Can the same be done virsh utility or is there any other tool available for the same.

OCI does not appear in php info

$
0
0

OS: RHEL 7.8

/usr/include/oracle/11.2/client[root@rb-opdev-01 client]# php --versionPHP 7.4.8 (cli) (built: Jul  9 2020 08:57:23) ( NTS )Copyright (c) The PHP GroupZend Engine v3.4.0, Copyright (c) Zend Technologies

PHP(XAMPP) log:

[23-Jul-2020 07:52:33 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function oci_connect() in /opt/lampp/htdocs/login.php:20Stack trace:#0 {main}  thrown in /opt/lampp/htdocs/login.php on line 20

I can't see OCI in phpinfo page but oci8 is installed.

[23-Jul-2020 07:52:33 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function oci_connect() in /opt/lampp/htdocs/login.php:20Stack trace:#0 {main}  thrown in /opt/lampp/htdocs/login.php on line 20[root@rb-opdev-01 client]# php -iphpinfo()PHP Version => 7.4.8System => Linux rb-opdev-01.mtg.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Feb 18 16:39:12 EST 2020 x86_64Build Date => Jul  9 2020 08:57:23Build System => Red Hat Enterprise Linux Server release 7.8 (Maipo)Build Provider => Remi ColletServer API => Command Line InterfaceVirtual Directory Support => disabledConfiguration File (php.ini) Path => /etcLoaded Configuration File => /etc/php.iniScan this dir for additional .ini files => /etc/php.dAdditional .ini files parsed => /etc/php.d/20-bz2.ini,/etc/php.d/20-calendar.ini,/etc/php.d/20-ctype.ini,/etc/php.d/20-curl.ini,/etc/php.d/20-dom.ini,/etc/php.d/20-exif.ini,/etc/php.d/20-fileinfo.ini,/etc/php.d/20-ftp.ini,/etc/php.d/20-gettext.ini,/etc/php.d/20-iconv.ini,/etc/php.d/20-json.ini,/etc/php.d/20-phar.ini,/etc/php.d/20-posix.ini,/etc/php.d/20-shmop.ini,/etc/php.d/20-simplexml.ini,/etc/php.d/20-sockets.ini,/etc/php.d/20-sodium.ini,/etc/php.d/20-sysvmsg.ini,/etc/php.d/20-sysvsem.ini,/etc/php.d/20-sysvshm.ini,/etc/php.d/20-tokenizer.ini,/etc/php.d/20-xml.ini,/etc/php.d/20-xmlwriter.ini,/etc/php.d/20-xsl.ini,/etc/php.d/30-xmlreader.iniPHP API => 20190902PHP Extension => 20190902Zend Extension => 320190902Zend Extension Build => API320190902,NTSPHP Extension Build => API20190902,NTSDebug Build => noThread Safety => disabledZend Signal Handling => enabledZend Memory Manager => enabledZend Multibyte Support => disabledIPv6 Support => enabledDTrace Support => available, disabledRegistered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, pharRegistered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls, tlsv1.0, tlsv1.1, tlsv1.2Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*This program makes use of the Zend Scripting Language Engine:Zend Engine v3.4.0, Copyright (c) Zend Technologies _______________________________________________________________________Configurationbz2BZip2 Support => EnabledStream Wrapper support => compress.bzip2://Stream Filter support => bzip2.decompress, bzip2.compressBZip2 Version => 1.0.6, 6-Sept-2010calendarCalendar support => enabledCorePHP Version => 7.4.8Directive => Local Value => Master Valueallow_url_fopen => On => Onallow_url_include => Off => Offarg_separator.input => & => &arg_separator.output => & => &auto_append_file => no value => no valueauto_globals_jit => On => Onauto_prepend_file => no value => no valuebrowscap => no value => no valuedefault_charset => UTF-8 => UTF-8default_mimetype => text/html => text/htmldisable_classes => no value => no valuedisable_functions => no value => no valuedisplay_errors => Off => Offdisplay_startup_errors => Off => Offdoc_root => no value => no valuedocref_ext => no value => no valuedocref_root => no value => no valueenable_dl => Off => Offenable_post_data_reading => On => Onerror_append_string => no value => no valueerror_log => no value => no valueerror_prepend_string => no value => no valueerror_reporting => 22527 => 22527expose_php => On => Onextension_dir => /usr/lib64/php/modules => /usr/lib64/php/modulesfile_uploads => On => Onhard_timeout => 2 => 2highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>html_errors => Off => Offignore_repeated_errors => Off => Offignore_repeated_source => Off => Offignore_user_abort => Off => Offimplicit_flush => On => Oninclude_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/phpinput_encoding => no value => no valueinternal_encoding => no value => no valuelog_errors => On => Onlog_errors_max_len => 1024 => 1024mail.add_x_header => On => Onmail.force_extra_parameters => no value => no valuemail.log => no value => no valuemax_execution_time => 0 => 0max_file_uploads => 20 => 20max_input_nesting_level => 64 => 64max_input_time => -1 => -1max_input_vars => 1000 => 1000memory_limit => 128M => 128Mopen_basedir => no value => no valueoutput_buffering => 0 => 0output_encoding => no value => no valueoutput_handler => no value => no valuepost_max_size => 8M => 8Mprecision => 14 => 14realpath_cache_size => 4096K => 4096Krealpath_cache_ttl => 120 => 120register_argc_argv => On => Onreport_memleaks => On => Onreport_zend_debug => Off => Offrequest_order => GP => GPsendmail_from => no value => no valuesendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -iserialize_precision => 17 => 17short_open_tag => Off => OffSMTP => localhost => localhostsmtp_port => 25 => 25sys_temp_dir => no value => no valuesyslog.facility => LOG_USER => LOG_USERsyslog.filter => no-ctrl => no-ctrlsyslog.ident => php => phptrack_errors => Off => Offunserialize_callback_func => no value => no valueupload_max_filesize => 2M => 2Mupload_tmp_dir => no value => no valueuser_dir => no value => no valueuser_ini.cache_ttl => 300 => 300user_ini.filename => .user.ini => .user.inivariables_order => GPCS => GPCSxmlrpc_error_number => 0 => 0xmlrpc_errors => Off => Offzend.assertions => 1 => 1zend.detect_unicode => On => Onzend.enable_gc => On => Onzend.exception_ignore_args => Off => Offzend.multibyte => Off => Offzend.script_encoding => no value => no valuezend.signal_check => Off => Offctypectype functions => enabledcurlcURL support => enabledcURL Information => 7.29.0Age => 3FeaturesAsynchDNS => YesCharConv => NoDebug => NoGSS-Negotiate => YesIDN => YesIPv6 => Yeskrb4 => NoLargefile => Yeslibz => YesNTLM => YesNTLMWB => YesSPNEGO => NoSSL => YesSSPI => NoTLS-SRP => NoProtocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftpHost => x86_64-redhat-linux-gnuSSL Version => NSS/3.44ZLib Version => 1.2.7libSSH Version => libssh2/1.8.0Directive => Local Value => Master Valuecurl.cainfo => no value => no valuedatedate/time support => enabledtimelib version => 2018.03"Olson" Timezone Database Version => 0.systemTimezone Database => internalDefault timezone => UTCDirective => Local Value => Master Valuedate.default_latitude => 31.7667 => 31.7667date.default_longitude => 35.2333 => 35.2333date.sunrise_zenith => 90.583333 => 90.583333date.sunset_zenith => 90.583333 => 90.583333date.timezone => no value => no valuedomDOM/XML => enabledDOM/XML API Version => 20031129libxml Version => 2.9.1HTML Support => enabledXPath Support => enabledXPointer Support => enabledSchema Support => enabledRelaxNG Support => enabledexifEXIF Support => enabledSupported EXIF Version => 0220Supported filetypes => JPEG, TIFFMultibyte decoding support using mbstring => disabledExtended EXIF tag formats => Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, EpsonDirective => Local Value => Master Valueexif.decode_jis_intel => JIS => JISexif.decode_jis_motorola => JIS => JISexif.decode_unicode_intel => UCS-2LE => UCS-2LEexif.decode_unicode_motorola => UCS-2BE => UCS-2BEexif.encode_jis => no value => no valueexif.encode_unicode => ISO-8859-15 => ISO-8859-15fileinfofileinfo support => enabledlibmagic => 537filterInput Validation and Filtering => enabledDirective => Local Value => Master Valuefilter.default => unsafe_raw => unsafe_rawfilter.default_flags => no value => no valueftpFTP support => enabledFTPS support => enabledgettextGetText Support => enabledhashhash support => enabledHashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5MHASH support => EnabledMHASH API Version => Emulated Supporticonviconv support => enablediconv implementation => glibciconv library version => 2.17Directive => Local Value => Master Valueiconv.input_encoding => no value => no valueiconv.internal_encoding => no value => no valueiconv.output_encoding => no value => no valuejsonjson support => enabledlibxmllibXML support => activelibXML Compiled Version => 2.9.1libXML Loaded Version => 20901libXML streams => enabledoci8OCI8 Support => enabledOCI8 DTrace Support => disabledOCI8 Version => 2.2.0Oracle Run-time Client Library Version => 11.2.0.4.0Oracle Compile-time Instant Client Version => 11.2Directive => Local Value => Master Valueoci8.connection_class => no value => no valueoci8.default_prefetch => 100 => 100oci8.events => Off => Offoci8.max_persistent => -1 => -1oci8.old_oci_close_semantics => Off => Offoci8.persistent_timeout => -1 => -1oci8.ping_interval => 60 => 60oci8.privileged_connect => Off => Offoci8.statement_cache_size => 20 => 20Statistics =>Active Persistent Connections => 0Active Connections => 0opensslOpenSSL support => enabledOpenSSL Library Version => OpenSSL 1.0.2k-fips  26 Jan 2017OpenSSL Header Version => OpenSSL 1.0.2k  26 Jan 2017Openssl default config => /etc/pki/tls/openssl.cnfDirective => Local Value => Master Valueopenssl.cafile => no value => no valueopenssl.capath => no value => no valuepcntlpcntl support => enabledpcrePCRE (Perl Compatible Regular Expressions) Support => enabledPCRE Library Version => 10.34 2019-11-21PCRE Unicode Version => 12.1.0PCRE JIT Support => enabledPCRE JIT Target => x86 64bit (little endian + unaligned)Directive => Local Value => Master Valuepcre.backtrack_limit => 1000000 => 1000000pcre.jit => 1 => 1pcre.recursion_limit => 100000 => 100000PharPhar: PHP Archive support => enabledPhar API version => 1.1.1Phar-based phar archives => enabledTar-based phar archives => enabledZIP-based phar archives => enabledgzip compression => enabledbzip2 compression => enabledNative OpenSSL support => enabledPhar based on pear/PHP_Archive, original concept by Davey Shafik.Phar fully realized by Gregory Beaver and Marcus Boerger.Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.Directive => Local Value => Master Valuephar.cache_list => no value => no valuephar.readonly => On => Onphar.require_hash => On => OnposixPOSIX support => enabledreadlineReadline Support => enabledReadline library => EditLine wrapperDirective => Local Value => Master Valuecli.pager => no value => no valuecli.prompt => \b \>  => \b \>ReflectionReflection => enabledsessionSession Support => enabledRegistered save handlers => files userRegistered serializer handlers => php_serialize php php_binaryDirective => Local Value => Master Valuesession.auto_start => Off => Offsession.cache_expire => 180 => 180session.cache_limiter => nocache => nocachesession.cookie_domain => no value => no valuesession.cookie_httponly => no value => no valuesession.cookie_lifetime => 0 => 0session.cookie_path => / => /session.cookie_samesite => no value => no valuesession.cookie_secure => 0 => 0session.gc_divisor => 1000 => 1000session.gc_maxlifetime => 1440 => 1440session.gc_probability => 1 => 1session.lazy_write => On => Onsession.name => PHPSESSID => PHPSESSIDsession.referer_check => no value => no valuesession.save_handler => files => filessession.save_path => no value => no valuesession.serialize_handler => php => phpsession.sid_bits_per_character => 4 => 4session.sid_length => 32 => 32session.upload_progress.cleanup => On => Onsession.upload_progress.enabled => On => Onsession.upload_progress.freq => 1% => 1%session.upload_progress.min_freq => 1 => 1session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESSsession.upload_progress.prefix => upload_progress_ => upload_progress_session.use_cookies => 1 => 1session.use_only_cookies => 1 => 1session.use_strict_mode => 0 => 0session.use_trans_sid => 0 => 0shmopshmop support => enabledSimpleXMLSimpleXML support => enabledSchema support => enabledsocketsSockets Support => enabledsodiumsodium support => enabledlibsodium headers version => 1.0.18libsodium library version => 1.0.18SPLSPL support => enabledInterfaces => OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubjectClasses => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueExceptionstandardDynamic Library Support => enabledPath to sendmail => /usr/sbin/sendmail -t -iDirective => Local Value => Master Valueassert.active => 1 => 1assert.bail => 0 => 0assert.callback => no value => no valueassert.exception => 0 => 0assert.quiet_eval => 0 => 0assert.warning => 1 => 1auto_detect_line_endings => 0 => 0default_socket_timeout => 60 => 60from => no value => no valuesession.trans_sid_hosts => no value => no valuesession.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form=unserialize_max_depth => 4096 => 4096url_rewriter.hosts => no value => no valueurl_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentryuser_agent => no value => no valuesysvmsgsysvmsg support => enabledsysvsemsysvsem support => enabledsysvshmsysvshm support => enabledtokenizerTokenizer Support => enabledxmlXML Support => activeXML Namespace Support => activelibxml2 Version => 2.9.1xmlreaderXMLReader => enabledxmlwriterXMLWriter => enabledxslXSL => enabledlibxslt Version => 1.1.28libxslt compiled against libxml Version => 2.9.1EXSLT => enabledlibexslt Version => 1.1.28zlibZLib Support => enabledStream Wrapper => compress.zlib://Stream Filter => zlib.inflate, zlib.deflateCompiled Version => 1.2.7Linked Version => 1.2.7Directive => Local Value => Master Valuezlib.output_compression => Off => Offzlib.output_compression_level => -1 => -1zlib.output_handler => no value => no valueAdditional ModulesModule NameEnvironmentVariable => ValueXDG_SESSION_ID => 1529HOSTNAME => rb-opdev-01.mtg.localSELINUX_ROLE_REQUESTED =>SHELL => /bin/bashTERM => xtermHISTSIZE => 1000SSH_CLIENT => 10.105.16.181 53007 22SELINUX_USE_CURRENT_RANGE =>SSH_TTY => /dev/pts/0USER => oracleLD_LIBRARY_PATH => /usr/lib/oracle/11.2/client64/libLS_COLORS => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:ORACLE_SID => php1PATH => /data/oracle/bin:/data/client32/instantclient_19_6:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/oracle/.local/bin:/home/oracle/binMAIL => /var/spool/mail/oraclePWD => /usr/include/oracle/11.2/clientLANG => en_US.UTF-8SELINUX_LEVEL_REQUESTED =>HISTCONTROL => ignoredupsHOME => /rootSHLVL => 2LOGNAME => oracleSSH_CONNECTION => 10.105.16.181 53007 10.10.102.156 22XDG_DATA_DIRS => /home/oracle/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/shareLESSOPEN => ||/usr/bin/lesspipe.sh %sXDG_RUNTIME_DIR => /run/user/1001ORACLE_HOME => /data/oracle_ => /usr/bin/phpOLDPWD => /usr/include/oracle/11.2PHP VariablesVariable => Value$_SERVER['XDG_SESSION_ID'] => 1529$_SERVER['HOSTNAME'] => rb-opdev-01.mtg.local$_SERVER['SELINUX_ROLE_REQUESTED'] =>$_SERVER['SHELL'] => /bin/bash$_SERVER['TERM'] => xterm$_SERVER['HISTSIZE'] => 1000$_SERVER['SSH_CLIENT'] => 10.105.16.181 53007 22$_SERVER['SELINUX_USE_CURRENT_RANGE'] =>$_SERVER['SSH_TTY'] => /dev/pts/0$_SERVER['USER'] => oracle$_SERVER['LD_LIBRARY_PATH'] => /usr/lib/oracle/11.2/client64/lib$_SERVER['LS_COLORS'] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:$_SERVER['ORACLE_SID'] => php1$_SERVER['PATH'] => /data/oracle/bin:/data/client32/instantclient_19_6:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/oracle/.local/bin:/home/oracle/bin$_SERVER['MAIL'] => /var/spool/mail/oracle$_SERVER['PWD'] => /usr/include/oracle/11.2/client$_SERVER['LANG'] => en_US.UTF-8$_SERVER['SELINUX_LEVEL_REQUESTED'] =>$_SERVER['HISTCONTROL'] => ignoredups$_SERVER['HOME'] => /root$_SERVER['SHLVL'] => 2$_SERVER['LOGNAME'] => oracle$_SERVER['SSH_CONNECTION'] => 10.105.16.181 53007 10.10.102.156 22$_SERVER['XDG_DATA_DIRS'] => /home/oracle/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share$_SERVER['LESSOPEN'] => ||/usr/bin/lesspipe.sh %s$_SERVER['XDG_RUNTIME_DIR'] => /run/user/1001$_SERVER['ORACLE_HOME'] => /data/oracle$_SERVER['_'] => /usr/bin/php$_SERVER['OLDPWD'] => /usr/include/oracle/11.2$_SERVER['PHP_SELF'] =>$_SERVER['SCRIPT_NAME'] =>$_SERVER['SCRIPT_FILENAME'] =>$_SERVER['PATH_TRANSLATED'] =>$_SERVER['DOCUMENT_ROOT'] =>$_SERVER['REQUEST_TIME_FLOAT'] => 1595485171.3729$_SERVER['REQUEST_TIME'] => 1595485171$_SERVER['argv'] => Array()$_SERVER['argc'] => 0PHP LicenseThis program is free software; you can redistribute it and/or modifyit under the terms of the PHP License as published by the PHP Groupand included in the distribution in the file:  LICENSEThis program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.If you did not receive a copy of the PHP license, or have anyquestions about PHP licensing, please contact license@php.net.[root@rb-opdev-01 client]#

Is there a way to tell rpm manager "don't seek XXX.so, because it is included in this rpm."?

$
0
0

I built a RPM, which contains some executables made by me and some .so provided by 3rd SDKs

If I manually do the copy work, like make install DESTDIR=/, then all ld dependence is fine.

[shaozr@centos1 lib]$ cd /opt/tymonitor/SDKs/Hik64/lib[shaozr@centos1 lib]$ lltotal 18444drwxr-xr-x. 2 root root    4096 Jul 23 14:31 HCNetSDKCom-rwxr-xr-x. 1 root root  343864 Jul 23 14:31 HikAdapter        <== This is my exe, all other binaries come from 3rd SDK-rw-r--r--. 1 root root   29192 Jul 23 14:31 libAudioRender.so-rw-r--r--. 1 root root 2484814 Jul 23 14:31 libcrypto.so-rw-r--r--. 1 root root 2484814 Jul 23 14:31 libcrypto.so.1.0.0-rw-r--r--. 1 root root 2252728 Jul 23 14:31 libHCCore.so-rw-r--r--. 1 root root  541128 Jul 23 14:31 libhcnetsdk.so-rw-r--r--. 1 root root  400144 Jul 23 14:31 libhpr.so-rw-r--r--. 1 root root 2024584 Jul 23 14:31 libNPQos.so-rw-r--r--. 1 root root 1956138 Jul 23 14:31 libopenal.so.1-rw-r--r--. 1 root root 4705408 Jul 23 14:31 libPlayCtrl.so-rw-r--r--. 1 root root  495218 Jul 23 14:31 libssl.so-rw-r--r--. 1 root root 1032864 Jul 23 14:31 libSuperRender.so-rw-r--r--. 1 root root  103941 Jul 23 14:31 libz.so

and let's check ld dependency:

[shaozr@centos1 lib]$ ldd ./HikAdapter    linux-vdso.so.1 =>  (0x00007ffef3e8c000)    libhcnetsdk.so => /opt/tymonitor/SDKs/Hik64/lib/libhcnetsdk.so (0x00007f8dfe762000)    libhpr.so => /opt/tymonitor/SDKs/Hik64/lib/libhpr.so (0x00007f8dfdd58000)    libHCCore.so => /opt/tymonitor/SDKs/Hik64/lib/libHCCore.so (0x00007f8dfd744000)    libevent-2.0.so.5 => /lib64/libevent-2.0.so.5 (0x00007f8dfd4fc000)    libevent_pthreads-2.0.so.5 => /lib64/libevent_pthreads-2.0.so.5 (0x00007f8dfd2f9000)    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f8dfcff2000)    libm.so.6 => /lib64/libm.so.6 (0x00007f8dfccf0000)    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8dfcada000)    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8dfc8be000)    libc.so.6 => /lib64/libc.so.6 (0x00007f8dfc4f0000)    librt.so.1 => /lib64/librt.so.1 (0x00007f8dfc2e8000)    libdl.so.2 => /lib64/libdl.so.2 (0x00007f8dfc0e4000)    libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f8dfbedf000)    /lib64/ld-linux-x86-64.so.2 (0x00007f8dfe6c6000)

because I embedded rpath in the exe.

readelf -d HikAdapter |grep rpath 0x000000000000000f (RPATH)              Library rpath: [/opt/tymonitor/SDKs/Hik64/lib:./:./HCNetSDKCom]

The problems is that when I install my rpm,it seems that rpm manager doesn't know I already carried the depency so, and it tries to seek what package can provide them,obviously it failed.

#yum install tymonitor-0.0.1-1.el7.x86_64.rpm...  Examining tymonitor-0.0.1-1.el7.x86_64.rpm: tymonitor-0.0.1-1.el7.x86_64Marking tymonitor-0.0.1-1.el7.x86_64.rpm to be installedResolving Dependencies--> Running transaction check---> Package tymonitor.x86_64 0:0.0.1-1.el7 will be installed--> Processing Dependency: libHCCore.so()(64bit) for package: tymonitor-0.0.1-1.el7.x86_64--> Processing Dependency: libhcnetsdk.so()(64bit) for package: tymonitor-0.0.1-1.el7.x86_64--> Processing Dependency: libhpr.so()(64bit) for package: tymonitor-0.0.1-1.el7.x86_64--> Finished Dependency ResolutionError: Package: tymonitor-0.0.1-1.el7.x86_64 (/tymonitor-0.0.1-1.el7.x86_64)           Requires: libHCCore.so()(64bit)Error: Package: tymonitor-0.0.1-1.el7.x86_64 (/tymonitor-0.0.1-1.el7.x86_64)           Requires: libhpr.so()(64bit)Error: Package: tymonitor-0.0.1-1.el7.x86_64 (/tymonitor-0.0.1-1.el7.x86_64)           Requires: libhcnetsdk.so()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Is there a way to tell rpm manager "don't seek XXX.so, because it is included in this rpm." ?

How to get only process ID in specify process name in linux?

$
0
0

How to get only the process ID for a specified process name in linux?

ps -ef|grep java    test 31372 31265  0 13:41 pts/1    00:00:00 grep java

Based on the process id I will write some logic. So how do I get only the process id for a specific process name.

Sample program:

PIDS= ps -ef|grep javaif [ -z "$PIDS" ]; thenecho "nothing"elsemail test@domain.comfi

Avoid creation of local prefix route in Red Hat / CentOS

$
0
0

When an IP address is configured, the corresponding route to the local network is also created by default, e.g:

$ ip address show dev ens2243: ens224: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000    link/ether 00:50:56:8c:80:9b brd ff:ff:ff:ff:ff:ff    inet 192.168.97.100/24 brd 192.168.97.255 scope global noprefixroute ens224       valid_lft forever preferred_lft forever    inet6 fe80::105:3fa1:2bb8:7aec/64 scope link noprefixroute       valid_lft forever preferred_lft forever$ ip route...192.168.97.0/24 dev ens224 proto kernel scope link src 192.168.97.100 metric 101...

(Strangely, the noprefixroute flag is shown in the IP address information)

I know I can get rid of this route by executing these commands:

$ sudo ip address del 192.168.97.100/24 dev ens224$ sudo ip address add 192.168.97.100/24 dev ens224 noprefixroute

Now, the route to 192.168.97.0/24 network is not created.

Is there is a way to provide some configuration setting in the ifcfg file to avoid the creation of this local route in the first place?

When and Why run alternatives --install java jar javac javaws on installing jdk in linux

$
0
0

To install java in linux (I used CentOS, RHEL is same too), I used this command

rpm -Uvh /path/to/binary/jdk-7u55-linux-x64.rpm

and verified java

java -version

Looking at a tutorial, it says to run following 4 commands, not sure why

## java ##alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 200000## javaws ##alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 200000## Install javac onlyalternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 200000## jar ##alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 200000

I know if there are multiple versions of java installed, you can select version to use from

alternatives --config java

then why to run alternative --install separately for each executable.

I've seen this question but doesn't get my answer

how to get python 2.7 into the system path on Redhat 6.5 Linux

$
0
0

I have installed (or so I think) python 2.7.5. When I type "Python --version" I get python2.7.5

I've narrowed this down to:

  1. When I run "python" in a terminal in my /Home/UsrName/ directory it is version 2.7.5
  2. However when I run "python" in a terminal in /Home/UserName/Downloads/Ipython directory I get 2.6.6

I went into the Ipython folder to run the Ipython Setup file. I think I need to add python27 to a system path so that when I am inside the /Home/UserName/Downloads/Ipython directory and run the install file Ipython knows I am using a required version of python.

I am not sure how to add python27 to the system on redhat linux 6.5 (Also I am not even sure that this will fix it).

Viewing all 3585 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>