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

Install PostgreSQL 9.5 CentOS 7

I'm trying to install PostgreSQL 9.5 on CentOS 7. I've searched online and to get access to the 9.5 RPMs it requires installation of pgdg95 via the following command: sudo rpm -ivh ...
0
votes
0answers
19 views

Files not appearing immediately on remote system after SFTP put command

I'm encountering a bizarre issue. I'm sending files to a remote machine using SFTP's put command. However, even though my machine says the transfer is finished, the files don't appear immediately in ...
-3
votes
0answers
31 views

how to fix this command?

Can anyone help me this problem? what right package source need to download?
2
votes
0answers
13 views

how to fix install gnome desktop in CentOS 7?

I do like tutorial : How to install Desktop Environments on CentOS 7?, but I meet a trouble,see in this picture. How can I fix this for "startx" successed. in all install command line, i just see ...
0
votes
1answer
11 views

CentOS: How to force pip to install Django with latest Python 3.5

I'm running CentOS, and it has pre-installed Python 2.6.6. But I want to use Python 3.5, the latest version. So I have installed Python 3.5 on my server. It's working properly. I just compile Python ...
1
vote
1answer
1k views

how to make LVMs at available boot? kernel panic - dracut cannot find logical volumes after kernel upgrade in CentOS 6.6

I have a centoOS 6.6 vmware vm that I ran yum update on which upgraded the kernel after reboot, I started getting this: dracut Warning: No root device "block:/dev/vg_myhost/lv_root" found dracut ...
0
votes
1answer
2k views

Unable to view traps through snmptrad?

I've been unable to view traps through snmptrapd. I generated a SNMP trap manually using the below provided snmptrap command: snmptrap -c public -v 2c -n "" localhost 0 uptime But I'm ...
0
votes
2answers
989 views

How find and install PHP 5.3.10 or later on CentOS 6.5?

When I check yum list php it only shows 5.3.3 which is older than 5.3.10. How do I get and install the newer PHP? (Using CentOS 6.5)
-1
votes
0answers
8 views

ldap_add: Invalid syntax (21) - additional info: objectClass: value #0 invalid per syntax - Error when i try to add an user [on hold]

I have been looking into the same issue and everything I find is saying about the slapd.conf that I found out it is deprecated I am trying to create a user as well and I got the same error. My ...
0
votes
1answer
3k views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
0
votes
1answer
28 views

'yum' is not recognized as an internal or external command, operable program or batch file [on hold]

I installed CentOS 7 minimal on VirtualBox; when I type: yum install net-tools I get this error: 'yum' is not recognized as an internal or external command, operable program or batch file.
1
vote
1answer
21 views

timeout in locking authority file (vnc service)

There are some pages about timeout in locking authority file /root/.xauth but I really don't understand what is the root of the problem. As I start vnc service, I see: root@cluster:mahmood# ...
1
vote
2answers
827 views

Failed to join domain: failed to set machine kerberos encryption types: Insufficient access

did someone have this error when try to join CentOS 7 to Active Directory. I tried on a various ways(via cli, gui, tui) and always get same error. Failed to join domain: failed to set machine ...
1
vote
0answers
18 views

rpcbind/nfs fails, failed to create RPC listeners, exiting

My system crashed while a script was running that deploys a pxe boot system (software is called DRBL). Now I can't get rpcbind, nfs, or ypbind to start properly. I'm chasing a series of errors which ...
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 ...
-4
votes
0answers
18 views

how to fix this command in CentOS? [on hold]

[root@localhost ~]# yum install lzo Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.xxxxxx.com * extras: centos.xxxx.com * updates: centos.xxxx.com Package ...
0
votes
0answers
11 views

Where to get l2tp plugin for Network Manager in Centos 7

I need to connect to the l2tp VPN of my company, but I cannot find the package NetworkManager-l2tp in repositories. I used to use it in Fedora, but I cannot find it in the repositories of Centos 7. I ...
-2
votes
1answer
26 views

How to view an specified user's pemissions in linux? [on hold]

can anyone please suggest me how to find out the permissions of a specified user in linux? I'm getting the information regarding the files/groups etc. But I need specific users permissions ...
0
votes
1answer
637 views

OpenLDAP: Invalid syntax error when trying to add LDIF

I keep getting an invalid syntax error when trying to create a user in OpenLDAP (CentOS 7). This is a new install of OpenLDAP for testing purposes. So far I've managed to create a group called "Lab ...
1
vote
2answers
30 views

systemctl .service file not working as expected

I am working with the service files in Centos 7 and am creating one for xymon. The issue I am running into is I am trying to configure start, stop, and restart. I went as far as using an existing ...
1
vote
1answer
35 views

Custom kickstart install completes but machine won't boot

I have been following the instructions on using kickstart to create a custom install at : http://www.smorgasbork.com/2012/01/04/building-a-custom-centos-7-kickstart-disc-part-3/ I got an unattended ...
1
vote
1answer
757 views

centos: ping6 unknown host

I have centos 6.5 with ipv6 enabled and working (partially). When I'm trying to execute "ping6 bin6.it" it returns error "unknown host": [root@centos ~]# ping6 bin6.it unknown host Host is ...
-3
votes
1answer
31 views

How ssh into CentOS virtualbox? [on hold]

I use window 10. And I have already installed CentOS on virtualbox, on window 10. I want to login into ssh from my window to that CentOS virtualbox machine. Can you tell me a tutorial to doing this? I ...
2
votes
1answer
966 views

Corosync & Pacemaker IPTables Rules

When using Corosync with two rings via multi-cast addresses 226.94.1.1 (Port 5405) & 226.94.1.2 (Port 5406) what iptables rules are required to allow two nodes to communicate optimally without ...
0
votes
1answer
9k views

How can I extend VMware Partition on Centos 7 using GParted?

I've a problem with increasing a partition from 20GB to 120GB, VMDK file. Here is what I've done: using vmware-diskmanager to increase vmdk file from 20 GB - 120 GB. It's ok. download and boot from ...
1
vote
1answer
63 views

What to do if the owner of /usr/bin/* changes to a non-root?

It would be the right thing to say that I messed up! Accidentally, I changed the owner of all files in /usr/bin to 'dev' from 'root'. Now, sudo does not work! If I use sudo with any command, I get - ...
1
vote
6answers
824 views

I can not install MySQL using yum on Centos7

I've installed centos7 recently, but, when I am trying to install MySQL using the command: yum install mysql-community-server I keep getting Exiting on user cancel while I am not hitting any ...
1
vote
0answers
30 views

Why is my udev mounted device not staying put?

I have a computer running CentOS 7. I'm trying to set up a udev rule to automatically mount a USB drive (named 'sdb1') to /mnt/flash whenever it is connected. The udev script was not working (see ...
0
votes
1answer
598 views

I try to setup zabbix server on CentOS 6 (close system) but can find zabbix-server binary file after run rpm install rpm package

I try to setup zabbix on CentOS 6 in closed system ( no internet connection ). So I can only put rpm to that machine, and run command rpm -ivh zabbix-2.2.3-1.el6.x86_64.rpm ...
2
votes
1answer
202 views

Zabbix claims that HTTP service is down

I'm configuring Zabbix to monitor our servers. Zabbix is new to me. It is up and running, and monitoring works for some services. One of our Centos servers has http running, so it seems logical to ...
0
votes
1answer
29 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
35 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
20 views

CMake not found, yet it is installed [on hold]

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
250 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
5 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
924 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
17 views

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

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 ...