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

/usr/java/jre1.8.0_31/bin/java.exe: No such file or directory

I've been trying to run a plugin inside a I have hired, and I've constantly been getting this error: [04:13:41] /bin/sh: /usr/java/jre1.8.0_31/bin/java.exe: No such file or directory Not too sure ...
1
vote
1answer
349 views

Postfix Mail Relay Server with TLS

I currently have Postfix set up on a Centos 6 server, as a simple forwarding service. Currently in /etc/postfix/main.cf I have set the following: smtpd_client_restrictions = ...
9
votes
3answers
2k views

mdadm: can't remove components in RAID 1

I have my /boot partition in a RAID 1 array using mdadm. This array has degraded a few times in the past, and every time I remove the physical drive, add a new one, bring the array being to normal, ...
0
votes
0answers
208 views

CentOS 7: write failed: broken pipe when trying to reboot

Commands I've tried: sudo reboot sudo systemctl reboot Both commands just ask for my password for sudo then write: Write failed: Broken pipe Then they close the SSH connection and I can ...
1
vote
1answer
631 views

Installing new NVIDIA driver fails

I hope this is as easy as an already answered question I didn't find on SE. So, I have an LTSP server running CentOS 6. Linux kernel version of both LTSP image and server are the same: is ...
3
votes
1answer
102 views

`find` multiple -o -name condition AND ! -name

I'd been playing with this snippet and seems like I can't make my desired find work. I tried google but all tutorials does not seem to tackle this scenario suppose i have the following files ...
2
votes
2answers
153 views

replace `while` with more suitable function so looping would wait for each process to end

I have a bash script that look out for files recursively under multi-sub folders, then use ffmpeg to each file. at debug, it works great if i use echo ffmpeg but the thing is, at real work where it ...
7
votes
2answers
818 views

What is brandbot?

What is the "brandbot" service running in Centos 7? What does it do? All I can find (it has no manpage) is "Flexible Branding Service" and that it's part of the "base" repo.
1
vote
0answers
40 views

Centos 7 FTP Hidden Directory Issue

After setting up Centos 7 with a web server standard install and LAMP stack. I installed vsftpd. Everything works fine and configured it to accept passive to enable gui ftp programs. However, when ...
1
vote
0answers
58 views

Cannot resize windows remoting-in through X11VNC?

As title says, I am remoting on to a Linux box (CentOS 6) using X11VNC. However, I cannot resize any windows manually by hovering over the frame, because the frame resize cursor does not appear. ...
1
vote
2answers
173 views

One-Liner needed: Stop httpd if running already & Start httpd if not running

As part of a provisioning script for CentOS 7 I am in need to have a one-liner that performs the following. Unfortunately, I have no clue how to achieve that. If httpd is running then stop it If ...
3
votes
2answers
96 views

using the variable “file” obtained from `for “file” in` and pass to another script fails [closed]

I am trying search for all .mkv files in my current folder, then using mediainfo I want to put the height from its meta data to a variable, but it seems it is failing. This snippet: ...
0
votes
2answers
107 views

SSL by IP or domain

The server that this is for will operate in a intranet environment... I have Apache working with SSL. I am using a self-signed SSL Certificate created using the steps outlined here: ...
19
votes
5answers
21k views

How to find out if a system uses SysV, Upstart or Systemd initsystem [duplicate]

Is there a simple way to find out which initsystem is being used e.g by a recent Debian wheezy or Fedora system? I'm aware that Fedora 21 uses systemd initsystem but that is because I read that and ...
2
votes
2answers
9k views

How to avoid “yum lock” hassle?

I often encounter the "Another app is currently holding the yum lock; waiting for it to exit..." message when trying to install an app and I have to kill yum manually. How can I avoid that? Is there ...
0
votes
3answers
836 views

How make console to support chinese in CentOS 7?

How can I make the console in CentOS 7 support Chinese? I used localectl command. Following is the result: System Locale: LANG=zh_CN.UTF-8 VC Keymap: cn X11 Layout: cn The sets are for Chinese. ...
2
votes
1answer
368 views

Where is the location of console fonts in CentOS 7?

Where is the location of console fonts in CentOS 7? Please tell me if somebody knows that. Thanks!
3
votes
2answers
154 views

Unable to mount root filesystem rw with journal

Trying to understand the whole journalling setup and from what I've read and tried, it's eluding me somehow. The root filesystem is ext3. Examining it via tune2fs -l /dev/root shows that ...
3
votes
2answers
6k views

kvm virtual manager connection failed

I installed kvm package in the centos7 i am getting this problem how to solve this. full error is here Unable to connect to libvirt. no connection driver available for qemu:///system Libvirt URI ...
1
vote
0answers
167 views

xterm window positioning

I want a shortcut to start an xterm window with specified number of columns and rows and from the specified starting points. I have CentOS 6.6 and the xterm's version is: X.Org 6.8.99.903(253). I ...
0
votes
0answers
897 views

CentOS 7: Can't connect wifi using wpa_supplicant

I recently got a new wireless card, specifically Intel Dual Band Wireless-AC 7260 WiFi Bluetooth Half Mini Card. Previously I had been connecting with ethernet so this machine has never been on the ...
0
votes
1answer
700 views

Centos 6.4 and UEFI

I have centos 6.4 64. In /boot/efi/EFI/redhat I have grub.efi file (about 251Kb). However, when I execute efibootmgr I get Fatal: Couldn't open either sysfs or procfs directories for accessing ...
0
votes
1answer
345 views

Print file name,Modified Date and Size with Header

How do I print file size, file name and modified date with header.Till now I have come up with: find . -regex '.*\.csv' -execdir stat --printf '%n,%y,%s' {} \; How to add header and do not print ...
1
vote
0answers
168 views

error: cant't find command linux when booting system

I need some help with a problem when booting. Recently I've installed CentOS 7 on my pc, previously I had debian 7 and manjaro installed. When I installed manjaro I overwrote the bootloader of debian ...
0
votes
0answers
230 views

haproxy removing mod_expires set by apache

I've haproxy server which is routing requests to different web service instance based on rules. The web service instances have apache running at port 80. Now, I'm trying to set some expiry header by ...
0
votes
1answer
161 views

RPM install add yum repository

Is it possible to add a yum repository as part of the Requires field on an RPM spec file? For instance: Requires: my_custom.repo, software.xyz (only available in my_custom.repo) If not what is the ...
1
vote
2answers
740 views

How can I bring up up a non-boot (ONBOOT=no) network interface with iproute2?

Have a network interface that does not come up on boot-up: [belminf@tito ~]$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-enp0s3 ONBOOT=no I know I could do the following for DHCP: ...
0
votes
2answers
875 views

Is it ok to install CentOS rpm in fedora?

I want to try gitlab community edition in my fedora laptop. From the downloads page, it has binary packages for Ubuntu and CentOS 6 and CentOS 7. Which one should I be installing in fedora(release 21) ...
4
votes
2answers
99 views

Can I mount a case-insensitive tmpfs/ramfs?

I would like to utilize the performance of tmpfs/ramfs for some file operations, but the programs/processes that use these files assume a case-insensitive file system. I cannot find any documentation ...
2
votes
1answer
221 views

Clustered NFS server reply ERR 24: Auth Bogus Credentials (seal broken)

I have 4 servers on the VirtualBox. Two of the servers are a CentOS 7 cluster with Pacemaker(corosync), and they have an NFSv4 server in Active/Passive mode. There are also 2 clients with CentOS 6, ...
0
votes
1answer
89 views

Are there any drawbacks to running a GUI on a CentOS server?

I need to build several CentOS 6.6 servers, mostly into web servers and a couple of mail servers. Are there any disadvantages to running a GUI environment as opposed to having no X11 at all? I'm ...
2
votes
3answers
123 views

Can system time be paused?

This may or may not be the right approach, but it's feasibility was requested of me: We have a demo server that we update from time to time in order to keep the statistical calculations up-to-date. ...
0
votes
1answer
83 views

seeking hints for correct escaping of sed commands WITHIN yaml

I am having a hard time finding the issue why following lines of "code" break my cloud-init config. Basically I am calling a son object as part of the DigitalOcean API which has a YAML format - I got ...
1
vote
2answers
424 views

why nginx holds file descriptions of logs?

on Red Hat Enterprise Linux Server release 6.6 (Santiago) nginx version: nginx/1.0.15 I use common nginx logrotate config, logrotate works fine and nginx creates new log file like access.log or ...
1
vote
1answer
77 views

Rebooting Centos Servers configured with MYSQL Master/Slave Replication

Sometime ago we configured MYSQL replication on our main web server to another CentOS 6 server. All is working perfectly and we can see the replication is working fine. My question is how to safely ...
0
votes
0answers
203 views

Centos 6-7 install argument for GUID Partition Table

From here http://www.tecmint.com/centos-7-installation/ item 11 NOTE:For those users, who have hard-disks more than 2TB in size, the installer automatically will convert partition table to GPT, ...
0
votes
1answer
1k views

PHP 5.4 ON CENTOS 7 , NGINX , page not found error

I am trying to install PHP 5.4 on CentOS 7 currently , my conf files look like the following : /etc/nginx/conf.d server { listen 80; server_name 178.62.255.79; root ...
1
vote
0answers
50 views

iptables not getting saved ? centos

I am trying to save the iptables, when I run command #service iptables save it says [ok] but when I again open the iptables the rules get revert to default. Can anyone help me to understand this ...
0
votes
0answers
5k views

mount exFAT HDD on CentOS 7

I'm running CentOS 7 on my server. I can't yum install fuse-exfat exfat-utils so I installed exfat-utils 1.0.1-1.el7.nux and fuse-exfat 1.0.1-1.el7.nux via RPM. I have a WD Green hard disk, which is ...
3
votes
1answer
626 views

Kickstart file - installer is ignoring some of the “do not install” packages from the packages section

When I use the kickstat file on CentOS 7.0, the installer seems to be ignoring some of the "do not install" packages in the list. cdrom text auth --enableshadow --passalgo=sha512 keyboard ...
0
votes
2answers
174 views

many missing dependencies , no links (centOS 7 , postgresql 9.3)

I am trying to install postgresql 9.3 on centOS 7 first , I needed to install libxml2 , and then I tried to install libxml2-devel /$ rpm -iUvh ...
1
vote
1answer
549 views

httpd 2.4.6 on CentOS 7 - question related to module config in httpd.conf

I am sorry to post this type of question here but due to the great experience and skillsets here, I hope for your understanding. I am using (unfortunately) httpd package (v 2.4.6). In various guides, ...
0
votes
3answers
816 views

Check installed grub2 modules

I run CentOS 7. Is there a way (e.g., a command) to check which grub2 modules are currently installed?
0
votes
1answer
470 views

Installed PHP extensions to wrong PHP version

I just bought a VPS and it came with PHP5.3.3 and that wasn't good for our website, so I successfully (so it seemed, anyway) installed PHP5.6.7 and successfully registered it with Plesk. For the ...
1
vote
1answer
179 views

CentOS 6 Static IP Address

I've just assigned my CentOS machine with a static IP address using the /etc/sysconfig/network-scripts/ifcfg-eth0 which has the following lines and seems to be working #eth0 config DEVICE="eth0" ...
0
votes
0answers
243 views

Cannot mount LVM partition after restoring LVM metadata

I have resized two LVM partition (/var and /home) and somehow resize process went wrong. After reboot system wasn't able to mount /var and /home. I have used RIPLinux to check if I can mount those ...
0
votes
2answers
1k views

Centos 7 - Trying to install postgresql (from postgresql.org)

I am trying to install Socorro service on fresh Centos 7 (installed on Amazon ec2). I am following the instructions from the official documentation - Socorro. I installed the PostgreSQL 9.3 RPM ...
0
votes
0answers
99 views

How do I show that a Desktop environment is NOT installed?

I need to document that a server is running a minimal installation of CentOS. I'm aware that I can echo $DESKTOP_SESSION (returns blank), but is there a better way of showing that the OS is minimal ...
0
votes
1answer
308 views

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software - the interface can be accessed in local network on (example) 192.168.0.2:8080 - But it has no public IP ...
0
votes
1answer
182 views

Nginx File 404 when trying to launch drupal install.php

I am getting a 404 when trying to access the install.php for drupal on nginx. Below are my /etc/nginx/nginx.conf and /etc/nginx/conf.d/default.conf files. the nginx user and group own the ...