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

-2
votes
0answers
8 views

How can I block torrent traffic on a centos 5 server which is used as a openvpn server? [duplicate]

How can I block torrent traffic on a Centos 5 server which is used as a openvpn server? I run a small commercial VPN and keep having issues with DCMA notices, and I wish to block torrents as we do not ...
-4
votes
0answers
18 views

How to recover deleted files from ext4 partition? [on hold]

I deleted some files with rm in an ext4 partition, and now I need them back. First I used Undelete, but no effect. Then I found giis and installed it, but when I tried to recover files, I got an ...
-1
votes
1answer
16 views

Is it advisable to put a /home in readonly mode when doing server transfer?

I am planning to move a lot Cpanel accounts to another server. Is it advisable to put a /home in read only mode to prevent users from making changes to their account while the migration is on going?
0
votes
2answers
16 views

fail2ban with static IP

Is there any point to running fail2ban to protect your SSH connection if you connect from a static IP? As far as I can see having fail2ban running means that you effectively open up port 22 to ...
0
votes
0answers
6 views

nslcd fails to connect to ldap server

Hey guys I searched a bit on stackexchange but could find help for my problem. I'm trying to integrating LDAP authentication on a centos 7 client, but I can't get it working, and I can't find out ...
0
votes
1answer
17 views

Postfix master.cf file modified by unknown at startup on Plesk / CentOS system

I manage a VPS with a custom configuration in the Postfix master.cf file (link to my blog explaining the trick) that allows me to associate unique SSL certificates to each domain/IP for smtp and ...
-1
votes
0answers
15 views

How to remove Mirror HDD RAID1 [on hold]

Sorry for asking such stupid kind of question but i am not expert but really i want to solve it I am not expert on linux system and server's configuration I purchase OVH Dedicated server that have ...
-4
votes
1answer
14 views

setting up LDAP authentication on Centos 7

Okay I have a simple straight forward question. I have searched the internet in 2 months straight now, without finding any solution. The question is this: how do I set up LDAP authentication on a ...
-1
votes
1answer
38 views

How to stop server sending spam out. Centos server with exim [duplicate]

I'm looking at a server that appears to have been compromised via a bug in a wordpress plugin and is now sending spam out. This post seems to give a very good report of exactly what I'm seeing. ...
0
votes
1answer
14 views

Running (and monitoring) nginx with supervisord

I will start with my use case, since I very well may not be using the correct tools for this job. Please let me know if I am going about this all the wrong way use case: I have a CentOS server ...
0
votes
0answers
50 views

Centos SSH connection on non-standard port

I connect to my Centos server using SSH on port 22. I also have fail2ban blocking invalid login attempts on port 22. For security reasons I am switching to another port WXYZ and have made the usual ...
-3
votes
0answers
21 views

Nginx not working on first visit [on hold]

I currently have a CentOS 6.6 server with Nginx + Varnish (+ PHP-FPM 6.6) on it and tested all as succesfully running and working, except for Nginx which keeps acting up. The problem with Nginx ...
-2
votes
1answer
16 views

Plesk 12 is not creating a conf directory with each subscription

I recently purchased a VPS from 1and1, and I have it set up with CentOS 6 and Parallels Plesk 12. I'm familiar with this setup, but not with Plesk 12. For some reason, whenever I create a new new ...
1
vote
0answers
15 views

Installing MariaDB + Galera via yum fails with “No package MariaDB-Galera-server available”

I'm spun up a brand new Cento OS 7 virtual machine and I'm following this tutorial to install a MariaDB + Galera cluster. I've added the MariaDB repos as follows: vi /etc/yum.repos.d/MariaDB.repo ...
3
votes
3answers
41 views

Add a Message to be Displayed During Shutdown of CentOS 6 and 7

When issuing a reboot or shutdown I see: [kbrandt@ny-kbrandt01: ~] sudo reboot [sudo] password for kbrandt: Broadcast message from kbrandt@ny-kbrandt01.ds.stackexchange.com (/dev/pts/3) at 14:50 ...
0
votes
0answers
17 views

RED5 Installation Error

I am getting following Error, when I am trying to install RED5 on the Centos server, I am very Thankful, If someone can figure it out the cause.. I had followed the step for installing RED5 as on ...
3
votes
1answer
229 views

Excessive number of sleeping processes in CentOS - howto diagnose?

I have a a large number of sleeping processes, about 600, the majority of which are Apache processes. Should I kill all these sleeping processes, or will that make Apache fail completely? Why are ...
0
votes
1answer
27 views

ldapsearch returns result, but getent does not

I am setting up a fresh CentOS 7 server to and need to setup LDAP authentication i.e. there already exists a server that authenticates users, which we use for other GNU/Linux servers. For instance, ...
0
votes
0answers
17 views

Centos and Strongswan

I'm trying to implement a strongswan solution for a site to site tunnel between me and a third party vendor. My tunnel establishes fine between myself and the vendor however I am wondering if this is ...
0
votes
2answers
27 views

Require help of finding issue with DNS, NAT or NS [on hold]

Before giving you the problem let me try to explain the network - Server is directory connected to a physical firewall and internet service is coming to firewall. Firewall has a static IP and from ...
-1
votes
0answers
17 views

wget stops downloading: Cannot write to `-' (success) [on hold]

Please have in mind that I don't know anything about servers, nor any of its vocabulary, I am a simple web coder, trying to figure my way on the universe! I'm trying to link dropbox on my server, I am ...
0
votes
1answer
13 views

How to deny connections to xl2tp without ipsec encryption?

I try to setup l2tp+ipsec server for my mobile use and my home router use. So I made some setup and checked it works fine from android device. I see encryption on ipsec --status. My system is CentOS ...
1
vote
1answer
53 views

How to correct Dovecot user login to use full domain email in this format “myuser@mydomain.com” [duplicate]

I have configured dovecot and postfix...Email server works fine.. (Webmail and outlook both works..) I have created users using unix command .. usreadd -s /sbin/nologin myuser But i have a ...
0
votes
2answers
41 views

How do I configure PostFix to allow phpmailer to send out email through it?

I have setup postfix on CentOS and trying to configure phpmailer with smtp authentication. Phpmailer will only work if i put 0.0.0.0/0 under mynetworks in postfix main.conf mynetworks = 127.0.0.0/8, ...
-1
votes
0answers
23 views

Connection failed to MySQL server? [on hold]

My website runs on a cPanel server that I have root access to. About once every 2-3 hours I get an error message saying that the website can't connect to my MySQL database. The website and database ...
-2
votes
1answer
38 views

How to automate a java service to start if server restarts

I normally run my java service on centOS box using nohup like below: nohup java -jar myapp-0.0.1-SNAPSHOT.jar server my-configure.yml > outfile & However, if the server restarts the service ...
-1
votes
0answers
16 views

Random connection reset?

I'm using an Apache server on CentOS 5, and frequently, on the first try to connect to the website, it will give a "Connection was Reset" screen. But after refreshing it, the page will load as fast as ...
-2
votes
1answer
43 views

How to open port with iptables [on hold]

I wanted to open port in centos and after executing openning port commands, the iptables caontents is like below: # Generated by iptables-save v1.3.5 on Thu Nov 20 17:09:28 2014 *filter :INPUT ...
-2
votes
1answer
38 views

Bitcoind fails to start on Centos 5.8

When I try to start bitcoind on Centos 5.8 I immediately receive the following error: bitcoind: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by bitcoind) bitcoind: ...
-2
votes
2answers
24 views

Apache unable to write on 2777 folder [duplicate]

I am using smarty template system on my website. When it tries to cache some data, a fatal error occurs: Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/cache/frontend'. Be ...
-2
votes
2answers
50 views

Permissions issue with Centos [on hold]

I've got a problem with folder permissions on CentOS. I have a folder called website, which was created by the root user via ssh, with setting 775 permissions. Now, I have a second account, called ...
-1
votes
1answer
24 views

centos6 / apache2.2 / mod_deflate: Not working

I have a server with Centos6, Apache2.2, mod_deflate, mod_filter etc enabled.. But I dont see any compression. I have tried all combinations of filter and mod commands that is on the internet for ...
0
votes
1answer
77 views

NSLCD only connects to LDAP server in debug mode

Hey guys I searched a bit on stackexchange but could find help for my problem. I'm trying to integrating LDAP authentication on a centos 7 client, but I can't get it working, and I can't find out ...
1
vote
3answers
81 views

nginx failed (13: Permission denied) uwsgi (502 bad gateway)

I am having trouble running my application on a new DigitalOcean droplet. The machine runs CentOS 6.5 My /etc/nginx/nginx.conf user nginx www-data; worker_processes 1; error_log ...
0
votes
1answer
26 views

KVM Isolated network between host and guest fails after few hours

I have a KVM CentOS host with several CentOS guests. All of the guests are using a bridge for network communication. The guests have been up and operational for several months and work properly. The ...
-1
votes
3answers
149 views

apache Proxy 4 seconds connection delay

I have a big data site (wordpress secondry develop) one domain www.example.com. I have stored it into 3 server. In DNS setteing IP address (IN A / AAAA) 46.192.22.01 IP address (IN A / AAAA) ...
2
votes
0answers
46 views

Cannot SSH from Production Server to Backup Server until Restart SSH on Backup Server

We have a hosted dedicated server running CentOS 6.5 that is the production server for our website. I have a local server that has been repurposed as a backup server also with CentOS 6.5 and is here ...
1
vote
2answers
48 views

Make CentOS 7.x a port forwarding NAT device

I would like to make CentOS a port forwarding NAT machine using iptables. This is the first time I've tried this and I think i might need a little help. This is the configuration i'm trying to ...
0
votes
1answer
19 views

Unblock All Ports in CSF? [closed]

I have CSF installed on a cPanel server and know that I believe that I can unblock ports specifically for outgoing connections in the /etc/csf/csf.conf file. It looks like this line can just be ...
-2
votes
0answers
44 views

httpd service restarting automatically on centos [closed]

I have a CentOS server (@ godaddy) and I have disabled the httpd with chkconfig httpd off enabled tomcat as a service But after some random time running (several days) the Tomcat service stops and ...
-1
votes
0answers
13 views

freshclam.log cron giving error [closed]

I'm using vestacp control panel on centos 6.5 VPS. I'm getting the error below every day and when I try to start clamd it doesnt start /etc/cron.daily/freshclam: ERROR: Problem with internal logger ...
0
votes
1answer
77 views

Centos/directadmin Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I get the following error on my CentOS VM with DirectAdmin. What I already tried: ...
-1
votes
0answers
39 views

Postfix 25 no route to host [on hold]

I can't configure my postfix. My ISP didn't block 25 port, but in /var/log/maillog I receive this output: Nov 18 21:58:47 hostname postfix/smtp[21530]: connect to ...
0
votes
1answer
23 views

CentOS how to delete files in |MOUNT_POINT| [closed]

When I was looking for big files that were using a lot of space on my CentOS VM, I noticed the following: /home/|MOUNT_POINT|/backup/11-17-14/custom/home/user1.tar.gz ...
0
votes
1answer
36 views

What does the status column mean when I run yum repolist

I'm trying to update my PHP version, using the webtatic repo. I've successfully done it (using the exact steps in the link) above on a test VM server running on my machine at home, but when I try and ...
1
vote
0answers
22 views

httpd not starting because /run/httpd is missing

httpd fails to start on one of my servers running centos 7 because /run/httpd is missing, which means httpd can't create /run/httpd/httpd.pid and thus fails to start. My question is, why is ...
-2
votes
2answers
47 views

How to uninstall nginx on CentOS7 [on hold]

I installed Nginx from src myself using this guide and now, I would like to get rid of it. But it seems there is nothing to do, aside from wiping out the src in usr/local/src I did yum list installed ...
1
vote
2answers
51 views

How to override the hostname that DHCP configures on a CentOS7 box in AWS? [duplicate]

The title nearly says it all. I have a VM in EC2 running CentOS 7. It uses DHCP, which seems to be a EC2 requirement. DHCP keeps overwriting the hostname on reboot, no matter what I try. I won't ...
0
votes
2answers
50 views

CentOS, How to allow SSH through only one server-ip [closed]

I currently have a dedicated server with two pv4 IP addresses assigned to it. I want to make one public, and the other private for SSH/FTP related material. IP 1 (The public ip): 192.23.6.11 IP 2 ...
0
votes
0answers
159 views

how to install odoo (formerly OpenERP) 8 rpm on CentOS 7

I'm trying to install odoo on a freshly installed minimal CentOS 7 system. Every set of instructions I can find seems to say how to do something unusual. I'm not needing any of that, I just want a ...