Newest 'centos6' Questions

Q&A for system and network administrators

CentOS has failed to come back up after a kernel upgrade and reboot - stuck on “trying to load: pxelinux.cfg/default”

CentOS 6.8. I performed a yum update today that updated the kernel, and hence 500 other things. I rebooted the box a while ago and it's not come back up yet. I just logged into an IPMI session to see ...

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

Zimbra Installation Issues - HTTP code 502

Has anyone try installing the Zimbra Mail Server? I installed Zimbra in a VPS running CentOS 6. I followed this tutorial but I got the below error after trying to access the domain. HTTP ERROR 502 ...

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

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

service httpd restart / (98)Address already in use

Out of the blue, I can't restart apache on my CentOS 6.8 web server: # service httpd restart Stopping httpd: [ OK ] Starting httpd: (98)Address already in ...

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 remove missing block device from /sys (lsblk)?

I managed to miss a step when detaching some EBS from two CentOS 6 instances in AWS, and did a force detach. I did then clean up the LVM issues with dmsetup remove and some rm commands under /dev, ...

Virus in Server [duplicate]

I am facing an issue in our cloud server.Someone inject files in our server. This is the files look like: https://docs.google.com/document/d/1b4XEzReKYvcufonqUfknyi8etsakZY3LypPuXlB7S3s/edit I deleted ...

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

Limit ClamAV resources on scan or alternative solution

Environment Centos 6 Cpanel 32GB Ram 512gb SSD drive / about half used Took on managing a server and installed ClamAV. Used CRON to schedule a scan @ 1am. I notice that sites on the host stopped ...

Run sshd with protocol v1 [closed]

For test purpose I am running a Centos 6.0 and I want to connect to that box using SSH with the protocol version 1 but it says ssh1 is not supported: ssh -1 centos-box ssh1 is not supported In my /...

Fiber multipath fails: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

I am trying to copy(~7TB of data using rsync) between two server in same data center in the backend its using EMC VMAX3 After copying ~30-40GB of data multipath start failing Dec 15 01:57:53 test....

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

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

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

ioncube install centos 6 zend error

i currently have vestacp installed on a centos 6 webserver, zend is installed and i believe ioncube is installed however ioncube states that it is infact not installed. machine: Linux fellio....

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

Curl Fails Globally, work local, Traceroute works both

Running: curl subdomain.example.com from my home network brings back: curl: (7) couldn't connect to host but running that same command from the actual server brings back the source (as expected)....

Apache won't respond to requests using my domain name, only to requests directed at the server's IP

My VPS host recently suspended my service because my site was under a DDoS attack. When they brought me back online, my IP had changed. I can now only view my site by requesting it's IP http://176.126....

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

rdiff-backup bug or error? Disk quota exceeded but that is not true

I want to make a backup with rdiff-backup. I have a backup VPS and I want to get the datas from remote host. Here it is my command what I used: rdiff-backup root@**RemoteIP**::/remotesourcefolder/ ...

“Class 'XMLWriter' not found” Error in php | php55w-xml-5.5.24-1.w6.x86_64.rpm is missing

I am getting this error in PHP in server Fatal Error (E_ERROR): Class 'XMLWriter' not found . we are using Cent OS 6 After exploring some sites, we found that we need to install php55w-xml-5.5.24-1....

how to fix locale issues in centos 6

I have a centos 6 server and I am running into some locale issues. When I type the command locale, it gives locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot ...

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

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

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

Start OpenVPN on boot in CentOS 6

On cloud I have ready my OpenVPN Server... And my Client machine also configured and OpenVPN work perfect. but my problem setting up the client on boot. By running below command I'm able to connect ...

Installing VirtualBox Guest Addition CentOs6.8 [migrated]

Similar problem has been encountered many time based on my research> But I cannot find a solution. I am trying to install the VirtualBox Guest Addition (VBoxGuestAdditions_5.1.12.iso) on a CentOs6.8, ...

Setting up postfix as relay but also as smtp

I've set up a postfix server that relays email to another server, this is working fine. I managed this using the relayhost variable. example: relayhost = 192.2.123.25 This means all incoming emails ...

Requires: libc.so.6(GLIBC_2.14)(64bit) error [on hold]

I am trying to install PHP 7.1 on the server. To do that, I have to enable the php-remi7.1 repo. When I try to install I get this error: Requires: libc.so.6(GLIBC_2.15)(64bit) However, there's no ...

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

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

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

NFS server not serving share after reboot

I have two Linode containers. Box A is our general purpose web server. It occasionally needs to access Box B, which is set up as an NFS server. When Box B reboots, Box A is unable to access any NFS ...

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

PECL install imagick using wrong php version

I'm running a server on centos 6.8, and running a magento 2 site on this. The default version of php is 5.3.3, however the site itself is running on 5.6.5. The latest upgrade to magento2 requires the ...

Wget and Curl failure with resolve certain domain [closed]

My Server is CENTOS 6.8 i686 virtuozzo with Cpanel I have problem resolving certain domains using wget / curl / traceroute when i use wget i get wget https://www.alexbank.com/ABOUTUS/OurBank --...

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

Little clarification regarding expire_logs_days on Mysql

I just need an information / best practice regarding a replication of two databases mysql : MASTER: CentOS 6.7 mysql-server-5.1.73-5 Slave: CentOS 6.6 mysql-server-5.1.73-7 I set up a ...

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

Sendmail forward ~/.forward: Group writable directory

While tracking down some mail issues I noticed that RHEL 6 sendmail is quite consistently logging messages: Dec 3 14:51:03 mymailhost sendmail[21291]: uB3Dp2jm021289: forward /home/herman/.forward....

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

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

CentOS 6.7 Error Configuring Non Routable Static IP in Home Office Environment [migrated]

I have a virtual machine running CentOS 6.7 under VMware Workstation. When it boots, or whenever I do a sudo service network restart I get the follwing error: SIOCADDRT: Network is unreachable I'...

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

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

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

Install Os on remote server [closed]

I just purchased vps. As per my requirement, I need Centos 6 but they are providing Centos 7. So, is there any way by which I can install Centos 6 on remote server ?

Deleted /var/lib/sss/db/config.ldb by mistake

I deleted /var/lib/sss/db/config.ldb by mistake. Now when I try to start SSSD, I get the following errors: (Wed Nov 23 11:40:36:059914 2016) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/...
Translating... 0%