Newest 'centos6' Questions

Q&A for system and network administrators

ip_forward not working correctly in CentOS 6.4

I am using a few Linux machines which all run CentOS 6.4. I am trying to make two machines to behave as routers to connect other machines together. One machine works correctly, but one another is not ...

I can not login with the root user's credentials

I have a server deployed with CentOS 6.8. This morning, without anyone on my team touching anything, we not have access to server with the credentials of the root user (this server is private and ...

atop not working properly

I've (yum) installed atop utility in centOS 6.8. But when I run any atop command (eg: atop -a) , it is giving the following error in commandline. Malloc failed for current sysstats However, I'm ...

HAProxy: Prevent 503 errors on failover [duplicate]

I'm trying to setup HAProxy as an highly available reverse proxy. We're running it on a cluster of 3 nodes, where all nodes are identical. When a service is down on one of the node, any of the other ...

CentOS - IPv6 - use slaac for router and first IP but statically add second address

With IPv6 networking we prefer to configure as little as possible on the end device and rely on SLAAC to configure, default route and address info. and then manually add additional addresses as needed ...

ossec updated to 2.9.0 on centos 6 via atomic repo - won't start

I've had the atomic repo and ossec installed for a few years. It recently updated to 2.9.0 from 2.8.3 and it removed /var/ossec/bin/ossec-control. Now ossec won't start. I ran "yum whatprovides */...

redhat 6 | glibc install issue [libtool]

Could you please advise on how to resolve the following: I would like to install libtool but it complains about glibc as this is a very critical library for the system, How it could be solved ? # ...

stuck at grub prompt [closed]

stuck at the grub prompt .as i guess it is not able to find grub.conf .i am using centOS 6.5 the machine was working properly just one week ago its a virtual machine[this is a snap shot attached .till ...

The fio shows iops very less for CentOS6.0 vm running in kvm with backend disk SSD

Disk "iops" is very less with "fio" disk benchmark tool for CentOS 6.0 virtual machine running on KVM. When I execute same on CentOS 6.7 and CentOS 7.2, the iops is as expected. The back end disk is ...

yum Could not retrieve mirrorlist

# yum clean all Failed to set locale, defaulting to C Cleaning repos: base extras updates Cleaning up Everything yum info got a timeout: # yum --verbose info Failed to set locale, defaulting to C ...

Saltstack rpm package install fails

So i got these errors while run salt -G 'os:centos' state.apply ---------- ID: filebeat Function: pkg.installed Result: False Comment: An exception occurred in this state: Traceback (most ...

sftp connection can't be established remotely

I'm trying to create a SFTP connection to a remote CentOS v6.8 webserver. When i connect through SFTP from my office network i can connect without any problems but when i try it from a different ...

centos server with virtual machines parent cant connect out but vms work fine

I have a server centos 6.2, it has several vm's using https://virt-manager.org/ the vms work great, no problems. The problem I have is the parent server cant connect out using any protocol. DNS works ...

Fail2ban unable to write iptables rules

Working on Centos 6.3 ,fail2ban version 0.9.6, fail2ban is unable to write in iptables rules after start and nothing relating to f2b chain seen in iptables -L, I have configured it on local VM and it ...

PXE boot failing with E11 (ARP timeout) on upgraded Linux server

I just physically replaced a VERY old (2005) IBMThinkCentre NIS/DNS/DHCP/Gateway server running Fedora Core 4 with a slightly less old SUN server running CentOS 6. The newer server has the same IP ...

Centos 6 vs Centos 7 file access performance [closed]

I'd like some assistance in trying to figure out what could explain Centos 7 being slower in accessing a file then Centos 6. It's about a 17% difference. Here's a simple test: [root@test-centos6 shm]...

RAM usage is high altough there is no high usage from proccesses?

Our virtual server has Centos 6 OS. When I look to buffer/cache usage it seems less at first line. Proccesses're not use to memory highly. Do u have any idea about this situation? Can it be about ...

memcached on RedHat build PHP 5.6

I am trying to setup memcached on a server running RedHat PHP 5.6.25 I have successfully installed memcache but cannot find how to install memcached - is there a package available? If not how can I ...

Centos6 Server Disk Space error [duplicate]

My server is showing disk space full whenever I am trying to create new file but df -h Filesystem Size Used Avail Use% Mounted on /dev/ploop49011p1 2.0T 705G 1.3T 37% / none ...

Hox to remove lvm metadata after physical volume has been removed

We have a server that uses lvm. Some filesystem have been umounted and corresponding disks have been removed. vgdisplay now complains about missing devices : /dev/sdc read failed ... How can I ...

centos 6.8 will not boot - error is showing under logs

My server rebooted when SSH was not working it had crashed and now it's having trouble rebooting. I have been able to go through the rescue operating system to look into it and I have found these ...

Apache permission denied

I am trying to spin up a webserver using CentOS 6 and Apache. The files for the websites are hosted in a Windows file share. Here is the line from the fstab file to mount the web files: \\192.168.1....

libgcc_s.so.1: cannot open shared object file: No such file or directory

Having issues running yum or rpm after removing a duplicate package libgcc-4.4.7-17.el6.x86_64 (already had libgcc-4.4.7-17.el6.i686 installed). There was a problem importing one of the Python ...

Ntp causing problems

I have a FreeIPA server running on Centos 6 and one of its functions is to provide time sync to client hosts. NTP is version 4.2.6 The problem is that its own NTP synchronisation is nor working ...

What happend when I install SSL using certbot & Let's Encrypt on server with already installed SSL?

I'm using CentOS 6 & apache with already configured SSL but I have certs from StartSSL and this certs are no longer trust on Chrome (and probably few more) can I now instal and configure SSL using ...

Find and rm command not deleting recursively

We have a simple scripts that suppose to delete old folders. The problems is that it doesn't delete them recursively. This is the command: find $PWD -maxdepth 5 -mtime +80 | xargs -I{} rm -Rvf {} ...

How to set up DNS when connecting to two networks?

I have a linux machine with two network interfaces. They are both connected to local networks -- one is 192.168.*.*, the other is 10.*.*.*. The 192.168.*.* network is completely private and does not ...

redhat 6 | how-to install libpcap-devel

the server is running: # cat /proc/version Linux version 2.6.32-431.el6.x86_64 (mockbuild@x86-023.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:...

Make CherryPy init.d script not return until fully launched?

I have a number of CentOS 6 init.d scripts I have written to launch Python CherryPy based web apps. The problem I am having is that when the script is executed, it starts the app and then immediately ...

How to add an Additonal NIC to a linux guest host, on KVM

I want to add additional NIC to centos6.5 guest, which is on KVM When i open virt-manager i cant see any options to edit the guest system Is there any command to add NIC on the guest host...

Cronjob unable to restart apache in CentOS 6 [duplicate]

I'm using Plesk 12 + CentOS 6. I ssh into root account and use crontab -e to create the following entry: * * * * * service httpd restart I expect it to restart apache every minute (just to test/...

Centos Postgres Failed to start

I have CentOs 6.7 installed on my server: bash-4.1# uname -r 2.6.32-573.18.1.el6.x86_64 After server restart, my PostgreSQL 9.6 server is not starting due to locale issue. Here is the log error ...

Permission difficulties with NFS-mounted /var/spool/mail for dovecot and procmail

My mail server setup worked for years. Recently I've started experiencing the following problem: Mail setup: sendmail+dovecot+procmail Host file server: CentOS 6.8, NFS exports mail directories to......

Expanding hardware raid array in CentOS

I added a few drives and expanded my array using Dell's OpenManage utility. I was able to scan the device to show the correct size of /dev/sda. This is on a CentOS 6 system. I went into parted and was ...

gettimeofday causing high httpd cpu usage

Im running a php script with ioncube/zend. All Cores are at 100% and the system begins to accumulate load. All httpd processes are in R (reading status) and it looks like they are reading on ...

Seeing Multiple Partition for same LUN

Anyone knows why I am seeing multiple device for the same LUN?I checked with storage team they only exposed 360000970000196801239533036304532 for this server but why I am seeing these many partition(...

PHP compile issues - stuck at 'Generating phar.phar'

I've encountered problems compiling PHP from source at one 'a bit custom' Centos 6/cPanel server.In general it worked in the past, right now it does not. There were many different PHPs compiled at ...

Servername Secure Connection - Loose Match

We've updated our Apache deployment configuration to allow for non-www requests to our server (https://example.com). For https connections we needed this because the name didn't match the cert. This ...

Compiling nginx 1.11.9 on CentOS 6 with OpenSSL 1.0.2k

I am running CentOS 6 x64, and I wish to compile nginx 1.11.9 against OpenSSL 1.0.2k so I can make use of HTTP/2. I've downloaded openssl-1.0.2k to /usr/local/src: [root@qpat1 nginx-1.11.9]# ls /usr/...

Can rsyslogd use /etc/hosts file instead of DNS?

I have a problem with rsyslogd using DNS to PTR-resolve each remote host's name. Is there a way to use the '/etc/hosts' to do same job and disable resolution using DNS?

How to configure Netgear AirCard 810S on centos 6.8?

I work on CentOS 6.8, I have conected on (working) USB LTE/4G Router Netgear AirCard 810S. I also have connected and configured LAN connection with Internet. I want to configure my CentOS to use LAN ...

why can I not log in to this server?

I am trying to log in to a centos 6.8 server and I have the ip address and correct password. It stored the private key in my known_hosts file, but then I forgot about. My colleague can login from his ...

Can't start postgresql. postgresql.conf contains errors

I have a postresql-9.3 installation which I have been running successful for over a year on a CentOS 6.8 system. While attempting to get phpPgAdmin setup (getting tired of using pgsql for everything) ...

Iptables status ok, but not firewall on hosts

everyone! Is my first post in this section and I'm new in networks, so will be pretty hard to explain my problem. I'm managing a centos 6.5 server which routing ip for all hosts from my work. The ...

How to solve numerous mingetty-related messages in system logs

I run the website and several services of my small company on a VPS (running CentOS 6.8) on which I have full administrative rights. Due to trying to pinpoint a memory leak issue in PHP scripts, I've ...

remove lvs with specific attribute

I found that there are many zombie LV in my CentOS 6 server which is being used for KVM vps hosting with LVM storage. Their attribute is "-wi-a-----" while normal LV attribute is "-wi-ao----". What I ...

mount.cifs: mount error(112): Host is down

I am trying to mount a windows samba share on CentOS and RHEL 6 machines, but gives following error. ~]# mount.cifs //example.com/Linux_Support /mnt -o credentials=/root/cifsauth,noserverino,vers=3.0 ...

Install error in rhel server

I have a rhel machine with no internet or rhel subscrription. I loaded a rhel 6 dvd and trying to install some package from that dvd. When I am trying to install gcc I get the following error. Error: ...

anonymous squid setup on digital ocean centos 6 but my IP still detected

I have implemented the following tutorial from digital ocean which sets up squid with settings to not have my IP address forwarded. I'm finding however that my local IP is still detected when I ...

Detect files behind I/O wait issue

We are running Asterisk 1.8.22.0 which uses NFS for sound files (for IVR's), voice mails etc. Every so often the load average gets real high. Anytime that is we see the I/O wait in top go over 7%. The ...
Translating... 0%