Hot answers tagged

13 votes
Accepted

LVM: Creation difference between CentOS 7 and CentOS 6

The difference is mainly because you use two different filesystems: CentOS 7: sudo lvcreate -v -n lvname -L 512M rootvg && sudo mkfs.xfs -L "lvname" /dev/mapper/rootvg-lvnamee ...
Romeo Ninov's user avatar
  • 5,898
7 votes
Accepted

Is it possible to hide a binary file from the system

First of all, you showed nothing to really display that some "binary file is hidden". Exim is likely expecting to find the library not in /usr/local/lib(64) but in /usr/lib(64) or /lib(64). ...
Nikita Kipriyanov's user avatar
6 votes

Upgrade OS on ZFS file server

If there is not much to configure, I'd perform a fresh install. But your plan looks sensible, and if there is much configuration (and it wasn't automated), the upgrade path is to go. I went it once (I ...
Nikita Kipriyanov's user avatar
5 votes

LVM: Creation difference between CentOS 7 and CentOS 6

The file systems used in those commands are different, one is ext4 the other one is XFS. See also How to Choose Your Red Hat Enterprise Linux File System The ext4 file system is reserving 5% of disk ...
Mircea Vutcovici's user avatar
5 votes
Accepted

How to automatically change the name of a file on a daily basis

Please refer logrotate man page option "start count" start count This is the number to use as the base for rotation. For example, if you specify 0, the logs will be created with a .0 ...
asktyagi's user avatar
  • 2,916
3 votes

How to automatically change the name of a file on a daily basis

As @asktyagi already stated. The right parameter to use is "start count". Initially it didn't work for me, that's because I didn't disable the parameter for "use data extension for ...
Moritz's user avatar
  • 65
3 votes
Accepted

Yum to packages.microsoft.com failed on Centos 7

We have open the firewall to the packages.microsoft.com That is probably where you went wrong. When a hostname is used in a firewall rule usually it will effected with the (single) IP-address to ...
HBruijn's user avatar
  • 79.9k
2 votes

Getting "has no address records (A or AAAA)" error when running named-checkzone

For starters: there is a line-break missing: $TTL 86400 @ IN SOA primary.wallynet.local. root.wallynet.local. ( 2011071001 ;Serial should be: $TTL 86400 @ IN SOA primary.wallynet.local. ...
HBruijn's user avatar
  • 79.9k
2 votes

Getting "has no address records (A or AAAA)" error when running named-checkzone

It doesn't know what is primary.wallynet.local. Probably, the forward zone doesn't contain such name at all? Unfortunately, we never saw your forward zone so can't check. I am only convinced there ...
Nikita Kipriyanov's user avatar
2 votes

Connection reset by 10.180.20.1 port 22

Too long for a comment. In general: Debugging server issues is not (only) done from the client side. Don't only report on client-side issues (the ssh -vvv output), also show relevant server ...
HBruijn's user avatar
  • 79.9k
2 votes

Looking for CIS Benchmark script for CentOS 7

Since there is no further description what kind of script you are looking for, in example Ansible, Bash, Python, etc. you may have a look into the following Ansible Configure a RHEL/CentOS 7 machine ...
U880D's user avatar
  • 1,145
2 votes

Named server cannot be started

I guess there is a typo for master file path in a config file. A slash is missing at the beginning of the path zone nyc3.example.com/IN: loading from master file etc/named/zones/db.nyc3.example.com ...
librhnylmz's user avatar
2 votes

How do I tell why a systemd service was started?

Another reason why a service could be started, which would not be reflected in systemctl list-dependencies, is if it is a D-Bus service which got started on-demand. For instance, looking at the UPower ...
Koopa's user avatar
  • 133
2 votes

`mail` shows a message hard to identify the source of

While I'm not sure this is a complete answer, here's what I can see. Almost certainly this is a warning notification from a cron job that ran in root context, which was running the command cd /var/lib/...
tsc_chazz's user avatar
  • 1,660
2 votes

Convert from Spinning drives to SSD on PERC H700 RAID 1

A generic LSI MegaRAID has a variable that enables a feature of mixing HDDs and SSDs and another one that enables a feature of mixing SATA and SAS devices in a single array. PERC, being a rebranded ...
Nikita Kipriyanov's user avatar
2 votes

Monit complains of checksum failure after MariaDB reinstall and upgrade to newer version

Nice to see you use the Monit sample to handle a MySQL/Maria DB server, see https://mmonit.com/wiki/Monit/ConfigurationExamples#mysqld The checksum test is nice, but only of limited (not very) use in ...
lutzmad's user avatar
  • 271
1 vote

Unable to SSH VM instance after OS upgrade & reboot of VM instance in GCP

I was finally able to pass this error. I had to turn OFF the VM SHIELD checkboxes at my VM security section vTPM Integrity Monitoring Above options were present as ON. Upon upgrade the kernel was ...
Aditya Rewari's user avatar
1 vote

Unable to SSH VM instance after OS upgrade & reboot of VM instance in GCP

As per the Almalinux doc, Migrations will require your system to reboot twice. Can you reboot again and try it. If still unable to connect check below points : As per the logs you are receiving ...
Hemanth Kumar's user avatar
1 vote
Accepted

Error setting up base reposotory while using pxe booting centos9 with kickstart file

So I found out the solution, don't know if it is the standard way. added the below line in my kickstart file repo --name="BaseOS" --baseurl="http://192.168.10.9/centos9/BaseOS" (...
biplab 's user avatar
1 vote

Install and launch chrome in centos 7

Have you tried with Gnome? Maybe works better. https://cloudzy.com/blog/install-gui-on-centos-7/
R.F.'s user avatar
  • 11
1 vote

Are Packages In Centos Yum Repo's Secure?

That's the purpose of long term support. Packages are updated, without being upgraded, so third party software is unlikely to break. The price is that backports may take some time, and you can't get ...
vidarlo's user avatar
  • 8,937
1 vote

CentOS 7 kickstart file, add entry to /etc/hosts

Just to answer my own question, based on info from @HBruijn. It appears that the packages section is only designed to install packages from the installation media. This makes sense as you would ...
MikeKulls's user avatar
  • 387
1 vote

Linux port 25 is not working, and postfix unable to establish external connections at port 465, internal connection works with issues

Thank to the comments of @HBruijn above, I solved this problem. The problem is that I configured two inet_interfaces. One thing valuable is that seems like in the current postfix configuration file, ...
岁月倾城197's user avatar
1 vote

no default gateway on interface that is set up with DHCP on CentOS7

i just run in to this issue and after a while looking arround, i found out the source of this problem is the "DEFROUTE=no" in the /etc/sysconfig/network-scripts/ifcfg- , change this no into ...
Phạm Hồng Thái's user avatar
1 vote

Bad configuration MariaDB / MySQL

A few pages per second should not be a problem. (1K/second could be a problem.) Many settings are threatening to overflow your large memory and should be shrunken: max_connections = ...
Rick James's user avatar
  • 2,533
1 vote

NFSv4 and CentOS

Don't specify fsid=0 for /hpc. Doing this turns the directory into the "export root" for NFSv4, meaning that e.g. your /hpc/projects directory is exported as server:/projects instead of ...
u1686_grawity's user avatar
1 vote

Debugging Mariadb randomly crashing

Answering my own question with the solution found thanks to a comment: @AlexD: SIGKILL indicates that it is most probably killed by OOM killer. Based on that, if you do more research on OOM Killer, ...
Alexandru Trandafir Catalin's user avatar
1 vote
Accepted

Why is getent appending domain name to all .org lookups?

There are two possible ways to fix this: A hostname not ending in . is considered incomplete and the system may try looking it up in multiple domains until it finds it. If your hostname is a fully ...
user10489's user avatar
  • 604
1 vote

Permission denied: AH02478: failed to create proxy mutex

For anyone who stumbles onto this, I'm able to reproduce the issue by running an apache2 docker container on a non-native platform via qemu emulation. If you're seeing the issue from a Docker image, ...
bennettp123's user avatar
1 vote

CentOS 7 VMWare to Hyper-V migration - Disk not visible

This problem is caused by the default settings in ata_piix. If a HyperV harddisk is detected the driver assumes that IDE is unnecessary and disables the port. To override this you can set the kernel ...
clst's user avatar
  • 115

Only top scored, non community-wiki answers of a minimum length are eligible