Questions tagged [centos]

Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

0
votes
0answers
9 views

Can't run composer update in a subdomain because the php version is lower that required

I have to run a Laravel command from SSH to install packages (the command is 'composer update') and when I run it puts an error that the php version is 7.0.3 and that it requires 7.1.3 The command is ...
1
vote
1answer
25 views

Complex regex sed replacement not working but not throwing errors

I am working in CentOS 7 trying to do find / sed one liners to fix a ton of files. Specifically two in a row: First, to add "ignoreOlderThan = 14d" immediately after every [monitor://...] (working) ...
0
votes
1answer
14 views

mount.cfs asks for password when passing argument -o guests

I have Centos machine that want to mount files from NAS, but when passing guest user, it want password: mount.cifs //192.168.96.2/b/files/ /mnt/files -o guests,nocase In another machine near this ...
0
votes
0answers
20 views

Network Team name is not getting set properly with kickstart

I am configuring team with kickstart file on CentOS 7.6, All working file except Name of team I put following code in kickstart network --device team0 --bootproto static --ip=192.168.127.11 --...
-1
votes
1answer
9 views

Linux - After reboot, I get a Keyboard Interactive Authentication error. All Network traffic closed it seems

I'm running Centos connecting with Putty. Starting today, every time I reboot, It forces me to log in as root before it will let me log in with my su. I log into Root, then run su username and then ...
0
votes
1answer
39 views

LVM + use the space of the OS in order to increase the partition

from the lsblk I have the following output NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 300G 0 disk ├─sda1 ...
0
votes
1answer
59 views

Redhat 7 : Where to find LFTP 4.8.3

I have Red Hat 7 on the server and LFTP 4.4.8. I had to use a CentOS RPM to upgrade to LFTP 4.4.8. I need to upgrade to a more recent version because some option are not available in LFTP 4.4.8. ...
0
votes
2answers
85 views

Virtual server stops responding and uses 100% CPU, how to diagnose?

We are facing weird issue with a CentOS 7.4 virtual server (VMware ESXi), the server suddenly gets 100% usage in few seconds resulting in ssh won't work and a specific program running is not ...
1
vote
0answers
44 views

3 IP on one ethernet that not exist!

when i run "ip -d addr" show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0 inet 127.0.0.1/8 scope host ...
0
votes
1answer
160 views

How to install PHP 5.6 on CentOS 7?

I am using CentOS 7, Nginx 1.12.2 . Base on article https://www.svnlabs.com/blogs/install-apache-mysql-php-5-6-on-centos-7/ , I try rpm -Uvh http://vault.centos.org/7.0.1406/extras/x86_64/Packages/...
0
votes
0answers
13 views

Failed building rpm package using mock

I have read this QA : rpm mock - complex rpm building I still do not understand why I failed to build rpm package. When building rpm using mock, I got this error. Failed to create directory /var/...
1
vote
1answer
56 views

How can I install redir on CentOS 7?

I need to install redir to forward traffic on CentOS 7. Tried yum install redir and also yum search redir they don't find anything, so how can I do it?
-3
votes
1answer
109 views

Can not install docker to centos 6.1

[root@tomcat bin]# yum install docker-ce docker-ce-cli containerd.io Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: centos.vargonen.com * ...
0
votes
1answer
38 views

How to install old 32bit packages (i686) on CentOS 7.6

I have an application that requires following packages to be installed via yum: openmotif.i686, libusb.i686 and libXpm.i686 On CentOS 6 is was just fine to install those packages before installing my ...
-2
votes
1answer
40 views

How can i track down how is these files created [duplicate]

How can i track down what command or how is all these files being created? My server is always occupied 100% of its storage. and I've checked my another instances which don't have these files. 52.7 ...
2
votes
1answer
86 views

CentOS 7 stuck at grub prompt after upgrading Kernel

I tried to upgrade the Kernel using YUM and when I ran [root@AFIBAMBOO bin]# grub2-mkconfig -o /boot/grub2/grub.cfg No path or device is specified. Usage: grub2-probe [OPTION...] [OPTION]... [PATH|...
-1
votes
1answer
33 views

libffi.so.5() and libgdbm.so.2() dependency errors when installing scl Python package on CentOs machine

I am getting the errors shown below when trying to install a python package on CentOs machine using software collection. I am wondering if it is related to the version of CentOs used and the version ...
0
votes
0answers
27 views

Logout button reboots the machine

On CentOS 7.4 running XFCE, most of the time if I click the Logout button, it will reboot/poweroff the machine. It does the same thing if I use the Logout button in the xfce panel or in the ...
1
vote
0answers
31 views

How to enable Python automatically after restarting my Centos 6.5 machine?

I am using Software Collections Repository (SCL) to install Python 3 package "rh-python36" on Centos 6 machine. I am adding this script to .sh file located in the /etc/profile.d directory: #!/bin/...
0
votes
0answers
11 views

Nginx, Let's encrypt cause error redirect http to https partially

I am using CentOS 7, Let's encrypt (want to clear all thing related 002.bkit.vn), Nginx. I try to install Let's encrypt for 002.bkit.vn , then I remove it, some things still exist, but I don't know ...
0
votes
0answers
11 views

Storage object access with docker FTP getting error 550

I'm actually using an object storage from scaleway. I want to be able to access it with ftp and be able to do some action. Right now I can access and view files/folders from it, but I can't do action, ...
0
votes
0answers
15 views

incron doesn't execute command

I'm trying out incron at the moment and don't get it to work. I'm on a centos virtual machine (vbox). What i did until now: installed incron: sudo yum install incron i created the file /etc/incron....
0
votes
1answer
58 views

nginx: [emerg] BIO_new_file(“/etc/letsencrypt/live/site_name/fullchain.pem”) failed

I am using CentOS 7, Nginx 1.12.2, certbot 0.31.0 , Error after delete all things related to Let's Encrypt of 002.bkit.vn [root@VMHostDefault 002.bkit.vn]# nginx -t nginx: [emerg] BIO_new_file("/...
2
votes
0answers
42 views

Can't mount block device to directory

Checked for existing devices sdb 8:16 0 5.5T 0 disk /mnt/grid/0 sdc 8:32 0 5.5T 0 disk /mnt/grid/1 sdd 8:48 0 5.5T 0 disk /mnt/grid/2 sde ...
0
votes
0answers
37 views

Create Passwordless SSH login without exectuting SSH-KEYGEN on Client?

The normal installation/configuration of SSH on a client requires the use of ssh-keygen to create a local private/public key pair in the .ssh folder of the user's profile. To configure the normal, ...
0
votes
0answers
13 views

grub rescue> ls only get (hd0, hd1)

I have a CentOS 7 system, when I boot it, there will be bellow: how can I start my CentOS in this situation? in some tutorial, I can set the root like this: set root=(hd0, 8), but in there I can ...
0
votes
0answers
19 views

Can I provide sshd server service to foreign in the rescue mode?

Can I provide sshd server service to foreign in the rescue mode? I can not start sshd server in my CentOS rescue mode, is it possible to start a service for connecting?
0
votes
2answers
45 views

Why I killed apache user, but it still display?

I am using CentOS 7, Nginx, I don't want use Apache httpd. Then I kill user apache pkill -9 -u apache pkill -KILL -u apache then I check again, I still see user apache. How to kill all process what ...
0
votes
2answers
26 views

Using grep for the output of a command [duplicate]

grep might not be the solution to what I need. I'm trying to grab the MB/s info from this command dd if=/dev/zero of=tempfile bs=1M count=1024 which returns the following information 1024+0 records ...
0
votes
1answer
22 views

Stop http service, yum still work CentOS7

Can anyone explain me why yum still working when I stop http service. If I'm not wrong, yum repository use port 80 and 443 so stop http service on the machine should technicly stop possibility to ...
0
votes
0answers
28 views

Chroot directory and all of its parents must be owned by root?

I was under the impression that for chrootdirectory to work: The chroot directory and all of its parents must not have group or world write capabilities (ie chmod 755) The chroot directory and all of ...
1
vote
1answer
35 views

wipefs is not working as expected

I am doing wipefs -af /dev/sda1 and then creating pv but its throwing error I am creating with command pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/sda1' and following is error [...
0
votes
0answers
16 views

VM > Centos 7 3-node HAcluster (pacemaker & corosync) (httpd wont start)

I've setup my cluster I'm now configuring my resources (2nd link). cluster setup: https://www.golinuxcloud.com/ste-by-step-configure-high-availability-cluster-centos-7/ cluster resource: https://...
0
votes
0answers
19 views

Centos 7 XRDP Android Studio Blank Screen

It's similar to this question: Gnome - Android Studio completely blank screen on Centos 7. I have tried GNOME & KDE two different desktop env to open XRDP session, but got the same result. I ...
0
votes
1answer
15 views

How to create user and group with specific id in directory389

Since I never worked with 389-ds, I am gonna ask probably stupid question. How can I create group with gid=557, and create user which would have uid=135 that is associated with gid=557? For local is ...
0
votes
1answer
41 views

Centos 7 how to install php7.3 from official sources?

I am coming from the debian world and I struggle for a while now understand Centos and to install php7.3 on Centos 7. Tutorials like this https://tecadmin.net/install-php7-on-centos7/ tell me to ...
0
votes
0answers
23 views

Non x11 apps over x11

I am seeing odd behavior on my X11 server on CentOS 6. X11 Forwarding works as you would expect. I can ssh (with -Y or -X) from CentOS 6 and launch & display xclock, but I can’t do the same for ...
0
votes
1answer
13 views

The new volume group's Format do not be checked

When I install CentOS 6 system on my physical server, there are two disks, you see the sda and sdb, I created the VolGroup00 vg, you can see my snapshot: there I have a question, you see the sda2's ...
0
votes
0answers
21 views

“failed to insert 'vboxpci' invalid argument”

What cause this issue? systemd-modules-load.service failed "failed to insert 'vboxpci' invalid argument"
1
vote
0answers
13 views

CentOS 7 KVM host with two bridges

I currently have a CentOS 7 host with a single NIC and would like to be able to use this NIC for two different types of bridges. The host (CentOS) machine currently is currently pulling DHCP from my ...
0
votes
0answers
7 views

Setting static ip for wifi adapter

I'm trying, and failing, to set a static IP for my centos 7 system which uses a wifi adapter to connect to the internet. I edited the connection and input my preferred settings using "nmtui" but that ...
1
vote
2answers
41 views

CentOS installer fails with Nouveau errors; Ubuntu installer works

I have a custom built Windows 10 desktop that I am considering putting Linux on. Since I use CentOS on my file server, my first choice was to also use CentOS on the desktop. However, when I tried to ...
0
votes
2answers
40 views

Cento's 2 network and 2 ip work only 1

Hi I have configiured 2 network card eth0: TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes ...
0
votes
0answers
161 views

CentOS 7 Black screen after gnome upgrade

Symptom: CentOS 7 stuck at startup when running at GUI level command line level works fine. Only mouse cursor can be seen everything else is black Press Ctrl + alt + F3 reads "A start job is ...
1
vote
0answers
75 views

When using scp command, it fails as 'bash: bash command not found' . How to resolve it?

When i am trying to copy a file using scp, it says bash: bash:: command not found. I am able to execute help command for scp but unable to use it. [root@centosgui ansibleplay]# scp --help unknown ...
1
vote
1answer
38 views

Is it centos.pkgs.org website equal to mirror.centos.org in CentOS?

Recently installed CentOS from CentOS-7-x86_64-DVD-1503-01.iso has a repo file that contains: [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&...
1
vote
2answers
31 views

mkisofs is not including tar.gz file in custom iso

I am customizing centos iso, i took standard CentOS-7-x86_64-DVD-1810.iso and extract it and custom folder and add my files. Now i am recreating custom iso with below command mkisofs -o centos-7-...
5
votes
1answer
110 views

RHCE Study Lab: KVM networking and ping issues

I'm trying to setup an RHCE study lab per Michael Jang's RHCSA/RHCE setup guide. I've followed the guide in the book to the dot, though in my opinion a lot of information is missing (step by step ...
0
votes
0answers
17 views

How to setup DNSSEC in BIND on CentOS?

I'am searching the most simple way to setup DNSSEC in BIND using CentOS. I found a question but it's not Centos specific but it's 1000% closer to what I'm after than the entire first page on Google ...
0
votes
1answer
47 views

How to setup shadowsocks client on centos 6.6?

shadowsocks is working well on my mac. I have tried a lot of tutorials to setup shadowsocks client on centos 6.6 in vm fusion, none of them work. sudo yum install epel-release sudo yum -y install ...