Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
3 views

Send response based on client request using s6-tcpserver4

I am trying to create a socket where the client receives a response based on their request, but I can not figure out how to achieve this on CentOS 7 using s6-networking from http://skarnet.org/...
0
votes
1answer
16 views

Permanently clean up network interfaces in CentOS

I have a VM running CentOS which only has one virtual adapter attached. However, if you look at the details you see this: I only want/need the 10.1.x.x address. Where did the others come from? Can ...
1
vote
0answers
18 views

Why is crash command exiting without prompt?

I've installed a debug kernel and enabled kdump. The coredump was generated successfully, but when I try to load the vmcore after reboot, crash command just quit without prompt: # crash /usr/lib/...
0
votes
0answers
16 views

How can I lock an FTP user to their home directory?

I have found some help regarding locking an FTP user to their home directory, but after following steps, I find I'm still able to run cd .. and exit that directory and browse the file system. I'm ...
1
vote
4answers
52 views

Replace string in multiple files (same directory) with condition

Example: File1: Name: abc Number: 325 Code: 0 File2: Name: xyz Number: 578 Code: 0 File3: Name: ttt Number: 356 Code: 0 File4: Name: nnn Number: 228 Code: 0 File5: Name: bnb Number: 434 Code:...
-1
votes
0answers
29 views

Can not ssh server with `debug3: fd 1 is not O_NONBLOCK`

I have a CentOS 7.5 Dedicated Server, I found it can not ssh login now: and I checked the sshd service and firewalld is closed. this is my login in my PC ssh root@x.x.x.x -vvv: debug2: channel 0: ...
0
votes
1answer
6 views

vnc dynamic runtime firewall ports >= 5901

In RHEL/Centos 7, TigerVNC-Server only needs 5901/tcp for desktop:1, then 5902/tcp for desktop:2, and so on. I think any VNC-server would operate the same way. If no one has typed vncerver for ...
0
votes
0answers
8 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
23 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
9 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
16 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 --...
0
votes
0answers
5 views

Can't receive email through OpenVpn server [on hold]

System: CentOS7 + OpenVPN (with web admin panel) The problem, after connect, we can navigate on internet but we can't receive any email throught Outlook email client, for example GMAIL ask for a ...
-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 ...
-2
votes
0answers
10 views

start-dfs.sh returns with error

I run the start-dfs.sh command on CENTOS 7 (Hadoop 3.2.0) and the return is: start-dfs.sh Starting namenodes on [localhost.localdomain] /usr/local/hadoop-3.2.0//libexec/hadoop-functions.sh: line 298: ...
0
votes
1answer
35 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
37 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
79 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
41 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
66 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
10 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
34 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?
-2
votes
0answers
32 views

Oracle WebCenter 12C Portal Domain Configuration using Ansible

I'm trying to configure Weblogic WebCenter 12C Portal Domain via Ansible on CentOS 7, but still can't find the way how to do it. So far I could install weblogic and weblogic portal with DB via Ansible....
-3
votes
1answer
47 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
35 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
38 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 ...
0
votes
0answers
26 views

How to configure two separate network on ethernet interface on CentOs7 [on hold]

I have CentOs7 cluster on local network, the network administrator(proxy) doesn't allowed to use ftp protocol. How can I configure "eth1" on spearate network (external network) to avoid proxy ...
1
vote
1answer
29 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
19 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
24 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
19 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
10 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
9 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....
-1
votes
0answers
71 views

Can not install mysql to CentOS

I am following this tutorial https://www.hostinger.com/tutorials/how-to-install-mysql-on-centos-7 I am at this step and get this error: [root@tomcat bin]# sudo rpm -Uvh mysql57-community-release-el7-...
0
votes
1answer
21 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
26 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
31 views

Centos 7 CURL Issuer Certificate is Invalid [closed]

Using this CURL Syntax Bellow curl --header "Content-type: application/json" --request POST --data '{ "userID" : "xxx", "securityCode":"xxx", "token":"123" }' https://0.0.1.1:7080/aaa/bbb/CCC ...
0
votes
0answers
36 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
10 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
14 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
44 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
23 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
23 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
30 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
12 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
10 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
14 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
19 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
22 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 ...