Questions tagged [rhel8]
219 questions
1
vote
0 answers
500 Can't connect to localhost:443 (certificate verify failed)
sub getTracker
{
my ($self) = @_;
my $url = HOST() . $URIFromSTDIN;
my $req = HTTP::Request->new(GET => $url);
$req->header('Accept', 'application/xml');
my @credentials = get_system_credentials();
…

shubham
- 21
- 3
1
vote
1 answer
getting "grep: write error: pipe broken" when command executed through application installation
Below is the command which is executed when I install the application(this line written in one of the script of our application).
PASS=strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 10 | tr -d '\n'
every time I get the error "grep: write…

shubham
- 21
- 3
1
vote
2 answers
Linux string manipulation to make two parameters from one
I'm receiving a list of operating systems, one per line, such as:
alpine/3.13
alpine/edge
alt/Sisyphus
alt/p9
apertis/v2019.5
I need to massage each line into two parameters to yield:
lxc launch images:alpine/3.13 alpine-3-13
lxc launch…

Pascal
- 267
- 2
- 10
1
vote
1 answer
Login timeout expired with PDO sqlsrv connection. Able to query with TSQL just fine from same RHEL 8 client
I'm getting "Login timeout expired" with the following connection attempt:
$dbx = new PDO("sqlsrv:Server=RemoteSQLServer;Database=TheDatabase", SQL_USER, SQL_PW);
If I add LoginTimeout:
$dbx = new…

a coder
- 7,530
- 20
- 84
- 131
1
vote
1 answer
How to install php rpm from remi's repo on RHEL 8 from ks.cfg file kickstart
How to install php rpm from remi's repo on RHEL 8 from ks.cfg file kickstart ?
i tried with the file above but it failed with error during installation process
#version=RHEL8
bootloader --location=mbr --append="rhgb quiet…

Philippe Court
- 51
- 2
1
vote
0 answers
how to restrict users switching from su command
How can I restrict users switching by su command..? suppose there are 3 users (root,user1 and user2)
only root and user1 can switch by using su command. root or user1 should not be able to switch to user 2 by using su command.
root su - user1 -----…

Prabath Lasantha
- 11
- 2
1
vote
1 answer
Windows vs Linux PHP PHP_EOL - php data different
I migrated a script from windows to rhel 8 and I have the following code in my php script:
$Data = file_get_contents('https://example.com/api/data');
$Array = json_decode($Data, true);
$Output = '';
foreach ($Array as $key => $value) {
if ($Output…

user999684
- 705
- 2
- 10
- 23
1
vote
1 answer
Dockerfile using RHEL8 UBI images to register subscription
I need to access several packages in the CodeReady repo on ubi-8 (ubi-8-codeready-builder). It appears that I cannot access these packages unless I use a RHEL subscription.
What is the standard practice for building RHEL8 UBI images that are…

jersey bean
- 3,321
- 4
- 28
- 43
1
vote
1 answer
How to extend a vagrant plugin through Vagrantfile without changing the .rb file?
I have this scenario in Vagrant where I wanted to patch how the ansible is being installed on RHEL 8 (because of certain issues with absence of packages missing due to repository setup) using ansible_local plugin. So here's the thing. Instead, I…

toytoy
- 1,223
- 1
- 12
- 14
1
vote
1 answer
php7 configure: error: libcrypto not found
I am compiling php-7.3.22 with
'./configure' \
'--prefix=/usr/local/php7' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-config-file-path=/usr/local/php7/conf' \
'--with-curl=/usr' \
'--with-openssl=/usr/local/ssl'…

skb007
- 41
- 1
- 3
- 6
1
vote
0 answers
how to do service configuration on RHEL8
Tried scheduling service on rhel 8 as below --
cd /etc/systemd/system
created symbolic link to service
sudo ln -s /apps/xyz/abc.service /etc/systemd/system/abc.service
lrwxrwxrwx. 1 root root 51 Sep 10 16:14 abc.service -> /apps/xyz/abc.service sudo…

Vishnu
- 33
- 1
- 6
1
vote
1 answer
docker-selenium nodes do not connect to hub - no route to host
I recently migrated our grid from an older RHEL7 server to a new RHEL8 server. When I run docker-compose on the new machine, the nodes do not connect to the hub.
docker-compose.yml
version: "3"
services:
selenium-hub:
image:…

Chs
- 131
- 1
- 6
0
votes
0 answers
Smartcard setup in RHEL8 using Active Directory without IDM
Here is some background: my organization is moving from RHEL7 using the UI/Coolkey Smartcard setup for autolock on removal and authenticating to the AD. We are in the process of upgrading to RHEL8 in our Secure Area (which means local only…

Steven C.
- 1
- 1
0
votes
1 answer
download RPM files in windows
Is there a simple way to download rpm files and all its dependencies in a windows machine? later on I will be transferring all the rpm files to a offline rhel 8 machine and install them there.
I've tried the Redhat's downloads> Packages, but it only…

Noob
- 3
- 1
0
votes
0 answers
TiffetchNormalTag exception
We're using below version on our RHEL 8 VM:
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher
Delegates (built-in): jpeg lzma tiff zlib
Compiler: gcc (8.5)
Tiff version: 4.5.1
But facing…

USER
- 11
- 3