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
1answer
20 views

Centos 6.5 MD1 full disk space

I have almost full disk space on md1 [root@server ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 20G 18G 645M 97% / tmpfs 7.8G 0 7.8G 0% /dev/shm ...
0
votes
0answers
4 views

Starting qmail-toaster: svscansvscan: warning: unable to read directory: access denied

I got such message when trying to start qmail-toaster: Starting qmail-toaster: svscansvscan: warning: unable to read directory: access denied All permissions are correct. drwxr-sr-x. 2 alias ...
-1
votes
1answer
10 views

Wich PHP Module to Install on CentOS to Execute Php Files

I have installed CentOS 5 (32 bit) on my VPS that contains basic php files with no database. I have installed PHP as well but the specific module needs to be installed. What module would be necessary ...
0
votes
0answers
8 views

Cannot update password policy for user

I am trying to update the password policy for a user. It should be as follows: Must be changed every 30 days Once changed, cannot be changed for 3 days Must be disabled after 45 days of inactivity ...
0
votes
1answer
12 views

grubby fatal error: unable to find a suitable template

I'm trying to fix my system after moving it from one server to another. It works perfectly with kernel booted via network, but not from the disk. Reinstalling stock CentOS 6.6 kernel shows this ...
-1
votes
1answer
16 views

How can I permit anonymous access to local user home directory with vsftpd?

I have installed vsftpd and locked local user access to their home directories. Now I like anonymous to access some user's home directories. I have tried these solutions but they didn't work. First, ...
0
votes
1answer
11 views

cobbler managed dnsmasq is not listening on the correct interfaces

I have a cobbler server I am trying to get installed. Unfortunately dnsmasq is not listening on the correct interfaces. It should be listening on my 192.168.10.2 network which is assigned to br1 ...
0
votes
1answer
13 views

Lighttpd stops writing to access.log

I have this issue with my lighttpd installation where logging to access.log will cease once the default log-rotating software erases my access.log after copying it to access.log-YYYYMMDD. I have to ...
2
votes
1answer
23 views

replace or remove GPG signature on RPM

Is there a way to remove or replace an existing GPG signature on an RPM? I am placing a few obscure RPMs on an internal repo we use for supplementary rhel/centos packages. A few of those RPMs are ...
-3
votes
2answers
39 views

iptables: open port 25 CentOS 7

I have problems opening port 25 for sendmail on my CentOS 7 machine. Here's my iptables configuration: *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state ...
0
votes
0answers
11 views

Apache mod_ssl StdEnvVars appear not to be set?

I have a CentOS 6.5 server running Apache 2.2.15 with mod_ssl and PHP 5.3.3. My problem is that PHP does not seem to recognize the HTTPS connection. I have the following in my ...
-2
votes
1answer
26 views

raid 1 & ml350 gen8 server with centos 6.2

I have a proliant ml350p gen8 HP SERVER with centos 6.2 and two hard disk with 1 TB for both. I have several GB of files and software about 100) with their configurations but I want to install RAID 1 ...
-2
votes
1answer
28 views

nginx SSL not working (404 error)

On a CentOS 6.6 box I have nginx set to serve two virtual hosts. One for SSL and one for basic HTTP. /etc/nginx/default.conf: server { listen 80 default_server; server_name _; #charset ...
0
votes
0answers
9 views

How to work whit socket_file httpd (nginx-uwsgi)

I am trying to run Nginx/uWSGI/Django, the last remaining step is to run the socket_file all I get is a 502 Bad Gateway. Route my django application. #/home/deploy/webapps/myapp Configuration ...
1
vote
1answer
15 views

dhclient.conf missed on centos

on centos 6 I need take the values from a dhcp server: cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:50:56:27:0E:C8 TYPE=Ethernet UUID=20924b21-e92a-4944-a054-06d1967155c1 ...
-2
votes
1answer
39 views

my host has no PTR record [on hold]

when i check my host i get this host myIP xx.xxx.xx.103.in-addr.arpa has no PTR record So i dd this to my /var/named/domainname.com.db myHostname. IN A myIP xx.xxx.xx.103.in-addr.arpa. IN PTR ...
4
votes
1answer
65 views

how do I set up two smtp ports for postfix?

A CentOS 7 server with postfix, dovecot, and mailx needs to accommodate mail being sent through port 465 and received through port 25. What specific syntax and files need to be changed in order to ...
1
vote
0answers
10 views

How to power down Cloudstack configured with XenServer Hypervisors

I have three XenServers(6.2) configured in a single pool. I also have a Cloudstack (CentOS 6.5) Management interface controlling them all. Everything is up and running but I can not figure out how to ...
0
votes
0answers
16 views

Given: iptables entry in place; my.cnf properly set up; MySQL user & permissions properly set - but still cannot access MySQL remotely: Suggestions?

I would like to access MySQL remotely on an Amazon EC2 CentOS instance (I assume it is CentOS because I use yum to update installed applications and libraries). I believe that iptables is set ...
0
votes
0answers
21 views

Apache on CentOS as MP3 server quickly runs out of memory

I am using a HostWinds CentOS 4GB memory VPS with Apache as a file server. Its sole purpose is to stream out MP3 files. After about 10 minutes of serving MP3s to about 100 simultaneous users, Apache ...
0
votes
1answer
22 views

SFTP Error: open for write: permission denied

I have created a user and a group only for SFTP and when I try to transfer a file with Filezilla in /var/www I have this error: Open for write: permission denied I have configured sshd_config like ...
-1
votes
0answers
11 views

Installed New Relic however it is not finding individual directory applications [on hold]

I have a dedicated server running apache with php, we have 4 applications, one per directory, i installed new relic and it is reporting for 1 app through the APM however i dont understand why it is ...
0
votes
1answer
23 views

Centos - /var/log/secure records nothing

I have accidentally remove /var/log/secure, I try to recreate it but it still stays blank after several connections. On a server where everything works, with ls -l I have: -rw-------. root:root ...
-1
votes
1answer
42 views

Apache doesn't start at boot

I'm on a VPS that sometimes OVH restarts. When this happens, apache soesn't start at boot so I need to start it manually everytime. I have already set the command systemctl enable httpd but seems ...
-2
votes
1answer
71 views

sshd binds to low numbered ports only if restarted with bash -x /etc/init.d/sshd restart

I've added the line "Port 110" in /etc/ssh/sshd_config just bellow the existing line "Port 22" and then did an /etc/init.d/sshd restart expecting to see sshd listening on both ports (22 and 110). ...
-1
votes
0answers
12 views

Impossible write into the AJXP_DATA_PATH folder

I have installed ajaxplorer in my centos. Iam trying to open through website its showing error " Impossible write into the AJXP_DATA_PATH folder: Make sure to grant write access to this folder for ...
0
votes
1answer
19 views

Selinux “Add context Rule to Semanage” [on hold]

As you add or change a new rule to fcontext semanage to any directory and apply, egg: # How to add this rule for apply changes whit restoreconf -Rv /var/www/html(/.*)?/media(/.*)? ...
1
vote
1answer
23 views

Mime type received as “text/html”, server configured to send as “text/javascript”

Both firefox and chrome are showing that javascript files from my server are served as MIME type text/html. The javascript files have a .js extension. First, mime_module is installed and active: ...
0
votes
0answers
19 views

PHP error reporting without notices

I have been trying to set up php.ini file for error reporting. I wanted for my log file to show everything except notices. Referring to my researches, solution was to use this command: ...
0
votes
1answer
21 views

Setup fail2ban with apf

Along with BFD we have recently installed fail2ban on our server, it is CentOS and it uses APF to block IPs. I have hunted online on how to get the two to work however when an IP is blocked by ...
-1
votes
0answers
9 views

Why Apache has the write permission even it's not the owner [on hold]

I have a dedicated server which is running CentOS. I have WHM installed by the server support company. I created cPanel accounts in WHM. For example, a account named 'tester'. After created this ...
0
votes
1answer
39 views

Supermicro super server RAID warning

Hey guys sorry in advance for the noobish question. Our company just received a brand new 6017R-WRF Supermicro superserver. I have been tasked with getting this bad boy setup. I am a software dev ...
0
votes
2answers
23 views

Allow user access to FTP account folder based on his current (static) IP

I have an FTP account for a folder (shared hosting on Linux (CentOS) with cPanel) which is accessed through FileZilla (could be a different FTP App) on a PC using Windows 8.1 OS. I would like to give ...
-1
votes
0answers
33 views

NGINX on CentOS troubleshoot - 'ERR_CONNECTION_REFUSED'

I'm configuring an Nginx server and have hit a wall. Some help would be great. It's an EC2 instance running CentOS 6, everything was fine until the server was rebooted, now I get ...
0
votes
1answer
29 views

couldn't to install mod_wsgi on centos

i tried so many times to install mod_wsgi on my centos6 server but unfortunately i couldn't do that. my steps to install it : yum -y install mod_wsgi Error: Package: mod_wsgi-3.2-7.el6.x86_64 ...
0
votes
1answer
31 views

Why the firewall seems to work intermittently?

I've this iptables rules on first server which has the role of a client connecting to a second mysql server through LAN adapter. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT ...
1
vote
1answer
83 views

firewalld vs iptables - when to use which [on hold]

TL;DR On new CentOS server installs should I be using firewalld or just disable that and go back to using /etc/sysconfig/iptables ? firewalld and iptables serve similar purposes. Both do packet ...
1
vote
1answer
40 views

Linux - show dropped packets form firewall

I am trying to set up a sip trunk and so far everything has gone well. The only issue I face is that the call does is not received when the iptables service is running. By stopping the service ...
2
votes
0answers
33 views

Need to check whether you need to reboot for a kernel update?

I'm using Ansible to check hosts if they need to be rebooted if the /vmlinuz kernel doesn't resolve to uname -r. The if condition is although always identifing a reboot even though the test machine ...
0
votes
0answers
22 views

Server making outbound dns requests [duplicate]

I have a cloud server with Rackspace and they have blocked DNS because of "excessive queries". I can find the info below when running ps, but I can not seem to locate where the file is that is making ...
0
votes
1answer
35 views

CentOS email setup for Wordpress

I am moving an old Wordpress install to a new CentOS LEMP stack VPS. I want to set up email for the new VPS. It came with sendmail installed by default but I find it to be overkill. I just need a ...
-1
votes
0answers
26 views

Incoming connections blocked from some IPs on Centos

I have some server processes running on CentOS. I find that I can connect from some external IPs, e.g., port 4005 has some connections: [root@xxxxx dfxbin]# netstat -an | grep :4005 tcp 0 ...
-1
votes
0answers
16 views

How to handle multiple domain requests on single tomcat server?

I am using dedicated server. I have hosted different HTML, PHP and wordpress websites on this server those are working perfectly. Now I want to deploy java web application on this server. So I have ...
0
votes
0answers
28 views

iptables logging public server

I would like to create iptables for a public webserver, since I would like some stats on how-many times this server is being tried for open ports/ssh logins/ ... To do this I wanted to filter out all ...
-3
votes
1answer
18 views

SFTP - Create a hierarchy of users to control access

I would like to create two levels of users to restrict SFTP access: "parent" users, and "child" users. I need the parent users to be able to access all the directories owned by the children, but the ...
0
votes
1answer
27 views

Alert on direct root logins

We do not allow direct root logins through ssh but obviously through console access. Is it possible to log direct root logins and maybe send an email or write to a logfile if someone logins through ...
0
votes
1answer
37 views

It is possible to configure more than one haproxy in different machines to listen to same request?

I'm wondering if it is possible to create a cluster of haproxy, so if the haproxy machine fails, another haproxy gets the job done. I tried to change the frontend configuration to listen to other ...
0
votes
1answer
61 views

amazon web services ec2 ftp filezilla

I am trying to make vsftpd to work with the centos 7 ami from centos. After installing vsftpd I edited the config file and made these changes: anonymous_enable=NO local_enable=YES write_enable=YES # ...
0
votes
1answer
57 views

mod_security not working at all

I'm trying to make the mod_security work, I searched a lot on the web, and followed this tutorial to configure mod_security (all my configuration files are the same as the tutorial), and when I run ...
2
votes
1answer
28 views

How would I be able to take a snapshot of a CentOS 5 server and compare it later on?

I have a consultant that was hired to install some custom software to a CentOS 5 server. After she's done, I'd like to review her changes to possibly automate or optimize them. I was thinking of: ...