New answers tagged

0 votes

system locale are setting improperly on Redhat

dnf install glibc-langpack-en Fixed it for me on AlmaLinux 9.1. Thanks to @Sérgio for the sug!
  • 1,169
0 votes

force connect wifi to a specific BSSID

If you only provide the normal ascii password then wpa_supplicant needs to find out the SSID, because the 64 hex digits PSK (kind of the actual password) is derived from it. At this moment it goes ...
0 votes

SSD's SMART Status not supported behind DELL PERC H730 Mini controller

ATA return descriptor not supported by controller firmware If I understand this correctly, it means the controller did not understand the SMART response given by the disk, and so is not able to pass ...
  • 80.1k
0 votes

SSD's SMART Status not supported behind DELL PERC H730 Mini controller

For SATA/IDE HDD drives the only way to get the drive temperature is via the SMART interface. Since your controller seemingly doesn't properly support SMART commands, there's no way. I'd also ...
1 vote
Accepted

On the RHEL7/8 the virt-sysprep does not clean the content of /etc/machine-id despite it should

In fact it behaves differently. The machine-id step is really enabled by default, but it deletes the original content and generates new. It is intended for 1 to 1 image deployments. However if you ...
1 vote

centos 8.0 yum cannot be found

rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps But with that you explicitly ask rpm to uninstall python3-dnf. What did you expect to happen? You also disabled all safeguards by using --...
1 vote

Error: Partition(s) on /dev/sda are being used

Open system tray -> devices -> UNMOUNT the drive to be partitioned. And run parted again.
  • 113
1 vote
Accepted

Unable to mount /boot/efi and Grub menu not updated

Has the system that claims to not support the vfat filesystem type been hardened somehow? For example, do any of the files in /etc/modprobe.d/ include the line: install vfat /bin/true If so, then the ...
  • 80.1k
0 votes

Unable to mount /boot/efi and Grub menu not updated

I think your problem is that your update only partially worked (because the EFI wasn't mounted), but that put you in a limbo between updated kernel in some places and not others. Try booting from a ...
  • 26
0 votes

Why newly created mirror repository is not working as source one

So, I just used yum install ipa-client --allowerasing, look for packages with problems, downloaded them with yumdownloader --resolve one by one and add them to repository. I dont know why, but ...
  • 1
0 votes

Email from address in postfix log differ from the from address in Outlook

Application was using sendmail to send out emails with just the -t option. The email from address, email to address, subject, body and attachment was set in the -t option. However, there is no ...
0 votes

Linux Virtual Console (ctrl+alt+f2) scrolls past edge of monitor

bash's use of $LINES does not matter (much). What does matter is the screensize which you can see with stty, e.g., $ stty -a speed 38400 baud; rows 40; columns 80; line = 0; intr = ^C; quit = ^\; ...
1 vote

Why does adding a user and setting an SUID for it throws me the "Operation not permitted" error?

If you want user tommy to be able to run /usr/bin/ls as root, then you need to configure sudo to allow that. e.g. in /etc/sudoers: tommy ALL = /usr/bin/ls You do not need to change the permissions ...
  • 73.8k
1 vote
Accepted

systemd-journal-flush.service Failed with result timeout - Failed to start Flush Journal to Persistent Storage

The journald daemon is not flushing to /var/log/journal because that directory doesn't exist, and /etc/systemd/journald.conf does not tell it to create that directory. Unfortunately, journalctl --...
  • 2,077
1 vote

How to add a CentOS repo, having URL of Packages

In newer CentOS versions using dnf basically symlinked to yum, you can add a repository with the config-manager command from a .repo file in you home directory (or any other place you can place it in):...
  • 11
0 votes

What does "systemctl daemon-reload" do?

If you change a /lib/systemd/system/<servicename>.service and restart it. It will not load the new settings unless you do a systemctl daemon-reload. Just restart the old cached settings with no ...
  • 101
0 votes

Can't get ethernet adapter to work on centos 7.9, I tried both Realtek RTL8125 and Intel I225V

I225 Series is not supported in CentOS 7.9 and would require their igc driver to be available for Linux download for recompile. See Intel OS Support page: https://www.intel.com/content/www/us/en/...
0 votes

How do I use Hashicorp's Linux Repository with Centos 8 and cloud-init to install Vault

hey this is old but i came across this issue while trying to add the hashicorp repo to kali. i haven't found any current solutions that worked except when i altered this command that i found on a ...
-1 votes

Why yum wget failed? No match for argument: wget

you have to update your Subscription to download the dependecies. then, the dnf command should be used in rhel9 for installing packages. dnf install package-name refer: [https://access.redhat.com/...
  • 1
0 votes

Why is my static IP address not set to what I made it in the /etc/sysconfig/network-scripts/ifcfg-enp0s3 file?

Don't represent as subnetmask in configuration file it is wrong, instead represent as NETMASK=255.255.255.0 then, restart the network systemctl restart network
  • 1
0 votes

How to configure mdadm.conf properly

You may want to update your boot settings after editing the mdadm.conf file, and then reboot to verify: $ sudo vi /etc/mdadm/mdadm.conf $ sudo update-initramfs -u update-initramfs: Generating /boot/...
  • 101
0 votes

how can I install jansson 2.11-devel or above in centos7?

For the specific need of building (e.g compiling) Asterisk 16 in CentOS 7, we have the following mismatch: Asterisk 16 requires libjansson version >= 2.11. CentOS 7 repositories provide libjansson-...
0 votes

Why did the mac address of bond changed on CentOS7 after reboot

Considering the last octet is only a couple off, it's most likely that the two NICs em1 and em2 are on the same card, and the bond has picked up the MAC from the other NIC. The bond will pick up the ...
  • 582
0 votes

How to Boot GParted on UEFI Hyper-V VM?

I had the same issue and noticed that a Generation 2 Hyper-v VM would not boot the gparted v 1.5.0.1-amd64 iso with a basic configuration. I was able to boot the gparted iso by going to firmware -> ...
0 votes

Show list of open ports using firewalld in CentOS7

This one-liner should work for both direct-interface services and rich language rules, and show the service name along with its port numbers, protocols, etc. firewall-cmd --list-all | egrep "...
0 votes

Job queueing on a single machine

HTCondor is a cluster software with an excellent support for single-machine installations. They even provide a minicondor Docker image specifically aimed at single-machine setups: https://htcondor....
  • 103

Top 50 recent answers are included