Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

New answers tagged

1 vote
Accepted

When are host keys for the server generated

AFAIK the keys are generated during first start of the server (after install). About generate new one: yes, there is no problem as far as they are described (with filenames) in /etc/ssh/sshd_config. ...
user avatar
1 vote

Step by step Red Hat Update for OpenSSL

Update instructions are provided in each advisory, for example in RHSA-2022:1066 and the maintenance instructions linked there. The short answer for RHEL 7, assuming the system is correctly registered,...
user avatar
0 votes

podman play kube --network does not properly attach network

I found the solution. Containers created using podman play kube share a network namespace. Consequently, they can access each other using localhost.
user avatar
  • 101
2 votes
Accepted

Red hat visudo read logs for regular user

Adding things to a file in sudoers.d as you did gives that user the ability to run the command specified using sudo. Try this: su mikelogger - sudo tail -f /var/log/messages You will be prompted for ...
user avatar
  • 966
0 votes

LINUX + find the root cause for exception - failed to create bus connection: Resource temporarily unavailable

The error you are referring to "Resource temporarily unavailable" typically occurs when you hit a global or local resource limit. IE a ulimit or global value in /sys or /proc. The most ...
user avatar
2 votes
Accepted

how to test ntp servers as real servers that responding without using ping test

Check the NTP servers with ntpdate tool. Something like this: OP=$(ntpdate -q ntp1) If OP contains Proper Date Data, ntp1 is working. Else try ntp2. Reference : https://www.tunnelsup.com/how-to-test-...
user avatar
  • 2,972
0 votes

Is sane available for using scanner on RHEL 8.5 (Oopta)?

I suspect you were using saned; in RHEL 8.5, you need to install sane-backends-daemon. The daemon is socket-activated on port 6566.
user avatar
5 votes

What does this yum package version mean?

Use either yum info or dnf info as appropriate and the full breakdown is shown: $ dnf info squid ... Name : squid Epoch : 7 Version : 4.15 Release : 3.module_el8.6.0+2741+...
user avatar
  • 809
0 votes

How to suppress PAM audit logs for RHEL8?

I was able to suppress these outputs by adding rules to supress the message by type. For example -a never,exclude -F msgtype=USER_AUTH
user avatar
1 vote
Accepted

Cannot install bgzip on Red Hat

The htslib-tools package which provides bgzip is available in EPEL for both RHEL 7 and 8 (you didn't specify the version of RHEL you are running) so just enable EPEL: RHEL 8: subscription-manager ...
user avatar
0 votes

Can't monitor Kickstart post-install log

The problem is with carriage return if you use echo "message" >/dev/tty1 Try instead echo -e "message\r" >/dev/tty1
user avatar
  • 1
0 votes

/var/log/httpd permissions reset from 705 to 700 after reboot

No, SELinux has nothing to do with that. SELinux does not modify file permissions. 700 is the default permission for the /var/log/httpd directory, and is restored each time the httpd package is ...
user avatar
  • 25.4k
3 votes
Accepted

How to install software with outdated set of libraries into a new system without conflicts?

The idea of virtual machine is not a good choice, because the software is the only purpose of workstations it is being installed so I need to provide full computational power of it to software. That'...
user avatar
0 votes

Rocky 8.5 - Alternate repo for sshpass, removed from EPEL

sed command to patch your repo: sed -i 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir|baseurl=https://dl....
user avatar
1 vote
Accepted

Rocky 8.5 - Alternate repo for sshpass, removed from EPEL

Old versions of EPEL are still available so you can try to use the 8.5 archived version: https://dl.fedoraproject.org/pub/archive/epel/8.5.2022-05-10/Everything/x86_64/
user avatar
-1 votes

Error when installing Red Hat Enterprise Linux 8.2 via VirtualBox

If the host OS is Windows, you may want to disable the Hyper-V supervisor: https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/virtualization-apps-not-work-with-hyper-v ...
user avatar
-1 votes

Error when installing Red Hat Enterprise Linux 8.2 via VirtualBox

Seems like the source from where you download the images is unreliable. The best site to download RHEL is RedHat web site. You may need to create free development account for this.
user avatar
5 votes
Accepted

How to upgrade sed on RHEL 8?

You can’t install Fedora packages on RHEL. Instead of trying to upgrade your sed, since you only want a newer version for its debugging capabilities, I recommend running a container: sudo yum install ...
user avatar
-1 votes

Is there a way to interact with my Windows clipboard when SSH'd from an Exceed xterm?

SSH mostly just moves characters back and forth (it's modeled on TELNET which was modeled on serial cables). It's roughly equivalent to what the cat command can do. Anything fancier is done with ...
user avatar
  • 138
2 votes

sed or other equivalent for grep with vfF

Another way is to create dynamically the EREs, to start matching at the 225th position, with some help from sed, and grep for these EREs: grep -vEf <(sed 's/.*/^.{224}&/' stem.txt) source.txt ...
user avatar
  • 6,425
4 votes
Accepted

sed or other equivalent for grep with vfF

With awk, making sure you only look for those strings wherever they're meant to be. awk '!source {stem[$0]; next} ! (substr($0, 225, 13) in stem) ' stem.txt source=1 source.txt > ...
user avatar
1 vote

Need to run a database shutdown script before RHEL 7 is rebooted

Why don't you start and stop the DB as a service and let systemd do the rest? [Unit] Description=myDB After=network-online.target nss-lookup.target Wants=network-online.target nss-lookup.target [...
user avatar
0 votes

How to enable TLSv1.3 in Apache 2.4.35 with OpenSSL 1.1.1?

You need to upgrade Apache to at least version 2.4.37 to use TLS 1.3 (see the changelog).
user avatar
  • 1,408
0 votes

add new disk in /etc/tgt/targets.conf and reload without affect other disks/initiator hosts

Have you tried specifying the config file? e.g. tgt-admin --update ALL -c /etc/tgt/targets.conf I also noticed in my server logs (49 targets) that systemd was timing out on start, leaving the state ...
user avatar
0 votes

How to disable memory for a NUMA node on a Linux system

This program is used after the process is already running: taskset - set or retrieve a process's CPU affinity The taskset command is used to set or retrieve the CPU affinity of a running process ...
user avatar

Top 50 recent answers are included