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
0answers
118 views

compile ffmpeg centos

I used this Guide http://trac.ffmpeg.org/wiki/CompilationGuide/Centos To install ffmpeg in my VPS with CentOS 6 64. But it was installed in /root/bin/ and I need to install it in usr/bin/ to run ...
2
votes
1answer
300 views

Password protecting Single User Mode and GRUB on a VPS

I have a VPS CentOS 6 Linux web server. It is run on KVM. Running a Lynis audit, it notes that single user mode and GRUB are not protected by any password/authentication: [16:00:28] Warning: No ...
0
votes
0answers
125 views

How to configure yum repo in centos 7

I have Installed CentOS 7 on my VMware. How to configure yum repo? What path do I have to give? ISO file is in my main machine.
0
votes
1answer
92 views

How must (Not how can) a program be available from everywhere in CentOS/Fedora

I was reading this link from MySQL: https://dev.mysql.com/doc/refman/5.6/en/mysql-cluster-install-linux-binary.html shell> cp support-files/mysql.server /etc/rc.d/init.d/ shell> chmod +x /etc/...
1
vote
0answers
1k views

saving file to usb stick while using linux boot stick

I am using the instructions in this youtube video to install CentOS 7 on a new computer that is running Windows 8. The tutorial uses UniversalUSBInstaller from PenDriveLinux, but the installation is ...
1
vote
1answer
292 views

I can't get an interface up in CentOS. I get the interface has a different MAC address than expected

Device eth0:1 has a different MAC address than expected, ignoring." I cp ifcfg-eth0 ifcfg-eth0:1. I used the vi editor and changed the MAC address on eth0:01 My set up is a CentOS 6.6 VMware guest ...
0
votes
0answers
2k views

Recover from emergency mode on Centos 7

I have a Dell PowerEdge R420 which has installed Centos 7 and was working fine. One day I removed the disks that Centos 7 was installed (2 disks with RAID-1 layout) and I installed another clean disk ...
0
votes
1answer
89 views

Building a homeserver

I am planning to build a homeserver to store my data. First i decided to use nas4free but later decided to use CentOS as I would also like to use it as a development server. I had 4 x 500GB hdd and I ...
12
votes
2answers
2k views

Accidentally deleted /etc/redhat-release file

I accidentally deleted /etc/redhat-release file. How can I restore or create a new one? I have CentOS Linux release 7.0.1406 (Core).
1
vote
0answers
1k views

USB WiFi on CentOS7

I've got a clean installation of CentOS 7 on a desktop PC and a USB WiFI Adapter (RTL8191SU 802.11n). Connecting through USB leads shows "USB Ethernet: connecting" in Gnome3's network status bar. ...
0
votes
2answers
575 views

CentOS 6.5 hostname on VPS

I'm trying to change the hostname on my fresh CentOS 6.5 image (VPS) via SSH. The sources I've found all say the hostname can be permanently changed in /etc/sysconfig/network and /etc/hosts, and that ...
1
vote
0answers
735 views

Centos 6.6 not booting on Virtualbox on Windows host

I downloaded the QuickStart VM from Cloudera that has preinstalled Spark/Hadoop etc. I have been working on that for the last 4-5 weeks and it was running absolutely fine, but recently I had to ...
6
votes
0answers
10k views

AH00534: httpd: Configuration error: No MPM loaded

I have a CentOS Linux release 7.1.1503 (Core) system and I have installed httpd and the corresponding configuration file is : # # This is the main rConfig Apache server configuration file. It ...
1
vote
2answers
83 views

Get Real BiosTime using CentOS 6.x and make permanentely SystemTime = BiosTime [closed]

My first SO is Windows 7, and it is synchronized with Bios Time... Later I installed CentOS, but... I want to have synchronized my CentOS with Windows and Time Bios! I was checking time (before ...
0
votes
0answers
139 views

installing java on cent os 6.6 64 bit system

am trying to follow this link: How to Install JAVA 7 (JDK 7u79) on CentOS/RHEL 7/6/5 and Fedora So I downloaded the jdk tar and untarred it.However when I run java -version from within bin I get the ...
1
vote
1answer
172 views

How to unlink a symbolic link CentOS?

I am still fairly new to CentOS 6.5 and linux in general. In my haste to remedy a solution, I created a link from a suggestion online without thinking much about it. However I need to remove the link, ...
5
votes
1answer
1k views

Hard link permissions behavior different between CentOS 6 and CentOS 7

I'm getting a permissions error in CentOS 7 when I try to create a hard link. With the same permissions set in CentOS 6 I do not get the error. The issue centers on group permissions. I'm not sure ...
2
votes
1answer
40 views

How is locally-stored data handled when mounting/re-mounting a directory in CentOS?

I have a CentOS 5.x server and I initially had it configured with a mount point. The netfs service is enabled on boot. /etc/fstab has an entry pointing to a cifs share: //foobox.example.com/share /...
0
votes
1answer
1k views

How to Disable Transparent Huge Pages in CentOS6.6 [duplicate]

I am trying to disable Transparent Huge Pages in my CentOS for HDP2.2 installation. I am using this link for the reference but I am still getting the issue. I tried to add this also: Adding the ...
0
votes
0answers
24 views

Can't run customlog and errorlog in custom directory for apache in centos7 [duplicate]

I can't make my customlog for apache in different than default directory. I think that it has to be something with access rights but have no idea what. httpd.conf - log config journalctl -xn ps -...
0
votes
1answer
2k views

High on %wa from top command, is there any way to constrain it?

Here's my last top info before it stucks: top - 18:26:10 up 238 days, 5:43, 3 users, load average: 1782.01, 1824.47, 1680.36 Tasks: 1938 total, 1 running, 1937 sleeping, 0 stopped, 0 zombie ...
2
votes
0answers
4k views

“xrandr: Failed to get size of gamma for output default” for Guest CENTOS 6.6, HOST OS Windows 7 enterprise

I am getting the following errors: xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm ...
0
votes
1answer
192 views

Emacs dependency on librsvg2 error on Centos 6.6

I'm trying to install emacs and graphviz on my CentosBox. Its failing to resolve librsvg2: $ sudo yum install emacs graphviz Loaded plugins: fastestmirror Setting up Install Process Loading mirror ...
2
votes
2answers
122 views

How can I set up a secure LAMP stack on CentOS?

I have been using linux for years, but I need some clarification on what are probably pretty basic principles to how the OS works, but I definitely need clarification due to security concerns. I am ...
0
votes
1answer
47 views

GUI List boxes invisible

I'm having an issue with my Eclipse GUI. I'm not sure if it Linux specific or Eclipse specific. When I try to view list boxes or text areas, they don't show up. All I see is a grey box (or what I ...
0
votes
1answer
70 views

Where did my free space go after reducing a partition?

I have a machine running Centos 6.x, with only one hard drive, 2 TB in size. I found that it had almost all of that space partitioned to the /home directory, so I decided I wanted to reduce that ...
1
vote
0answers
276 views

cannot upgrade kernel (grubby fatal error: unable to find a suitable template)

I have an appliance (read: a PC in a rackmount chassis which sits in the rack and does its job for years without anyone really paying it much attention until it dies) running CentOS 5.4. Trying to ...
2
votes
0answers
94 views

Converting a raw print data stream containing PCL commands to PDF

I have a program that sends raw print data through samba to typically PCL compatible printers. The program is written so basic PCL commands control how it prints. When sending it to the printer it ...
0
votes
1answer
87 views

RPM installation %post macro works on terminal but not on GUI

I have created my own .rpm file. The installation works prefect on the command line but doesn't work properly when i am doing it from the GUI. The only thing that doesn't work from the GUI is the %...
0
votes
2answers
2k 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
1answer
222 views

What exactly is a file offset in lsof output?

I was using lsof to track down deleted files that were still taking up space and I realized that I wasn't quite sure what an offset is with respect to a file. lsof's man page was less than helpful in ...
3
votes
0answers
220 views

Expanding root partition CentOS 6 With using fdisk

I am trying to expand the root partition on a VM which is not using LVM and I do not have (nor want to try and create then use) a disk to boot from. As such I followed what I felt was the logical ...
0
votes
1answer
22 views

RPM to invoke browser post installation

I am creating an RPM installer for centos 6.5, After installation i want the RPM to invoke the browser and show the installation report. This installation report shows the details of how the ...
1
vote
1answer
75 views

Docker CentOS7 image and locale compilation problems

I'm setting up a Docker image which requires localization support. I also need to patch the pt_BR locale according to comment #21 on this thread. So what I'm basically doing is reinstall glibc to ...
0
votes
2answers
256 views

In CentOs 6.6 how do I get an interface up?

I can see the interface with ifconfig but not with ip a. ifconfig shows no packets for eth0:1 The interface is down. how do I bring up eth0:1? [root@monitor01 network-scripts]# ifconfig eth0 ...
0
votes
1answer
2k views

CentOS: How is it possible to reset all your network configuration?

I'm not really sure the best question to ask in my situation, so let's go with "How is it possible to delete all your network commands?". Here's the situation: I have a CentOS 7 minimalist CLI ...
1
vote
1answer
2k views

Centos 6.6, resize partition

We have a Centos server as a virtual machine where the / path is getting full. So we want to resize the partition from 50GB to 70GB. I followed this guide https://www.thomas-krenn.com/de/wiki/...
1
vote
0answers
159 views

Job for openvpn@server.service failed

here is the problem during starting the OpenVPN service.. Just after command systemctl start openvpn@server.service terminal shows message: Job for openvpn@server.service failed. See 'systemctl ...
0
votes
0answers
692 views

DRBD Failure: (127) Device minor not allocated

I use wmware workstation to run two virtual machines with OpenVZ 2.6.32-042stab108.2 installed on top on CentOS 6.6. I have created another primary partition, /dev/sda4, to configure it as drbd ...
0
votes
0answers
995 views

fresh centos 7.1 install continually boots into “emergency mode”

I installed centos 7.1 on bare metal (dual boot with windows), with encrypted disk. Installed a few things (oracle java) and did a full yum update Now the system keeps booting to a console emergency ...
0
votes
1answer
215 views

CentOS 6 apcupsd Trouble Shooting

I'm having issues with the recommended UPS monitoring software apcupsd. It installed ok but when I run it and check the error messages it is getting spammed with all these messages and doesn't seem ...
0
votes
1answer
368 views

Alternative to adobe flash on centos 7?

Am unable to play content from sites like "hbogo.com" on my centos machine, as it warns me of having outdated flash player. As adobe is not supporting linux updates anymore, can you suggest me ...
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?
1
vote
1answer
6k views

CentOS 7 - ssh login is refused when i use ssh public key, but only works with username password [closed]

I am not able to login via SSH key. I place my id_rsa.pub key in the /root/.ssh/authorized_keys [root@s .ssh]# ll total 4 -rw------- 1 root root 403 Jun 8 00:44 authorized_keys [root@s ~]# cat /etc/...
0
votes
1answer
218 views

How to install CentOS 6.6 linux on an OCZ RevoDrive3 X2 PCI SSD

This took me a week, so here's the problem, and solution. From CentOS 6.5 onwards, the driver mvsas.ko recognizes the OCZ SSD... wrongly. It shows up as 4 small slow SSDs, instead of one big fast ...
1
vote
0answers
160 views

Install php apache module from source in CentOS 6.6

I tried running yum install php on my centos box however it kept installing an older version. Therefore I installed apache 2.4 and php 5.4 from source. However, I'm not sure how to install the ...
3
votes
3answers
342 views

Software RAID 10 Array Space Loss

I purchased a dedicated server from a hosting company for a forum I am starting and the drives are configured as 4 x 64GB SSD's in a RAID 10 software array. The total amount of space I was expected ...
5
votes
1answer
1k views

SELinux is preventing /opt/google/chrome/nacl_helper from getattr access on the file /etc/passwd

Is this a bug or a real security concern? It appears to have been discussed but I still don't understand why this is happening and what is being done to address the root cause (I am not going to ...
1
vote
0answers
154 views

Run 2 instances of xinit with output to separate video out

I have a video card with 2 video outputs. I want to run 2 instances of xinit and draw 2 different displays. I want one display to be output to one video out and the other to go to the other video out. ...
1
vote
1answer
158 views

Install nemiver in CentOS 7

I am trying to install nemiver debugger in my CentOS machine. I followed the instructions listed here: Walkthrough. I got stuck however because despite the successful installation of gtksourceviewmm-...