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
46 views

Application outside document root in Apache/CentOS

I have a PHP application running in Apache on CentOS 6. The document root is pointed to a specific app folder: /var/www/my-project/app I'm trying to get phpMyAdmin running on the same server but I ...
2
votes
0answers
123 views

cloud-init does not grow the partition nor the filesystem

I am currenty preparing OpenStack-ready images of CentOS 7 and Ubuntu 14.04. For the "automation" I use packer, which is provided by you with a json-template. Packer then starts the installation ...
1
vote
1answer
94 views

Unable to connect remotely to Vsftpd server set up on CentOS VirtualBox

I have set up a Vsftp server using the following instructions provided Here and even went as far as following the commentary at the bottom. But I am unable to connect remotely. When I attempt to use ...
1
vote
2answers
92 views

CentOS 6 - Kernel 3 from CentOS 7 Repo?

i want to run kernel 3 on centos 6. I found out, that it cant get installed over yum and i would need to compile it by my own. My question: Could i use the centos 7 repo to install kernel 3.x from ...
0
votes
2answers
295 views

How to install mcrypt in dual PHP version CentOS 6?

I have two parallel versions of PHP installed on CentOS 6.5 via this method [root@host ~]# php -i | grep "PHP Version" PHP Version => 5.3.3 [root@host ~]# /opt/rh/php54/root/usr/bin/php -i | grep ...
0
votes
1answer
53 views

yum update rpm packages installed manually

I needed to install the libxml 2.7 package and for this i uninstalled yum (yum have dependencies on libxml), is there any way I can make the pass to work with yum rpm packages installed previously? I ...
-1
votes
1answer
116 views

Memory Ram too high in HTTPD processes

I management two dedicated servers. I use Centos 6 with Plesk Panel. Update: I use Apache with mod_php. On the first server I have a site in Wordpress. I have noticed that my httpd processes take ...
0
votes
1answer
576 views

Install mcrypt for php54 on centos 6.5

I'm completely new to VPS and am trying to install php54 on a centos6.5 server. I've updgraded the php version to 5.4 which appears to work. Currently using php5.4.31 However I now need to install ...
-2
votes
1answer
57 views

Crontab not working to send email [closed]

I have CentOs 6.5 running on a VPS Host. I installed crontab and email using the below commands yum install vixie-cron service start crond chkconfig crond --levels 235 on yum install sendmail ...
0
votes
1answer
37 views

Update power dns from EPEL repo

I'm using EPEL repo on Centos 6. If I start update for power dns with mysql backend - so please - must I update mysql schema manually, or YUM will do this self? Thank youů
1
vote
1answer
70 views

disabling webtatic repo spitting back errors on centos

I installed the "webtatic" repo for PHP and it's caused nothing but trouble. When I try to run yum --disablerepo=webtatic distro-sync it returns this: Transaction Check Error: file ...
0
votes
1answer
163 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
128 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
67 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
743 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
44 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
3answers
318 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
112 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
60 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: ...
1
vote
2answers
126 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
332 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
84 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
822 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 ...
27
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
421 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
48 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
184 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
29 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
66 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
74 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
36 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
46 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
40 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
72 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
388 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
38 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.
0
votes
0answers
19 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 ...
0
votes
0answers
23 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
62 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 ...
-3
votes
3answers
70 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
43 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
61 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
1k 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
190 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
31 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
105 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 ...
2
votes
1answer
176 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
345 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
49 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
443 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 ...