CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
0answers
19 views

check media resolution if resolution is big ffmpeg it, if output is smaller than original delete the original else delete the output

I have my storage VPS filled with videos, and hoping I can free up some space, their resolution is pretty big so I decided to re encode them with ffmpeg to a smaller resolution, I am doing every thing ...
0
votes
0answers
151 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
0answers
30 views

How to benchmark performance and ensure high-availability in a CentOS 7 cluster?

To give you a little context on my question, I'd like to mention that I am writing an essay on high performance and high availability clusters using a 2-node (I know that is not optimal, but it's what ...
0
votes
1answer
25 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
53 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
37 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
53 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
47 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
51 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
221 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
39 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
45 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
33 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
45 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
0answers
28 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 yam format - I got ...
1
vote
2answers
56 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 ...
0
votes
1answer
40 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
31 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
0answers
90 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
34 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
69 views

How to fix: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found

I need to install doctotext hence in the base directory, I run doctotext.sh and I got the following error (./doctotext: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found). When I did ...
0
votes
0answers
308 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 ...
2
votes
1answer
45 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
35 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 ...
0
votes
0answers
54 views

How to install rpm

I have CentOS-6 and rpm and yum installed on it. The problem is that I had make utility on my system, but somehow it got uninstalled. Now, i want to install make with 'yum install', then I get ...
0
votes
1answer
70 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
53 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
0answers
24 views

Moving Informatica data(directories) from one unix server to another unix server

Can we migrate directories from one unix server to another unix server, without the need of installation of Informatica softwares on the new unix server? If yes, then will there be any change in the ...
0
votes
1answer
96 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
50 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
108 views

CentOS 7 /var/log/messages

We have a CentOS 7 (3.10.0-229.1.2.el7.x86_64) server running as our main file share server. We randomly see the following error messages showing up in our /var/log/messages and have been trying to ...
0
votes
0answers
32 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
1answer
135 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
26 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
49 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
32 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 ...
0
votes
1answer
41 views

mount times out with iptables --policy OUTPUT DROP

I previously ACCEPTed all output traffic by default. Recently changed the policy to DENY output by default, only opening ports needed for server/application functionality. When I tried to mount a ...
1
vote
1answer
73 views

How to create permanent ip alias belonging to different subnets in Centos

I followed this link and created few alias ips on my centos 6.5 machine but all these ips belong to same subnet. What I have: My machine: eth0, 10.91.56.3 IP Alias1:eth0:1, 10.91.56.4 IP ...
0
votes
0answers
62 views

Dovecot ACL config for read-only user mail folders (CentOS 6)

I'm using Dovecot as an IMAP server. It's the latest version from source installed to /opt. Dovecot -n output: # 2.2.16: /opt/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-504.12.2.el6.x86_64 ...
0
votes
0answers
24 views

Rsyslog logs retransmitted after log rotation

I have config setup on all my CentOS servers to forward all syslog messages to a Graylog server via rsyslog. In Graylog I have then configured streams to alert on the occurrence of certain message ...
2
votes
1answer
64 views

Resize MDADM/Software RAID underlying partition and filesystem

I am running out of space on my root partition and would like to steal some from a different partition. The drives are 2x120GB with mdadm software RAID. I am using CentOS 6.5 64-bit. I used the centos ...
0
votes
1answer
30 views

What does the “-y” do in “yum -y groupinstall gnome”?

I've been googling and reading tutorials, but while the authors go into detail with all the things you can do with yum, no one ever mentions what the -y flag is for. I'm trying to automate this with ...
2
votes
1answer
163 views

Policy in /etc/pam.d/password-auth is not being enforced

I've updated login.defs and password-auth to include a minimum length on passwords (12), but the minlen is not being enforced when I attempt to change a user's password with passwd. None of the ...
0
votes
0answers
84 views

CentOS limits.conf & cpulimit not working

I have a CentOS server I am testing things out on. In it, I have configured USERNAME hard maxlogins 4 USERNAME hard cpu 1 USERNAME hard nproc 10 in ...
0
votes
1answer
57 views

Configure systemd-journal-gateway on CentOS7

I installed systemd-journal-gatewayd on CentOS7 and started it. If I connect to the given port the HTTP server is answering but the response is always emtpy. Neither /entries?follow nor /entries?boot ...
0
votes
2answers
77 views

Yum Broke For some reason

i am trying to install Mysql Client i am getting this annoying message. I am still unable to find the proper answer. [root@localhost Downloads]# yum install mysql-bench There was a problem importing ...
0
votes
0answers
92 views

Why does PostgreSQL 9.4 on CentOS7 not run via the `systemd` service file on boot?

As root, if I change to the postgres user with su -l postgres then run /usr/pgsql-9.4/bin/pg_ctl start -D ${PGDATA} -s -w -t 300, PostgreSQL starts successfully. As root, if I run systemctl start ...
1
vote
0answers
56 views

Why does my USB modem produce multiple /dev/ttyUSB* files?

I have a single Sierra Wireless USB 308 modem we are using for sending SMS message to, and receiving SMS messages from, customers. When this single device is plugged in, the system creates multiple ...
1
vote
0answers
41 views

How do I troubleshoot these SELinux AVC errors?

Background: I have a CentOS 6 LAMP server. Recently the server has started to become unresponsive every few days. Originally, mysqld would throw a nagios alert and I would be unable to even ssh into ...
1
vote
2answers
117 views

Append DNS suffixes to /etc/resolv.conf

Is it possible, and how do I configure CentOS 6.6 so that /etc/resolv.conf will obtain its configuration via DHCP, but will also have additional domain names added to the search line? Bonus points if ...