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
1answer
147 views

Combine the output of while loop into tar

I'm trying to create a script that mysqldumps all my databases, creating an individual .sql file for each database and combines the output into backup-DATE.tar.gz. I've gotten as far as being able to ...
1
vote
0answers
67 views

Linux user ssh connection disabled after execution of setfacl command

I have very little linux administration experience, after searching a lot stuff online, finally I decided that I must hope that someone helps. The problem is, I needed to share an account with a ...
2
votes
1answer
763 views

No cursor/caret in Linux VMC under Windows Hyper-V?

I have just installed CentOS-7, Minimal Installation, into a Hyper-V VM under Windows Server 2008 R2. When I Start the VM from Hyper-V Manager it opens a window it calls Virtual Machine Connection, ...
1
vote
1answer
2k views

unable establish remote imap connection, why not?

A remote CentOS 7 web server is able to successfully receive email sent from elsewhere on the internet addressed to me@mydomain.com . An app running on the same CentOS 7 server is able to use ...
0
votes
1answer
416 views

Starting Services without Systemd?

Is it possible to start services on and post startup in CentOS/Fedora distributions without using systemd (systemctl)? If yes, how? Systemd does not work in non-privileged docker containers; ...
1
vote
0answers
23 views

Where can I find the server config that I am using to send emails with sendmail in CentOS 5.6?

I have a CentOS 5.6 VM and have been able to send emails from my PHP application up until two days ago. I am trying to find the SMTP server config details in my sendmail files somewhere, but I cannot ...
3
votes
1answer
408 views

What is the proper encoding name to use in locale for UTF-8?

Just wondering here as I have on this CentOS 7 system: $ locale -a <snip> en_US.utf8 <snip> and yet: $ localectl System Locale: LANG=en_US.UTF-8 To add to that, the preferred name ...
1
vote
1answer
85 views

Which unix / linux flavor should I learn looking at job opportunities in future? [closed]

I am a Computer Engineer and I want to start exploring the Unix & Linux environment. Which flavor of Unix and also Linux should I learn looking at a job opportunity in these two fields in future? ...
5
votes
2answers
2k views

Delete files older than specific file

I need to delete from a folder all files older than a specific file. Running bash on CentOS 7. I have a solution for this, but I think there should be a more elegant way do it: ...
0
votes
1answer
84 views

unix2dos not recogonizing outfile

I typed unix2dos /path/to/filename_unix.txt /path/to/filename_dos.txt in the CentOS 7 terminal, but I got the following in response: unix2dos: converting file /path/to/filename_unix.txt to DOS format ...
1
vote
1answer
154 views

Why scripts run as user but not as a cron?

I have a script that checks to see if port 4000 is open and listening, if it is return true, else start a service that also outputs a logfile. The script runs fine if I execute it as a user, but if I ...
1
vote
1answer
310 views

Desktop gone after upgrade to Centos 6.6

I upgraded a local Centos VM from 6.5 to 6.6. After the update, no restart is needed and the desktop works. When I restart, I see the blue startup bar and CentOS 6.6 on the right side of it. When the ...
4
votes
0answers
467 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
1
vote
1answer
1k views

firewalld settings for OpenVPN with https, ssh, and smtp

I am configuring a remote CentOS 7 webapp server to wrap https and ssh inside OpenVPN, while keeping smtp running outside of OpenVPN. I notice that, when I establish an OpenVPN connection from a ...
-1
votes
1answer
2k views

“No package stress available, nothing to do” and "bash: yum-config-manager:command not found

I am trying to install the stress package on CentOS 7 virtual machine running on vmware player on windows 7 laptop. I have tried many packages and have updated yum but whenever I run sudo yum install ...
2
votes
0answers
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
388 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
6k 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
334 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
182 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
58 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
399 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
146 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
77 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
61 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
487 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
117 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
538 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
298 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
401 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
416 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
204 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
67 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. ...
1
vote
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
35 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
370 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
815 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
9k 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. ...
2
votes
1answer
259 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
79 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
69 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
3k 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
1k 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
285 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 ...