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)

2
votes
2answers
195 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 ...
1
vote
1answer
123 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
8k 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
1k 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
521 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
224 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
727 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
337 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
16k 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 ...
1
vote
1answer
374 views

is asus Q87T motherboard compatible with Redhad Linux?

is ASUS Q87T motherboard compatible with RedHat Linux ?? I can't get answer both the two links below: http://www.asus.com/Motherboards/Q87T/specifications/ ...
-11
votes
2answers
115 views

How to create my arbitary output? [closed]

How can I write a shell script that give me following output: Today is: Thursday, November 05, 2014 The IP for localhost.localdomain is: 192.168.141.140
2
votes
2answers
169 views

How to connect to a VPS without SSH.

I have a fresh VPS I just bought, for playing only. No risk of any kind involved, so I noticed that due to my slow connection I have to wait seconds to finish writing commands and opening/closing ...
1
vote
2answers
367 views

Veritus volume manager perl not avaliable

I am trying to install veritas volume manager on Centos 6.5 while running the script its throwing me Cannot find perl to execute
0
votes
1answer
423 views

Rolling back EPEL 7

I have a fresh installation of CentOS 6.5, and I accidentally added the EPEL 7 mirror, and performed a yum update. Is there an easy way to roll this back and add EPEL 6 instead? Update I ...
2
votes
2answers
1k views

How to install PySide package for CentOS 7

I'm trying to install PySide on CentOS 7. Seems pretty straightforward, enable EPEL repo, and install. Except that EPEL doesn't seem to contain a PySide package (yum install python-pyside fails with ...
1
vote
0answers
172 views

pip won't find system package on a custom location

I am working remotely on a CentOS system via bash with an account without administrator privileges and I need to install the Python package matplotlib. I can do this using pip install -t ...
0
votes
1answer
239 views

How can I update BASH [duplicate]

How can I update BASH? I noticed that there are version 4.2.45 env x='() { :;}; echo vulnerable' bash -c "echo this is a test" this is a test cat /etc/redhat-release CentOS release 5.11 (Final) rpm ...
1
vote
1answer
255 views

Cannot use free space in filesystem

I want to install a program but it says that there is not enough free disk space more than 11 GB although there is. df -h shows: Filesystem Size Used Avail Use% Mounted on ...
1
vote
1answer
9k views

IP Address not populating in eth0 in ifconfig

One of my servers at work does not connect back to us (so I can't SSH into it). I asked the person on the site to do numerous things: sudo /sbin/service network restart It comes up with this: I ...
5
votes
1answer
13k views

service command does not work in centos 7

I used to use service command for restarting, reloading, and checking status of service on centos 6.5 like below: $ sudo service nginx restart OK $ sudo service nginx status ...
0
votes
0answers
70 views

server can't read newly installed centos 6.1

I have a server that has 12TB and I used RAID 1+0(RAID 10) so my logical drive in the server is now 6TB + (6TB Mirror) when I install the CentOS v.6.1 in the server, the installation has no problem at ...
0
votes
0answers
105 views

Running centos on a virtual machine as a webserver

I have taken the VM image of our webserver (CentOS/jboss) and would like to run it locally on my mac as a virtual machine so I can use it as a webserver when I am offline - I am using VM Fusion. The ...
4
votes
1answer
8k views

Why does my systemd unit fail to run on server reboot?

I'm having troubles getting a systemd service unit file to run correctly when the server reboots. This server is a fresh CentOS 7.0.1406 install. I'm trying to set it up with multiple Apache httpd ...
1
vote
2answers
3k views

How to start teamspeak server on reboot as specific user

Linux version on the server is Centos 7.0. Teamspeak server runs with this command: ./opt/teamspeak3-server_linux-x86/ts3server_startscript.sh start My server doesn't have 100% uptime. Therefore, ...
0
votes
3answers
2k views

Change login user account when accessing server through Putty

I am a very new systems administrator. I have been hired in as a junior and came from a Windows administration back ground. I have about one month of Linux experience. I have a lot of resources that ...
0
votes
1answer
342 views

Can call login command from terminal

I want to create a user using useradd from root in my terminal window, after it I call passwd to set user's password. So I cant call login username because when I call it from terminal it closes ...
5
votes
4answers
18k views

Whitelist IP's in CentOS 7

I want to setup CentOS 7 firewall such that, all the incoming requests will be blocked except from the originating IP's that I whitelist. And for the Whitelist IP's all the ports should be accessible. ...
1
vote
0answers
491 views

Centos 7 - Encrypted installation won't boot

I installed CentOS 7 netinstall (minimal installation) on a VServer with the following partitions: /boot - 200MB - XFS / - 50GB - XFS Encrypted swap - 512MB - swap Encrypted I ...
0
votes
0answers
290 views

what would cause runcobol to fail for certain users?

I have RM/COBOL Runtime - Version 7.10.00 running on a CentOS 6.5 box (VM) This CentOS allows SSH access to certain domain users by authenticating their group with the local domain controller. These ...
0
votes
1answer
8k views

CentOS 7 Live CD?

On this video at 1.09 I see CentOS 7 Live CD which allows to start CentOS directly from CD without installing it. How can I make such disk? I've downloaded .iso file from official web site, burned ...
19
votes
2answers
18k views

How display log messages from previous boots under CentOS 7?

Executing journalctl under a CentOS 7 system just prints messages generated after the last boot. The command # journalctl --boot=-1 prints Failed to look up boot -1: Cannot assign requested ...
2
votes
1answer
1k views

Yum installation of package specific modules

I was playing around with texlive package recently and found out that there is a way to install tex style packages with yum install 'tex(package.sty)' command. I've never seen package name was ...
0
votes
1answer
164 views

How to open root directory on second HDD?

My situation is very specific. I've applied chmod -R 777 / on my CentOS 7 server, so my system screwed up on next reboot. I took server HDD home and connected it via SATA cable to my home PC. Now I've ...
1
vote
1answer
113 views

showkey -s doesn't display scancodes in CentOS 6.4

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
1
vote
1answer
204 views

loadkeys has (almost) no effect

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
2
votes
2answers
5k views

Re-partitioning /home partition in CentOS

I have a CentOS 7 system with a /home partition that is too large. I wish to reduce its size but it's XFS so that's pretty much impossible. Since I don't have much user data anyway (only 1 user ...
1
vote
3answers
1k views

auto creation of bash profiles?

Following the instructions at this nice walkthrough here. I have successfully configured my CentOS 6.5 Server to authenticate with my domain. Additionally, it only allows domain users of the group ...
0
votes
2answers
2k views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
1
vote
1answer
163 views

Static networking between CentOS and Windows Server 2008

I am trying to set up static networking between my Linux VM and Windows Server 2008 VM. One thing I am confused about is that currently the Linux box only displays an eth0 adapter when I type ifconfig ...
1
vote
1answer
623 views

Access old version of file

I was working on a file locally in Notepad++ and uploaded it via FTP to server - during the upload something went wrong without me realising and the uploaded file is now empty (size shows as 0). I ...
12
votes
1answer
19k views

The name > org.freedesktop.PolicyKit1 was not provided by any .service files

When attempting to launch system-config-users from command line, I get the following warning, and the tool does not open. I'm using CentOS 7 with Mate 1.8.1. WARNING **: Error enumerating ...
-2
votes
1answer
922 views

Delete all mails from inbox using linux command prompt

How can I delete emails from an individual email account? e.g. how can I empty userxyz@mydomain.com? I know the following: /var/spool/mail/mydomain /var/mail/mydomain I have many inboxes some of ...
2
votes
0answers
333 views

SNAT with firewall-cmd?

I have an interface with multiple IP Addresses (on CentOS 7), which is in zone "external" (with masquerade on). I want to specify that, if a connectiona attempt to a specific address goes out, to use ...
0
votes
2answers
456 views

How to run screen as non-root user in CentOS 5

I've followed this guide http://centoshelp.org/resources/scripts-tools/a-basic-understanding-of-screen-on-centos/ Now, seems like I am having trouble running screen with non-root user, because ...
0
votes
2answers
167 views

Memcached on a webserver

We host a Magento webshop hosted by Amazon EC2, and we have speed issues. We're currently looking at moving to another provider. We found one hosting provider where we have a test account now. Speed ...
1
vote
1answer
255 views

CentOS 6.5 : machine with more that 1 TB RAM => “no free pages available” on boot

I have a upgraded a server with more than 1 TB of RAM, and it is unable to boot. With 768GB of RAM all is working fine. I got the following message : Trying to allocate 1005 pages for VMLINUZ. ...
1
vote
0answers
60 views

Installing an OS from source on separate partition. Is this possible?

I'm trying to install Minimal CentOS on a small partition and the installer quits and brings me to a prompt every time. It says something like it can't find initrd.img. I was wondering if I could ...