Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

0
votes
2answers
2k views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
0
votes
1answer
29 views

Having problems updating after esx host problem

So I have a VM that had to be hard shutdown. I can't get the error to stop. CentOS 7.x latest [user@asm-dmz01 ~]$ sudo yum-complete-transaction --cleanup-only Loaded plugins: fastestmirror Loading ...
0
votes
0answers
8 views

Mic input ignored in Win7 HVD running from Ubuntu 15, 16, but not 14

The actual symptom I'm seeing is on Windows 7, but I think the root cause is in Ubuntu. I have a CentOS7.2 laptop, which I run an Ubuntu VM from, and from that VM I run VMWare Horizon View to run a ...
0
votes
0answers
14 views

UUID of LUKS changes when cloned

I am trying to install Centos 7 (under LUKS) on a virtual machine in Fedora 23 using virt-manager and after that to clone that image to multiple USB drives. The problem is that the virtual machine ...
0
votes
0answers
17 views

cups restarted automatically

I have installed a cups service on a CentOS 7.1 64 bits. We have some problems with a printer and the only thing I can see on logs is /var/log/messages: May 18 12:11:37 isis systemd: Started CUPS ...
0
votes
1answer
28 views

Sensu remediation : not able to trigger client

I am a newbee to Sensu remediation i tried to restart process with custom script Senario: if my http link goes down then i use to manually run the script and start it. we moved to Sensu recently as ...
2
votes
0answers
30 views

CentOS 7: RAID 1 high I/O wait

I am running CentOS 7, with RAID 1 (md) on the hard drives. I have the partitions set as shown below. md0 -> root (sda1, sdb1) md2 -> swap (sda2, sdb2) md3 -> misc (sda3, sdb3) on md3, I ...
0
votes
1answer
30 views

sshd AllowGroups group not granting access

I have this weird situation: On a Centos 6.6 box, in my sshd_config, I have the line AllowGroups foo bar baz just like on all the other servers. However, when user baz (whose group is baz) tries to ...
0
votes
2answers
75 views

CentOS: Install git with yum says glibc requires glibc-common older than installed

I'm using CentOS 6 from Docker, and when I install git, I get this dependency error: Error: Package: glibc-2.12-1.166.el6_7.7.i686 (updates) Requires: glibc-common = 2.12-1.166.el6_7.7 ...
1
vote
1answer
220 views

PHP app crashes: child pid exits with Illegal instruction (4)

I have a CentOS 6 server with Apache and PHP. I run some application and can constantly reproduce this crash. After some sequential action the app dies and the only trace I found is the following ...
5
votes
7answers
16k views

CentOS | [root@hostname] does not show anymore?

For some reason I logged into my CentOS6 server and at the beginning of every line it normally shows [root@hostname]# Now it shows -bash-4.1# What does this mean? And how to I get it back to ...
0
votes
1answer
30 views

Set an IP in Centos for access in SSH when connected through WiFi

I recently installed CentOS 7 on Virtual Box with a minimal installation, and I have enabled the network interface in order to show my IP and access to it through SSH when connected by an Ethernet ...
0
votes
1answer
19 views

How to know about automatic installations in CentOS

I have a Centos release 6.7 server where I have installed Apache 2.4. The server came with Apache 2.2 but I have upgraded it to Apache 2.4. From time to time, the system goes back to use Apache 2.2 ...
2
votes
1answer
109 views

Unable to start ZNC as a service

Firstly, this is the exact same question as found here, but the given solutions did not work in my situation. Background I am running a CentOS 6 VPS and I want to run a ZNC bouncer on it. I ...
1
vote
1answer
1k views

Empty desktop after installing xrdp on Centos 6.5 with XFCE as window manager

I followed the directions to install xRDP from this site (http://ajmatson.net/wordpress/2014/01/install-xrdp-remote-desktop-to-centos-6-5/) When I RDP from Windows -> Linux, I successfully enter ...
4
votes
2answers
8k views

yum Error:rpmdb open failed

I'm trying to run yum update and I'm running this error: rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run ...
0
votes
2answers
3k views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
1
vote
1answer
2k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat ...
3
votes
1answer
3k views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
0
votes
0answers
11 views

window remains invisible on startup (Gnome 3 Centos7)

I have created a Vagrant box that is specific for our teams needs. I am running into an issue with a hidden window on the SOAPUI application and cannot resolve it after many hours of Google searching ...
1
vote
0answers
16 views

Using mail spool file for an entry in /etc/aliases gives errors in EL7

For years (with EL6 and before), I have successfully used entries like this in my /etc/aliases file: bugs: /var/spool/mail/bugs The idea being mail to a non-user can be shoved into a file for ...
1
vote
0answers
11 views

Centos 6 FTP problem

I have a VPS running CentOS 6. I've tried multiple FTP servers but the following problem keeps me stuck. I want all users to have FTP access to their own folder in /home, so I configured Pure-FTPd to ...
6
votes
3answers
13k views

how to install kdm on CentOS 7

I installed CentOS 7, first I installed group "KDE Plasma Workspace", then I installed "GNOME Desktop", after that, I found only gdm existed. and which kdm returns nothing, yum provides kdm only ...
2
votes
0answers
37 views

Systemd mount fails. Where= setting doesn't match unit name [closed]

If I use this command : mount -t xfs -o noatime,nodiratime,logbufs=8 -L d1 /srv/node/d1 all works correctly. But if I try to mount throug the systemd mount it fails. I've created a file ...
2
votes
2answers
49 views

How to use Upstart scripts on CentOS7?

I am learning some stuff about object storages and have an example: I need to create a file /etc/init/start_swift.conf with following commands: description "mount swift drives" start on runlevel ...
1
vote
1answer
56 views

File location for Syslogs in Centos machine

I am running syslog server (rsyslog 8) on my centos machine. I want to map other device in my network to send the logs to this syslog server. If mapping is done correctly where exactly the syslogs ...
1
vote
0answers
7 views

Extending XFS filesystem CentOS 7 Google Cloud

I have Googled everything, and literally nothing is working. Here is df -h: Filesystem Size Used Avail Use% Mounted on /dev/sda1 10G 7.7G 2.4G 77% / devtmpfs 103G 0 103G ...
3
votes
2answers
2k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
4
votes
2answers
9k views

CentOS - Issue with write permissions

I am running CentOS 6.4 and I have installed Wordpress on it. (along with LAMP) Now the problem is, that I cannot make any write changes to any files in the wordpress editor: eg. header.php, ...
3
votes
3answers
10k views

CentOS how to update Ant Version to 1.8.x and higher?

I'm using CentOS 6.5 and installed Ant by using: yum install ant It came with Ant version 1.7.1, but I need the latest -- version 1.8.0. How to properly get the latest Ant version 1.8.x (or ...
1
vote
4answers
5k views

Apache Tomcat not working

I am a Linux beginner and have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to ...
1
vote
1answer
21 views

Wireless Kernel Module Not Loaded

I did a CentOS 7 x86_64 minimal install on my computer with an AMD x64 processor. I am now attempting to set up WIFI. The wireless driver iwl4965 from here is installed but is not showing as being ...
0
votes
0answers
11 views

NetBeans 8.1 installer stuck on 64-bit RHEL 7

This is CentOS 7 running in Docker. Silent install doesn't show anything in /tmp/state.xml. When I remove silent install and enable X11 for the installer Window, I can see that the installer is stuck ...
1
vote
2answers
4k views

Upgrading CentOS 6.7 to CentOS 7 on VMWare 11.0

I tried to upgrade(in-place) CentOS 6.7 to CentOS 7.0 on the various environments. I installed CentOS-6.7-x86_64-bin-DVD1.iso on VWware 11.0. And I followed the ...
4
votes
1answer
1k views

initramfs / UUID problems after cloning

So I just cloned a Centos7 "everything install" VM to a physical disk using VMWare Workstation and Clonezilla using the instructions here: ...
4
votes
2answers
6k views

Installing python modules for python2.6

On my CentOS 5.8 system (el5 , 64bit), I had python2.4 after OS install and I installed python2.6 now. Now I want to install python modules using yum. But whenever I install a new python module it ...
1
vote
1answer
93 views

iptables rule explanation

I was looking to update iptables in our webserver which would prevent DoS attack to an extent. 1) Related to web traffic, below are the iptables rules i found. iptables -I INPUT -p tcp --dport 80 ...
1
vote
0answers
282 views

403 Forbidden on Sub-Folders

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, ...
3
votes
2answers
8k views

How do I find out what file Apache is serving when a port is hit?

I'm working on a server someone else set up. The server is CentOS 4.6 running Apache/2.0.59 (httpd). They have an update service setup on port 8443. I know it is working but I need to find out what ...
1
vote
0answers
484 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the ...
2
votes
1answer
12k views

Apache throws 403 Forbidden after moving DocumentRoot (CentOS 6.4)

I installed Apache via yum on CentOS 6.4. I changed the DocumentRoot in /etc/httpd/conf/httpd.conf to point to /home/djc/www: DocumentRoot "/home/djc/www" <Directory "/home/djc/www"> ...
0
votes
1answer
803 views

Big trouble : rpm empty db, install V3 RSA/SHA1 Signature, key BAD, YumRepo Error

I'm little tired because I have spent hours solving problems, and can't find a solution on Centos 6.6. I have many troubles: rpm db is empty: try googling, find restore process, but always empty ...
-1
votes
1answer
53 views

Apache Downloading a lot data, how to find out which script? [closed]

Apache Downloading a lot data, how to find out which script? I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I ...
9
votes
2answers
15k views

apache won't restart after adding VirtualHost conf file, why not?

In a CentOS 7 server, I get the following error when I type sudo apachectl restart after I add an include file at the bottom of httpd.conf: Job for httpd.service failed. See 'systemctl status ...
1
vote
1answer
2k views

How to use i3 on CentOS 7 with Gnome?

I have a CentOS 7 with Gnome running on my machine. Now I want to use i3 as the window manager. I managed to install i3 but I don't know how to make CentOS 7 use i3 now. I tried to edit .xinitrc like ...
0
votes
0answers
15 views

zopfli --i1000 all css, js files in a directory and sub directorys

My servers OS is CentOS, with Nginx. I've enabled Gzip_Static_Module for nginx. Now after update of a website I need to gzip all the js, css files. Is there a way to search a dir like ...
0
votes
1answer
1k views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
0
votes
1answer
965 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 ...
2
votes
4answers
10k views

Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

Ok, so I have tried this quite a few times and I'm sure this is very trivial but: I am trying to SSH via command line on Ubuntu into my VM (Centos6) with an RSA key-pair I created using key-gen. I ...
0
votes
1answer
86 views

Can't update OpenSSL on Centos 6.4

I've got a Centos 6.4 system that I'm trying to patch OpenSSL for. Currently, yum reports "1.0.1e-16.el6_5.4" and openssl version shows "1.0.1e-fips". On my Ubuntu machines, I was able to update ...