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)

1
vote
2answers
838 views

Need to install VirtualBox Guest Additions 4.3.8 in CentOS 6.3

My host system is OSX 10.9.2 and I'm running VirtualBox 4.3.8. In a Hadoop class I took recently, we were provided with a VM disk image preloaded with CentOS 6.3 and a lot of Hadoop-related ...
1
vote
2answers
2k views

Installing MySQL on CentOS throws error that cannot find mysqld.sock

I have yum install mysql in CentOS 6.4. Now, when I use mysql command, it throws the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
2
votes
2answers
26 views

Extract files with cpio where one or more paths may contain spaces

We have a cpio archive that was created by generating a file that contains a list of absolute paths to be included in the archive. (one absolute path per line of a plain text file) The command to ...
0
votes
1answer
8k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
3
votes
1answer
50 views

How to detect / prevent systemd network startup failures

Using Centos 7 (most recent updates), on a remote firewall machine that is 200 miles away, I have occasional difficulty on reboot with the network stack not properly starting up. The box has 3 ...
0
votes
1answer
150 views

TLSv1.2 support in CentOS 5.8

Right now I can't access HTTPS site from PhantomJS headless WebKit browser because of TLSv1.2 In my CentOS 5.8 I have following OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 verison installed. I think I ...
1
vote
1answer
19 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 ...
1
vote
3answers
4k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
-3
votes
0answers
13 views

how to fix error python-pyparsing when install GNOME desktop in centos 7?

in first picture you see, I just type "# yum -y groups install "GNOME Desktop" and i meet the problem, that error, python-pyparsing, you see. How can I fix this problem? I try to do this, don't ...
-1
votes
0answers
9 views

how to fix install python-pyparsing-1.5.6-2.el6.rf.noarch.rpm?

i want to install python-pyparsing-1.5.6-2.el6.rf.noarch.rpm on my CentOS 7 but the error is in tthat picture. it say i need python 2.6 and I already installed python 2.6. But when I fix it again, it ...
0
votes
0answers
11 views

CentOS Multilib problem with libgcc

My friend's computer running CentOS 5.6, trying to install hhvm, but it got an error: $ yum install hhvm Failed to set locale, defaulting to C Loaded plugins: fastestmirror Setting up Install Process ...
1
vote
1answer
775 views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
-4
votes
1answer
45 views

how to fix this command?

Can anyone help me this problem? what right package source need to download?
0
votes
1answer
156 views

text colors in CentOS 6.5

I've got an inventory/ordering program that runs on cobol on CentOS. The program is pretty much all text-based and looks like an old DOS program. I did a reinstall of the server, updating from ...
0
votes
1answer
26 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
23 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 ...
0
votes
1answer
12 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
994 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
29 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
830 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
19 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
27 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
639 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
36 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
763 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
32 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
967 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
825 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
31 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
203 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
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 ...