Tagged Questions

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
0answers
4 views

Apache on Centos 6.5 Purge of LDAP cache failed

My logs are filling up with: Purge of LDAP cache failed I have researched as much as I can, and I cannot find a fix. I am running the latest (as of this post) version of Apache, PHP and all of the ...
-1
votes
0answers
10 views

/bin/sh: fork: Cannot allocate memory

In my web server running with following architecture Centos 6.5 Plesk 12 Nginx 1.6 (As a reverse proxy) Apache 2.2 MySQL 5.5 PHP 5.5 Openfire 1.9.4 Pagespeed web server can have max 500 ...
1
vote
0answers
16 views

Regular and repetitive sudo alerts from several Linux hosts

I've got several hosts running CentOS 5.11 on the LAN. Lately we've been getting fairly regular sudo alerts (via email) from attempted sudo commands by non-authorized users. Been Googling in case the ...
0
votes
0answers
8 views

Installing Horde on CentOS 6 cant find files

I am trying to install Horde on a clean install of CentOS on a vps. The install and config seemed to go ok but when I try and open Horde through my domain (mydomain.com/horde) i get nothing, the page ...
0
votes
0answers
11 views

Geo-file synchronisation between nodes

I set-up dual (multiple in future) node load-balance/fail-over web server (Using CentOS 6). Everything went well except one "little" thing: I need file "sync" (Replication). I need it to go multiple ...
0
votes
1answer
19 views

What version of OpenSSL does SendMail use and how is this maintained?

My understanding is that SendMail leverages OpenSSL for STARTTLS functionality (among other things). Does this link dynamically against whatever version of OpenSSL I have installed? Or does sendmail ...
0
votes
1answer
23 views

How to respawn a script in RHEL/Centos6 when /etc/inittab has been deprecated?

I have a custom init script and I want that script to be respawned if in case the process dies. In RHEL/Centos 6 /etc/inittab is deprecated. So how should I ensure the process will be respawned?
0
votes
0answers
36 views

nginx 403 Forbidden on CentOS (Vagrant) [migrated]

What I have checked so far: Logs - they are empty, booted a new VM. Permissions: $ namei -l /var/www/awesome/ f: /var/www/awesome/ dr-xr-xr-x root root / drwxr-xr-x root ...
0
votes
0answers
17 views

How to access Mail Watch for Mailscanner when I have ZPanel?

I just followed this guide to install Mail Watch for Mailscanner on Centos 6. http://www.ehowstuff.com/how-to-setup-mailwatch-on-centos-6-3/ Unfortuently, I cannot access mailscanner at ...
-1
votes
0answers
12 views

Cannot Install ExpressionEngine Core 2.9.2 [on hold]

I am having difficulty installing ExpressionEngine Core 2.9.2 on CentOS 7 running in a VM using Virtualbox. I downloaded the ExpressionEngine core files to my host computer (Win 7) and FTP'd the ...
0
votes
1answer
13 views

Tomcat and Jenkins separately on the same server

I have never installed Jenkins as package on CentOS, but now I tried and it doesn't seem to work correctly side-by-side with standalone Tomcat server. First of all, I installed tomcat by yum install ...
0
votes
2answers
31 views

Caveats of installing development tools on production server

I want to install some software on production CentOS box which are not available from repository (like tmux etc). I can download the source and compile it locally, but for doing that I'll need ...
5
votes
3answers
623 views

Why does the “free” command and “dmidecode” show different values for RAM?

I've got a CentOS 5.10 (32-bit) server running on VMWare. It's allocated 4 GB of RAM. If I run dmidecode -t 17 | grep Size | grep MB I see: Size: 4096 MB Yet when I run free, I see: ...
0
votes
1answer
7 views

Default exim not using the from address being passed to it

After replacing postfix with exim (defaults) now the from address on mail sent by an application (sympa) is being changed xyz@goodstuff.whatever to xyz@hostname Why? no rewrite rules seem to be ...
0
votes
0answers
20 views

lvm disk corrupt after force power down

I have virtual machine running on kvm host. But after force shutdown (unplugged power supply of physical server), virtual disk corrupted, cannot boot to OS (OS: CentOS 32bit, include 2 partition, ...
0
votes
1answer
26 views

Apache + mod_ssl (on Vagrant) HTTP connection works fine, HTTPS connection times out

Introduction Hi guys, this is quite a strange one that I've been battling with for a few hours now. I have a CentOS Vagrant box with a network adapter attached to my NAT (as opposed to host only). I ...
0
votes
0answers
12 views

SFTP Reverse-Proxy using iptables on custom port

I want to give SFTP access to anyone into to my Server (IP: ss.ss.ss.ss) passing through Proxy (reverse-Proxy? IP: pp.pp.pp.pp), so that IP ss.ss.ss.ss is never seen by whoever is connecting to the ...
0
votes
2answers
40 views

Can't block spammy IP

I'm being attacked by 37.59.4.76. It's sending me a great amount of data, which is destroying my dataplan. I've added the iptables Chain num pkts bytes target prot opt in out ...
0
votes
1answer
14 views

Howto monitor web server nodes through HA proxy using Icinga/Nagios in CentOS 6

In this guide I'm not focusing at all on setting up HA proxy or why you'd want to do that. If you have it and want to properly monitor it using Icinga, here's an idea of how you could go about this. ...
0
votes
0answers
26 views

Bind only works Locally - Ping works locally not externally

I am using Bind on a Centos 6.5 server in order resolve subdomains to an IP. I have *.ddns.example.com and ddns.example.com pointing to my server via A record. I have added a zone for this, see ...
0
votes
0answers
19 views

502 http code when reloading nginx upstream servers

I'm having trouble load testing a web application running in docker. I'm running 2 containers of the same application, In hopes that when I bring one down the traffice will relay to the next server. ...
2
votes
1answer
39 views

Centos SMTP error command not implemented

I have a vps with Centos 6.5 and postfix installed. When I want to connect to a smtp server like google or mail gun, I get the error 502 command not implemented. Can anybody help me please? This is ...
2
votes
2answers
21 views

Why does the sendmail.mc file support entries that are not formatted for m4 syntax?

I recently discovered that /etc/mail/sendmail.mc supports entries that are not in m4 syntax. For example: LOCAL_CONFIG O CipherList=HIGH This doesn't make sense to me because pretty much ...
-2
votes
0answers
21 views

removed python2, can't connect any more

I'm new to CentOS (6). I removed python with sudo yum remove python2 (big mistake, I know) and now I can't connect to my server any more. I know that I need to reinstall python, but I don't know how ...
0
votes
0answers
9 views

What does “version=TLSv1/SSLv3” mean in SendMail STARTTLS log output?

SendMail 8.14.x I have a Sendmail server configured to use TLS and I see TLS log entries like the following: Oct 25 04:04:04 foobox sendmail[1234] STARTTLS=client, relay=[1.1.1.1], version ...
5
votes
2answers
122 views
+300

ps aux hanging on high cpu/IO with java processes

I'm having some issues with java process and nrpe checks. We have some processes that sometimes use 1000% cpu on a 32 core system. The system is pretty responsive until you do a ps aux or try to ...
0
votes
0answers
23 views

Connection was reset - Apache

I have a server in which I can ssh using the live IP. The server is connected through a DMZ port. whenever I try to access the web server in the server I get Connection was reset. My SeLinux is ...
0
votes
0answers
28 views

Centos 6.5 -bash: warning: setlocale: LC_ALL: cannot change locale (”en_US.UTF-8)

I somehow accidentally added a " infront of the locale I wanted to set. And now it refuses to change again. When I start a session through ssh to my server as root (or any other user) I get the ...
0
votes
2answers
35 views

Nginx http prefixes in upstream server

I'm trying to use nginx to proxy pass to two docker containers. Here is my upstream conf file: upstream api_servers { server http://192.168.49.4:49155; server http://192.168.49.4:49156; } This ...
1
vote
1answer
27 views

CentOS 6.5 on Vmware can't ping Host machine

I have installed a CentOS 6.5 on VMware WorkStation 10 all running on Windows 7 64bit, internet is working fine but I can't ping host machine from CentOS vice vers, it tells me Destination Host ...
0
votes
0answers
29 views

KVM headless server trouble [on hold]

I'm working on setting up a server to host and run a bunch of virtual machines and I'm working over ssh. I used virt-install to create the virtual machine and it works, but I can't get to the stage ...
3
votes
0answers
95 views

CentOS requires entering password twice for sudo, login

At every login or sudo prompt, the server always rejects the password when it is first supplied, but accepts it the second time. I found this thread which describes what seems to be the same problem, ...
-2
votes
1answer
34 views

“No free sectors available” while try to extend logical volumen in a virtual machine running CentOS 6.5 [on hold]

I'm trying to extend a logical volume and I'm doing as follow: Run fdisk -l command and this is the output: Disk /dev/sda: 85.9 GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders ...
0
votes
1answer
16 views

Linux (Centos) soft raid1 - motherboard died

I use centos 6.3 and soft raid1 (via mdraid) + LVM. The problem is that MB died and I have several questions. I have two hard drives. Is it important what drive how connect to MB. I mean ...
0
votes
0answers
9 views

Linux CentOS Quota setting misbehaves on certain users

Halo, I am searching a solution for a very strange behavior related to the quotas I experience on CentOS 6.5 minimal instalation. Let me explain and start by saying that I created a new aquota.user ...
-4
votes
1answer
31 views

ESXI/CentOs Cannot connect to internet [on hold]

I installed CentoS on a vm. I have use the netinstall. During the install i configure my network with: IP Adress: 195.154.32.33 NETMASK: 255.255.255.255 GateWay: * same Gateway of my esxi server* ...
-2
votes
0answers
25 views

How to Install PHP 5.3.7 On Godaddy VPS using SSH [closed]

I have bought a New VPS from Godaddy but they supported PHP 5.3.5 and then 5.4.34 but i want PHP 5.3.7 On my VPS so please help me that how can i do this using Putty SSH Client Regards Shahaan ...
1
vote
1answer
31 views

MySQL on LAN not working when IPTables enabled

I have two Centos VM. The IP Addresses are as follows : VM_1 => 10.99.0.10 VM_2 => 10.99.0.12 Apache and PHP are in VM_1 and MySQL is in VM_2. Both are having iptables rules. VM_2 is working ...
0
votes
1answer
44 views

chroot with sftp on centos 6.5

I'm trying to get sftp working with proper chroot configuration on Centos 6.5 server. As for now I get: sftp user@000.000.000.000 User@000.000.000.000's password: Write failed: Broken pipe Couldn't ...
0
votes
1answer
14 views

Supervisord - ini file error on CentOS

I installed Supervisor on CentOS 6.5 and currently experiencing some weird error that I can't seem to fix. I created a supervisord.conf file in /etc directory and call supervisor like this: $ ...
1
vote
1answer
27 views

Upgrading to PHP 5.6 using Yum (REMI repo)

I would like to ask how to upgrade to PHP 5.6 on my CentOS machine using Yum + REMI repo. For example, I already use the REMI repo for everything. Now, after I change this line in ...
1
vote
0answers
54 views

Why are --older-than and --younger-than killall options missing in RHEL/CentOS? [migrated]

I've experienced this issue in cleaning up scripts written by developer who were writing for Ubuntu systems, as well as ServerFault questions like this. Is there any reason the -o, -y (--older-than ...
0
votes
1answer
55 views

httpd Virtual hosts not routing files to domain

I am running Cent OS and currently have 2 different domains setup correctly on 1 server(I set these up via cPanel years ago) I wish to add a third but do not have a cPanel license, ideally I do not ...
-1
votes
2answers
56 views

Bash script to kill specific process running longer than 5m [on hold]

Hi I'm looking for a BASH script for CentOS 6.5 that kills a processes by name that's been running longer than 5 minutes. I asked this question before and received a response that doesn't work under ...
-1
votes
2answers
34 views

How to monitor Linux server backup execution with Zabbix? [closed]

I have more CentOS and Debian servers, where backup is configured to be executed every night. How can I use Zabbix to monitor these backups? I'd need an alarm, when backup files would not be created ...
0
votes
0answers
19 views

Asterisk 11.* TLS Configuration

I have installed asterisk 11.12.0 on CentOS (64-bit). When enabling the TLS support i get the following error WARNING[7620]: tcptls.c:673 handle_tcptls_connection: FILE * open failed! i tried ...
0
votes
2answers
45 views

I broke yum — Can't do anything

I was trying to follow a tutorial for installing yaffas (zarafa-admin) and I went to install the packages and got failed checksum errors for EVERY mirror. So after about 15 mirrors, I just hit CTRL+C ...
4
votes
2answers
244 views

How can I verify if TLS 1.2 is supported on a remote web server from the RHEL/CentOS shell?

I'm on CentOS 5.9. I'd like to determine from the linux shell if a remote web server specifically supports TLS 1.2 (as opposed to TLS 1.0). Is there an easy way to check for that? I'm not seeing a ...
1
vote
2answers
44 views

Add remote host to known_hosts file without prompt [duplicate]

I wrote some scripts and wish to add a remote host to my known_hosts file without any interaction. I can run a command like ssh -o "StrictHostKeyChecking no" root@10.x.x.x which will add the remote ...
-1
votes
0answers
20 views

Permission denied on session_start() [closed]

I have a strange problem with my server that i've never come across before. The problem is i make session data but when i click to a new page the session data seems to get wiped out. I have run a ...