Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

inotifywait tool shows multiple logs for same time while replacing binary

Whenever I replace a binary file in the directory which is added into intoifywait list.I am getting same log multiple time.But for other files like .js etc. It is working fine. Below are logs ...
1
vote
1answer
18 views

How to start HAProxy on CentOS with systemd

I'm trying to set up a simple web load balancing using CentOS 7.5 (64bit, kernel 3.10), HAProxy 1.8.13 and systemd. It seems that the HAProxy configuration is OK, but starting the application gives me ...
0
votes
0answers
15 views

Setting up Installation Repository in Centos Kickstart File

I have customized centos iso and a repository beside system packages. I need to install this iso with usb media. So far I've managed to set isolinux.cfg to refer kickstart file using ks=hd:LABEL=FW:/...
0
votes
0answers
5 views

Install kernel devel in CentOS-6.3 VM

I installed a CentOS-6.3 VM with the Parallels and at the time of installing the Parallels tools, I get the message, An error occurred while installing the following packages: │ │...
1
vote
1answer
29 views

How to resolve SSL Certificate Error while installing PIP?

When I'm trying to install PIP using the downloaded package from bootstrap.pypa.io, I'm getting SSL Certificate error. I've followed other posts and tried doing this by disabling the certificate check ...
1
vote
1answer
23 views

How to disable “Last failed login” message on Centos?

How can I disable the message below when a specific user logs into a Centos machine from console? Last failed login: Sun Jun 30 22:32:35 EST 2018 from 192.168.142.71 on ssh:notty There were 3 failed ...
1
vote
1answer
34 views

Unable to update bind in CentOS 7?

I am trying to update bind in centos using this command. $ sudo yum update bind Getting this error Transaction check error: file /usr/libexec/setup-named-chroot.sh from install of bind-chroot-32:...
0
votes
0answers
5 views

devtoolset-4 was removed from centos-release-scl?

I need to install gcc 4.9 on CentOS 6. And I usually do the following: yum install -y centos-release-scl yum install -y devtoolset-3-gcc-c++ make cmake re2c libuuid-devel libxml2-devel zlib-devel ...
0
votes
1answer
18 views

Retrieve the manual format clipboard

I'd like to retrieve the manual to the clipboard, usually implement the following steps: # man crontab # man crontab > draft.md # cat draft.md then copy it manually from the console, How could I ...
4
votes
3answers
55 views

Centos 7, I thought “yum install ___” was supposed to get all the dependencies, too?

I'm trying to get back into *nix again after many years away, and I'm running into a few headaches that I'm hoping you can help me with. I want to install Trillian onto my CentOS 7 box. I went to ...
0
votes
0answers
16 views

smbd Unable to open new log file /var/log/samba/machine.log: Permission denied

Why are we getting this error in our Samba logs? smbd[28791]: [2018/08/09 12:07:42.256743, 0] ../lib/util/debug.c:1053(reopen_logs_internal) smbd[28791]: Unable to open new log file /var/log/...
-1
votes
1answer
37 views

Cron not executing all commands [on hold]

For some reasons, some of my commands aren't being executed when the script is started by cron. For example: sed isn't working and the code inside if the for loop isn't executing. The weird part is ...
0
votes
1answer
28 views

kernel headers and kernel devel

command rpm -qa | grep kernel output kernel-3.10.0-514.16.1.el7.x86_64 kernel-tools-libs-3.10.0-514.16.1.el7.x86_64 kernel-headers-3.10.0-862.9.1.el7.x86_64 kernel-devel-3.10.0-862.9.1.el7....
0
votes
0answers
7 views

Remote Desktop Connection To VPS Gnome connection error

I had purchase VPS from and install the Centos 7 on it. After that, I install Gnome on it. I connect through Remote Desktop Connection and it was working perfectly fine. But after a few days. I am ...
1
vote
0answers
27 views

Why does my serial port give a response without a loopback cable?

I'm new to using serial ports, and I have a loopback cable for serial on a Centos 7 machine. I have something in python that tests the port, but I've found that the program returns the expected ...
-1
votes
1answer
28 views

No route to host on port (SSH)

I updated my SSH port from 22 to 6433 and now I can't SSH into my machine. I updated this line in /etc/ssh/sshd_config: # If you want to change the port on a SELinux system, you have to tell # ...
0
votes
0answers
15 views

How can I install old software collections packages on CentOS 6?

I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this: FROM centos:6 RUN yum -y update && yum -y install centos-release-scl RUN yum -y update && yum -y ...
0
votes
0answers
17 views

How to repair GUI failure on CentOS? [closed]

I'm working on CentOS 7 server. Everything was good until a few days back I could no longer get a GUI desktop. The startup sequence seems to be good without any failure. Only when the desktop is ...
0
votes
0answers
8 views

How to test the shadowsocks whether works fine in the installed server?

How to test the shadowsocks whether works fine in the installed server? I use the CentOS7.2 installed the shadowsocks in it and start it. pip3 install shadowsocks vi /etc/shadowsocks.json # start ...
0
votes
0answers
8 views

amanda backup centos server client disklist fail

try to back up server- client centos7.0 linux system but following error occured. Amanda backup Server(192.168.236.129): Centos7.0 su - amandabackup /diskList : amanda_client /etc /etc/hosts 192....
4
votes
1answer
38 views

RAIDs disappearing on reboot (Centos 7.5)

I'm trying to create 4 RAID 0 disk arrays on my system running Centos 7.5 and have the RAIDs automount after a reboot. For some reason, only one of the RAIDs /dev/md0 is persistent between boots. The ...
0
votes
0answers
30 views

Iptables NAT Rule problem

I have the following problem: I'm receiving UDP port 514 traffic from a specific device i'm my network. I need to change the destination port to 5140 without using -j REDIRECT. I'm using a ...
0
votes
3answers
41 views

How do i convert 32-bit to 64-bit arch on centos 6?

Currently I installed Centos 6.9 32bit OS in VM and I want to convert into 64-bit architecture in same machine. I checked lots of stuff over internet but didn't find any forum for same, specifically ...
0
votes
0answers
12 views

Systemd, Centos7 : network-online.target doesn't want to run service

I have a problem with newly created service in systemd. I want, that service A will start after network-online.target What service A does? - runs the script with echo "xxx" > resolf.conf I tried ...
0
votes
1answer
16 views

Why does rpmfusion recommend the nogpgcheck switch?

See the commandline RHEL/CentOS section at https://rpmfusion.org/Configuration/ Doesn't this --nogpgcheck switch allow for tampering to happen unnoticed?
0
votes
0answers
15 views

How to connect to GUI Environment on CentOS 6 from Windows 7?

I installed a GUI Environment on CentOS 6 server by following this page. I have finished Step 8. Now how can I connect to the GUI Environment on remote CentOS 6 ? Do I need use VNC Viewer in my ...
1
vote
2answers
17 views

How can I know a software's install position in my CentOS?

In my CentOS7 there are multi python, I check the default python version by: # python3 -V Python 3.6.0a1 but how can I know its position in my CentOS?
0
votes
1answer
24 views

Is there a reason not to uninstall wireless packages if no wireless is present?

Most of my systems are based on CentOS 7 minimal. This includes by default a number of wireless-related packages: $ yum list installed | grep iw iw.x86_64 4.3-1.el7 ...
0
votes
0answers
18 views

How to convert vmcore-dmesg.txt timestamp to human readable format?

I have crash dump log in /var/crash/ directory in CentOS 7.2 system. But timestamp in vmcore-dmesg.txt are not human readable. How to convert vmcore-dmesg.txt timestamp to human readable format? ...
-1
votes
0answers
40 views

Resolution of 1920x1080 in the console [closed]

How to adjust the resolution of 1920x1080 in the console?
0
votes
0answers
10 views

Migrating a Mysql 5.1 db on Centos6 to a Mariadb 5.5 on Centos7

I have a huge application that I need to migrate. It is currently running on an old Centos6, with MySQL 5.1. The next version of Centos use MariaDB 5.5, and according to the documentation, I should ...
0
votes
0answers
15 views

Not able to extend size in lvm volume

CentOs version 6, I am not able to extend the size of disk. Getting below error for PVS command: # pvs Couldn't find device with uuid lFOJGO-3E5U-6uJr-LJNe-z8Pq-696r-dEK1W7. PV VG ...
0
votes
0answers
23 views

Trying to do the amanda backup tutorial? [closed]

Currently, I'm following this tutorial: Tutorial on Amanda Backup- Installation & Configuring on Centos 7. I'm using CentOS 7. Installed packages: $ yum install xinetd gnuplot perl-ExtUtils-...
0
votes
0answers
31 views

Error mounting ntfs filesystem in linux?

I was trying to take a backup and messed up something and now I am getting the above error. [msingh@centos boot]$ rpm -qa ntfs-3g ntfsprogs ntfs-3g-2017.3.23-6.el7.x86_64 ntfsprogs-2017.3.23-6.el7....
3
votes
1answer
18 views

Some apps not opening on CentOS 7

I've some apps on CentOS 7.5 with GNOME that won't open when clicked. The Weather app for example, when clicked, it seems to load, but does nothing.. it doesn't open. I found a similar issue here, ...
0
votes
0answers
13 views

How do i roll back install and uninstall of yum?

I am doing some installs and some installs and run into a dependency hell after a while because i have many repositories enabled.I am unable to fix the problem. Can i do something so that i can ...
2
votes
0answers
22 views

CentOS VM boots into blank screen [closed]

On CentOS VM, I "powered off the machine" while it was malfunctioning in login screen as it would prevent me typing the complete password. And now it fails to boot as it gets stuck in a blank screen ...
1
vote
1answer
21 views

chage - Minimum number of days between password change

is there any difference in the "Minimum number of days between password change" set to -1 and 0? or maybe both commas does the same policy? chage -m -1 user chage -m 0 user thank you for any hint, ...
1
vote
0answers
24 views

How to See Bound Folders and Release Them

This morning I noticed someone had stuck a USB Drive in the back of the server. (I'll have to end that practice later). For some reason CentOS 7 mounted that disk /dev/sdc1 under /run/media//. I also ...
0
votes
1answer
21 views

ssh_selinux_change_context: setcon failed with Invalid argument

I am trying to do ssh communication to an IP but I get the following error messages in logs. Jun 5 11:36:50 thetemplate my-sshd[26346]: Accepted password for user1 from 172.80.1.2 port 34278 ssh2 ...
-1
votes
1answer
24 views

Ansible Playbook syntax check issue

i have below detail in /etc/ansible/hosts [dev] 10.13.212.32 and i am able ping this hosts as below: # ansible dev -m ping Output: [root@localhost ~]# ansible dev -m ping 10.13.212.32 | SUCCESS ...
1
vote
0answers
21 views

file: Compiled magic version [534] does not match with shared library magic version

I am running Amazon Linux centos however the version of the file which gets installed is 5.30. I require a later version. file: Compiled magic version [534] does not match with shared library magic ...
0
votes
0answers
16 views

How to check the local directory that I have been created under /root on Centos7 for installing Hbase

I am new to CentOS. I was trying to install HBase to my computer. I followed some instructions, it asked me to create a directory called local under the root. so this following are the commands from ...
0
votes
0answers
13 views

CentOS and xbee

A little python program using an XBee works fine on MacOS but fails on our CentOS 7 machines because of permission problems. root can run the program but not other users because /dev/ttyUSB0 is: crw-...
-1
votes
1answer
19 views

centos - background processes

I have a machine where running tcpdump on wifi interface requires sudo privleges. So if I run a background job like, sudo tcpdump -i wlp8s0 'port 80' & (I know its meaningless to do it as I am ...
-1
votes
0answers
13 views

Creating Samba share as a symlink

I have set up Samba share on CentOS 7 with AD support as the access happens from Windows to Linux. The directory I need to share has owner and group as oracle:oinstall. How can I create a link to this ...
0
votes
0answers
4 views

hadoop 2 datanode but live node is 1

I am using Hadoop 2.7.4 using in Centos7 In $hadoop_home/bin, I commanded ./start-dfs.sh ./start-yarn.sh in master 7889 NameNode 8706 NodeManager 8357 SecondaryNameNode 9573 Jps 8102 DataNode 8525 ...
0
votes
0answers
17 views

CentOS 7 escape key mapping?

I reinstalled a bunch of GNOME packages for my CentOS 7 desktop and it fixed several issues I was having but now I'm having some weirdness with the escape key. Basically I press the escape key and it ...
0
votes
1answer
51 views

How soon will linux notice that a disk has been detached ? And can it be quicker?

I found that if I detach a disk from my Linux server (CentOS 7), the related /dev/sd* file will disappear automatically about 10 seconds later. I'm wondering how does Linux know a disk has been ...
0
votes
1answer
35 views

How to restrict a user from using tty?

i was wondering if it is possible to force log out a user (anyone other than root) when trying to login via tty (ctrl+tab+f1/f2/f3..). The user should be able to use pts with no problems. Using CentOS ...