Questions tagged [centos]

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Kickstart for CentOS9

Is there a kickstart feature in CentOS9? When I try to install system-config-kickstart I am getting the following message No match for argument: system-config-kickstart Error: Unable to find a match: ...
0 votes
1 answer
11 views

cant' delete user with userid 502, 503 and on CentOS 6

I have a CentOS VM that shows the list of users like this: drwx------. 2 504 504 4096 Dec 10 2000 username So if I try to run the userdeel command I got a message saying that the user does not ...
0 votes
0 answers
35 views

MDADM Nvme raid Slower than traditional HDD, need enlightenment

I have setup server about 20 days ago with new nvme, before setup raid mdadm the two Nvme samsung 980 pro 1TB i test bench have IO speed average 1.5G/s each nvme, but after creating raid 1, IO nvme ...
  • 1
0 votes
0 answers
13 views

Centos 7.4, dev/vda1 is 100% [duplicate]

My VPS on DO now has an issue of dev/vda1 is 100% since around 3 months ago, at that time, I did poweroff & reboot then disk spaced freed. But the thing rans into some bigger issue since 1 week ...
0 votes
1 answer
18 views

Ensure a user can only SSH to the port they have been designated

I want ensure a user can only SSH to the port they have been designated. The OS is CentOS 6. Basically, I want to open one port to the public (Port 8822) so it can be accessed externally. The other ...
0 votes
0 answers
12 views

/opt/BitDefender/bin/notify_script.sh failed: exit code 2 on CentOS 6

I'm running CentOS 6.10 and everytime that I run a command I got this message on the console /opt/BitDefender/bin/notify_script.sh failed: exit code 2 I do not have Bitdefender install so I guess it's ...
0 votes
0 answers
20 views

Nor CTRL+C nor "bye" command can terminate ftp session [closed]

I have an issue with ftp session. If I let the session opene for more than a few minutes, it gets stuck and I cannot terminate the session. The command "bye" does not do anything and nor ...
  • 101
0 votes
1 answer
12 views

Cannot execute binary file: Exec format error on Centos

I'm trying to install yq on CentOS 9 on hetzner. wget https://github.com/mikefarah/yq/releases/download/v4.27.5/yq_linux_arm64 && chmod +x yq_linux_arm64 && ./yq_linux_arm64 The ...
  • 163
1 vote
0 answers
37 views

How to build Multip-hop VPN using OpenVPN and two CentOS Servers?

I have two CentOS droplets. I want to create a scenario like this: User(IP: 185.20.20.1) --> VPN1(Server1: 90.80.1.1) --> VPN2(Server2: 5.80.20.18) --> Google.com(assumes the user IP address ...
  • 113
0 votes
1 answer
16 views

Dmesg to real timestamp

I would like convert my Centos 6.10 dmesg in real timestamp, how do I do this? I tried with -T but no luck. I have long entry like (1630230907.320:2)
0 votes
0 answers
26 views

BIOS/OS reporting different memory to dmidecode

I have a SuperMicro server in production with 8x 16GB dual rank DDR3 ECC registered sticks installed (128GB). Had a bunch of ECC errors on one stick one day that caused issues for a few minutes plus ...
0 votes
0 answers
24 views

SELinux: Allow in a policy for a user

I have a linux user s001 and their applications should be able to bind on port 30001 only. I added a new SELinux user s001_u with and connected it to user s001: semanage user --add s001_u --roles &...
  • 119
0 votes
1 answer
21 views

cannot open /etc/shadow message on CentOS 6.10

When I try to delete a user or add a user to the wheel group I got this message [root@server]# userdel --remove username userdel: cannot open /etc/shadow [root@server]# I'm running: [root@server]# ...
1 vote
1 answer
30 views

CentOS 6 : Group descriptors corrupted

I found the following in dmesg and I am wondering what I can do to fix it: EXT4-fs (snumbd1d): group descriptors corrupted!. Will I need to take the server offline in order to recover the file system ...
0 votes
1 answer
13 views

Using both baseurl and mirrorlist in yum.repo

I want to cache RPM packets in my Nexus Repository. In repo file on client side I have two lines, both uncommented: baseurl=http://nexus-ip/repository/bts-nexus-almalinux-base/$releasever/BaseOS/$...
  • 1
0 votes
0 answers
18 views

The from Postfix logs differ from the from message trace in Office 365

The from address in Postfix logs differs from the from address in Message trace. Postfix logs shows sender as pick@disorderly-order.com and Office 365 message trace shows sender as rlee@disorderly-...
0 votes
0 answers
14 views

CentOS print jobs take a long time to print but works normal from Windows

I have a printer that prints fine from the Windows machine. When jobs are sent from the CentOS (CentOS 6.9) machine, it takes around 20 minutes to print the job. The CentOS machine prints fine to ...
1 vote
1 answer
54 views

How to enable legacy ciphers in modern SSH client [duplicate]

Got a shiny new OL9 and I need to connect to some legacy servers, as in CentOS 5. The OL9 SSH client does not support the legacy ciphers that CentOS 5 supports: [opc@vm1 ~]$ ssh legacyServer Unable to ...
1 vote
1 answer
36 views

executing a command without password prompt or root

For the sake of writing a script, I'd like my minikube-role-user to execute the command minikube tunnel without a password prompt, without switching user to root, be it by su or temporarily by sudo, ...
  • 13
0 votes
2 answers
51 views

File transfer between servers seems slow

I have two servers both running Rocky Linux v8.4, one hosts a raid drive that I use to back up a (very) large raid drive mounted on Server A as /home. Server A (with the large raid of 70TB mounted as /...
  • 1
0 votes
0 answers
11 views

Centos7 sshd: allow ssh-rsa pubkey algorithm

How can I eliminate this error? $ ssh -o 'PubkeyAcceptedKeyTypes ssh-rsa' root@10.38.12.173 -i q.pem sign_and_send_pubkey: no mutual signature supported I tried to add PubkeyAcceptedKeyTypes +ssh-...
  • 141
1 vote
0 answers
24 views

CentOS 7 with php-fpm renders raw PHP

Summary: My CentOS 7 server with PHP 7.4 fpm is not executing PHP files instead they provide a raw PHP file to the client. In the next section, I will explain the environment. I have set up a minimal ...
  • 23
1 vote
0 answers
19 views

access to a postgres database gets permission denied if startet over systemctl

I have an issue with a postgres database running on my CentOS Server, but only if i start it over systemctl. My Service config: Description=Nakama server [Service] ExecStart=/etc/nakama/nakama --...
  • 11
0 votes
1 answer
29 views

lvresize didn't expand lvm partition

I have a Virtual Machine into Hyper-V, I just expand the VHD and the free space are showing into lsblk command, but i cant expand the lv, it's always showing has no free space. My Configuration and ...
0 votes
0 answers
16 views

How to create and attach vlan with guest vm in kvm

I have one centos7.0 machine on that I have provisioned two guest vm(centos7.0). two bridge configured in the host machine I have to create one vlan and attach to one of the bridge and guest vm ...
1 vote
1 answer
42 views

CentOS 7 - Not Getting IP Address After Reboot

I can't quite seem to figure out why. Seems very odd. Setup; DHCP/Static IP Managed on Router/Firewall VM with CentOS 7 Installed that ultimately gets IP address from above Seems that whenever I ...
0 votes
0 answers
40 views

CentOS Stream 9 OpenLDAP failing to start slapd service

I'm trying to set up an OpenLDAP server on CentOS Stream 9, currently the server is only used to host a Wiki.JS wiki. I've installed the OpenLDAP server and client packages through yum without any ...
0 votes
0 answers
54 views

Install QEMU for Docker Buildx on Rocky Linux 8

I am preparing a Rocky Linux 8.6 system to run Docker Buildx for multi-architecture images. Ideally I'd like to have a host installation of QEMU and binfmt_misc (rather than one based on a Docker ...
0 votes
1 answer
23 views

Nginx, three identical vhost configs, one works, the other two got too many redirects

I got three websites on my server. My mainpage gamenotify.net works well. My other two are getting to many redirects between www and non-www url. My vhost files are identical to my mainpage. I just ...
0 votes
0 answers
55 views

nginx display empty php page directory index of "/usr/share/nginx/html/" is forbidden,

i am trying to use directly nginx in centos control panel without apache in centos7 now i get this error *1914 directory index of "/usr/share/nginx/html/" is forbidden, but when i ...
0 votes
0 answers
36 views

Low disk space warning but df reports only 56% used

I am getting low disk space warnings but when I check the disk space, only 56% is used. I am thinking of giving the system a reboot as it's reported incorrect disk usage in the past. Here's the ...
0 votes
0 answers
39 views

Centos 9 Stream - Broken wget command

After running wget: wget: CRYPTO/Crypto.c:355: init_openssl_crypto: Assertion `lib' failed. Aborted (core dumped)
0 votes
1 answer
236 views

Installing podman on Amazon Linux 2

I am trying to install podman on an Amazon Linux 2 instance cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" ...
6 votes
1 answer
1k views

Mail is not getting through to gmail

I have a self hosted mail server on a VPS. When sending mail through an application, most of my mail is getting rejected by google. Google is giving following message about the mail. Reporting-MTA: ...
0 votes
2 answers
112 views

How to force install an rpm?

I have a gitlab pipeline where I will be installing latest rpm everytime. Some times, even if the target machine is changed manually, the rpm should be installed successfully. But some how I am ...
  • 56
0 votes
0 answers
13 views

Yum hangs while erasing

When i do this command yum erase centreon-release-21.04-5.el7.centos.noarch yum says Erasing : centreon-release-21.04-5.el7.centos.noarch and nothing happens, I have to stop with a ctrl + c. I ...
  • 1
0 votes
1 answer
45 views

Printer online and enabled - receives job but doesn't print

I have setup a printer with the command lpadmin -p printername -o printer-error-policy=retry-current-job -E -v lpd://printername/RAW?timeout=10. The printer is detected and enabled. However, when I do ...
0 votes
1 answer
42 views

How to check if an rpm is completely installed on centos?

We have an rpm to our project and that contains pre and post install scripts. While the post install script is still running, yum list is showing the package name in it. sudo yum list installed ...
  • 56
-2 votes
1 answer
89 views

How to setup reverse dns (rDNS) to my unmanaged vps server

Recently I've deployed a mail server on my VPS server using mailcow which is using docker/docker-compose. For sometimes sending mail was working fine. But recently all my mails are getting rejected. ...
0 votes
1 answer
27 views

Kickstart Partitions

Hi I wrote the kickstart file for centos 7. It works great but in some machines because of partitioning 2 disk drives which should be determined like sda and sdb I have issues USB boot drive is ...
  • 3
0 votes
2 answers
37 views

Access to alias phpmyadmin only one host

I have two questions for you. I added to my serwer two domains. Now I see that I can login to ftp write both domains name. How set only one domain to works that server name ? How give access alias ...
0 votes
1 answer
34 views

Can I extend a Centos 7 partition while preserving its contents

I inherited managing a Centos 7 server where I am frequently running out of space in the root directory because its size is only 20Gb as shown bvelow. df -h (excerpt) /dev/sdb2 ...
  • 75
0 votes
1 answer
50 views

You have not defined a root partition / which is required for installation of Centos to continue

I am facing the following issue while doing an automated installation of Centos7 with kickstart.cfg I used the following options in the kickstart file zerombr clearpart --all --initlabel logvol / --...
  • 111
0 votes
1 answer
41 views

Force to create admin user, if root was locked

I've created a kickstart file for automated installation of CentOS 7. Idea is to make foolproof oem installation, so root is locked, user have to be created on final part of installation. But here is ...
1 vote
1 answer
38 views

Limit number of CPU cores in bare metal server

I was trying to benchmark application performance across bare metal and hypervisors. I have a 24-core server on which hyper-v is running. On the same machine, I have centos7 installed. I can set the ...
0 votes
1 answer
39 views

Samba Server Doesn't logging

I'm trying to logging with Windows in a Samba Server, but it does not connect. When I look in the logs it gives me the message [2022/07/20 08:35:19.749737, 0] ../lib/param/loadparm.c:1844(...
0 votes
1 answer
24 views

failed to open /etc/userdomains for linear search: Permission denied (euid=1000 egid=1001)

Here my autoresponder in centos is not working can anyone help me with it. 2022-07-20 09:50:10 1oE6LK-00A004-0j ** alkesh@204.compilor.com R=userautoreply T=userautoreply: Expansion of "${if def:...
0 votes
0 answers
123 views

Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-5.18.11-1.el7.elrepo.x86_64", will be passed to user space

on centos 7 after upgrading the kernel to version 5.18.11 I observed the below message in /var/log/messages Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-5.18.11-1.el7.elrepo.x86_64&...
  • 111
0 votes
0 answers
12 views

How to access (mount) the local hard drive and create a file in the %pre module of the Kickstart script?

I want to access (mount) the local hard drive and create a file in the %pre module of the Kickstart script. But it doesn't seem to work. Please help me, thanks! The ks.cfg code is like this: %pre #!/...
  • 1
0 votes
0 answers
48 views

Stop yum-cron getting stuck holding yum lock

I'm running a bunch of CentOS 7 servers with yum-cron and yum is constantly getting locked. Now and then I'll go to install something or manually run yum update and I'm almost always greeted with ...

1
2 3 4 5
212