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.

learn more… | top users | synonyms (2)

1
vote
1answer
70 views

What to do if the owner of /usr/bin/* changes to a non-root?

It would be the right thing to say that I messed up! Accidentally, I changed the owner of all files in /usr/bin to 'dev' from 'root'. Now, sudo does not work! If I use sudo with any command, I get - ...
0
votes
0answers
11 views

Mic input ignored in Win7 HVD running from Ubuntu 15, 16, but not 14

The actual symptom I'm seeing is on Windows 7, but I think the root cause is in Ubuntu. I have a CentOS7.2 laptop, which I run an Ubuntu VM from, and from that VM I run VMWare Horizon View to run a ...
0
votes
1answer
50 views

Having problems updating after esx host problem

So I have a VM that had to be hard shutdown. I can't get the error to stop. CentOS 7.x latest [user@asm-dmz01 ~]$ sudo yum-complete-transaction --cleanup-only Loaded plugins: fastestmirror Loading ...
0
votes
0answers
24 views

cups restarted automatically

I have installed a cups service on a CentOS 7.1 64 bits. We have some problems with a printer and the only thing I can see on logs is /var/log/messages: May 18 12:11:37 isis systemd: Started CUPS ...
2
votes
0answers
48 views

CentOS 7: RAID 1 high I/O wait

I am running CentOS 7, with RAID 1 (md) on the hard drives. I have the partitions set as shown below. md0 -> root (sda1, sdb1) md2 -> swap (sda2, sdb2) md3 -> misc (sda3, sdb3) on md3, I ...
0
votes
2answers
245 views

CentOS: Install git with yum says glibc requires glibc-common older than installed

I'm using CentOS 6 from Docker, and when I install git, I get this dependency error: Error: Package: glibc-2.12-1.166.el6_7.7.i686 (updates) Requires: glibc-common = 2.12-1.166.el6_7.7 ...
0
votes
1answer
38 views

Set an IP in Centos for access in SSH when connected through WiFi

I recently installed CentOS 7 on Virtual Box with a minimal installation, and I have enabled the network interface in order to show my IP and access to it through SSH when connected by an Ethernet ...
0
votes
1answer
44 views

sshd AllowGroups group not granting access

I have this weird situation: On a Centos 6.6 box, in my sshd_config, I have the line AllowGroups foo bar baz just like on all the other servers. However, when user baz (whose group is baz) tries to ...
0
votes
1answer
22 views

How to know about automatic installations in CentOS

I have a Centos release 6.7 server where I have installed Apache 2.4. The server came with Apache 2.2 but I have upgraded it to Apache 2.4. From time to time, the system goes back to use Apache 2.2 ...
1
vote
1answer
45 views

Strange lines in /var/log/message folder of Centos machine

Below are lines from my /var/log/messages. Can someone help me to understand what these lines mean? I am running a syslog server on this machine. I want to know if these messages would stop the ...
0
votes
0answers
12 views

window remains invisible on startup (Gnome 3 Centos7)

I have created a Vagrant box that is specific for our teams needs. I am running into an issue with a hidden window on the SOAPUI application and cannot resolve it after many hours of Google searching ...
1
vote
0answers
19 views

Using mail spool file for an entry in /etc/aliases gives errors in EL7

For years (with EL6 and before), I have successfully used entries like this in my /etc/aliases file: bugs: /var/spool/mail/bugs The idea being mail to a non-user can be shoved into a file for ...
1
vote
0answers
12 views

Centos 6 FTP problem

I have a VPS running CentOS 6. I've tried multiple FTP servers but the following problem keeps me stuck. I want all users to have FTP access to their own folder in /home, so I configured Pure-FTPd to ...
2
votes
0answers
84 views

Systemd mount fails. Where= setting doesn't match unit name [closed]

If I use this command : mount -t xfs -o noatime,nodiratime,logbufs=8 -L d1 /srv/node/d1 all works correctly. But if I try to mount throug the systemd mount it fails. I've created a file /etc/systemd/...
0
votes
1answer
44 views

Sensu remediation : not able to trigger client

I am a newbee to Sensu remediation i tried to restart process with custom script Senario: if my http link goes down then i use to manually run the script and start it. we moved to Sensu recently as ...
1
vote
1answer
71 views

File location for Syslogs in Centos machine

I am running syslog server (rsyslog 8) on my centos machine. I want to map other device in my network to send the logs to this syslog server. If mapping is done correctly where exactly the syslogs ...
2
votes
2answers
100 views

How to use Upstart scripts on CentOS7?

I am learning some stuff about object storages and have an example: I need to create a file /etc/init/start_swift.conf with following commands: description "mount swift drives" start on runlevel [234]...
1
vote
0answers
13 views

Extending XFS filesystem CentOS 7 Google Cloud

I have Googled everything, and literally nothing is working. Here is df -h: Filesystem Size Used Avail Use% Mounted on /dev/sda1 10G 7.7G 2.4G 77% / devtmpfs 103G 0 103G ...
0
votes
0answers
16 views

NetBeans 8.1 installer stuck on 64-bit RHEL 7

This is CentOS 7 running in Docker. Silent install doesn't show anything in /tmp/state.xml. When I remove silent install and enable X11 for the installer Window, I can see that the installer is stuck ...
1
vote
1answer
26 views

Wireless Kernel Module Not Loaded

I did a CentOS 7 x86_64 minimal install on my computer with an AMD x64 processor. I am now attempting to set up WIFI. The wireless driver iwl4965 from here is installed but is not showing as being ...
3
votes
2answers
76 views

How to detect / prevent systemd network startup failures

Using Centos 7 (most recent updates), on a remote firewall machine that is 200 miles away, I have occasional difficulty on reboot with the network stack not properly starting up. The box has 3 ...
0
votes
0answers
18 views

zopfli --i1000 all css, js files in a directory and sub directorys

My servers OS is CentOS, with Nginx. I've enabled Gzip_Static_Module for nginx. Now after update of a website I need to gzip all the js, css files. Is there a way to search a dir like /home/user/...
0
votes
0answers
45 views

CVE-2016-3710 mitigation in CentOS 7

I have a box running CentOS 7 for KVM virtualization purposes. What is proper steps to mitigate CVE-2016-3710 in my OS? $ rpm -qa --changelog qemu | grep CVE-2016-3710 shows nothing. Current ...
1
vote
0answers
39 views

Email not received with mail command from terminal in CentOS

I am trying to send mail with the following command: echo "Hello" | mail -s "Hello" myaddr@mydomain.com and than checking the exit status as: echo $? which outputs 0 Of course myaddr and ...
4
votes
0answers
93 views

TC (Traffic Control) to control bandwidth

I'm having an issue with a bandwidth script that I've been using for a while to limit the outgoing bandwidth on a port. It worked fine at the beginning until I wanted to change the outgoing port ...
0
votes
1answer
18 views

Using autojump on Centos Linux with zsh gives error?

On Centos Linux, switching to zsh causes autojump to give me this error: -bash-4.2$ zsh /etc/profile.d/autojump.bash:13: command not found: complete How to fix it?
0
votes
0answers
13 views

Samba share not working on second hard drive

I have a centos7 file server with a samba share on the main drive and this is working fine. However I have tried to add a share on a second drive with the same setting but machines on the network are ...
-1
votes
2answers
37 views

I cannnot find ssl.conf for TLS1.2 install

I have a dedicated server with CENTOS 6.7, Apache/2.4.20 php 7 and i want to enable TLS1.2 for paypal payments. From this I understand that i need to add extra lines in ssl.conf I looked for it in /...
0
votes
0answers
185 views

smbclient authentication on CentOS 7.2.1511

I'm trying to use smbclient to display all the available shares on a server. It was working perfectly well with ubuntu 14.04 but I am getting a few error on CentOS . Here is what I am getting : # ...
0
votes
2answers
38 views

centos7 terminal can't have image as background?

I previously used ubuntu, I can set a image as my terminal background. Yet, in centos 7, I don't see a place for setting image as the terminal background. What can I do to achieve this? It's ...
0
votes
1answer
130 views

Can't update OpenSSL on Centos 6.4

I've got a Centos 6.4 system that I'm trying to patch OpenSSL for. Currently, yum reports "1.0.1e-16.el6_5.4" and openssl version shows "1.0.1e-fips". On my Ubuntu machines, I was able to update ...
2
votes
1answer
119 views

CentOS vmtoolsd usage 100%

I am new to CentOS and VirtualBox. I installed CentOS 7 on VirtualBox but see the CPU usage at 100% by vmtoolsd. I tried multiple ways to bring it down e.g. by doing "lodctr /R" and removing open-...
2
votes
2answers
91 views

Malicious processes open connections to China

I recently started migrating some of my company's servers to Google's compute engine. Among other things I set up a 2-node elasticsearch cluster. Today I run top command on one of the nodes and I ...
3
votes
1answer
45 views

Automating Master/Master replication setup and configuration on two servers

I'm in the middle of writing a script to automate configuring MySQL replication between two servers (Master/Master replication), and was looking for some advice on a few things related to MySQL. The ...
0
votes
0answers
66 views

OpenLDAP 2.4: How to correctly implement TLS (ldaps) on CentOS 6.7

My environment: CentOS 6.7 / OpenDLAP 2.4 slapd -VV @(#) $OpenLDAP: slapd 2.4.40 (Nov 10 2015 09:41:16) $ mockbuild@c6b8.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.40/openldap-2....
0
votes
1answer
60 views

Best Graphics over X11 Forwarding

I am currently using Exceed to handle individual X windows being displayed back to my Windows machine and this works flawlessly. I'm using Windows as my Window manager, but I have also experimented ...
0
votes
0answers
40 views

Restrict Users to their home directory

I use WebMin/ProFTPD on my CentOS7 VPS. I already checked the proftpd.conf and it contains the line: DefaultRoot ~ !adm But when I create a new user they can access all on the server from the root. ...
0
votes
1answer
38 views

Cannot Install Cent OS 7

i'm having extreme difficulty trying to install CentOS 7 on a HP Z640 Workstation, Specs http://www8.hp.com/h20195/v2/GetPDF.aspx/c04400040.pdf I have tried installing CentOS 7 and 6.7 in UEFI and ...
3
votes
1answer
178 views

Native sendmail commands to operate the mail queue?

I'm on a CentOS 7 server that runs sendmail and unfortunately I'm not allowed to install new packages. Postfix tools are not installed; AFAIK the only tool available is mailq, that permits only to see ...
0
votes
1answer
26 views

Missing NIC in CentOS 5 - AsteriskNow 1.7.1

So I have two nics, but I can't get the second to load, here is the output from lspci -vvv 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Super ...
0
votes
2answers
21 views

HW Raid - Centos 5 - Boot Issues

I am totally lost as to how to fix this or what to do, I am about to just removed the raid all together. (Work stuff though, so Id rather not)\ I have a tower with 4 drives in it. 2 seperate raids ...
0
votes
1answer
17 views

How to configure a package in CentOS?

I tried to configure a package with: OdaOda:~/src/ngx_openresty-1.7.10.2$ ./configure --with-luajit After that, I get an error: platform: linux (linux) No gmake nor make found in PATH.
1
vote
0answers
54 views

How to receive files via bluetooth in Centos?

I've read the GNOME Help for Centos 7 in order to receive files from my phone via bluetooth. It suggests me to enable Bluetooth Sharing in Settings → Sharing, and switch Save Received Files to ...
0
votes
0answers
18 views

Upgrading postgresql to 9.3 on a CentOS 7 machine

I've recently rented a machine, with CentOS 7, to use for a Nominatim server. I've managed to correctly install Nominatim on the machine, with the instructions from the site, it works correctly, but ...
1
vote
1answer
20 views

Why Lapis does not work?

I have installed Lapis framework using command: luarocks install lapis --local It gave me success installation: Updating manifest for /home/Oman/.luarocks/lib/luarocks/rocks lapis 1.5.0-2 is now ...
2
votes
1answer
50 views

How can I install a local RPM using only the local dependency RPM files?

In my CentOS machine (VirtualBox VM, altough I assume this shouldn't matter), I have a directory including an RPM file and all of its dependency RPM files. I want to install the RPM along with all of ...
1
vote
0answers
47 views

YUM: updating repo's GPG key

Haven't found the answer for this in docs: how often Yum refreshes the GPG key of a repo, if it was obtained from the net? For instance, I've got this repo config: [myrepo] name=myrepo baseurl=http:/...
1
vote
1answer
39 views

CentOS 6 in VMWare fusion: Unexpected MAC address change

I installed CentOS 6.X with VMWare Fusion. It looks like the mac address and nic names changes randomly. eth8 and eth9, totally weird. Anyone know why? P.S VMWare pops a dialog asks me if I ...
0
votes
1answer
25 views

Adding 2 HDDs as mirroning on existing OS (centos)

I have a NAS with 2 x 1TB HDDs and I added two new HDD-s: Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes ...
1
vote
3answers
78 views

log connection attempts from an IP blocked by iptables

I blocked an abusive IP from a CentOS server using iptables, dropping all connection attempts on all services / ports. As is the way of things, the server with this IP may have been part of a botnet, ...