CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
2answers
50 views

how do I do a command line only boot of CentOS 7?

Can someone please explain how to trigger a command line only boot of CentOS 7 from a USB boot stick? I want to boot the terminal only and then use the normal CentOS 7 terminal to swap out the ...
1
vote
1answer
21 views

I tried to resize an ext4 partition and now the VM is not working

I tried to resize the primary ext4 partition and I think that i forgot to set the primary partition as bootable. Now the only thing I see from the VNC is the grub. I used fdisk to resize and ...
1
vote
1answer
59 views

Improving performance of script [closed]

I have been working on a script that can be used to automatically restart my Zabbix monitoring services in the event that they stop running. I have the script working just fine, but figured it could ...
0
votes
2answers
37 views

autofs 'failed to mount autofs path' as service but not manually (selinux)

I'm on CentOS 6.6 and I'm having a strange problem with autofs. I'm trying to mount an smb share on /var/www/html/mysite/docfolder, so I created a docfolder inside the mysite folder, ran chmod 777 on ...
1
vote
4answers
70 views

Is there a CLI tool that would prettify a JSON string [closed]

On my host I enter the following, which returns a bunch of information which isn't particularly easy to read at the CLI. echo $ENV_VAR | base64 --decode Is there a way to format it? This is a ...
0
votes
2answers
79 views

CentOS 7 update using “yum update” does not work

I have a VM running CentOS 7 that I have not used for a long time. Today I launched it and tried to update the CentOS system to the latest version using yum update, but I got a lot of errors: ...
1
vote
2answers
105 views

centos 7 dual boot with windows 8.1

How do I install CentOS 7 alongside Windows 8.1 to create a dual boot machine? I did this easily enough on a Windows 7 machine using pendrivelinux. But that approach is resulting in a failure to ...
1
vote
0answers
19 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
54 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
17 views

can't start tomcat6(yum) org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0)

i installed tomcat6 on centos6 through yum, when i start tomcat6 (service tomcat6 start), it shows [OK] but, when i stop tomcat6 (service tomcat6 stop), it shows [failed], and i found exception in ...
0
votes
0answers
23 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
0answers
31 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 ...
1
vote
0answers
56 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 ...
0
votes
0answers
10 views

CentOS 7: What is the difference between applications.menu and gnome-applications.menu?

CentOS 7 using GNOME 3 comes with both "applications.menu" and "gnome-applications.menu" in /etc/xdg/menus. If I wanted to create a submenu for all users on a machine (i.e. NOT using alacarte), which ...
0
votes
0answers
84 views

Nvidia nouveau driver problem on CentOS 6.6

I'm having problems using the nouveau driver for my Nvidia GeForce 9100. Xorg starts up and works fine, I am able to use everything, although in /var/log/Xorg.0.log I have: $ cat /var/log/Xorg.0.log ...
1
vote
1answer
44 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
19 views

libltdl.so.3 cannot open shared object

i'm new in nagios and linux and was successful to install CentOS 6.6 and Nagios core using step by step guides here, but i faced the following problem with no reference in the internet how to solve ...
0
votes
0answers
60 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
48 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
674 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
93 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
117 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
44 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 ...
1
vote
0answers
99 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
35 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
22 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
23 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, ...
4
votes
1answer
65 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
9 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
0answers
22 views

Black screen trying to install CentOS 6

I've got a windows 8.1 Acer Laptop and I'm trying to put CentOS 6 on it as a dual boot set up. The laptop doesn't have a CD drive. I've already partitioned my hard drive. I've used Unetbootin to put ...
0
votes
1answer
49 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
23 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
27 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
92 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
35 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
31 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
24 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
34 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
23 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 ...
1
vote
0answers
19 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
0answers
19 views

Setting X display giver no protocol error [duplicate]

Here is the command i use DISPLAY=:0.0 sh /var/log/show_report.sh & disown This shell script just invokes the browser and here is error i receive No protocol specified Error: cannot open ...
0
votes
1answer
25 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
0answers
61 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
31 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
38 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
12 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 ...
0
votes
1answer
17 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
38 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
79 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
1answer
94 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 ...