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
10 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
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 ...
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 ...
0
votes
0answers
17 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
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 ...
0
votes
0answers
24 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 ...
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> ...
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 ...
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 ...
1
vote
1answer
23 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
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 ...
-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
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: ...
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 ...
-1
votes
0answers
21 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
39 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
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 ...
-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
0answers
15 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
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
votes
0answers
17 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 ...
1
vote
0answers
21 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 ...
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 ...
-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 ...
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 ...
0
votes
0answers
27 views

How do I force IPV4 with PCS? (Pacemaker/Corosync)

I'm setting up a Pacemaker/Corosync cluster with a DRBD mount for a highly available Webapp in a secure environment. This is running on CentOS 7. The cluster is working. However to get this system ...
-1
votes
0answers
21 views

Unable to search a file location [migrated]

i am unable to locate files or directories while executing below commands. getting below error: $ locate httpd locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
-5
votes
0answers
26 views

unable to update yum on CentOS 6.6 [closed]

suddenly getting issue at my VM machine. need your help to get it sorted out. $ yum -y update Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Update Process Loading mirror ...
0
votes
1answer
32 views

Postfix blocking mail from backup MX

I have two CentOS 6.6 servers configured with Postfix for sending email. I have everything working great, SPF entries, Domain Keys and OpenDKIM configured and working, but I'm trying to perfect my ...
2
votes
1answer
26 views

LUKS full disk encryption use keyfile instead of passphrase

I have enabled LUKS full disk encryption on an LVM volume while installing centos6.6, however it asks for a passphrase every time the OS is rebooted. I am now trying to use a key file according to ...
-1
votes
2answers
43 views

Chroot user to an existing folder witch parent owner isn´t root [closed]

We have moodle installed on our company and due to big SCORM packages + slow conection + proxy, I usually upload them with SFTP with my root user. Now, I want to give users a way to upload files by ...
0
votes
2answers
40 views

SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) [closed]

I've changed the password for admin user of mysql in phpmyadmin and now I can't access neither my Plesk panel and neither mysql via ssh. The error it triggers is: SQLSTATE[HY000] [1045] Access denied ...
6
votes
4answers
60 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 ...
0
votes
0answers
25 views

SSH Connection Refused during Installing CentOS

I am re-installing CentOS 6.6 to upgrade from 5.6. I was using SSH and VNC to install the CentOS. Thus, I was trying to install CentOS 6.6 remotely. I tried to follow instructions in this link: ...
-3
votes
0answers
9 views

manuly load dav_svn_module for subversion 1.8 [closed]

Using Centos 6.6, Compiling source code of Subversion and make the changes in httpd.conf for subversion, after reloading the Apache server got the error:- file /of/apache/httpd.conf: Unknown DAV ...
1
vote
1answer
45 views

What URL do I use to PXE boot over http with CentOS 7 dvd?

I have this mount on my nginx server: /home/msh/CentOS-7-x86_64-DVD-1503-01.iso on /usr/share/nginx/www/iso type iso9660 (ro,relatime) so the root of the iso file system is one step in from the ...
0
votes
1answer
16 views

CPAN installation proble, HTTP::Message on CentOS

I have a perl script that needs a long list of prerequisites. While installing these, I am not getting past the installation of HTTP::Message When I run cpan HTTP::Message from the command line as ...
0
votes
0answers
29 views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
1
vote
1answer
16 views

How to test the value of LimitRequestFieldSize in Apache 2.4

I would like to test the value of LimitRequestFieldSize in Apache 2.4. I have tried setting it and was wondering if there was a straightforward way of calling its value from apache or testing it via ...
0
votes
0answers
21 views

extract/unpack archive file from rpm binary file on %post [migrated]

I'm creating an rpm for a php web application. And I need to run a php file on %post. But before I can do that, I need to unpack the archive file from the rpm file to execute the php file on %post, on ...
-3
votes
1answer
33 views

system halt twice a week [closed]

My system stop responding almost twice a week. following message is found in log, Apr 27 04:44:37 Helpdesk shutdown[29686]: shutting down for system halt Apr 27 04:44:39 Helpdesk modclusterd: ...
0
votes
0answers
65 views

CentOS 99% memory usage

for the past week my CentOS VPS has had 99% memory usage. [root@server ~]# free -m total used free shared buffers cached Mem: 2048 2032 15 ...
1
vote
0answers
5 views

Block Wordpress Updates by Server [migrated]

I've a server and I want to block all the Wordpress Sites Updates Notification (more than 150). I know there is a option in wp-config.php but I want to block all the updates. I put in hosts ...
1
vote
1answer
43 views

Fail2ban critical exception - does not block ips

I'm trying to get fail2ban running on CentOS7 (no SELinux) and it uses firewalld. My goal is to set it to ban Asterisk password fails. Setup was default yum install fail2ban Config-wise I ONLY added ...
-2
votes
0answers
24 views

How to fix a failed package update in CentOS?

I have these problem when I want to update all packages: 1:php-eaccelerator-0.9.6.1-jason.4.x86_64 from utterramblings has depsolving problems Missing Dependency: php(zend-abi) = 20060613 is needed ...