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
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. ...
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).
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 -...
1
vote
0answers
762 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 ...
0
votes
2answers
577 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
2answers
84 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
1answer
198 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 ...
1
vote
1answer
201 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 ...
0
votes
0answers
754 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
141 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 ...
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 ...
2
votes
1answer
41 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
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 ...
0
votes
1answer
49 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 ...
1
vote
3answers
6k views

CentOS ELRepo Kernel installing VMware

Already installed VMware Workstation 9 on my Linux CentOS 6.5 Final with 3.10.40-1.el6.elrepo.x86_64 running kernel. When I open VMware Workstation, it asks me to locate the Kernel Headers 3.10.40-1....
0
votes
1answer
71 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
300 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
97 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 ...
3
votes
0answers
243 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
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 %...
2
votes
1answer
250 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 ...
0
votes
1answer
25 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
76 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
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 ...
0
votes
2answers
270 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 ...
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/...
0
votes
1answer
222 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 ...
0
votes
1answer
226 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 ...
1
vote
0answers
163 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
1answer
802 views

what is difference between /usr/lib and /etc/systemd?

Before all the unit files were in /etc/systemd/system/ but now some are showing up in /usr/lib/system, what is the difference between these folders?
3
votes
3answers
352 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 ...
0
votes
0answers
1k 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
383 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 ...
1
vote
0answers
167 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 ...
1
vote
0answers
162 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
173 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-...
0
votes
1answer
439 views

Failed to create local repo in CentOS

I'm trying to create a loca repo in Centos 6.6, so: I created the file: [local] name=Centos $releasever-$basearch baseurl=file://var/pub/rpms gpgcheck=0 enabled=1 Then: mkdir /var/pub/rpms cp -r /...
1
vote
1answer
2k views

CentOS 7 - why the service file is not working to run my bash script?

How to make my bash script as service in CentOS 7? following is failing. $ cat /etc/systemd/system/mybash.service [Unit] Description=mybash Service After=network.target [Service] Type=simple User=...
0
votes
1answer
68 views

Safely updating packages on Centos and custom compiled applications

I've inherited some Centos servers (6.2) that I want to get up to date, we have one dev machine. I'm starting off on the dev machine going through updates with security amendments, and applying ones ...
1
vote
0answers
271 views

SSD installed, but shows as HDD in command output

Strange issue here. I have a 480GB SSD drive installed in this server. I installed it myself. I see it, it's there. But, I'm getting an incorrect output on a typically used command to determine if it'...
0
votes
1answer
173 views

CentOS Postfix changing mail server

I've been using Postfix on my CentOS 6 Server on it's default install settings but I would like to configure it to use the mail server from my existing email. I altered the /etc/postfix/main.cf file ...
0
votes
1answer
466 views

How to disable local delivery in exim Vesta CP panel

How to disable local delivery in exim VestaCP Panel, I'm getting “Unrouteable address” error message in mail log.
0
votes
1answer
377 views

Problems Setting Up DHCP Server On CentOS 6

I have been trying to set up a DHCP server on CentOS 6 running on an Intel NUC i7. I have installed dhcpd and am using the example dhcpd.conf subnet 192.168.1.0 netmask 255.255.255.0 { option ...
0
votes
0answers
58 views

scp from a remote machine

I am having trouble moving files off a remote machine that we need to take down. I can SSH into the remote machine just fine but, when I try to scp the files out I get an connection timed out on port ...
1
vote
0answers
295 views

Using Cgroups with Systemd to restrict bash cpu & memory

I want to restrict every user on my Centos 7 server who is logged in via SSH. They should not be able to use, for example, a forkbomb and kill the whole system. The superuser will have no restriction. ...
1
vote
1answer
516 views

Install CentOS 7 through IBM IMM2

I'm trying to remotely install CentOS 7 (using the "Everything ISO" from official download page) on an IBM server with IMM2 (Integrated Management Module 2) using the Remote Control single-user mode ...
1
vote
1answer
365 views

AWS Outbound ACL Rules impact on incoming ssh connections

I am making a bastion ssh server on CentOS 7 in an AWS EC2 instance. When I use the following rules in its ACL, I am able to connect to the server just fine: Inbound Rules Allow traffic on port 22 ...
0
votes
1answer
657 views

CentOS 7 - while installing i set disk encrypted with password, but on reboot always it asking password

While installing CentOS 7, i put password for disk encrypt. Now while working remotely on that machine and doing reboot it always ask password to be inserted on-site. Is this normal? or there is a ...
1
vote
1answer
748 views

Connect to Samba Share across OpenVPN tunnel

I've recently setup OpenVPN for remote connection to our CentOS 6 file server. Server Static IP: 10.0.0.66 Remote OpenVPN IP: 10.8.0.1 However when using the OpenVPN connection I am unable to ...