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
2answers
18 views

why all pages redirect the same page on apache2 with php laravel framework

I have a droplet on digitalocean. I have installed fresh centos 6.5 32bit and followed this tutorial (https://www.digitalocean.com/community/tutorials/how-to-install-laravel-4-on-a-centos-6-vps) step ...
-1
votes
3answers
42 views

Issues with file rights in CentOS [closed]

May someone explain me how to manage rights correctly pls? I have a file with these rights: 8 -rw-r--r--+ 1 sntecard sntecard 4669 Sep 18 12:34 index.php I am accessing this folder by user ...
0
votes
0answers
71 views

Can someone help install cups2.0 on CentOS 6 x86_64?

I am experimenting in building up CUPS2.0 for my CentOS6. As CUPS2.0 supports SSL/TLS communication CUPS2.0_Encryption. As CUPS2.0 is not released officially, I can't use yum install as no mirrors are ...
1
vote
2answers
219 views

Generating an SHA256 SSL CSR on CentOS/RHEL using genkey

The officially recommended method of generating a web server SSL certificate CSR (according to RHEL6 and CentOS 6 documentation) is to use the genkey utility. When used according to the docs, this ...
0
votes
1answer
70 views

Slow Upload Speed - CentOS 6

I've been having an issue with my servers upload speed slowing down for the last week. When it first occurred restarting the network service would resolve the slow speeds. The speed would then be okay ...
0
votes
1answer
37 views

Installing Plesk 12 of on Virtual Server

I'm trying to install Plesk 12 on a Virtual Server through VMWare, however I keep getting error message relating to php-common being required for php-imap and php-mbstring, but I have the correct ...
0
votes
1answer
72 views

CentOS 7 mpath Install, Can't Find /dev/centos/root

I am attempting to install CentOS 7 on an older SuperMicro H8QM8 motherboard (AIC-7902 SCSI controller, aic7xxx kernel module) with 3 attached drives. The Adaptec SCSI bios recognizes the drives and ...
-1
votes
1answer
59 views

High CPU usage by whois | CentOs 6 [closed]

I am not a server guy and currently maintaining a small server for my own needs (Development and testing). I got a notification that my Server CPU usuage is around 99% from last 3+ hours.I know that ...
0
votes
3answers
87 views

PubKey Authentication not Working

I tried setting up PubKey authentication between my Mac and CentOS dedi server, but something is up... Here's the steps I took: ssh-keygen -t rsa Then chmod 700 .ssh/ && chmod 600 ...
-1
votes
1answer
37 views

Sendmail emails going to spam [duplicate]

I have sendmail installed on CentOS 6 and whenever I try to send an email, it goes to spam on the recipient. (Gmail in this case) OK, so, the domain I was to send mail on behalf of is: scalpello.info ...
0
votes
1answer
160 views

Fail2Ban - Iptables - Set does not exist

I have a very strange problem with fail2ban/iptables. Something is not working right, but I can't figoure out what. I have added this conf & and filter for fail2ban: [wordpress-register] enabled ...
-1
votes
1answer
91 views

MariaDB 10.x on CentOS 7?

Why there is no MariaDB 10.x RPM for CentOS/RedHat 7? I'm trying to install the most recent stable version on my server, but it seems, that official repo is absent for so long since release. Why? ...
1
vote
1answer
60 views

Options for gpg1 instead of gpg2 on CentOS/RHEL 6?

I have a customer whose application workflow relies on gnupg (gpg). Their system was recently migrated from CentOS 5.x, which shipped with gnupg version 1, to CentOS 6.5, which has gnupg version 2. ...
1
vote
3answers
45 views

Error while configuring PHP with existing apache

I am receiving this message: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/lib64/httpd/ after executing the following command: ./configure ...
0
votes
2answers
131 views

Change partition and / or mounting CentOS 6.5

I never did it before, please keep that in mind if I ask a beginner question now, but the info I've found on the internet weren't really useful for my case. df -h Filesystem ...
0
votes
0answers
23 views

Netstat count TIME_WAIT connections by port

I can obtain individual TIME_WAIT counts on a port, netstat -nat | grep :11300 | grep TIME_WAIT | wc -l; but how to do this based on all ports eg: 11300 2900 connection 3306 1200 connection ...
64
votes
11answers
8k views

How bad is it really to install Linux on one big partition?

We will be running CentOS 7 on our new server. We have 6 x 300GB drives in raid6 internal to the server. (Storage is largely external in the form of a 40TB raid box.) The internal volume comes to ...
1
vote
1answer
104 views

404 in Tomcat manager with AJP connector

I'm trying to configure Tomcat 7 on CentOS 6 with Apache mod_jk, SSL, and an AJP connector. The JK module is installed under Apache: $ sudo httpd -M | grep jk jk_module (shared) Syntax OK Tomcat ...
0
votes
1answer
48 views

Apache starts with “Syntax error on /etc/httpd/conf/httpd.conf: Invalid command 'remove'”

After I changed php.ini max file upload size and the max post size, restarting apache shows the error in the title. Why? And how to resolve it? # vi /etc/php.ini # service httpd restart # service ...
0
votes
0answers
112 views

Virtual Hosting on Centos 7

I'm trying to set up Virtual Hosting on my server which is running Cent OS 7. I have done the following but it is not working: created a file called called vhost.conf in /etc/httpd/conf.d Add the ...
1
vote
1answer
65 views

What is yum “running transaction test”?

There are many questions and answers on the internet about the "Running transaction test" notice which appears after a yum update. These questions usually concern what to do if it gets stuck. My ...
1
vote
1answer
17 views

Where to install custom apps and data following FHS

This is something that has always confused me. Where do I install custom apps that are written by my team? Apps like report runners, queue->database writers, etc. i.e. the apps that are the reason the ...
0
votes
0answers
66 views

Rails Permission Error on Sub-URI with Passenger, Apache, & Centos

I have a rails 4 application installed on a machine running centos 6. I have Apache serving up another application and I'm try to mount the rails application at a sub-uri. To aid deployment I've ...
0
votes
1answer
46 views

Client host rejected: cannot find your hostname + SMTP

I have a VPS configured with dovecot. Now for some of the mails that I send are rejected with the following error: Any Clues?
0
votes
1answer
82 views

RSyslog sends logs to logstash with host as IP not FQDN

I am having a issue. I am trying to send apache/nginx logs to logstash server. The problem is that rsyslog sends host as IP not the servers FQDN. Solutions that I have tried: PreserveFQDN on (did ...
0
votes
2answers
36 views

Prevent Rsync and SCP from causing page timeouts on LAMP server

I'm trying to run Rsync to move static files from our Dedicated server to our new cloud server. The following command works but when it runs it is stopping any web pages being served rsync -azP ...
0
votes
1answer
40 views

389 Directory Server - Multiple Domains

I have multiple business that i would like to authenticate to a single server for SSO. I am using 389 directory server and have already split each domain into it's own respective OU. I would like to ...
0
votes
1answer
91 views

Increasing nproc for processes launched by systemd on CentOS 7

I have successfully increased the nofile and nproc value for the local users, but I couldn't find a proper solution for the processes launched by systemd. Adding max_open_files to the MariaDB ...
3
votes
1answer
79 views

RHEL/CentOS - Is it possible to update packages only up to a certain release date?

Technically speaking, if one wanted to update a RHEL or CentOS server using yum, but only up to a certain release date (i.e. don't install any updates released after X date), would it be possible and ...
0
votes
0answers
49 views

centOS7 persistent routing issue

I have google a lot but still cant find a working way how to make persistent some routes on centOS7. [root@asd network-scripts]# route -n Kernel IP routing table Destination Gateway ...
0
votes
1answer
342 views

upgrade CentOS from 6.5 to 7 in an EC2 Instance

How can I upgrade CentOS from 6.5 to 7.0 under Amazon Web Services EC2 instance? I have added the redhead upgrade tool to my repository and installed it, called the preupg and then imported the ...
2
votes
2answers
157 views

pam_ldap and ldaps can't contact ldap server

I'm trying to allow authentication via LDAP on a CentOS host system. But I always get a Can't contact LDAP server error from pam_ldap. The LDAP server is pingable and authentication works perfectly ...
-1
votes
2answers
64 views

Pure-FTPd is running as root by default on CentOS

I just installed Pure-FTPd (pure-ftpd-1.0.30-1.el6.x86_64) on my CentOS 6.5 server. I'm using "virtual users", so the FTP users are disconnected from the system accounts. Nevertheless, the pure-ftpd ...
2
votes
1answer
92 views

CPU error messages shown in console during boot — “CPU1: Stuck ??”

I recently installed a second CPU into a server. The CPU is identical to the first and I verified that the CPU is in good working order prior to the installation. The server booted up and I installed ...
0
votes
1answer
60 views

Centos7 not allowing nfs to be served

I just did a fresh centos7 and fedora 20 install on 2 systems. I have several current systems running on the network and can connect to an existing nfs share no problems. when any system triest to ...
0
votes
1answer
80 views

Dovecot Authentication failed if trying login with @domain

When I try to test my IMAP server functionality using telnet I encounter the following error. If during the test i omit the @domain.ex everything works fine(as you can see below); a login user ...
0
votes
0answers
39 views

Sharing Collectd data with Apache on CentOS (SELinux)

My CentOS 7 VPS has SELinux enabled and is monitored by Collectd. It uses rrdtool to log the reported data. Pommi released a great solution that made me able to review all data on a webpage called CGP ...
1
vote
0answers
46 views

Naming convention for /var/lock/subsys on sysvinit with multiple pids

In this Tips and Tricks article from Red Hat, it is said: When a service is started through an init script, a file is touched in the /var/lock/subsys/ directory with the same name as the init ...
0
votes
0answers
59 views

Shipyard deploy error. It Don't map docker socket

I have installed Centos 7 and docker (Server version: 0.11.1-dev). I'm following the quickstart of Shipyard. I pulled the docker image shipyard/deploy: docker pull shipyard/deploy When I run ...
1
vote
1answer
51 views

CentOS / PostgreSQL. How to keep connections open?

I would like to keep connections open on PostgreSQL for N time. I am not having problems keeping PostgreSQL itself open. The issue is that when the connection is idle for a few minutes, the ...
0
votes
1answer
47 views

blocking ip on linux(CENTOS) [closed]

I m blocking an ip from my centos server using iptables: iptables -A INPUT -s $ip -j DROP service iptables save however my ip is still able to access the ip and even view websites hosted on this ...
4
votes
1answer
206 views

Is there a timeout for init.d scripts running during boot process?

I am creating a few scripts that are being registered to execute on server start on CentOS 6.5. One of this scripts has a while loop that blocks until it finds a successful start message on the log ...
2
votes
1answer
37 views

MySQL replication slowing master

We are currently running MySQL 5.1 Quick Overview We use 5 web servers ( Apache ) all connected to 1 DB server ( MySQL ) hosted on the cloud. The DB server running on the cloud ( Master ) ...
1
vote
1answer
10 views

OGE no value for load_avg

There is a problem with my OGE configuration. The load_avg for the nodes does not get set (remains at -NA-). Because of this and because of the np_load_avg threshold on the queue no jobs are being ...
0
votes
0answers
31 views

One click deployment on a VPS for a backbonejs + nodejs application

I have a application built on top of nodejs, backbonejs, requirejs, expressjs, mongodb etc. I have deployed the application on a cloud VPS running on CENT OS. Every time a client asks me to make a ...
1
vote
1answer
85 views

Simple fencing/STONITH script in Centos 7

I am installing a simple Corosync/pacemaker/drbd high availability cluster using Centos 7 and would like to provide fencing/STONITH using custom hardware (power switches using USB connections). As ...
0
votes
2answers
606 views

No mysqld or mysql.server after mariadb-server install

So... likely I'm an idiot, but I'm stuck. I just set up a CentOS 7 on Digial Ocean and I can't seem to get the MariaDB/MySQL server running. Some output [root@hostname ~]# yum list installed |grep ...
2
votes
1answer
95 views

What is the recommended method to prepare Red Hat/CentOS 7 templates?

If I need to deploy Red Hat 7 from template, I would like to take the recommended steps to make my "golden image" clean. It should boot to the first boot prompt and guide the user through the typical ...
0
votes
1answer
113 views

Only allow user SSH access to one directory

I have a server running Centos 6.4 and I need to allow a freelancer access to one folder on the server to upload some code and do some testing - I have set their home directory in /etc/passwd to: ...
1
vote
0answers
48 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 ...