CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

0
votes
1answer
52 views

defer (111): Connection refused when trying to send mail

I am getting desperate for answers. The problem is simple, some email messages are getting stuck in our queue and hitting their retry limits, which ultimately end up in a never end deliverable bounce ...
0
votes
2answers
39 views

yum install php-devel amongst other commands returning problems

I run yum install php-devel and it returns this. Typically I'd just run it with --skip-broken, but when I do, it still doesn't do the trick. Available: php-common-5.3.3-22.el6.x86_64 ...
-2
votes
2answers
53 views

Centos Server Recently slowed down significantly

I have Dedicated Server on 1and1 with RAM - 16 GB HD 1000GB CPU: Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz, 4 cores Centos 6 Apache/2.2.15 PHP 5.3.3 Mysql I have a video sharing website (on ...
2
votes
3answers
107 views

Can't install nginx using epel repo on Centos 7 (64bit)

I've just built a 64 bit Centos server and I'm trying to install NGINX on it. Using the epel 7 (beta) repo I get the following error when trying to install: Loaded plugins: fastestmirror Loading ...
-1
votes
1answer
25 views

sendmail not working on ubuntu

Our websites aren't sending automated emails because the php_mail() functions does not work and it appears to be because sendmail wont work. I have tried using various command lines but no email ...
0
votes
2answers
56 views

Best way to gracefully restart CentOS?

I always used the command: shutdown -r now However, sometimes that causes MySQL issues. What's the most graceful way to restart CentOS? I've seen: reboot and halt How can I gently reboot ...
1
vote
2answers
45 views

Traffic increase causes VPS to crash due to RAM utilisation

I have a VPS which runs multiple Opencart sites and for the most part performs the task very well. Spec: CPU GenuineIntel, Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz Version Parallels Plesk Panel ...
0
votes
1answer
25 views

Maria db rpm Installation Error

I am getting below error while trying to install Maria DB on centos [root@server1 MariaDB]# rpm -i MariaDB-5.5.30-centos6-x86_64-common.rpm warning: ...
0
votes
0answers
25 views

Setup PHP from source and mod_fgcid on CentOS 6, getting permission denied [migrated]

I have compiled PHP from source and installed it to /opt/php/5.5.15/ I have also installed (with yum) httpd, and mod_fcgid. I am trying to configure a virtual host to exec php like this: ...
1
vote
2answers
44 views

How to properly use kexec with systemd on CentOS 7?

I want to use kexec to speed up reboots of my CentOS 7 machine. How can I do that in a way that nicely integrates with existing shutdown/reboot systemd targets? What's the proper (official) way to do ...
2
votes
1answer
94 views

Poor network performance with KVM (virtio drivers) - Update: with vhost_net

I've set up several KVM based networks before, and never encountered this issue, can't for the life of me think what I'd have set up differently previously. Setup Basically, Ive got and entirely ...
1
vote
1answer
33 views

PostgreSQL failed to start, pg_log shows nothing, what to do?

I've just setup PostgreSQL (9.3) as a replication to another server. When I started it with service postgresql-9.3 start, it reported [FAILED] without any further explanation. I don't see any thing ...
1
vote
2answers
164 views

CentOS 6 Yum update issue

I get this error when I try and run 'yum-complete-transaction' in shell: [root@namesvr ~]# yum-complete-transaction Loaded plugins: fastestmirror mirror speeds from cached hostfile Loading mirror ...
25
votes
8answers
3k views

Deploying new code live

What's the best practise to deploy new code on a live (e-commerce) site? For now I have stopped apache for +/- 10 seconds when renaming directory public_html_new to public_html and old to ...
0
votes
1answer
48 views

How to setup reverse DNS record (PTR) with Webmin?

Sorry, my knowledge in IT is very limited so please kindly forgive me if this is a stupid question. I have a very simple Centos VPS with Webmin installed on mysite.com with IP 123.456.789.5 ...
1
vote
2answers
39 views

CentOS 5.4, 3 nic-s

I need your help for the following problem: I have a CentOS server with 3 nics: eth0: IP ADDRESS=192.168.4.102 /24 GW = 192.168.4.1 eth1: IP ADDRESS=192.168.2.101 /24 GW = ...
1
vote
0answers
27 views

lxc command always “get error 4 in libc-2.12.so”

I've tried several time to find out why suddenly my LXC not working, I use dmesg | tail it shows: lxc-start[2777]: segfault at fffffffffffffffc ip 000000390347b82c sp 00007fffd9046c18 error 4 in ...
-1
votes
1answer
17 views

command not foundbles-config error on service firewall restart

This is a follow-up question after I fixed my initial problems: I have a CENTOS Linux VPS. I have the following in my IPTABLES script to run when my VPN restarts, but I get errors when I do a service ...
1
vote
1answer
32 views

IPTABLES command that end with ACCEPT or DROP fail on service firewall restart

I have a CENTOS Linux VPS. I have the following in my IPTABLES script to run when my VPN restarts, but I get errors when I do a service firewall restart I've ran each of the commands below manually ...
-1
votes
1answer
35 views

How to access a system with write permission after file system check fails?

I created three new partitions, but after a reboot, the system is being dropped to a shell: /dev/mapper/group-newpartition: clean, 11/655360 files, 276620/2621440 blocks [FAILED] An error occurred ...
0
votes
0answers
18 views

vnstat service not showing status

When I run service vnstat status No result is returned. Usually one of the following three results would come up. But I got nothing when checking the service status. vnstat (pid 94330) is ...
1
vote
1answer
27 views

Create yum variable, that is the result of a command?

To clarify, I am looking on how to store a yum variable as the RESULT of a command. The command I use to get the OS version is irrelevant to me, I'm sure there are better ways of getting it than what ...
0
votes
2answers
25 views

Moving folder of files from CentOS server to Ubuntu Server

I have a production server and a development server. Problem is the development server only has 20GB diskspace and about 8GB available. The folder of files I'm trying to move is 6GB(ish). I've ...
0
votes
1answer
55 views

Postfix acting as spam server. Looks like it's part of a botnet, spam messages being sent to customers [duplicate]

Let me first start out by saying I am no mail guru. If you need more info to help me just let me know. This week the mail server has been having all sorts of strange issues. It has been duplicating ...
-1
votes
2answers
147 views

Use postfix and spamassassin packages on CentOS 6 to reject SPAM - without custom users and scripts

Here is what I'm trying at my CentOS 6.5 Linux server: Installed postfix and spamassassin packages Configured Postfix - it works well (I omit details here) Added -x to the SPAMDOPTIONS in ...
1
vote
0answers
27 views

Virtuall Manager : CentOS Guest Install Garbled Text

I'm trying to install CentOS 6.5 with virtual manager but the menu is garbled. Host machine is running on Debian Wheezy. Thank you in advance.
-1
votes
0answers
24 views

Nginx stopping and no logging about it

Nginx service suddenly stops and no there's no logging about it ... Even in /var/log/nginx/, ou /var/log/lastlog ou /var/log/messages ... If I run service nginx status it shows me: # service nginx ...
-1
votes
0answers
40 views

iptables service won't start error line 1 fail - centOS 6.5

I can't seem to get my iptables to setup quite right. It seems to keep erroring out at line 1 on the service start. service iptables start iptables: Applying firewall rules: iptables-restore: line 1 ...
0
votes
0answers
15 views

Properly configuring lm_sensors

I am using Observium as my monitoring device. I have installed lm_sensors and this is my sensors.conf file: cat /etc/sensors.conf label temp1 "temp-System" label temp2 "temp-CPU" label temp3 ...
-3
votes
0answers
28 views

Relay access denied 554 5.7.1

I have migrated some of my users mail box to Office 365 recently. I currently have hybrid which consists of Exchange 2010 and Office 365 E3. when I want to send email from users who are in Office 365 ...
0
votes
0answers
11 views

OSSEC won't start, Error: queue not accessible

I'm trying to set up OSSEC on a CemtOS 6.5 server. This is to be installed as an agent, not a server or local instance. The package successfully installed and I created the clients.key file, but when ...
0
votes
2answers
31 views

VPS - root - shell: tweaking php to import 20mb file with phpMyAdmin

System: VPS, 1GB RAM, 1.2GHZ Access: root, shell, anything Versions: PHP 5.4.16,phpMyAdmin 4.2.7, 5.5.37 MariaDB, Apache/2.4.6 (CentOS 7) Task: Import a 20mb (300k rows, 20 columns) sql dumb into ...
-2
votes
0answers
28 views

How to install centos6 on sd card?

How to install centos6 on sd card? It shows me in installer only disks from controller, but not sd card. Server is Dell R720.
-3
votes
3answers
65 views

SSH on linux | CentOS [closed]

I have a Linux server using CentOS. I have changed the SSH config to make it a little more secure, First I changed the from from default 21 (or 22?) to 34786. This way if someone tries to hack in at ...
0
votes
0answers
28 views

Files 404 unless owned by 0:0

When I upload files to my staging server (CentOS 6.5, Apache 2.2.26) - such as images or PDFs - via FTP, or by using a file upload script I created (using Laravel 4), they 404 even though they exist. ...
2
votes
0answers
41 views

Setting up a LVS on CentOS

I have a 3 node(dedicated servers from a provider) CentOS 7.x cluster. I am trying to set up LVS using the link here. Each of my machines already has 3 extra alias IP addresses assigned to it. I want ...
-1
votes
1answer
165 views

Can't mount disk (VFS: Can't find ext4 filesystem)

Tried to mount a disk (hardware raid) but failed. #mount -t ext4 /dev/sda /data mount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other ...
1
vote
4answers
152 views

How to give developer shell access to use GIT and manage code, nothing else?

In CentOS 6.5 (SElinux off, chroot) with Webmin/Virtualmin (latest version) I want to give a developer access to SSH within /home/site so he can use only git to manage the code. I also want to give ...
0
votes
1answer
18 views

Where cURL store files in web server? [closed]

I have a centOS machine using a nginx web server. In my application (php) I use cURL to get a remote file and then send it to the view: $cache_expire = 60*60*24*365; header("Pragma: ...
0
votes
1answer
79 views

GRUB does not load OS, displays grub> prompt

I have booted my server, getting some GRUB error and I pasted the error below. Error Code:- GNU GRUB version 0.97(502k Lower/496556K upper memory) [Minimal BASH-like line editing is supported. For ...
1
vote
1answer
62 views

couchdb 1.6.0 from source - jsapi.h: present but cannot be compiled

I'm trying to install couchdb 1.6.0 from source on CentOS 6.5 (EPEL resository has a very old version unfortunately) following this guide. Everything went fine until ./configure step on couchdb - ...
3
votes
3answers
163 views

Service is not starting on Centos on boot

I have a service installed to start jasper reporting server on boot. I believe it is correctly setup. here is the startup script placed in /etc/init.d/jasperserver #!/bin/sh ### BEGIN INIT INFO # ...
0
votes
0answers
29 views

Signed NTP authentication

Using ansible, I have setup several Signed NTP servers around our network. The servers themselves are Virtual Hosts running on CentOS 6.5. I have the virtual machine guests on each host contact their ...
1
vote
1answer
93 views

Postfix on CentOS 7 cannot authenticate against cyrus saslauthd

Postfix fails to authenticate against cyrus saslauthd. However, saslauthd itself is willing to authenticate. What am I missing? From syslog mail facility: Aug 5 14:47:26 centos7-msa-test ...
0
votes
2answers
52 views

Apache web server intermittent stalls

Our SOAP web server is running in PHP on Apache on CentOS and makes heavy use of MySQL. There is heavy demand on the server - most requests are very small and involve only two or three MySQL queries, ...
0
votes
0answers
34 views

Page requesting content from another IP

I was running a drupal website on Server 01 with IP1 on the domain name example.com with the configuration centos 6 and apache. As we were having a traffic spike, we wanted a more powerful machine. ...
2
votes
0answers
30 views

Best way to secure Kickstart encrypted partition passwords

I have a CentOS 6.5 environment that boots up servers using Kickstart. One of the requirements of our Kickstart is that the partitions are encrypted. Since Anaconda can only take plain text passwords ...
0
votes
0answers
32 views

CentOS 6 VSFTPD via TLS/SSL not always connecting corectly

**I have a consistency problem with my VSFTPD server. I run CentOS 6 with the latest VSFTPD installed via yum. The problem is that I sometimes (say 50/50) get connection errors like... ERROR:> ...
0
votes
1answer
67 views

Block outgoing connections on RHEL7/CentOS7 with firewalld?

RHEL7/CentOS7 features a new firewalld firewall service, that replaces the iptables service (both of which use iptables tool to interact with kernel's Netfilter underneath). firewalld can be easily ...
0
votes
0answers
18 views

plesk 11.5 on centos - unable to set php to fastcgi

I am a complete newb to setting up servers so please be kind. I am trying to configure a VPS with a host. My aim is to install php5.4 - current setup is: centos 6 plesk 11.5 php 5.3 Reading a ...