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

learn more… | top users | synonyms (2)

1
vote
2answers
10 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
5 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 ...
0
votes
0answers
11 views

LVM volume inactive after reboot on CentOS

It seems like 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 ...
-1
votes
0answers
22 views

How to mask IP address in linux Centos 6.6 [on hold]

I have a server IP address and one application is running. Now I am running that application by typing IP address and port number in browser. So that application will running. What do I need? Client ...
0
votes
2answers
18 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 ...
0
votes
1answer
15 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
19 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 ...
0
votes
1answer
25 views

Starting Tomcat Service when starts CenTOS/RHEL/Fedora

I want to install tomcat 8 and run it in startup time I following these tutorials: I created the tomcat user: # useradd -U -r -M -d /usr/local/ServerWeb/tomcat -s /sbin/nologin tomcat ...
0
votes
1answer
13 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 ...
0
votes
1answer
24 views

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

ok 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
16 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
21 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
33 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
17 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
0answers
10 views

CentOS 6.3 - Firefox icon missing after reinstall

On CentOS 6.3, I have reinstalled FireFox to latest version using following set of commands: yum remove firefox cd /usr/local wget ...
0
votes
1answer
25 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
1answer
17 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 ...
0
votes
1answer
18 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
23 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
20 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
29 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 Which works fine it is copying the contents of ...
1
vote
2answers
51 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 ...
0
votes
0answers
46 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 ...
1
vote
1answer
83 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
27 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 ...
0
votes
1answer
29 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 ...
0
votes
2answers
38 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
26 views

Terminal doesn't calls 'then' a syntax error, command not found [closed]

I am a newbie for linux. I have centOS7. I am running a very simple script from BASH. I execute the chmod command and then run the script file from terminal, I get an error saying that if command not ...
1
vote
1answer
21 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 ...
0
votes
1answer
16 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
33 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 cant use our services from cloud, so they wanted a local intranet solution, same like i am running in the ...
0
votes
0answers
29 views

PHP 5.6.10 Bad Installation on CentOS 7 using Plesk 12

I upgraded the PHP version from 5.4 to 5.6.10 with remi and while I am trying to access to a file.php I can see the full code in "Source code". I was reading about that and it seems that the ...
1
vote
1answer
26 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
88 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
24 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
23 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
0answers
19 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 ...
0
votes
1answer
44 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] ...
0
votes
1answer
24 views

HugePage Centos 6.6

Recently i install a CentOS 6.6, but when i tried to configure HugePages, i cannot see the common paths that i already using to configure hugepages in other Centos 6, but with 2.6 kernel series. So i ...
0
votes
2answers
44 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
17 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
56 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
1answer
30 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
70 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
88 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
16 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
52 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
14 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.