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)

3
votes
3answers
6k views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in Installing XRDP on Cent OS 6.5, however it haven't helped me to fix. I am using MAC and trying to install XRDP in CentOS release 6.5 (64 bit). So ...
1
vote
1answer
66 views

tar ignoring “newer” option

How do I get tar to only include files newer than a certain date? I have tried the following, both of which include older and newer files (today is 2015-07-20): tar -cj -N 2015-07-07 directory | tar ...
0
votes
1answer
354 views

Writing an install script for CentOS

Every time I deploy a VPS server, I install VNC server. But every time I have to do this: yum groupinstall Desktop yum install tigervnc-server yum install vnc yum install firefox (etc.) Can I ...
0
votes
1answer
72 views

How to create Swap from already created mount points

I have prepared a CentOS 6.5 with all mount points at formatting time, including swap. Now, when I am trying to run command swapon, it shows 0 0 0. And when I am trying to create it again using ...
1
vote
0answers
159 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
0
votes
1answer
503 views

virsh and creating storage pools - What is sourcepath “- - - -”

I am running CentOS 7 and was following a chapter in a book dealing with virtualization and creating storage pools. I successfully ran the following command, but I'm not sure what setting - - - - as ...
0
votes
1answer
108 views

How to determine or set keyboard shortcut for activities view in gnome3 on centos7?

Is there a way in Gnome3 on CentOS7 to list the actual keyboard shortcuts for things like the activities view? I can find lots of web pages that tell me what they should be, but I'd like to know for ...
0
votes
1answer
74 views

CentOS 6 Cron Logging Without Postfix

On a CentOS environment I am setting up, I have no need for email of any kind. I would like to simply disable postfix entirely, however this also disables logging from cron which I do need to have. ...
0
votes
1answer
182 views

Keyboard binding for “activities overview” in Gnome3 on CentOS7 only brings up applications menu

I found a "Gnome Help" web site that listed the keyboard shortcut for the "activities overview" screen, but I found that wasn't working. I then found the "Settings"->"Keyboard"->"System" preferences ...
1
vote
4answers
36k views

Yum update error: Could not retrieve mirrorlist

I'm trying to do yum update. This is the error I'm getting. sudo yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
0
votes
1answer
827 views

NTFS formatting disabled while using Gparted in CentOS 7

I am using GParted for formatting my usb-device(a pendrive). And, I unmounted my device using the GUI program itself. The device doesn't show mounted anymore. When I try to format my ...
1
vote
1answer
96 views

nfsstat -s: What does sequence mean?

I am having a lot of trouble with my NFS v4 server running over infiniband (IPoIB), every time the load gets high, the nfs server locks up and I have to reboot the server to fix the problem. I get the ...
0
votes
0answers
41 views

How to run Padre after installing via cpanm?

./cpanm Padre It looks like I could successfully install Padre. But.. How can I start it? I installed it with a normal user, not root.. where is the start script? [user@notebook ~]$ find . -type f ...
0
votes
0answers
276 views

Zimbra Bind IP address change

My client physically moved their CentOS 6.5 servers to a different data center with a new set of IPs. Before moving, they configured Zimbra 8.0.7 from Admin console with new bind address where they ...
1
vote
1answer
58 views

What are the default file permissions in CentOS?

What are the default file permissions in CentOS 5, CentOS 6 and CentOS 7? Is there any difference in the default file permissions between these OSs?
1
vote
1answer
191 views

Tracking Source IP of Dropped Packets

I have a server running CentOS 7 which is showing a considerable amount of RX dropped packets on ifconfig. I believe those may be caused by hardware problems such as faulty cables and connections. ...
0
votes
1answer
230 views

How to connect to a CentOS VM over ftp?

Host - Windows 7 Guest - CentOS I have installed vsftpd as according to this guide and the service is running. But when I try to connect to the VM from the host using FileZilla the connection times ...
0
votes
1answer
505 views

Connect to SFTP using Centos Linux VM

I have Centos running a Linux VM on a Windows machine. I'm not able to connect to the VM using WinSCP with sftp on port 22 or ftp on port 21. I have Subsystem sftp ...
2
votes
1answer
1k views

what is the canonical way to start a daemon in rhel/centos-6 init script?

I found lots of good documentation for ubuntu's start-stop-daemon and there is a man page for a binary daemon. But from what I can tell the canonical way to start a daemon in a rhel/centos script is ...
0
votes
2answers
3k views

Upgrade Centos to 6.5 not 6.6?

We are running Cassandra, specifically Datastax's Enterprise version in our production CentOS environment. As such, I wanted to upgrade our machines from an older CentOS 6.3 version to 6.5, the ...
1
vote
0answers
69 views

iptables blocking incoming FTP traffic 2/3 minutes after being reset

On CentOS 6.6- At first, iptables was blocking access to my FTP server at all while it was on. After some research I added the lines to /etc/sysconfig/iptables that are suggested in the question ...
0
votes
2answers
200 views

Centos 7 Drivers issues on HP sleekbook 15-b001ee

I am fresh to linux and centos. I have installed centos with GNOME desktop successfully but after signing to my account couldn't find Sound and Wifi working. I have google a lot but everything is ...
0
votes
0answers
151 views

Install basic gnome desktop on gnome7 minimal install

I recently installed centos7 minimal. I would like to install gnome classic now to start automatically but I'm trying to avoid the traditional install GNOME desktop because I don't want all the ...
4
votes
0answers
465 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
0
votes
1answer
43 views

How to Install “remotely” Binary source from another path location

Suppose this I have a Bynary_Package.tar.gz When i unzipped this: zxvf Bynary_Package.tar.gz -C /path/dir/ Now, I move to cd /path/dir/Bynary_Package/ when I list this with ls -Al I have the ...
0
votes
1answer
59 views

hicolor icon error in pgadmin3, but hicolor-icon-theme installed

I have a CentOS 7.0 box that I am SSHing into from Windows with putty and the Xming Windows server. When I run pgadmin3 (installed via yum) I get the following: (pgadmin3:23011): Gtk-WARNING **: ...
-2
votes
2answers
100 views

How is $HOME/bin added to my path? [duplicate]

I noticed that my path environment variable had the path for my home's binaries $HOME/bin. I did not add $HOME/bin directory to my path environment variable so how did $HOME/bin get added to the ...
0
votes
1answer
218 views

Booting from CD in CentOS

I am trying to modify the grub boot manager in my CentOS machine so that it can boot from a CD-rom. The method I am most familiar with (and the method that all of my Google searches tell me to do) ...
7
votes
1answer
18k views

How to update glibc to 2.14 in CentOS 6.5

I want to install Android NDK on my CentOS 6.5 machine. But when I ran the program, it says it needs glibc 2.14 to be able to run. My CentOS 6.5 only has Glibc 2.12 installed. So I tried to update ...
0
votes
1answer
178 views

yum.conf and installonlypkgs option

We set up our CentOS 6.x system that we could have a different versions of our software by means of installonlypkgs option in yum.conf. For example <mycoolpackage>-1.0.0-0.el6 and ...
1
vote
2answers
6k views

How to disable automatic updates in CentOS 7?

CentOS Linux release 7.0.1406 (Core) / Linux 3.10.0-123.13.2.el7.x86_64 Last week, I noticed that when I tried to restart, there was an option to Install Updates & Restart. I do not recall ...
0
votes
2answers
4k views

What caused my CentOS 6.4 box to reboot itself?

I noticed that the MySQL daemon running on my CentOS 6.4 machine was suddenly not running anymore. I checked the MySQL log, but didn't see anything relevant: 121229 22:17:45 mysqld_safe mysqld from ...
1
vote
1answer
313 views

Starting Apache Httpd at Boot time with Zero intervention, CentOS and authbind

I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!) Later of Apache was ...
12
votes
4answers
825 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
0
votes
2answers
13k views

How to add an IP to hostname file

I have a Centos 5.8 server. How can I add my server IP address 192.168.20.254 so that it reflects when I run the command hostname -i At the moment the command only shows the loopback IP 127.0.0.1 and ...
4
votes
1answer
422 views

The file /usr/libexec/mysqld does not exist or is not executable

Whenever I try to start MySQL via the command service mysqld start I get the following error: MySQL Daemon failed to start. Starting mysqld: [FAILED] ...
1
vote
1answer
127 views

How to direct host's browser to guest VM?

Host - Windows 7 Guest - CentOS 7 I have set up a CentOS VM using VMware Player. I can now connect to the internet (ping google.com, install packages using yum are all successful) after changing the ...
2
votes
1answer
1k views

How to connect CentOS virtual machine (on VMware) to the internet?

I have set up VMware and installed a minimal CentOS (my laptop's OS is Windows 7). But cannot connect to the internet. Eventually I tried following this guide but still no luck. Trying to ping a ...
-2
votes
1answer
102 views

How to restart certain Linux services

What are the commands to restart the following services on CentOS? cpdavd cpsrvd leechprot spamd tailwatch
0
votes
1answer
1k views

PHP 5.4 ON CENTOS 7 , NGINX , page not found error

I am trying to install PHP 5.4 on CentOS 7 currently , my conf files look like the following : /etc/nginx/conf.d server { listen 80; server_name 178.62.255.79; root ...
0
votes
1answer
752 views

Which URL to use for the Fedora EPEL repo mirrorlist in a kickstart config?

I am writing a kickstart file to configure a CentOS 7 installation. I'd like to install some packages from the Fedora EPEL repository, so I'm adding a repo command to the configuration. I'm having ...
0
votes
1answer
116 views

Need help locating the directory for systemd scripts

Tried to add a startup script for cent os, but can't find upstart script directory (which typically is in /etc/init on my ubuntu system] I heard it's in "/usr/lib/systemd" but it's not on my system: ...
0
votes
1answer
237 views

Add Xfce Group to REHL 6.6

I want to install Xfce on my REHL 6.6 (currently I think it uses Gnome2 and Compiz) but yum grouplist does not provide me any kind of Xfce group after I run # wget ...
0
votes
2answers
87 views

Can not connect to my webserver on my own IP

Lately I'm having trouble connecting to my VPS Webserver. Every morning when I try to connect to my webserver via pop ,visit a website that runs on the server or even ping the server, I get no ...
1
vote
1answer
135 views

rkhunter reports /sbin/ip has changed

I am using rkhunter 1.4.2 on CentOS 6.5. A message, in /var/log/rkhunter.log is Warning: The file properties have changed: [09:40:35] File: /sbin/ip [09:40:35] Current size: 247396 ...
0
votes
0answers
231 views

default cpu affinity

On a CentOS 6 system with 32 cores, what could make all processes run under core 0 only? This is a system running nothing but a few stunnel processes actively. This is not a system we would set IRQ ...
1
vote
0answers
4k views

LTO tape drive: “/dev/st0: Inappropriate ioctl for device”

I can write to the tape drive (tar -cf /dev/st0 file) and retrieve files from the tape drive (tar xvf /dev/st0 file). But the problem is when I attempt to use the 'mt' command to check the status of ...
0
votes
1answer
47 views

Where does Knoppix store the location of hard drives/

I've been looking on the web and through the few Knoppix books I have. I cannot see where to locate the hard drives for a CentOS server I've booted with Knoppix. I am booting the CentOS server with ...
3
votes
3answers
3k views

How can I check to see if the /tmp directory on my CentOS 5.x system is mounted on tmpfs?

CentOS 5.x My understanding is that the contents of /tmp/ in CentOS 5.x can/are automatically purged by the OS via one of two methods: A daily cron task running tmpwatch If /tmp/is mounted on a ...
7
votes
2answers
7k views

What is the purpose of avahi on a RHEL 7 server?

Running a server machine with CentOS 7, I've noticed that the avahi service is running by default. I am kind of wondering what the purpose of it is. One thing it seems to do (in my environment) is ...