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)

0
votes
1answer
41 views

samba 3.x.x vulnerabilities patch

We know that samba has few vulnerabilities. How to apply patches for vulnerabilities of samba version 3 ? samba site does not give clear info as to how to apply patches. Also is it possible to apply ...
1
vote
0answers
1k views

CentOs7 Python 3.4 Install Method

This post relates to this question where I was asked to explain how I installed python3 on my system. I was attempting to install python3 on my system for development purposes. Something went wrong ...
0
votes
1answer
50 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 ...
0
votes
1answer
48 views

looking for a way to download a list of packages with yum

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
5
votes
1answer
739 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
0
votes
0answers
176 views

Disabled root Access, how to use FTP

I removed the ability to login using 'root' to stop brute force attacks on my server, instead logging in as a regular user then 'su root' to the root if required. I need to use FileZilla to move, ...
0
votes
0answers
45 views

How to make a background service to capture commands and their output?

Is there anyway to make a background service capture all the commands executed by a user and also save the output in a text file?
1
vote
3answers
737 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
0
votes
0answers
33 views

Centos Redhat Cluster LICI RUCCI

I have 3 systems [Normal Desktops College LAB] with 2 Network Interfaces each node1.test.com : Public IP : 10.10.10.2 Cluster Hearbeat: 192.168.1.2 node2.test.com : Public IP : 10.10.10.3 Cluster ...
2
votes
2answers
2k views

LVM volume is inactive after reboot of CentOS

It seems there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a Linux server from CentOS 6 ...
1
vote
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
1answer
1k views

CentOs 7 Python Issue “-bash: python: command not found”

I asked this at stackoverflow, but just realized it might be best here. If I need to delete it over there or should not have posted here, please let me know. I am still new to this site. Thanks in ...
0
votes
1answer
788 views

Why is my CentOS 6 system doing IPv6 lookups?

I have a fairly recently installed CentOS 6.6 system. I have disabled IPv6 as best I can: IPV6INIT=no in ifcfg-[eth0|lo] net.ipv6.conf.all.disable_ipv6 = 1 in /etc/sysctl.conf net.ipv6.conf.default....
1
vote
1answer
2k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat ...
0
votes
1answer
73 views

rsyslog adding unwanted text to outbound log data

I'm using rsyslog to send access & error log data to a remote server. The interface is in place, but I'm getting an extra bit of text in the outbound log data that isn't included in /var/log/http/...
0
votes
1answer
60 views

I have just made a 2TB CentOS vm but the disk isn't available

Yesterday I made a fresh VM with 2.0Tb of disk. When I do df -H, this is what I get: [root@datastore ~]# df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_datastore -...
0
votes
2answers
71 views

CentOS future updates

We have been using CentOS as the OS for some of our linux servers for quite some time now. However, in a recent policy meeting, one of the colleagues said that there will be no more CentOS kernel ...
1
vote
0answers
266 views

how do I mount an external hard drive connected via SATA Wire to CentOS 7

I have CentOS 7 installed as a guest OS inside VirtualBox running on a Windows 8.1 machine. There is a SATA Wire connecting the machine to an external hard drive that used to contain a dual boot ...
0
votes
1answer
428 views

why are colors mixed up in CentOS 7 terminal?

I have CentOS 7 running as a guest OS inside a VirtualBox host. I opened a terminal to write some commands, but the colors are all messed up as shown in the following print screen: It looks ...
0
votes
0answers
19 views

1920 1080 resolution is not showing up [VBOX Cent OS 6.6] [duplicate]

MY /etc/X011/xorg.conf has the following configuration, but its not showing up 1920x1080 resolution in Guest centos 6.6 Section "Monitor" Identifier "Monitor0" VendorName "Monitor ...
0
votes
1answer
122 views

Centos 7 with facebook php-sdk4 - Network is unreachable

I am not sure why I am getting this error. Sometimes, it works and sometimes I get this error in the error log: Exception: Failed to connect to 1a02:1234:f000:4:face:b00c:0:1: Network is unreachable ...
1
vote
2answers
408 views

Trying to install a cluster, DHCP failing to start

Trying to install a linux cluster using this tutorial. I am running CentOS 6.3. When I try to start DHCP with service dhcpd start, it fails. I've used tail -f /var/log/messages and dhcpd -t, but I ...
2
votes
1answer
829 views

How to exclude .jpg, .jpeg, .png, .gif from a ClamAV Scan (clamscan)

As the title says. I'm running a clamscan command to scan my users home directories, I'd like to exclude images from the scan as these sites specifically have thousands of images. M
1
vote
2answers
4k views

What is the equivalent CentOS for Red Hat Enterprise Linux 6.5?

According to CentOS website, they use the source code from Red Hat, but I am not clear about what version of Red Hat source code is being used to build each version of CentOS. Is there a numeric ...
0
votes
0answers
130 views

Have kickstart install TCPdump

I have a kickstart file for RHEL 6 and in the package section for the installing of the TCPdump command line utility I put tcpdump as the package name. Like I did with java and g++ in the kickstart ...
1
vote
2answers
49 views

Using rsync to synchronize directories

I have a script that I am using to backup a directory on a CentOS 6 machine. It's very basic but it is executing rsync -a remote:~/original ./backup This works fine: it is copying the contents of ...
1
vote
2answers
2k views

Creating Group and User for Tomcat RHEL/CentOS

I newbie I want to create an user for my Tomcat installation, but I was viewing multiple options: # groupadd tomcat # # useradd -g tomcat -d /usr/local/tomcat tomcat # useradd -g tomcat -c "Tomcat ...
1
vote
0answers
594 views

PuTTY does not connect over SSH; other clients work fine

I have a CentOS system that I can connect to using several SSH clients (FireSSH, WinSCP, MySQL Workbench over SSH). For some reason, PuTTY, which was working a few days ago, can not connect. It will ...
3
votes
2answers
9k views

Cannot start NFS in Centos 7

I can't start an NFS server in CentOS7. The packages downloaded: yum -y install nfs-utils yum -y install nfs-utils-lib Enable/start services systemctl enable/start rpcbind systemctl enable/start ...
1
vote
1answer
1k views

How do I get X to start without a monitor attached while using NVIDIA drivers?

card : Geforce GT 730 OS : Centos 6.5 I'm trying to demo HP RGS on a CentOS 6.5 machine located in a DC offsite. RGS requires X to be running with NVidia HW acceleration, but I can't get X to start ...
1
vote
1answer
313 views

CentOS 5.11: yum installs, but packages remain missing

I'm trying to figure out a very strange problem with yum on a fairly old CentOS 5.11 VPS using DirectAdmin. Executing the following command suggests the telnet package is installed: # yum install ...
1
vote
2answers
2k views

CentOS 6.6: OpenSSL version

I have a CentOS 6.6 system. When I type into command line openssl version, the system gives me OpenSSL 1.0.1e-fips 11 Feb 2013. When I type yum update openssl, then yum says No Packages marked for ...
0
votes
1answer
69 views

Terminal does not call 'then', reports a syntax error and command not found [closed]

I am a newbie for Linux. I have CentOS 7. I am running a very simple script from BASH. I executed the chmod command and then ran the script file from a terminal. I got an error saying "if command not ...
1
vote
1answer
276 views

luks volume disappears after reboot

I created a separate partition on a CentOS install (VirtualBox), and am attempting to encrypt it using cryptsetup and LUKS. I'm using the following commands to get this set up: cryptsetup luksOpen /...
1
vote
1answer
497 views

trouble with glib while installing Midnight Commander on centOS

I am trying to ./configure midnight commander downloaded from http://ftp.midnight-commander.org/mc-4.8.14.tar.bz2 and I get the following: checking for GLIB... no configure: error: glib-2.0 not found ...
-2
votes
1answer
49 views

Is this a violation? using https service in intranet?

I have CentOS 7 servers in the cloud which is offering HTTPS services. Now this Enterprise can't use our services from the cloud, so they wanted a local intranet solution, the same as I am running in ...
1
vote
1answer
142 views

How to copy a installed library to a remote Linux host

I am a newbie on Linux and trying to host my Java project on a remote linux host(CentOS). My Project depends on some native libraries that needs to be existing in the host, and since it is a shared ...
2
votes
2answers
319 views

Automate slappasswd

I want to automate slappasswd, but the following does not work: [root@controller ~]# echo -e "vagrant\nvagrant\n" | slappasswd New password: while it works to automate passwd: [root@controller ~]# ...
1
vote
0answers
162 views

How to install a CentOS image manually?

I am moving my project from CentOS 6 to CentOS 7 and need to deal with the changes in the boot requirements introduced by CentOS 7, particularly the upgrade from grub to grub2. The gist of the problem ...
0
votes
1answer
120 views

centos firewall seems block dhcpv6 reply message

It's very strange that my CentOS cannot receive dhcpv6 reply message from dhcpv6 server. I have enabled the rule dhcpv6-client. Every time I try to bring up the interface, dhcpv6 request messages are ...
0
votes
4answers
704 views

Unable to access iSCSI target since Targetcli has been updated on Centos 7

Targetcli is able to run [root@controller ~]# targetcli targetcli shell version 2.1.fb34 Copyright 2011-2013 by Datera, Inc and others. For help on commands, type 'help'. /> exit Global pref ...
1
vote
1answer
2k views

CentOS 7 - Using systemctl to start headless virtual machine hangs

I'm not entirely sure if what I'm trying to do can work. I would like to run a vbox virtual machine as a service and have it enabled on startup. Here is my .service script: [Unit] Description=...
0
votes
1answer
195 views

Huge Pages on CentOS 6.6

Recently I installed CentOS 6.6, but when I tried to configure Huge Pages, I cannot see the common paths that I am already using to configure hugepages in other CentOS 6 machines, but with the 2.6 ...
0
votes
2answers
3k 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
64 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
198 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
448 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 ...
2
votes
4answers
271 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 ...
1
vote
2answers
9k 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: ...
2
votes
2answers
2k 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 ...