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
1answer
3k views

export from MYSQL to CSV

How do I export from MYSQL to CSV in mariadb on Centos 7? I am using: Server version 5.5.37-MariaDB Protocol version 10 Connection Localhost via UNIX socket UNIX socket /var/...
0
votes
2answers
1k views

How to get the ~/.bashrc to work in the native terminal application in Centos? [closed]

The problem I had was to get the .bashrc and .bash_profile and/or .profile scripts to execute by default when using the native Gnome terminal application. I found a number of references which told me ...
2
votes
1answer
1k views

SSSD and autofs

I am trying to set up SSSD to get automount maps from Active Directory. I think my settings are correct but it uses the wrong username to query AD. It takes whatever that is set as "mapname" (behind ...
1
vote
0answers
2k views

CentOS - upstart script is created, but its never running at all

I have this following setup but its not working in my CentOS 6x (3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 x86_64 x86_64 GNU/Linux) Step 1: vi /etc/init/a.conf description "...
3
votes
1answer
3k views

Mounting NFS via systemd in Centos 7

I am trying to mount an NFS share on a CentOS 7 box using systemd. This is my /etc/fstab entry: 10.0.0.104:/export /mnt nfs users,noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=...
0
votes
0answers
45 views

Possibly Compromised - ./brute xml2014 user x08 300?

I have a long list of a process called "./brute xml2014 user x08 300" when I type in "ps aux". What does this mean? Does this mean my server is being used as a DDoS bot? Here's a screenshot of what I'...
1
vote
0answers
84 views

Giving a user SFTP access only with access to subdirectory outside of home?

I have user [USER A] account which contains scripts and a downloads folder. I would like to create a new account [USER B] so that the user has read/write (SFTP and not full SSH) access to their home ...
7
votes
1answer
9k views

Is there an init.d start log?

I am experiencing a problem with an init.d script (the service won't start), so I'm wondering if a log is available so I can fix the problem.
0
votes
1answer
150 views

Backup Mails to new server

I have a custom domain hosted with Microsoft Outlook mail service. now they are not offering creating new accounts under my domain and I decided to move new server. so I configure all the things with ...
7
votes
1answer
8k views

CentOS 7 boots too fast and network is not ready when executing cron scripts

I have just upgraded from CentOS 6.5 to 7.0 and I am not too happy as the new systemd is probably giving me problems. It seems it is just simply booting too fast, starting up processes asynchronously ...
2
votes
1answer
4k views

disable persistent network device naming [duplicate]

I have CentOS-6.5 running in qemu-based virtual machine, with a single ethernet interface, which surprisingly is being renamed by udev from eth0 to eth1 for whoever knows reason (!) So I want to to ...
1
vote
1answer
217 views

Installing packages on multiple Centos machines

I have to install standard package like java 1.7 in 40 of my lab machines which are connected over a LAN. I know I can simply write a shell script to install something in user space of each system, ...
3
votes
1answer
261 views

How did my default file permissions get changed from 666 (before umask settings) to 04501

I have an installation of CentOS 6.5 that suddenly started having issues with dealing out file permissions on new or recreated files. when I create a file with touch, instead of the usual 644 or -rw-...
5
votes
1answer
1k views

Why would whois take up 100% of the CPU?

Running top on my CentOS web server shows an instance of whois running from 99-100% of one of the CPUs. I've not knowingly used whois on this server before, would it be safe just to kill this process?...
2
votes
2answers
776 views

Interdependent conflicting packages in CentOS 6.5

I've been using CentOS 6.5 as my OS for quite a while. Usually I don't have many problems with Linux installations, but as they new CentOS 6.6 was released I found myself in a bit of a problem. There ...
2
votes
1answer
5k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
1
vote
0answers
48 views

Huawei(e303s) installation in centos 6.4

I have installed CentOS 6.4 in my system. I connected Huawei(e303s) with airtel 3g,tried installing the driver provided with Huawei its getting installed with some error. It shows error like : The ...
1
vote
0answers
265 views

Tor install on CentOS server

I have followed the instructions provided here: https://www.torproject.org/docs/rpms.html.en However, when running yum install tor, i get the following dependency error: Error: Package: tor-0.2.5.10-...
1
vote
1answer
284 views

Fatal Error while trying to detect swap signature

I've installed CentOS 6.5 On VMWare Workstation. I added a SCSI Virtual Disk (.vmdk) to this Machine when it was Powered On. I decided to store the Disk as a single file & allocated all disk space ...
4
votes
1answer
2k views

Centos 6.5 not able to login with public key and login is sloooooow

I set up a new system with CentOS 6.5. I copied my public key key with: ssh-copy-id root@192.168.1.202 It took 15+ seconds for the password prompt to show, but then it copied. However ssh to root@...
0
votes
1answer
338 views

Auto code completion in GEdit and VIM, for C++

Being a Visual Studio fan, I am just wondering if I can have same feature in GEdit and VIM. PS : I’m new to VIM and currently using CentOS and Ubuntu.
3
votes
1answer
2k views

Using X-Windows from Windows 8.1

I have a Linux box that I don't have physical access to, but I do have SSH access. I'd like to know is if there is something similar to SSH or Telnet that would allow me to use Gnome or KDE instead of ...
3
votes
1answer
427 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...
2
votes
2answers
1k views

How to remote install CentOS/RHEL 7 using a rescue image like GRML?

Assuming a remote machine where you can PXE boot into a GRML image that also provides ssh access. Now the question is how to install CentOS in such an environment. Something like KVM access is not ...
19
votes
1answer
64k views

Nslookup: command not found error on RHEL/CentOS 7

During linux installation I selected "minimal" option: When I went to run the nslookup command to look up an IP address I got the error message nslookup: command not found as shown in the example ...
1
vote
1answer
3k views

CentOS 7 cpupower not setting the CPU's to maximum

On my machine, i have power savings disable on the BIOS. When I run Ubuntu on this machine, the CPU's are running maximum at 2100 MHz. However, when I'm running CentOS 7, even with the scaling ...
1
vote
1answer
829 views

Stopping postfix - are messages queued when postfix is idle?

I am running some scans on my server tonight and would like to disable email notifications since there is a chance for a LOT of them to be sent out. I am planning to issue service postfix stop ...
1
vote
1answer
1k views

How can I manually reset RX / TX counters in ifconfig output without impacting data delivery?

CentOS 5.9 I'd like to reset the RX/TX counters in ifconfig output for an interface. My understanding is that these counters get reset during a reboot but I'd like to avoid rebooting. Is there ...
1
vote
1answer
230 views

CentOS machine keeps “losing” active directory membership

All of our CentOS 6 machines have been joined to our active directory domain. Each of these machines eventually "loses" their domain membership, which breaks authentication for AD users. I created a ...
1
vote
0answers
260 views

Download & install Report Lab on CentOs

I am following this link to install report lab and download parts of googlebooks as pdf. However, I am on CentOs 5, can not use apt-get, probably I need to use yum, but I do not know how. Any ...
2
votes
0answers
304 views

CentOS invalid system activity files

CentOS 6.5 server has a cron job that converts system activity files to system activity reports once per day. Periodically, sometimes as a one-off, sometimes every day for a week or more, the cron job ...
3
votes
2answers
998 views

tmux unable to start a new session? “1;2c”

Introduction I just installed tmux onto my CentOS 7 machine, but I have encountered a bewildering issue. Whenever I try to attempt to start up a session using tmux or tmux new -s session-name, it ...
2
votes
2answers
4k views

How to use sudo to delete the contents of a directory

I have a legitimate need to empty a directory to which my account does not have access (it is a cache directory used by an application, and is owned by the account that runs the application.) My ...
4
votes
1answer
12k views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
0
votes
0answers
260 views

problem installing oracle instant client on my centOS machine

I have downloaded and extracted the rpm package instantclient-basic-linux.x64-12.1.0.1.0.zip from oracle website and extracted it in /usr/lib/ where the current path is: /usr/lib/oracle/12.1/client64/...
3
votes
0answers
523 views

Why don't I hear audio playing from my CentOS 6.5 Vagrant box?

I want to play a wave file from my CentOS 6.5 Vagrant box using aplay and of course I want to hear the sound. This is what I do: > aplay sine.wav Playing WAVE 'sine.wav' : Signed 16 bit Little ...
1
vote
1answer
330 views

Why are --older-than and --younger-than killall options missing in RHEL/CentOS?

I've experienced this issue in cleaning up scripts written by developer who were writing for Ubuntu systems, as well as ServerFault questions like this. Is there any reason the -o, -y (--older-than ...
1
vote
1answer
32 views

Get summary count of all patches applied to a server?

Is there an easy way to get a count of the total number of patches applied to a server over a time frame, or even in summary?
2
votes
2answers
234 views

CentOS - how to look for dropped connections from NIC

I'm running CentOS 5 and sendmail. Sendmail serves as an MTA for a webserver on the same LAN segment. Most emails go through, but I do get several errors in /var/log/maillog that read: Oct 20 11:10:...
1
vote
1answer
130 views

Why does my tunneled IPv6 connectivity drop after a short period of time?

I correctly setup a Hurricane Electric tunnel on a CentOS 6.5 VPS server (KVM). I use CSF (ConfigServer Security & Firewall) which acts as a wrapper for iptables and ip6tables, the default ...
7
votes
2answers
9k 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 ...
3
votes
1answer
2k views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message I've created new partition(/dev/sda6) and mounted it(on /hulk). Edited /etc/fstab file to give quotas on the ...
0
votes
1answer
561 views

IPTABLES comment: No chain/target/match by that name

Faced with error when adding new rule with 'comment': # iptables -I INPUT 1 --source 66.***.***.78 -j REJECT -m comment --comment "Some" iptables: No chain/target/match by that name. Without ...
0
votes
0answers
248 views

Ext3 file system became read-only and server reboots spontaneoulsy

We noticed ext3 file system in our CentOS 4.9 server became read-only. We got the following error in dmesg: EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will ...
1
vote
1answer
2k views

How to expand an iSCSI lun with targetcli on CentOS7?

I have a CentOS 7 machine with iSCSI configured. see ls output from targetcli below. I want to add disk02 to lun0 so that to the iSCSI client can see a total 869.16GB instead of 392.2GB Question: Is ...
-2
votes
1answer
801 views

Cannot log into CentOS 7 as root

I have a CentOS 7.0 VM, running under VirtualBox. Set it up a few months back, nice to get it back, but not crucial. I have successfully followed the instructions from RedHat, but they seem to have ...
0
votes
1answer
351 views

how to install turnserver on centos 6.5 32bit

I get the following error while turnserver on centos 6.5 32bit. How can I solve it? [root@d turnserver-3.2.2.1]# ./install.sh libc.so.6()(64bit) is needed by libevent-2.0.21-2.el6.x86_64 annot add ...
3
votes
3answers
17k views

Where / How to install CentOS 7 for 32 bit system?

I have windows 7 with 32 bit system, and previously I used CentOS-6.5-i386-minimal to run centos on my virtual box, but now I would like to run CentOS 7 and it seems (if I am not mistaken) that there ...
3
votes
1answer
2k views

How to setup a KDE/Gnome-Remote-Server with CentOS 6

I am planning to setup a "terminalserver" for my *nix based administrators. I would like to have a number of users, either with gnome or with kde (based on their likings) who will connect to the ...
0
votes
1answer
2k views

Grant FTP access to specific directory

I have setup CentOS on a box on my local network and installed httpd, PHP, Webmin (and UserMin) etc. I opted for ProFTPd and have opened up ports for FTP, Webmin and Apache. I can now access Webmin ...