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

Centos 7 not loading latest kernel at boot

By default, centos 7 comes with kernel version 3.10.x. After installation of centos 7, I have upgraded kernel to 4.6.x that is latest stable version. My system is remote. First, it is very expensive ...
2
votes
1answer
4k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
1
vote
1answer
34 views

renaming files in a folder

In one directory I have many files which look like this: Galaxy100-[0025-CL3.single.bed].bed and I would like to change it to: 0025-CL3.single.bed I tried this rename 's/Galaxy[0-9] - \[//' *, ...
1
vote
2answers
123 views

showkey -s doesn't display scancodes in CentOS 6.4

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
0
votes
1answer
3k views

mcrypt, EPEL and CentOS 6.4

I am having issues installing php-mcrypt. I am not an administrator of any level. I have performed the following. Installed EPEL Installed REMI Configured EPEL Updated YUM Cleaned YUM Installed ...
1
vote
1answer
36 views

Shell Font Over SSH

I have a Linux machine (CentOS 7) in which I frequently SSH into from multiple devices. I have installed ZSH and Oh-my-zsh on the remote machine. I would like to install the following theme: ...
0
votes
0answers
30 views

OpenLDAP 2.4: How to correctly implement TLS (ldaps) on CentOS 6.7

My environment: CentOS 6.7 / OpenDLAP 2.4 slapd -VV @(#) $OpenLDAP: slapd 2.4.40 (Nov 10 2015 09:41:16) $ ...
1
vote
1answer
86 views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the ...
0
votes
1answer
2k views

Installing CentOS from USB results in black screen [on hold]

I have an old Dell Latitude laptop (running xp) that I'm trying to turn into a test server running CentOS. It doesn't have a cd drive on it, so I'm forced to use a flash drive to try and get the new ...
1
vote
1answer
1k views

LVM volume is inactive after reboot of CentOS

It seems there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a Linux server from CentOS 6 ...
1
vote
0answers
21 views

Centos 6.6 box with single wordpress site - out of memory: kill process httpd repeatedly

So I have a Centos 6.6 box running as a LAMP stack. PHP 5.3.3 | Apache 2.2.15 | MySQL Server 5.1.73 This box is a VM running on XenServer 6.5, It has 4Gb memory available. total ...
0
votes
1answer
1k views

What does “4m[terminated]” mean after restarting CentOS?

After installing CentOS 7 and restart it, it always promptd "4m[terminated]". After googling, I can't find the meaning of this phrase. What does this prompt mean? Will it affect normal OS functions?
0
votes
1answer
21 views

CMake not found, yet it is installed [closed]

I am attempting to install CMake in a cluster environment running Centos 7.2, by executing: ./bootstrap --prefix=/home/user/opt make make install Compiling doesn't give any errors, yet, ...
1
vote
0answers
4 views

Are default zones not pre-populated following a fresh install in firewalld?

CentOS 7 / Minimal Install I want to get my feet wet with firewalld and am coming across some beginner issues. I installed it via yum install firewalld I enabled it via systemctl enable ...
2
votes
1answer
268 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
1
vote
0answers
6 views

Firewalld forwarding between zones not working

I have a centos 7 kvm hypervisor running multiple VMs that are configured to use NAT networking. These VMs run their services, of which ssh is the most important for administration purposes. I would ...
1
vote
2answers
2k views

Why can't nmtui see wlp3s0 on minimal CentOS 7 installation?

In a recent installation of a minimal version of CentOS 7 (terminal only, no GUI), typing iwconfig results in the terminal showing a wlp3s0 connection, as follows: [root@localhost ...
2
votes
1answer
5k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
3
votes
1answer
927 views

tmux unable to start a new session? “1;2c”

Introduction I just installed tmux onto my CentOS 7 machine, but I have encountered a bewildering issue. Whenever I try to attempt to start up a session using tmux or tmux new -s session-name, it ...
0
votes
1answer
18 views

How does this work in firewalld? iptables accept all [closed]

On Ubuntu with plain iptables, filter table, INPUT chain: Chain INPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT all -- anywhere anywhere ctstate ...
0
votes
2answers
1k views

ffprobe or avprobe not found. Please install one

I want to add tags to mp3 converted with youtube-dl & ffmpeg in CentOS 6: command line : youtube-dl -o '/Output/qpgTC9MDx1o.mp3' qpgTC9MDx1o -f bestaudio --extract-audio --metadata-from-title ...
2
votes
3answers
157 views

reformat a text file to have all text on one line using CentOS 5.6

I have a 210-line block of HTML that I have stored in a HTML for debugging purposes. The HTML, as you would expect, is formatted accordingly so is stored in the file with spaces and tabs. Is it ...
3
votes
1answer
3k views

Mounting NFS via systemd in Centos 7

I am trying to mount an NFS share on a CentOS 7 box using systemd. This is my /etc/fstab entry: 10.0.0.104:/export /mnt nfs ...
3
votes
2answers
7k views

Problem Starting MySQL on new Centos 6 build

I have a VPS with ChicagoVPS that's running Centos 6. Official version of the build is: Linux RedHat 6.5(Final 2.6.32-042stab078.26 x86_64) I followed this guide to add the repository and ...
4
votes
3answers
7k views

What commands are available in the %pre section of a Kickstart file on CentOS?

Environment: CentOS 5.5 and 6.4 I have a request to analyze the hardware before installation to make sure our customers don't install our software on sub-standard server hardware. For example, ...
3
votes
1answer
754 views

How to enable systemd user sessions for remote logins on CentOS 7?

I am trying to enable systemd user sessions on my CentOS 7 server. All the pieces seem to be there, and I have also run loginctl enable-linger <user>, but I don't have a systemd user session (or ...
3
votes
1answer
15k views

How do I configure the network interfaces persistently in CentOS so it will survive a reboot?

I configured a network interface with the following commands: ifconfig eth0 up ip addr add 192.168.9.1/28 dev eth0 route add default gw 192.168.0.1 This works. However, when I reboot the machine I ...
3
votes
1answer
461 views

Static IP config no longer persistent in CentOS6

I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge and restored the network-script ...
3
votes
1answer
2k views

Trouble booting CentOS

I switched from an Ubuntu to the CentOS yesterday. But it seems I have messed my installation somehow, since OS will only start correctly if the USB with the installation is plugged in. Long story: ...
7
votes
2answers
11k views

How does createrepo work. How does yum understand parse its files. A conceptual explanation

I am not looking for a how-to on creating a repo (createrepo) or using yum. I want to understand how they work together. I want to know what files yum looks at and why, what those files contain. I ...
2
votes
4answers
2k views

How do I set the group (gid) of a process I'm about to launch?

I'm porting a Debian init.d script to CentOS. In the Debian script, it uses start-stop-daemon for launching the process. The script uses start-stop-daemon's --group flag to change to a different ...
3
votes
1answer
31 views

Running Unison with incrond (inotify cron daemon)

We'd like to use unison to sync two servers. From the command line and in bash files the following command works fine: unison -batch /var/www/html/test ssh://host-2//var/www/html/test Files are ...
1
vote
1answer
857 views

How does KVM set its own netfilter rules?

I've been poking around with KVM VM's on Centos 6.4 not having an internet connection on my VM's, I found something curious: Upon booting the machine, iptables has rules in the FORWARD chain to allow ...
0
votes
1answer
14 views

Where does a Centos7 VM get the IP address for the local host name from?

On my centos7 VM, hostname says bmargulies-centos7, domainname says (none), dig bmargulies-centos7 says what's below, and ping of that hostname hangs. Where does the IP address 92.242.140.21 come ...
0
votes
1answer
2k views

What variables are valid within /etc/default/useradd file?

My /etc/default/useradd file is as follow: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=yes man page for useradd provides many ...
1
vote
1answer
20 views

Difference between users listed under home directory and those not

I see some of the users I can find under /home directory in centos but not rest of the users. Users that are listed under /home directory, I can login as those users with command su username To ...
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 ...
0
votes
0answers
15 views

gnome desktop is making automatic annoying pronunciation sounds?

for example when i put my mouse pointer to applications.It says "windows applications label" when i go to network mangager -> wifi it spells the words on each and every setting where my mouse goes. ...
2
votes
2answers
246 views

installing dsc30 - python 2.6 fights back

I'm trying to upgrade some systems to Cassandra 3.x. The installer wants Python(abi) >= 2.7, so I installed it. Still seeing this error: Resolving Dependencies --> Running transaction check ...
4
votes
3answers
698 views

How and where is the at command configured?

When I install a new Linux system, one of my first tasks is to have crontab send all its email to a designated email address, not root. I want to do the same for the at command. That is I would like ...
2
votes
1answer
14 views

Eclipse doesn't stay “Always on Visible Workspace”

I usually hop between a few workspaces, but like having a couple of frequently used applications "Always on Visible Workspace". However, when I tell Eclipse to do that it slips into "Only on This ...
0
votes
1answer
469 views

Error getting repository data for epel, repository not found

I have installed the newest epel and want to install mod_evasive rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Uname -a: Linux #1 SMP Fri Nov 22 ...
-3
votes
0answers
43 views

“The service “ftpd” appears to be down.”- How to solve this? [closed]

For some reason the service pureftpd goes down and the email alert I receive indicates: Reason: Unable to connect to port 21 on 127.0.0.1: Connection refused: Died Looking at /var/log/messages ...
0
votes
0answers
16 views

cannot stat '/mnt/cdrom/dcp.repo':no such file or directory

This error was occurred during the installation on my centos minimal iso in oracle virtualbox and vmware workstation 12; both face this error. After some time it will automatically install but it ...
0
votes
0answers
13 views

MEGAsync on Centos 6.5

I am trying to build MEGAsync client from the source package on Centos 6.5, but the process fails and it prints the following error message: Project MESSAGE: Installing desktop files. uic: Error in ...
0
votes
0answers
23 views

How to downgrade Centos 7.2 to 6.x

I just got a dedicated server and installed centos 7 but I didnt have any other os in the panel list than now I need to install centos admin panel but its not supported for centos7 is there any way to ...
0
votes
0answers
26 views

CentOS “mount.nfs: access denied” to Ubuntu NFS server

I have a NFS server on Ubuntu 14.04.4 and NFS client on CentOS 7; can this work? I keep getting a "mount.nfs: access denied by server while mounting" error. I've tried turning off the firewall on the ...
0
votes
1answer
21 views

CentOS Kickstart Packages

I'm trying to install CentOS7 using a kickstart file which I've written. Below is a snippet from the kickstart ################################## ##### 3. Package installation ...
0
votes
1answer
21 views

Updating glibc to 2.21 on CentOS

I'm not very experienced with Linux, so please bear with me. I need to install MySQL 5.6 on a CentOS box. I found what seemed to be a simple tutorial, but the first command (sudo yum install ...
0
votes
0answers
25 views

Launching JNLP file from Linux

There is a .jnlp file which can be launched from Windows. I now want to open it from Linux. The command is javaws file.jnlp. However, I get a segmentation fault and the verbose message is not ...