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
3answers
2k views

Does /var/log/secure log successes?

Short one that I've been unable to find a decent answer for. Centos 5.10 server, trying to trawl through all the logs I can to see what IPs successfully accessed the server. I've been mucking about ...
11
votes
6answers
46k views

Kipmi0 eating up to 99.8% cpu on centos 6.4

We have CentOS 6.4 and the kipmi0 is showing as 99.8%cpu and 0.0% memory and load average is 1.00. What should we do to rectify on this?
5
votes
1answer
3k views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed git-...
2
votes
1answer
824 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
0
votes
0answers
26 views

Padre (perl IDE) package not found under Centos7

I wanted to install Padre the Perl IDE under CentOS7. I followed the Fedora page on the Padre wiki : http://padre.perlide.org/download/fedora.html It just says install is done through: # yum ...
1
vote
1answer
36 views

Nmtui as non-root user Centos 7.1

Trying to run nmtui as a non-root user to edit network connections. As it stands I get a Unable to save connection: Insufficient privileges error. I've tried setting the USERCTL=no to USERCTL=yes ...
1
vote
2answers
2k views

How to start my network in centos7?

I have edited the /etc/sysconfig/network-scripts/ifcfg-enpos2 : BOOTPROTO="static" IPADDR=192.168.1.105 NETMASK=255.255.255.0 NM_CONTROLLED=no I can't surf the web When to reboot,how to start my ...
4
votes
1answer
2k views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
2
votes
2answers
2k 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 ...
0
votes
2answers
645 views

PHP app crashes: child pid exits with Illegal instruction (4)

I have a CentOS 6 server with Apache and PHP. I run some application and can constantly reproduce this crash. After some sequential action the app dies and the only trace I found is the following ...
1
vote
2answers
156 views

rsync --delete did not remove file in destination while with ssh

On my RHEL6 pair of servers, I tested the rsync from server-1 to Server-2 with SSH. Everything was good as expected. However, when I moved a file under A directory, A/x.file to B/ of /home/user on ...
0
votes
3answers
123 views

Disable root login in CentOS 7.2.1511

Allegedly, if you are logged in as non-root and write sudo passwd -d root, root login will be disabled, meaning that you have to log in as another user and use su to switch to root (or just stick with ...
1
vote
1answer
44 views

How to fix SSH into CentOS 7? [closed]

I use Windows 10. And I have a CentOS 7 VirtualBox machine. I want to use putty login into CentOS use ssh, but the trouble is like this: I have changed my machine network to bridge adapter. This ...
3
votes
2answers
15k views

why can't this CentOS 7 server see wifi connections?

I recently installed CentOS 7 as the sole OS on an Acer Aspire T. There is no GUI, as it is a server with a terminal-only interface. What do I need to do to get CentOS 7 to be able to see and list ...
2
votes
0answers
6k views

Ping command results in packet loss

Whenever I ping on my personal computer, nothing gets displayed other than a single statement. Upon stopping execution, I see that several packets were transmitted in the statistics. On top of all ...
0
votes
0answers
14 views

Unable to run LVM on CentOS 6 via VNC Viewer

Need to run Logical Volume Manager on my CentOS 6 vm using VNC Viewer but when I double click on it, nothing happens. What I did is to go to System > Administrator > Logical Volume Manager Am I ...
1
vote
1answer
794 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
0
votes
1answer
970 views

Start SSH in CentOS rescue mode

I am booted into rescue mode after inserting the DVD. OS is CentOS 6.7 64 I've tried cd /mnt/sysimage chroot /mnt/sysimage service sshd restart which gave back service command not found. What do ...
0
votes
0answers
50 views

CentOS 7.2 Minimal Time synchronization timedated and/or ntpd/chrony

Environment: KVM CentOS 7.2 Minimal installation. I am trying to sync the time with an NTP server in my network. My Proxmox-Host (Debian based) is able to do this by enabling systemd-...
3
votes
1answer
6k views

CentOS 6.5 Login Screen GDM Issues

I have a few issues with the GDM login screen. I am using CentOS 6.5 and installed GNOME. I was able to change the background of the login screen by replacing the default.png image on the system. ...
0
votes
1answer
44 views

Can I build centos 7 (el7) rpm package on centos 6 (el6) server?

There are some documents teaching me on how to build rpm by myself in centos with rpm-build or mock. I am fine to build them for el6 rpm package. My question is, can I build a rpm package for centos ...
1
vote
1answer
16 views

App Repo vs Package Repo?

What is the difference between an "app repository" like EPEL / RPMForge / etc and a "package repo" like PkgDB? Can I point yum / df to pkgDB so it can figure out where to download stuff from without ...
0
votes
1answer
2k views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
1
vote
1answer
30 views

Missing Ubuntu in boot menu after installing Cent OS 6

I had Ubuntu in my hard disk and after installing CentOS 6 on it I am not able to see Ubuntu in the boot menu. My /bootgrub/grub.conf file looks as follows: What changes do I need to make in this ...
0
votes
1answer
158 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 ...
2
votes
1answer
2k views

Windows 7 boot option missing after installing CentOS 7, how can I get it back?

After installing Centos7, windows 7 is not showing at the boot time. Centos 7 is accessible. My boot folder entries: [root@localhost boot]# ls -ltr total 89176 -rw-------. 1 root root 2840084 Jun ...
2
votes
1answer
994 views

wrong fs type, bad option, bad superblock when attempting to mount restored volume

I restored a LVM group from a recovered config today (background #1, #2). Full images were made of the disks prior to issuing the following command. [root@ursula diskissues]# vgcfgrestore -f ...
0
votes
2answers
76 views

yum --download for CentOS with ubuntu?

I have an enterprise network, people seems not willing to download rpm and dependancies for CentOS. How can I yum --download pkg_name --directory my_repo in a system which do not use yum as ...
2
votes
1answer
2k views

How to manually configure a monitor in CentOS7, attached via KVM?

I have a fresh desktop install of CentOS7 with Gnome 3. I need to use this machine with a KVM but for some reason CentOS7 cannot detect my monitor through the KVM I have, so it defaults to "Unknown ...
1
vote
1answer
25 views

How to fix install openvpn on CentOS 7?

All image about my problem is here Why I can't install openvpn with yum even I try to fix it like this website said . What is wrong in here? Help me, please people. By the way, the problem I see,is ...
1
vote
0answers
20 views

VLAN setup via command line works, ifcfg-ethX.Y does not (CentOS 6.8)

I have CentOS 6.8 running in a Parallels VM. eth0 is bridged to the Ethernet adapter in the Mac. I need the CentOS server running a specific VLAN (10), so I have read this RHEL documentation. eth0 ...
3
votes
2answers
40 views

Multiple tmpfs partitions

[mayur@mayur311-pc ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 50G 3.6G 47G 8% / devtmpfs 3.9G 0 3.9G 0% /dev tmpfs ...
-3
votes
1answer
29 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 know ...
1
vote
0answers
22 views

Minecraft acting differently when started from terminal compared to started by cron job at start-up

So I use a CentOS Linux 7.2.1511 server, where I host a couple of things, amongst them a Minecraft server. Since from time to time server is rebooted I scheduled a cron job to run minecraft server on ...
0
votes
1answer
195 views

Centralized package management for RPM based distro

We have about 6 servers under Linux CentOS. And I want to have possibility to view (best will be some web-interface, but console-only useful too) outdated packages, which can be updated and have all ...
1
vote
2answers
1k views

httpd-devel requires outdated version of glibc-common on CentOS 6.3

httpd-devel requires an outdated version of glibc-common on CentOS 6.3 x86_64 and Apache/2.2.15. It wants 2.12-1.80.el6 and I have 2.12-1.80.el6_3.3.x86_64 installed (via CentOS @update repo) Here is ...
3
votes
2answers
3k views

Cannot update glibc on CentOS 7

I have CentOS 7 installed. I want to install the APR package for Apache, and I'm told I cannot install it because it requires at least glibc.2.14 while I have glibc.2.12 installed. I have downloaded ...
2
votes
4answers
2k views

How to change from existing DEB files to Centos RPM

I'm moving a product from Ubuntu 12.04 to Centos 6.6. I have ~500 deb files. (for example 'dpkg -i libaio1_0.3.109-2ubuntu1_amd64.deb'). I need these debs on Centos . Is there a viable way to ...
3
votes
1answer
1k views

ioctl: invalid argument for HDIO_GET_IDENTITY

I wrote a program to get the details of hard disk drive using HDIO_ ioctl calls. For writing program, I'm referring Documentation/ioctl/hdio.txt in kernel source(2.6.32). Here is my main part of ...
0
votes
0answers
61 views

CentOS 6.7 Dedicated server, -bash: fork: Cannot allocate memory 128GB Ram

I bought my new dedicated server for hosting game servers, websites and personal stuff. Also for learning and testing. I have used dedicated servers before with Linux and windows so I guess I'm ...
-3
votes
1answer
54 views

Update nginx on Amazon linux (CentOs)

I'm trying to update nginx on a amazon linux instance which I read is compatible with centos repos.On their site there is a little guide to upgrade the repo. However I'm not sure how to translate it ...
0
votes
1answer
902 views

How to update squid proxy 3.5 in Centos 6?

I am using Centos 6.6 with 32 bit OS. Now I want to update squid proxy from 3.1 to 3.5. Is it possible to update in centos 6.6? If it is possible, please tell me how to update it.
1
vote
1answer
2k views

CentOS custom ISO installation - /dev/root does not exist

I am building a custom ISO for CentOS 7 and for now I am just intending for this to be an absolute minimal install (a proof of concept basically). I am re-creating the ISO via using mkisofs. The ...
8
votes
3answers
19k views

What does eno mean in network interface name 'eno16777736' for CentOS 7 or RHEL 7?

Under consistent network device naming scheme, what does 'eno' stand for in network interface name 'eno16777736' for CentOS 7 or RHEL 7?
0
votes
1answer
2k views

How do I get debug information from rsyslog?

I followed the directions from: http://www.rsyslog.com/doc/debug.html I put the following in /etc/rsyslog.conf: $DebugLevel 2 $DebugFile /root/RSYSLOG.txt then I try: kill -USR1 `cat /var/run/...
0
votes
0answers
22 views

how to fix centOS after set up problem? [duplicate]

Why after set up CentOS 7 (I choice GNOME desktop install), reboot and It happen like this.(this picture). I choice c ; r ; 1, it still don't work, believe me. I snapshot again for everybody can see ...
0
votes
1answer
2k views

Getting Minor Version Mismatch Error with Php and Mysql

I randomly started getting this error when trying to instantiate a new mysqli instance in php script: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:...
5
votes
1answer
3k views

Centos 7/Gnome Applications menu items don't respond

I have CentOS 7 installed with gnome. After some uptime, no items under the 'Applications' menu respond.* I can open the menus and submenus and hover over items with the mouse pointer. They will ...
1
vote
2answers
846 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 '/var/run/mysqld/mysqld....