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)

2
votes
1answer
1k views

What's wrong with my NFS setup?

I had previously been able to configure an NFS server on a computer running CentOS 6.6, and to mount the file system in a Virtual Machine with the same OS and using autofs. Last week I did a fresh ...
1
vote
1answer
416 views

Question about CentOS and KVM virtualization and PCI Passthrough

I want to replace Windows Server 2012 R2 and Hyper-V on my homeserver with CentOS and KVM. My plan is to virtualize one Windows 8.1 machine and several smaller Linux machines like on Hyper-V, there is ...
0
votes
1answer
7k views

yum command not found, cannot install stress [closed]

When I try to install the stress package on SUSE11 and Centos 7, yum tells me that it isn't found or that stress as a command does not exist. Anywhere I have looked online tells me that it is as easy ...
0
votes
2answers
347 views

Delete/repair files with weird permissions/owner/group

I have the following files (output of ls -l): ?rw------- 6144 1684128777 2049835008 50331648 Jan 1 1970 image1.jpg br-xrwSrw- 25120 1987343475 1936028517 110, 110 May 30 2032 image2.jpg ...
2
votes
1answer
190 views

To be SOX compliant I need to keep years worth logs. Need help with particuliars

My company is going through an audit and I have taking over the role of Linux systems administrator unofficially. I see our current logging system has it to were we basically keep a months worth of ...
0
votes
0answers
63 views

Have CentOS push custom updates to windows 7 clients

Is there anyway do deploy updates for Windows OS desktops, from a custom source? I frequently work on computers, and installing Windows 7 with an OEM disk and waiting for my slow internet connection ...
1
vote
0answers
60 views

Temporarily mounted filesystems suddenly unmount

On a CentOS 7 machine, I've had several instances recently where filesystems mounted manually (not using an entry in fstab) suddenly get unmounted. This always occurs when I/O is occurring on the ...
2
votes
2answers
424 views

menu script over ssh

I have a script that asks for input from the user. When I run this locally it does what I want however I'd really like to run it over ssh. I've tried the regular ways I'd run a script: ssh ...
0
votes
1answer
155 views

Centos & PostgreSQL - cannot create database cluster

I have a server with CentOS 6. I installed on it postgreSQL 9.4, but didn't tell my mate and he installed 8.4 which included in CentOS by default. So we removed (service remove postgresql) both of ...
0
votes
1answer
81 views

Running xinetd and httpd on centos 6

We are running several centos 6.4 lamp stacks, and our backup solution (unitrends) has a client that requires xinetd. Can these two coexist on the same server? If so, is there any secret handshake I ...
0
votes
1answer
63 views

How to reboot centos with hotkeys?

I stuck on installation in centos with some soft on error. How I can exit of installation proccess or reboot server?
1
vote
1answer
507 views

multiple user-types/access-rules for OpenVPN on CentOS 7 and firewalld

How can I define separate roles for users and administrator in OpenVPN running on CentOS 7 server? Specifically, the users must only be allowed to https, while the administrator must be allowed to ...
0
votes
2answers
124 views

Ubuntu CentOS RHEL cross bash script su support

I know that title was a little ambiguous. Allow me to explain our issue. We designed an installer script on Ubuntu since Debian based systems are our primary core, however, some of our cloud based ...
0
votes
0answers
549 views

firewall-cmd doesn't work when called through OpenVPN connection, why not?

I recently set up OpenVPN to run on a remote CentOS 7 server. Once I establish an OpenVPN connection to the remote server from my local machine, I am able to ssh through the VPN tunnel with ssh ...
3
votes
1answer
2k views

LFTP mirror includes - including other directories other than what I've included

My question: How can I make sure LFTP only includes files AND directories using --include or --include-glob, and not download a bunch of extra directories from the root of the remote that aren't in ...
2
votes
1answer
3k views

changing default centos 7 workspaces

On CentOS7, using the gnome environment, I do not seem to be able to add, remove, or change the workspaces. I prefer to have 2 workspaces, or no workspaces, and understand the usefulness of the ...
0
votes
0answers
310 views

Modifying SELinux settings to allow for MySQL to run on CentOS7

I'm trying to install MySQL 5.6 on Cent OS 7 with SELinux enabled and am trying to get past the error (in /var/log/audit/audit.log): type=AVC msg=audit(1424111345.853:558): avc: denied { execmem } ...
0
votes
1answer
421 views

How to install libsnmp on CentOS 6.5?

I'm trying to use software on my server that requires libsnmp. I tried running: yum list libsnmp But it says: Error: No matching Packages to list I also tried: yum search libsnmp But it ...
2
votes
0answers
432 views

GSettings / DConf settings not saved permanently

I have a problem with GSettings /Dconf on my Centos 7 + Gnome Classic box. I'd like to turn the desktop animations off with the following command: gsettings set org.gnome.desktop.interface ...
2
votes
0answers
211 views

launching fish shell to new terminal of tcsh on centos

I have downloaded fish shell on my centos, but when I switch command to /bin/fish or even try to run xterm -e /bin/fish I am getting following error: Standard input: echo $_ " "; __fish_pwd ...
1
vote
1answer
72 views

CentOS Black Screen after 4+ hours of indexing

I am running a CentOS virtual image on virtual box. It has liferay and solr installed on it and I am trying to index a Lar file that is 50+ MB of metadata. This is estimated to take more than 12 hours ...
2
votes
2answers
95 views

Ghost vulnerability - recompile C/C++ programs?

I've CentOS 6.0 server with glibc-2.12-1.7.el6.x86_64 running many open source services and some of my own C programs. To fix ghost vulnerability, I need to update it to glibc-2.12-1.149.el6_6.5. ...
2
votes
3answers
4k views

How to install keepass2 on CentOS 7?

I am looking for instructions on how to install Keepass2 on CentOS 7 unfortunately no luck so far. Is there any rpm available anywhere? Any info will be much appreciated!
0
votes
0answers
46 views

VirtualBox state suddenly SEEMs to have been restored to an earlier time

I have CentOS 7 installed on my Windows 8.1 VirtualBox, and file-system sized 30Gb. It worked fine until this morning, then the storage became full (due to Downloads and Projects). I tried a tool ...
0
votes
1answer
386 views

Entries in /etc/crontab not getting called in Centos 6.x

I created a dummy entry in /etc/crontab, but it doesn't get executed according to the cron log: /var/log/cron: Feb 7 08:20:01 localhost CROND[22781]: (root) CMD (/usr/lib64/sa/sa1 1 1) Feb 7 ...
0
votes
2answers
893 views

how do I find the location of mysql drivers on CentOS 7?

MariaDB is installed on a remote CentOS 7 server. How can I find the location of the nearest equivalent to mysql-connector-java-5.0.8.jar in the server's file system? grep seems to only search ...
2
votes
1answer
10k views

What's the difference between “errors:” “dropped:” “overruns:” and “frame:” fields in ifconfig RX packets output?

Can someone please elaborate on the difference between the various RX packets fields in ifconfig output? For example, let's say I run ifconfig and see the following: eth0 Link encap:Ethernet ...
2
votes
1answer
1k views

calling javac from CentOS 7

I want to be able to use the javac command on the CentOS 7 terminal. How do I set the PATH variable in order to accomplish this? The following explains relevant aspects of my current environment. ...
3
votes
1answer
291 views

Frequently can't access Virtualmin via browser

I have a CentOS 5 server over at Digital Ocean which has Virtualmin installed (because I'm a newbie and still learning). Virtualmin is accessed by visiting https://ipaddress:10000 but that URL almost ...
1
vote
0answers
80 views

Compatibilty of the following softwares

I am a professor (Mechanical Engineering department) at a college which is making the transition from Windows to Linux. However, we are quite unsure whether all the CAE softwares that we use would be ...
2
votes
0answers
71 views

Automate a gratuitous ARP every x seconds

There may be another issue here, so any other questions or comments are welcome. I have a CentOS 6.6 VM running under VirtualBox. It is connected to a GNS3 topology using a UDPTunnel. Everything ...
0
votes
2answers
4k views

CentOS - commands in rc.local not run

My /etc/rc.local script is quite simple, like this. #!/bin/sh touch /root/test1 touch /var/lock/subsys/local touch /root/test2 modprobe -r ftdi_sio modprobe ftdi_sio vendor=0x0403 product=0x6015 ...
1
vote
1answer
2k views

Initialization Sequence Completed, but terminal wont give a prompt

I just installed openvpn on a remote CentOS 7 server using the instructions in this tutorial. The only change I made to the tutorial was to use @GarethTheRed's instructions for configuring ...
0
votes
1answer
2k views

CentOS 6.5 kernel vs CentOS 7 kernel

Its been long that i have heard that CentOS 6.5 kernel (2009) is "Too Old" as compared to CentOS 7 kernel (2013). I want to better understand what is meant by "Too Old". Comparing 2.6.32 to 3.10, ...
1
vote
1answer
292 views

Where are yum groups defined?

I am setting up a cluster and for whatever reason some nodes do not have all the groups required to set up Infiniband ('Infiniband Support' in particular.) I know I could just find the list of ...
0
votes
1answer
3k views

Port Forward :80 and :8080 to Two Different Servers

On a CentOS 6 server with an IP address of 172.16.1.10, how can I configure iptables to route traffic destined for 172.16.1.10:80 to 192.168.1.10:80, and traffic destined for 172.16.1.10:8080 to ...
1
vote
1answer
485 views

Centos, how to install “topicmodels” package on R?

I'm using a Linux CentOS release 6.6 on my laptop, and I've tried to install the "topicmodels" package into my R environment. So I used the install.packages("topicmodels") command but unfortunately ...
2
votes
1answer
1k views

Cannot ssh into a fresh install of CentOS minimal on lan

I've downloaded CentOS 7 Minimal and installed on an old laptop. I want to be able to ssh to the machine from other machines on the same lan. But I keep getting this error .. ssh: connect to host ...
1
vote
1answer
562 views

How to run specific architecture (32/64) of Python in Centos6 when both are installed?

I have a Centos 6.6 Docker image being used for an automated build. It has the default x64 Python 2.6.6 installed. I need to run some things in a 32-bit Python environment. I snagged 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
0answers
802 views

Permission problems. Can't retrieve inbox mails from dovecot

I got a VPS server at a webhoster which has CentOS 6.6 as operating system. Because I have multiple domains which are used by various people this server is going to serve multiple roles: nameserver ...
-1
votes
1answer
1k views

How do I read Maildir RFC822 messages from the CentOS 7 terminal?

In a CentOS 7 server with dovecot, postfix, mailx installed, I have mail configured to be stored in Maildir format. How can I use the terminal to access and view the RFC822 messages stored in a ...
1
vote
0answers
58 views

How do I stop recurring error messages from appearing in messages and auditd.log?

On my CentOS linux machine, in my auditd.conf file, I have set my max_log_file_action=keep_logs. However, in my /var/log/messages and /var/log/auditd.log, the following message appears multiple times ...
3
votes
2answers
712 views

How to force rpm and yum to fail if a GPG signature is missing or cannot otherwise be verified?

How can I force rpm and yum to fail if a GPG signature is missing from a package or otherwise cannot be verified due to a missing key? For the example below, assume the RPM has been signed but the key ...
1
vote
1answer
1k views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
0
votes
1answer
43 views

how to update packages to current versions on the RH family of distros?

I am a amateur+ administrator (use Linux since 1993 on a number of machines (from 1 to 50)), this is to say that I never went deep-neck into gory details of the differences between distributions and ...
0
votes
3answers
471 views

creating and sending a self-signed public key using GnuPG in CentOS 7

I know that I can create a GPG keypair from the CentOS 7 terminal by typing gpg --gen-key and following the resulting steps, but how can I make sure that the resulting public key is self-signed? And ...
1
vote
1answer
167 views

Set up graphic interface (desktop) for remote connection

I was assigned a CentOS VM that I manipulate through Putty. Everything I do to it is by command line so far, and I have admin rights to it. The VM is stored in the corporate data center served up by ...
2
votes
2answers
1k views

Avahi commands not working in CentOS

I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running: $ service ...
0
votes
2answers
3k views

How to disable core dump generation in Centos (cPanel Server)?

I want to disable core dump generation, How can I disable it ? One of the website keeps generating core dumps every second and eats up all the disk space. OS Details: CentOs cPanel Server ...