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

-1
votes
1answer
12 views

Jenkins unreachable at port 8080

I'm setting up Jenkins for the first time. HTTP ERROR: 503 Problem accessing /. Reason: Service Unavailable I turned off firewalld. The jenkins came from the official jenkins yum repo. java ...
0
votes
1answer
3k views

Elastix Upgrade fails CentOS yum missing dependency with libwat, libgsmat, and libss7

I upgraded a year old vanilla Elastix box using yum update and yum upgrade. Almost 400 packages updated but a few of them failed, including asterisk. At present the switchboard is working but I can't ...
0
votes
0answers
12 views

centos7 samba share isn't listed in win7 “Network group”, but is accessible directly as //hostname

I've migrated my home NAS from Ubuntu 14.04 into Centos7. My clients are windows 7 laptops. I can no longer see the samba shares in windows explorer's Network "group" in the left-side listing. I ...
1
vote
1answer
1k views

How do I get rsync to listen on two different ports via xinetd?

I have multiple servers that receive files via rsync on different ports. I'd like to merge them into the same physical server and let the clients continue to direct their files to the same port they ...
0
votes
0answers
12 views

Why same docker container has different file system on different environment?

I have several environments - one uses Proxmox (with Ubuntu 14.04 VMs) and another one uses OpenStack (with Ubuntu 14.04 and CentOS 7 VMs). There is a docker image that is used on all these ...
6
votes
4answers
61 views

LInux OOM custom response

I'm running Apache webserver and would like to improve a little bit how the OOM situation is handled. I'm avare of the OOM scores and already did some customizations in that matter so when something ...
1
vote
0answers
41 views
+100

imapd: 'username': No such file or directory

I'm using Apache, Postfix, Courier IMAP and roundcube on my CentOS 7 machine. I would like to create a new user account / new user email to be able to send emails from my domain outside my local ...
0
votes
0answers
18 views

500 Internal Server Error on Wordpress - BUT WORKS from a different country

MY MACHINE SPECS: I have a VPS (Location - Miami, 4GB RAM) running Centos and a LAMP stack. I have Wordpress installed on it with a SSL certificate. PROBLEM: Out of the blue, the admin ...
0
votes
2answers
34 views

basic varnish 4.0 setup doesn't seem to work

[Apparently I was running varnishd as root] Now, I get this: [gideon@mywebsite ~]$ sudo varnishd -f /etc/varnish/default.vcl -s malloc,128m -T 127.0.0.1:2000 -a 0.0.0.0:8000 -d [sudo] password for ...
0
votes
0answers
18 views

Usermod -aG vs gpasswd -a as a best practice

I am aware that usermod -g is not best practice from many posts like this however they normally explain the usermod should not be used as it changes the primary group of a user. These posts dont seem ...
5
votes
1answer
1k views

Varnish returning 503, FetchError (could not get storage)

On the current setup we're running into a problem with Varnish, we're running a CentOS 5.7 x86_64 xenpv, with Cpanel WHM, hosted at VPS.net. Sometimes we will recieve a Guru Meditation from Varnish, ...
68
votes
11answers
11k 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 ...
0
votes
0answers
26 views

WebServer Inaccessible

I have done an install of httpd and php on my new centos server. yum install httpd php -y I have done hundreds of webserver installs but for some strange reason I seem to be having troubles. When ...
0
votes
1answer
22 views

How to setup non SSL (listen on port 80) and SSL (listen on port 443) with Apache for same Virtual Host in Centos

I'm having troubles setting up and putting to work a non SSL and SSL environment with Apache (httpd 2.2.15) in CentOS 6.6 locally for testing purposes. I'm following this guide, apparently CentOS ...
2
votes
0answers
13 views

Apache reverse proxy configuration for multiple domains

I am newbie. I have 1 LAMP CentOS server, which hosts 3 websites with the following Apache httpd.conf configuration: NameVirtualHost *:80 NameVirtualHost *:443 <VirtualHost *:80> ...
1
vote
1answer
2k views

CentOS 6.4 iSCSI Target - crm shell error

I try to make a iSCSI Target on CentOS 6.4 with DRBD, Pacemaker, Open-iSCSI and LVM2. Now i need to prepare the HA iSCSI Target configuration on the crm shell, but if i enter the configure mode, ...
1
vote
1answer
24 views

No write permission for Wordpress under Nginx in CentOS 7

I have a CentOS 7 machine with Nginx running and the user is "nginx" (tghe default one in CentOS). I've installed Wordpress, which is working perfectly, and I've give wrtite permissions for nginx user ...
0
votes
1answer
42 views

Allow only SSH, FTP and Cloudflare Servers via IPTables

I want to allow only SSH access, FTP access and all communications between my Dedicated Server and all Cloudflare Servers using IPTables. I tried the commands beneath but it seems like I kicked out ...
1
vote
1answer
2k views

Centos set default ftp directory for a user

I am setting up accounts for people to connect to the server through ssh and SFTP. When I test the login, it goes straight to the "/" directory, and I do not want that to happen. I want to make it so ...
1
vote
3answers
565 views

Google Compute Engine Cent OS change hostname

Title says it all really - I want to change the hostname of a Google Compute Engine Cent OS instance. I have tried the normal method... in /etc/sysconfig/network set HOSTNAME=my.new.hostname in ...
6
votes
4answers
8k views

How to Disable SSLv2 for Apache httpd

I just tested my site on https://www.ssllabs.com/ and it said SSLv2 is insecure and I should disable that along with weak Cipher Suites. How can I disable that? I tried the following but it isn’t ...
0
votes
0answers
16 views

RPM Dist Tag not behaving as documented

According to the Fedora documentation the %{?dist} tag when building an RPM on CentOS 7 I should get .el7. but currently I get .el7.centos. The line from my .spec: Release: 1%{?_buildid}%{?dist} I ...
4
votes
2answers
7k views

How do I find out the recent SSH logins for Centos and their IP address?

It seems someone logged into my dev server with root password and did a whole bunch of destruction. How do I check the recent logins and their IP address on Cent OS ? Thanks.
0
votes
0answers
31 views

can't create volume on disk-based libvirt storage pool

I followed Red Hat's doc (to the letter) on adding a disk-based storage pool for my libvirt/kvm server. Here's what I see: [root@kvm ~]# virsh pool-info guest_image_disk Name: ...
-1
votes
1answer
17 views

Bind Server shows no errors, but is not working [on hold]

This is my named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // ...
0
votes
2answers
21 views

nodejs version on EPEL repository

Current stable node.js version is v0.12.2. I just run yum update on my machine and it updated node to v0.10.36. Why is my EPEL repo version so old compared to current stable one? Can I update node to ...
4
votes
2answers
343 views

SSL routines:SSL23_WRITE:ssl handshake failure, nginx on CentOS 7

First of all, what do I have: OpenSSL 1.0.1e-fips 11 Feb 2013 nginx version: nginx/1.6.2 CentOS Linux release 7.0.1406 (Core) and, for testing purposes, a self-signed certificate: openssl req ...
-1
votes
0answers
22 views

CentOS 7 power-off with high context switching and read I/O

I have recently set up my first CentOS 7 box. Its a dedicated quad-core server with 32GB ram. I want to use it as an KVM Hypervisor-System. But within two weeks, the server shut down twice with no ...
-2
votes
0answers
15 views

Resolve hostname of a Centos 6.5 dedicated server with a FQDN registered with Godddy [on hold]

I have a domain registered with Godaddy and I am setting up a dedicated server for learning purposes. I want the server's hostname to be resolvable. I created custom NS records (ns1.mydomain.com & ...
1
vote
0answers
16 views

Many gettimeofday in Apache 2.4 + fcgid + centos 6.6 - Long Wait time for static files

When i perform a strace on apache process, i see many gettimeofday before & after GET request, even when Apache returns a static file like an image file. It results in a long downtime period ...
0
votes
1answer
1k views

“Disk Not Found” Error when trying to install iso image of CentOs on ESXI using VSphere

When trying to install CentOs setup as an iso image on datastore, i get an error : "Disk Not Found". I am using ESXi 4.1 as host VM. Is there a way to attach DVD/CD as iso image ? I tried "Connect at ...
0
votes
1answer
690 views

Centos binding server configuration with glue record

I have trouble with dns server at CentOS. I have domain cloudauth.me, I have bought it from godaddy.com. I added glue record to this domain . I configured nameservers with ns1.cloudauth.me and ...
-3
votes
1answer
23 views

Unrecognized Service Nginx ERROR [on hold]

I freshly created droplet on digital ocean, centos 6.5 64 bit. I did all things below. After make install, it seems like nginx doesn't installed my server. I am getting Unrecognized Service Nginx ...
1
vote
2answers
369 views

Linux: One time message on login

I am looking for a command similar to wall but will deliver a message to users currently sshed in and if they are not logged in will display upon their next ssh login( but only once ). Context is that ...
2
votes
1answer
4k views

Starting Tomcat 7 as a user - init.d script can't write pid

I want to run Tomcat 7 as a user on CentOS 6. I've created a user tomcat:tomcat and changed the ownership under /var/lib/apache-tomcat* etc... There are lots of docs online on how to do that but I ...
0
votes
1answer
22 views

Apache SSL Errors every 30 seconds

I have three load-balanced Apache 2.4.6 servers running on fresh installs of CentOS 7. The load-balancer is a Barracuda 340. I know its old, but it's more than capable of handling the traffic, and ...
0
votes
1answer
39 views

Job for httpd.service failed

after following this tutorial :https://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certificate-on-apache-for-centos-7 I have tried everything I possibly can to fix the error I have ...
1
vote
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
-1
votes
0answers
18 views

CentOS hangs on commends cd & ls [closed]

I have a remote directory that is mounted in fstab as follows: //1.1.1.1/some/directory /media/mydirectory cifs username=someuser,rw,file_mode=0777,dir_mode=0777,noauto 0 0 The problem is that it ...
0
votes
0answers
18 views

MP4 Video Streaming Issue on Centos [closed]

We have amazon ec2 centos server. High quality and about 180MB size each videos are uploaded on the server but video is not streaming very very slow. It seems to be working fine on other systems. What ...
0
votes
2answers
2k views

iptables returns me “no chain/target/match by that name”

Been trying to run iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0:0 -j MASQUERADE and I keep getting the above error message. Trying to set up openvpn on my server. Does anyone have any ...
1
vote
3answers
1k views

mod_security: another rule with same ID

I have installed httpd 2.2.15 on CentOS 6.5 (minimal installation with no cPanel) with modsecurity 2.8. When I am starting httpd I am getting this error: Starting httpd: Syntax error on line 23 of ...
1
vote
0answers
22 views

VPN Connection Failed When Using SSH [closed]

I want to connect to my server in my office over VPN which has a SSH server installed. But when I connect to the VPN and then try to SSH to my server, the vpn connection closed suddenly. What is the ...
-1
votes
1answer
30 views

make mysql to share all cpu

I am very new to linux server .I am using centos.Sometimes my cpu gets overloaded because of the process mysqld over 100% PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
-2
votes
3answers
351 views

Accidently removed localhost.crt SSL in Centos 6 - what can i do?

So I just got my certificate issued from Digicert, and since there was other unused/old files in /etc/ssl/ i marked and removed, and accidently also removed localhost.crt. Now I cannot start my web ...
0
votes
0answers
17 views

failed ssh logins DOS: pam_systemd Failed to connect to system bus

After a couple of weeks of script kiddies attempting to login via SSH to my CentOS 7 box on EC2, it eventually stops responding on that port (and to http on port 80), and I have to reboot it. The ...
3
votes
3answers
5k views

Invalid command 'SSLEngine' Centos

I uninstalled Apache, and reinstalled it, and now when I try to start it I get the following error: Syntax error on line 94 of /usr/local/psa/admin/conf/generated/13636697550.95452800_server.include: ...
1
vote
0answers
15 views

CentOS vhosts causing issues with Vagrant Share command [migrated]

I have a CentOS 6.4 box running with Virtualbox with a basic Vagrantfile like this: Vagrant.configure("2") do |config| # centos box information config.vm.box = "nrel/CentOS-6.5-x86_64" ...
-1
votes
0answers
16 views

Why mails are in spam folder [duplicate]

I have set up a mail server (Postfix) in CentOs with proper configuration six months before. For the past five months, the mails which I have been sent are get received in Inbox folder. But, Now I ...
-3
votes
0answers
15 views

Real visitor IP on XAMPP by CloudFlare [closed]

How to get real visitor IP on XAMPP sent by CloudFlare on CentOS? https://www.cloudflare.com/resources-downloads#mod_cloudflare # yum install libtool httpd-devel # wget ...