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

1
vote
0answers
50 views

Using my IPs on OVH server via GRE

I can't route my IPs into a OVH server, can you help me to find the problem? Mikrotik GRE IP: 192.168.55.10 OVH Server GRE IP: 192.168.55.20 GRE iface name: ali1_fr1-ovz1 IP to route from Mikrotik to ...
1
vote
1answer
75 views

nginx always gives 500 error for JS file after I change it

I'm running nginx on a local CentOS 6.3 server. I have a particular javascript file that loads in a webpage. If I change the javascript file, and refresh the webpage, I always get a 500 error. Then ...
0
votes
0answers
269 views

What is the best way to backup and restore a CentOS 7 server, using rsnapshot?

I recently made a backup of a CentOS 7 server using rsnapshot - version 1.3.1 and rsync -version 3.0.9 I made a few changes to the rsnapshot.conf file, which are listed below. I uncommented the ...
1
vote
1answer
38 views

Postfix from address changed, mail being bounced

I have an Apache server which has been happily sending emails for the past few years - earlier this week the from address on all emails sent by postifx has changed and, as a result, 99% of messages ...
1
vote
1answer
66 views

SELinux preventing Apache from writing to a file

SELinux is preventing the apache user from writing to a log file which it owns. When I do setenforce 0 it works. Otherwise it shows this error IOError: [Errno 13] Permission denied: ...
0
votes
0answers
10 views

service openpanel start outputs loading modules failed

When I run: service openpanel-core start I get: writing RSA key [....] Starting Openpanel core daemon: openpanel-core Error loading modules failed! Any thoughts on how this could be solved? I only ...
-1
votes
1answer
38 views

How to use Exim/Sendmail to stop sending email and log it that arrived via a certain SMTP server?

I have multiple accounts on this cpanel box. if someone sends an email to one of the specific cpanel accounts, e.g. smtp.some-cpanel-account.com, then it must rather be blocked and logged to file. Is ...
1
vote
2answers
896 views

Centos 7 save iptables settings

Problem: iptables resets to default settings after server reboot. I'm trying to set rule like this: iptables -I INPUT -p tcp --dport 3000 -j ACCEPT after that I do: service iptables save and it ...
0
votes
2answers
115 views

drbd service not startable / WFConnection

I recently migrated my drbd setup from Ubutnu to centos 7 and i get a wierd error: i can load and unload the module normally, and the whole thing seems to work #>modprobe drbd #>lsmod | grep ...
0
votes
1answer
86 views

CentOS: DHCP Server and DHCP relay on same machine

eth0 IP: 192.168.1.100 Alias interface eth0:dhcp IP: 10.10.1.100 dhcpd.conf: authoritative; local-address 10.10.1.100; subnet 10.10.1.0 netmask 255.255.255.0 { range 10.10.1.10 10.10.1.50; ...
0
votes
0answers
21 views

zend guard - Cannot run code from this file in conjunction with encoded files

I have problem. After upgrade PHP from 5.3.3 (base centos repo) to 5.3.29 (IUS repo). Some websites was down (no data returned). So i try disable load .so Zend Guard. All is ok, but I need have load ...
0
votes
0answers
67 views

How do I increase the curr_connections limit using memcache?

I am using a server with Centos 6.5 64 bits Kernel 2.6.32 and 64 GB RAM and 12 threads cores, and I cannot get increase the current connections used in memcache. This is my STATS output: # echo ...
0
votes
0answers
46 views

Meaning of “scope link” when adding default route via different subnet

I've noticed different behavior when using or not using "0.0.0.0" as the gateway for host routes (and trying to understand that). I'm using CentOS 6.5 and attempt to add a default route via a host ...
0
votes
1answer
298 views

How can you install puppet on CentOS 7

CentOS 7 comes with ruby 2.0.0.353-20.el7. I'm trying to install puppet there, and running into errors. First I run: rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm rpm -ivh ...
0
votes
0answers
117 views

Samba server on CentOS sees shared directories, but no files visible

I have a very basic samba share for a development environment. There is a directory /var/www/ owned by www:www. All subdirectories are also owned by www:www. All users are members of the www group. ...
1
vote
1answer
59 views

VM with 2 network cards

I have a VM with 2 network interfaces which is running CentOS. One connects to a private network (192.168.6.x) and another to our company wide network. When I try to ssh the private address from a ...
3
votes
1answer
64 views

Centos 5 - Using official repository to upgrade manually installed Puppet server

I have Puppet server version 2.6.4 that was manually installed using RPM packages directly (instead of using Yum to fetch packages from a repository). Now I want to upgrade it to the latest version ...
0
votes
0answers
52 views

Analyzing PHP Scripts to Identify Source of Intermittent Website Performance Issue

My site has been getting some hits on performance as of recently. About half the time, my site will run smoothly, while at other times it loads ridiculously slow. My server is running on CentOS 5. I ...
0
votes
0answers
84 views

Yum update coreutils failed

I got error update coreutils. Here is console log root@server70 [~]# yum update coreutils Loaded plugins: fastestmirror, refresh-packagekit, rhnplugin Loading mirror speeds from cached hostfile ...
1
vote
0answers
116 views

Weird Phusion+nginx spawning delay error

We are trying to migrate an application written on REE from cloud provider A to cloud provider B. The application code, VM specs and operating systems are the same. The basic difference is that cloud ...
0
votes
1answer
81 views

Directory deleted after server reboot [closed]

I created a directory on the dev with the command mkdir /dev/hddbackup on CentOs powered server. After rebooting the server the directory is gone. I use the command ls to see it but it's not there. ...
0
votes
0answers
71 views

ProFTPd login only works in debug mode

I have a strange problem , I use mod_auth_unix in ProFTPd, when I try to connect I get the 530 Login incorrect error, even though my credentials are correct. When I switch to debug mode using the ...
-4
votes
2answers
250 views

Error MySQL CentOS - Starting MySQLCouldn't find MySQL server

I can not make any operation in mysql: root@server2 [/]# /etc/init.d/mysql status MySQL is not running, but lock file (/var/lock/subsys/mysql[FAILED] root@server2 [/]# /etc/init.d/mysql start ...
0
votes
1answer
304 views

Nagios - check_ntp_time - Offset Unknown

I have a local NTP server running on the subnet to keep other subnet nodes in sync, without every node syncing with upstream servers. But, while implementing the check_ntp_time plugin for Nagios I am ...
1
vote
1answer
55 views

chroot 64 bit -> 32 bit = 'command not found'

Very obviously 32 bit cannot chroot to 64 bit but I am confident that I have successfully chrooted from 64 bit to 32 bit using Gentoo but when I [root@localhost ~]# mount /dev/vg_atom1/lv_root ...
3
votes
1answer
82 views

PAM Faulty Module

After updating PAM secure log started showing: su: PAM unable to dlopen(/lib64/security/pam_rootok.so): /lib64/security/pam_rootok.so: undefined symbol: selinux_check_access su: PAM adding faulty ...
0
votes
0answers
19 views

Local DHCP to setting up Nimbus cloud networking

I'm currently trying to install the Nimbus cloud in two machines (centOS 6) test environment inside the department/university network. The problem is that I can't install directly a DHCP server and ...
2
votes
0answers
74 views

How to setup multiple OpenVPN connections on a server for a single localhost app to use on CentOS 6.5?

I have a scenario where I need to run several OpenVPN connections at one time and to allow a singular application to access each of these connections. How wold I go about starting up several ...
-3
votes
1answer
43 views

Sites not accessible after running permission fix, possible DNS error?

I have a problem with my current VPS server running CentOS 6 and is managed with WHM and cPanel. All my websites were being created from WHM and are located in the /home directory (ownership: ...
0
votes
1answer
20 views

Can't build crc32c(a nodejs package)

It's not really nodejs related. It's a C implementation. Firstly, while building, it exits with error: "warning: linux/if_alg.h: No such file or directory". Then I run yum install ...
0
votes
0answers
31 views

CENTOS Apache: non-www alias not resolving when CGI executes

I'm setting up my first ever dedicated server, and copying over site files (mostly HTML code from a discussion board product) from another site to this new one. My issue is when I click on some links ...
5
votes
3answers
313 views

nginx - Load Balancer - Considerable lag when upstream node is offline/down

Running nginx 1.0.15 on CentOS 6.5. I have three upstream servers and everything works fine, however when I simulate an outage, and take one of the upstream servers down, I notice considerable lag in ...
0
votes
1answer
37 views

Deal with brute force ftp attack [duplicate]

While Checking the /var/log/secure on my centos server have found lot of attempts of failed login by using unknown usernames, from a list of ip from Japan And China How to hide my server from these ...
0
votes
2answers
28 views

Access logs of sftp on centos

Is it possible to log the sftp logged in informations (Who accessed, when and from where ) Like which sftp user have logged on to the file server , This may also contain information such as ip ...
-1
votes
1answer
60 views

503 errors on Apache+Mod_wsgi+Django

I'm new to Python and trying to setup Django on my VPS that is running CentoOS 6.5. My Apache version is 2.2.15. Python is running on version 2.7. I created a virtualenv under ...
0
votes
1answer
188 views

Upgrade PHP-mysql Lib Centos 6 [duplicate]

I just delete all php and mysql and installed it again. but in PHPMyadmin i still get: Your PHP MySQL library version 5.1.69 differs from your MySQL server version 5.5.39. This may cause ...
0
votes
0answers
80 views

process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(53573) exit(lifetime expired), get unexpected signal 6

after a plesk update i see the following errors in my logfiles and cant find out what the issue is.. can someone help me? i use OS: CentOS 6.5 (Final) and Plesk version: 12.0.18 Update #14 , [Wed ...
1
vote
1answer
40 views

How to forward a port to multiple internal ips

I have a Centos 6 64 bit server with OpenVPN installed. I'm using this iptables rule to forward a port for an OpenVPN user: iptables -t nat -A PREROUTING -p tcp -m tcp --dport PORT -j DNAT ...
0
votes
2answers
178 views

Centos Your PHP MySQL library version 1.5.73 differs from your MySQL server version 5.5.39 [duplicate]

I have recently updated my PHP version to 5.4 and my mysql version to 5.5 [root@**** ~]# php -v PHP 5.4.31 (cli) (built: Jul 25 2014 07:41:53) Copyright (c) 1997-2014 The PHP Group Zend Engine ...
3
votes
3answers
115 views

Evaluating uncorrectable ECC errors and fallback methods

I run a server which has just experienced an error I've not encountered before. It emitted a few beeps, rebooted, and got stuck at the startup screen (the part where the bios shows its logo and begins ...
0
votes
2answers
27 views

Apache: Can I disallow access to a dir except when via a vhost?

If we assume I have a server called machinename.ip which resolves http://machinename.ip to default root (/var/www/html), and resolves http://www.example.com via vhosts file www.example.com to ...
0
votes
1answer
103 views

Centos mysql version is 5.5 however PHPmyadmin still says version 5.1

When i run the following in my console: [root@****~]# mysql -u root -p -e 'SELECT VERSION();' Enter password: +-----------+ | VERSION() | +-----------+ | 5.5.39 | +-----------+ Which should be ...
0
votes
1answer
334 views

mysql “no packages marked for update” in Centos

From the following guide i have been trying to update mysql on my Centos server: http://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/updating-yum-repo.html My current mysql version is: ...
0
votes
1answer
43 views

How to monitor and get notify which VPS within one node is sending mass emails?

How to monitor and get notify which VPS within one node is sending mass emails (spam) ? Actually I have several nodes with CentoS OS and KVM VPS clients, some of them are sending bulk emails and ...
0
votes
0answers
41 views

“Unstable” NFS mount point

I've posted that on StackOverflow and I've been advised to move it here. Sorry for that. First of all, this is the first time I'm posting a question on ServerFault, so please don't kill me if I've ...
1
vote
1answer
192 views

CentOS 5 : error in installing php-imap

can someone please help me with this CentOS 5 question? I am trying to install php-imap, i tried yum install php-imap but I am getting the following output: Loaded plugins: fastestmirror, ...
0
votes
1answer
133 views

Can not connect mongoDB remotely on centos [closed]

Previously I've installed mongodb 2.6 on Debian. After installation I could connect to MongoDB remotely but when I've tried that on Centos, I just able to connect mongodb locally using this commend: ...
1
vote
1answer
65 views

Handling expected supervisord exit codes

I am using supervisord inside a Docker container to manage my running processes and would like to also use it to trigger certain commands - run them once and expect them to exit with 0. Here's one ...
-2
votes
1answer
252 views

Centos 5.5 [Read-only file system] issue after rebooting [closed]

I have a virtual server under centos 5.5 (hosted by a japanese company called sakura ) Since yesterday, connection through ssh couldn't be established. I've contacted support center who told me to ...
2
votes
1answer
141 views

All commands stopped working in centos 6.5

I have made a big mistake while removing some duplicate packages as it appears to be broken. yum 1036 rpm -e --nodeps glibc-2.12-1.132.el6_5.2.x86_64 1037 rpm -e --nodeps ...