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

Wget, self signed cert and --no-check-certificate not working

I recently installed a self signed SSL cert on one of our nginx webservers. If I attempt to wget a file with --no-check-certificate I receive the errors below. You can reach the site with a browser, ...
-1
votes
0answers
29 views

Check mysql domain that is using resources [migrated]

I have a webserver hosting about 300 websites and sometimes my CPU usage gets close to 100% and when I use "top" in my CENTOS to check who is using all CPU, I discover it's mysql. I would like then to ...
0
votes
0answers
51 views

CentOS7 systemctl calling ExecStop on reboot after my procceses are already killed

I have a systemd script which is as follows: [Unit] Description=My sites Before=shutdown.target reboot.target halt.target [Service] Type=oneshot ExecStart=/bin/bash -c '/etc/xxx/mySites start' ...
-1
votes
1answer
25 views

Moving data between drives CentOS 6 + cPanel [closed]

Recently, my server crashed. The hosting company has installed new CentOS on a replacement drive and attached the old drive to my server. I have installed and setup cPanel onto the new server and ...
0
votes
2answers
40 views

Nginx - 2 https servers on same public ip [duplicate]

I currently have several regular http servers and 1 https server. I would like to add another https server with the same public ip. I have something similar to server { listen 443 ssl; ...
0
votes
1answer
53 views

OpenVPN: Options error: Unrecognized option or missing parameter(s)

I am trying to assign different ip address ranges to two different types of users of OpenVPN. The two user types are administrators and employees. Towards this end, I created certificates and keys ...
0
votes
1answer
50 views

PHP dependancy issue after upgrading to PHP 5.6.5

I'm trying to install Laravel, this required me to upgrade to php 5.6.5. This was a success and php is running fine, but im having 2 dependency issues when i try to install other packages that laravel ...
0
votes
1answer
95 views

Installing RoundCubeMail - You don't have permission to access /roundcubemail/installer/

I have installed (well, almost) RoundCubeMail on CentOS7. I set up Apache/2.4.6 server, so when I nagivate to localhost (or 127.0.0.1) I can see the start/test page of the Apache (Testing 1 2 3 ...). ...
0
votes
1answer
30 views

Varnish Under Cpanel with Multiple IPs Configuration

I have one web server runs with Cpanel&WHM and 1 shared ip adress and 3 dedicated ip adress. 3 ips are dedicated to some domains for run safely with ssl and magento. Now, i already set my ...
3
votes
3answers
526 views

Why cd does not change current directory in crontab?

In my user's crontab, on a CentOS system, I have something like this: 58 12 * * * cd /home/joe/dev; echo `pwd` | logger This outputs in /var/log/messages: Feb 19 12:58:01 srv01 joe: /home/joe ...
0
votes
1answer
34 views

CentOS Disk Full - Unable to locate largest files/dirs

I have a very strange problem, my hdd on my centos server is showing 99% usage. I executed several commands to list largest files, but it didn't show anything larger than 9.9G which is the web ...
0
votes
0answers
25 views

Sync Ubuntu repository with Cobbler server fails

I am trying to sync the Ubuntu trusty repo to my cobbler server. The issue is that for some reason the connection seems unstable during the parts that work.. additionally it fails to proceed with one ...
1
vote
1answer
75 views

Can't change the keyboard layout on Centos 7

I have been stuck with this problem for hours now and this is getting really frustrating. I have installed Centos 7.0.1406 on Oracle Virtualbox and during the installation I chose Norwegian keyboard ...
-1
votes
0answers
33 views

First boot configuration to be done by user

I am new to Linux scripting and I am trying to create a custom CentOS image. What I want to do is when the user boots my VM for the first time it should do the following Show License Agreement ...
0
votes
0answers
10 views

getting lots of spam from “unknown” and helo localhost [duplicate]

On our server, we keep receiving spam with the following headers. We are using whm 11.44 and exim. Return path is always: Return-path: <> and it says Received: from unknown (HELO localhost) Both ...
1
vote
0answers
21 views

cartridges in openshift origin web console

I'm trying to install openshift origin, i already have the "broker" and one node fully configured and in the node i installed a few cartridges that were in the repositories. Then i imported and ...
-1
votes
0answers
18 views

Groups in CentOS 5/6

I have 15 CentOS servers running a mix of version 5 and 6. Each of these servers are integrated with a Microsoft Active Directory with a tool called VAS/QAS (ventella Authentication Services /Quest ...
0
votes
2answers
33 views

Restricting access to user groups in OpenVPN

I just used the instructions in this tutorial to install OpenVPN on a CentOS 7 server. I am able to ssh and https into the remote CentOS 7 server through the VPN from a client machine. However, it ...
-2
votes
0answers
34 views

eth0 >>--> switch >>-->eth1 [duplicate]

I have a server with 2 ethernet interface eth0 and eth1. (OS CentOS 6.6) both ifcfg config eth0: IP: 192.168.0.10 mask: 255.255.255.0 gw: 192.168.0.1 eth1: IP: 192.168.0.11 mask: 255.255.255.0 gw: ...
1
vote
1answer
27 views

Why is Memcache not starting automatically?

I installed memcache in my CentOS server, and the respective libraries for php as well: Despite having installed both of them, I ended using Memcache $memcache = new Memcache; Since I wanted the ...
0
votes
0answers
56 views

CentOS 7 - Systemctl dependency problems with network mount and OpenSM

I have the follwoing problem. I want to mount a glusterfs share over Infiniband on an CentOS 7 client. The glusterfs share '/data' is severed by a host called storage1. For the client I I setup and ...
-2
votes
0answers
28 views

Forward real ip haproxy

Okey so I use haproxy to forward a TCP connection but the proxy IP shows instead of their IP which is quite annoying. How can this be fixed? I run on centOS btw.
0
votes
1answer
62 views

Can't boot Mysql on Centos 7

I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use ...
0
votes
0answers
13 views

How can I configure web server with virtual hosts and serve content using tilde [migrated]

Have a CentOS Linux release 7.0.1406 (Core) where I have no domain, only the IP I need to configure it so that I can use as web host and serve the content of a directory located in for example ...
0
votes
0answers
22 views

ClearOS route configuration not working. How to setup route-eth0 properly?

I am running a ProxMox Server with ClearOS as a VM. I have the following requirements: extIP 1.1.1.1 gateway 2.2.2.2 I can not get clearos to automatically add the required routes. Here is what my ...
0
votes
0answers
18 views

Inconsistent speed with simultaneous FTP downloads from same server

I have a hosted VPS running CentOS and PureFTPd. When I try to download from multiple FTP accounts on the server simultaneously, I get wildly different speeds for each of the FTP connections: some are ...
0
votes
0answers
11 views

changing default centos 7 workspaces [migrated]

On CentOS7, using the gnome environment, I do not seem to be able to add, remove, or change the workspaces. I prefer to have 2 workspaces, or no workspaces, and understand the usefulness of the ...
0
votes
1answer
37 views

Can't reset permissions on amazon ec2

I've a big problem: when I try to sudo something, this is what append: sudo: /etc/sudo.conf is owned by uid 222, should be 0 sudo: /etc/sudoers is owned by uid 222, should be 0 sudo: no valid ...
0
votes
0answers
35 views

Sudo error: effective uid is not 0, is sudo installed setuid root? (sudo executable is already root/root 4755)

Running /usr/bin/env sudo /etc/init.d/httpd restart on a godaddy vps works fine from the shell. The same command executed remotely via capistrano generates the following error: sudo: effective uid is ...
1
vote
0answers
53 views

mkdir: “no space left on device” on specific folders after Apache Tomcat reached max-file ulimit

The question: I have a tomcat running a java application that occasionally accumulates socket handles and reaches the ulimit we configured (both soft and hard) for max-open-files, which is 100K. When ...
-3
votes
1answer
137 views

Redis installation on centos 6.5

I am trying to install Redis on centos 6.5 (x64) with following line: yum install redis But I am getting following screen: [root@NodeJs ~]# yum install redis Loaded plugins: fastestmirror Setting ...
1
vote
0answers
46 views

Upgrading CentOS from 6 to 7 has broken my boot sequence

I ran the upgrade assistant provided by CentOS for upgrading from CentOS 6 to 7. The upgrade appeared to have been a success, however my system now hangs when trying to boot up. (Keep in mind I have ...
0
votes
1answer
59 views

CentOS startup script command not found

Trying to start bitcoind on CentOS 6, but just getting command not found errors. #!/bin/bash # # bitcoind The bitcoin core server. # # # chkconfig: 345 80 20 # description: bitcoind # processname: ...
2
votes
0answers
28 views

NTP offset warning when no NTP server is defined and NTP not running?

I just want to preface by saying that I am still learning linux and don't have too much experience with it. My job requires me to monitor an alert system for our clients hosts that are running our ...
-1
votes
2answers
125 views

Unable to install or update using yum

When trying to install or update anything in yum, I get a list of requires, removing and obsoleted by: Loaded plugins: downloadonly, fastestmirror Setting up Update Process Determining fastest ...
0
votes
1answer
67 views

why won't mysql accept connections from local programs?

I am getting a "Host 'mydomain.com' is not allowed to connect to this MariaDB server" error whenever a program on my CentOS 7 server tries to access the MySQL/MariaDB database located on the same ...
1
vote
2answers
42 views

Send PHP requests from dedicated IP instead of shared IP

I have set a dedicated IP for a website (using directadmin), but all outgoing php requests are sent from the server's shared IP. Result of the following code is always the shared IP. $a = ...
0
votes
1answer
37 views

Gmail filter with forward goes to spam

Google Filters with Forwards go to spam I will describe my current email system setup. I am running a Centos based VPS from linode. I have ZPanel installed. And up until last Friday, everything ...
0
votes
2answers
24 views

kadmin cannot list principals “requires list privileges”

I can authenticate fine via kadmin however cannot list principals? [root@server ~]# kadmin -p admin Authenticating as principal admin with password. Password for admin@org.domain.com: kadmin: ...
0
votes
2answers
50 views

/etc/crontab file not executed

I created a dummy entry in /etc/crontab, but it doesn't get executed according to cron log /var/log/cron: Feb 7 08:20:01 localhost CROND[22781]: (root) CMD (/usr/lib64/sa/sa1 1 1) Feb 7 08:30:01 ...
0
votes
1answer
88 views

CentOS 7 : cannot create mysql.sock

I've installed MySQL on CentOS 7. It looks fine, start mysqld service and change root password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ...
0
votes
0answers
18 views

Why does Apache hang when failing to connect to LDAP?

Environment: Centos versions: 5.11, 6.6 Apache version: 2.2 Apache hung on several of my webservers today after failing to connect to LDAP. I fixed the LDAP issue but I was wondering why Apache ...
0
votes
1answer
32 views

yum Cannot open: oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm. Skipping

I am following this article on installing the oracle client RPMs on a CentOs 6.x server using yum localinstall.for some reason yum cannot open the RPMs - and I am at a loss as to what the next step ...
0
votes
1answer
30 views

Apache: SSL and Non-SSL (without VirtualHosts?)

I have a web server and have two folders I would like to treat differently. One folder on the local filesystem should use SSL and the other should not, for example: /path/to/ssl/site ...
0
votes
1answer
12 views

SNMP error setting up Cacti with CentOS

I'm trying to get Cacti, which runs on one VM, to graph the data from another VM. However I'm facing an SNMP error despite my efforts. The two VMs are running as NAT connection on VMWorkstation. The ...
-3
votes
0answers
21 views

Centos VESTACP Eat up all of my RAM and SWAP [duplicate]

total used free shared buffers cached Mem: 490 481 9 0 6 78 -/+ buffers/cache: 395 95 Swap: ...
2
votes
1answer
42 views

Finding text and deleting file [duplicate]

On my server spamming files are uploaded , which start with <?php ${"\x47\x4cO\x42A\x4c\x53"}["cgw\x71\x77\x77\x64\x79q"] I'm trying to find all files on server which is having above string and ...
-1
votes
0answers
13 views

how to migrate unix jobs scheduled via “at”

I've scheduled a bunch of jobs via "at"(listed by atq), then I had to do an OS reinstall. The original OS disk is intact, can I migrate the "at" jobs. How are they stored?
0
votes
0answers
39 views

Play Framework 2.3 startup scripts for systemd?

We're upgrading to Play 2.3.x (which uses activator) and CentOS 7 (which uses systemd). Previously on CentOS 6 we used this SysV init script to start/stop/restart our various Play applications. Is ...
0
votes
1answer
32 views

Using tc to delay packets to all IP address except for a single IP address

I'm familiar with this post here: Using tc to delay packets to only a single IP address Which will delay outbound packets to a single IP address. I want to do the opposite, which is to delay all ...