Newest 'centos6' Questions

Q&A for system and network administrators

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 ...

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(...

Can't get phpMyAdmin working

I've installed phpMyAdmin on a VPS running Apache 2.2.15 and PHP 5.6.27 on CentOS 6.8 After allowing web access via the httpd conf file I keep getting the following message from both the index page ...

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 ...

How do I remove a SELinux module in CentOS?

I tried but it gave an error. # ls -l opendkim.pp -rw-r--r--. 1 root root 1569 Jan 8 01:20 opendkim.pp # ls -l /etc/selinux/targeted/modules/active/modules/opendkim.pp -rw-r--r--. 1 root root 344 ...

can't start Mariadb after successful installtion

I am using CentOS 6.8, and want to install mariadb 5.5. I followed all steps in https://mariadb.com/kb/en/mariadb/yum/ vi /etc/yum.repos.d/MariaDB.repo then inserting # MariaDB 5.5 CentOS ...

Weird CentOS server behavior time zones

I have purchased a CentOS 6.8 dedicated server to migrate from shared hosting, and I'm having trouble with the time zones not displaying properly. I have changed the php.ini time zone to Europe/...

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 {} ...

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....

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 ? # ...

Server DNS not resolving on CentOS 6

i have CentOS 6 installed on VPS, where i have installed BIND and setup additional IP on VPS as well for nameservers as ns1.domain.com and ns2.domain.com i am unable to get the same resolved to ...

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 ...

CentOS and the IBM x3850 M2

Im kinda new to this sort of stuff so its worth asking for some advice on the matter. I have recently purchased one second hand IBM x3850 M2 however am slightly confused when it comes to installing ...

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 ...

CentOS 6 ssh is not prompting for the verification code?

I have installed the pam radius rpm package, and successfully configured /etc/pam.d/sshd, /etc/ssh/sshd_config, & /etc/pam_radius.conf. I know it is working, as i am getting a push notification to ...

Centos 6.8 failed reboot dedicated server

Ok so I bought/rent a dedicated server from nocix with Centos 6.8 installed, also came with 2 hard drives sda - 128GB SSD & sdb - 2TB HDD and I think I made a mistake by partitioning the second ...

CentOS 6.4 Intel 82574L, 1000/100/10Mbps,8x LAN Intel 82580EB 1000Mbps,4xSFP

I could not get Intel 82574L, 1000/100/10Mbps,8x LAN Intel 82580EB 1000Mbps,4xSFP up and running with CentOS 6.4 Tried to install kmod-e1000e.3.3.4-2.el6.elrepo.x86_64.rpm for Intel 82574L and kmod-...

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 ...

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/...

Cannot login via ssh into CentOs machine after setting ulimit for open files to unlimited [duplicate]

I have set ulimit for open files on my centos machine by editing /etc/security/limits.conf post which I am unable to login into the machine. This was the change made in /etc/security/limits.conf file....

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/...

Ignore a node while backup is active (GLB)

I'm building a HA cluster with CentOS 6 I have n number of database nodes (using percona xtradb cluster), and when backup process starts, I change the "wsrep_desync" to ON, this way locks caused by ...

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 ...

How to undo after copying a file in centos

I wanted to copy contents of one file to another but by mistake i copied the new file to file having contents. So now file which had data is overwritten and is empty. Is there a way to revert this ...

Connection to Netezza performance portal

The portal installed on Centos 6, is visible in the browser at the IP address or hostname in the network (A). But the Netezza is installed in a completely different network(B). How can I now connect ...

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 ...

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: ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

Cent OS 6 restarts immediately after booting

I have a server with CentOs 6 which restarts in loop. It loads all modules correctly, then login prompt appears and then it immediately starts umount ing drives and goes to restart. Does anyone ...

How to start java application on boot

I have a server with Centos 6. I've installed an configured everything so my server application runs smoothly, however if there is any unexpected reboots I have to manually start an SSH session and ...

Dovecot spurious authentication failures when both PAM and passwd-file enabled

I have a Dovecot (dovecot-2.0.9-22.el6.x86_64) server on Centos 6 that has some local users and some virtual users. To handle this I have both PAM and passwd-file authentication: The complete config ...

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 ...

Fail2Ban on Centos is blocking connections from Cygwin and WinSCP

I got over 3k failed login attempts yesterday morning which was the most ive ever seen. I did some research and Fail2Ban seems to be a good step to stopping this. I have installed it and it seems to ...

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 ...

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 fix SOA error: Could not find reverse address for IP

I have just got to administer a Linux server (CentOS 6.8), where there are a handful of websites hosted. There sometimes (very rare) is a problem of requesting one of the sites, let's say example.fi. ...

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 ...

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 ...

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 ...

Centos 6 - Multiple ISCSI Initiator Nodes

We recently purchased a second iscsi target, and I am trying to have them both mounted on one of our hosts. Each would be mounted to different directories. Is it possible to do something like this: /...

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 ...

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 ...

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:...

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) ...
Translating... 0%