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

learn more… | top users | synonyms (2)

0
votes
1answer
338 views

Entries in /etc/crontab not getting called in Centos 6.x

I created a dummy entry in /etc/crontab, but it doesn't get executed according to the cron log: /var/log/cron: Feb 7 08:20:01 localhost CROND[22781]: (root) CMD (/usr/lib64/sa/sa1 1 1) Feb 7 ...
0
votes
2answers
593 views

how do I find the location of mysql drivers on CentOS 7?

MariaDB is installed on a remote CentOS 7 server. How can I find the location of the nearest equivalent to mysql-connector-java-5.0.8.jar in the server's file system? grep seems to only search ...
2
votes
1answer
7k views

What's the difference between “errors:” “dropped:” “overruns:” and “frame:” fields in ifconfig RX packets output?

Can someone please elaborate on the difference between the various RX packets fields in ifconfig output? For example, let's say I run ifconfig and see the following: eth0 Link encap:Ethernet ...
2
votes
1answer
824 views

calling javac from CentOS 7

I want to be able to use the javac command on the CentOS 7 terminal. How do I set the PATH variable in order to accomplish this? The following explains relevant aspects of my current environment. ...
1
vote
1answer
207 views

Frequently can't access Virtualmin via browser

I have a CentOS 5 server over at Digital Ocean which has Virtualmin installed (because I'm a newbie and still learning). Virtualmin is accessed by visiting https://ipaddress:10000 but that URL almost ...
1
vote
0answers
72 views

Compatibilty of the following softwares

I am a professor (Mechanical Engineering department) at a college which is making the transition from Windows to Linux. However, we are quite unsure whether all the CAE softwares that we use would be ...
2
votes
0answers
58 views

Automate a gratuitous ARP every x seconds

There may be another issue here, so any other questions or comments are welcome. I have a CentOS 6.6 VM running under VirtualBox. It is connected to a GNS3 topology using a UDPTunnel. Everything ...
0
votes
2answers
3k views

CentOS - commands in rc.local not run

My /etc/rc.local script is quite simple, like this. #!/bin/sh touch /root/test1 touch /var/lock/subsys/local touch /root/test2 modprobe -r ftdi_sio modprobe ftdi_sio vendor=0x0403 product=0x6015 ...
1
vote
1answer
1k views

Initialization Sequence Completed, but terminal wont give a prompt

I just installed openvpn on a remote CentOS 7 server using the instructions in this tutorial. The only change I made to the tutorial was to use @GarethTheRed's instructions for configuring ...
0
votes
1answer
1k views

CentOS 6.5 kernel vs CentOS 7 kernel

Its been long that i have heard that CentOS 6.5 kernel (2009) is "Too Old" as compared to CentOS 7 kernel (2013). I want to better understand what is meant by "Too Old". Comparing 2.6.32 to 3.10, ...
0
votes
0answers
114 views

Printing via Windows Print Sharing (SMB) as AD user

I am in the process of researching a linux distro for my workplace and am currently checking to see if we are able to configure our chosen distro (centos7) to connect to our MFD printers. I am able ...
1
vote
1answer
245 views

Where are yum groups defined?

I am setting up a cluster and for whatever reason some nodes do not have all the groups required to set up Infiniband ('Infiniband Support' in particular.) I know I could just find the list of ...
0
votes
1answer
2k views

Port Forward :80 and :8080 to Two Different Servers

On a CentOS 6 server with an IP address of 172.16.1.10, how can I configure iptables to route traffic destined for 172.16.1.10:80 to 192.168.1.10:80, and traffic destined for 172.16.1.10:8080 to ...
1
vote
1answer
364 views

Centos, how to install “topicmodels” package on R?

I'm using a Linux CentOS release 6.6 on my laptop, and I've tried to install the "topicmodels" package into my R environment. So I used the install.packages("topicmodels") command but unfortunately ...
2
votes
1answer
745 views

Cannot ssh into a fresh install of CentOS minimal on lan

I've downloaded CentOS 7 Minimal and installed on an old laptop. I want to be able to ssh to the machine from other machines on the same lan. But I keep getting this error .. ssh: connect to host ...
1
vote
1answer
474 views

How to run specific architecture (32/64) of Python in Centos6 when both are installed?

I have a Centos 6.6 Docker image being used for an automated build. It has the default x64 Python 2.6.6 installed. I need to run some things in a 32-bit Python environment. I snagged the ...
0
votes
0answers
301 views

error installing mod_proxy_html: “cpio: rename”

I am trying to install proxy_html module on a centOs 6.x server. I think it is giving me an error - but it also indicates that it completed. Here is the error: error: unpacking of archive failed on ...
4
votes
0answers
1k views

initramfs / UUID problems after cloning

So I just cloned a Centos7 "everything install" VM to a physical disk using VMWare Workstation and Clonezilla using the instructions here: ...
4
votes
0answers
674 views

Permission problems. Can't retrieve inbox mails from dovecot

I got a VPS server at a webhoster which has CentOS 6.6 as operating system. Because I have multiple domains which are used by various people this server is going to serve multiple roles: nameserver ...
0
votes
0answers
569 views

Grub environment block on Centos 7 with efi?

How do I modify the default or next-boot boot entry for the next reboot on Centos 7? I need to switch back and forth between kernels frequently. The machine is in a different room, so it is most ...
-1
votes
1answer
912 views

How do I read Maildir RFC822 messages from the CentOS 7 terminal?

In a CentOS 7 server with dovecot, postfix, mailx installed, I have mail configured to be stored in Maildir format. How can I use the terminal to access and view the RFC822 messages stored in a ...
1
vote
0answers
54 views

How do I stop recurring error messages from appearing in messages and auditd.log?

On my CentOS linux machine, in my auditd.conf file, I have set my max_log_file_action=keep_logs. However, in my /var/log/messages and /var/log/auditd.log, the following message appears multiple times ...
2
votes
2answers
511 views

How to force rpm and yum to fail if a GPG signature is missing or cannot otherwise be verified?

How can I force rpm and yum to fail if a GPG signature is missing from a package or otherwise cannot be verified due to a missing key? For the example below, assume the RPM has been signed but the key ...
1
vote
1answer
902 views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
0
votes
1answer
40 views

how to update packages to current versions on the RH family of distros?

I am a amateur+ administrator (use Linux since 1993 on a number of machines (from 1 to 50)), this is to say that I never went deep-neck into gory details of the differences between distributions and ...
0
votes
3answers
368 views

creating and sending a self-signed public key using GnuPG in CentOS 7

I know that I can create a GPG keypair from the CentOS 7 terminal by typing gpg --gen-key and following the resulting steps, but how can I make sure that the resulting public key is self-signed? And ...
1
vote
1answer
154 views

Set up graphic interface (desktop) for remote connection

I was assigned a CentOS VM that I manipulate through Putty. Everything I do to it is by command line so far, and I have admin rights to it. The VM is stored in the corporate data center served up by ...
1
vote
2answers
644 views

Avahi commands not working in CentOS

I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running: $ service ...
0
votes
2answers
2k views

How to disable core dump generation in Centos (cPanel Server)?

I want to disable core dump generation, How can I disable it ? One of the website keeps generating core dumps every second and eats up all the disk space. OS Details: CentOs cPanel Server ...
-2
votes
2answers
251 views

installing GnuGPG with Thunderbird on CentOS 7

How can I install GnuPG on my CentOS 7 system? I want to use GnuPG alongside Thunderbird and Enigmail to manage pgp keys, as per the instructions in this link. The problem is that the download ...
2
votes
1answer
136 views

terminal converts first letter to uppercase

After a $ vagrant ssh into a Centos 7 VM, - If I type a command in the VM terminal that uses zsh shell, the first letter gets uppercased. How can I stop this behaviour? I briefly looked at $ stty ...
1
vote
0answers
437 views

module scsi_wait_scan not found on CentOS kernel-ml causes kernel panic on boot

I am attempting to upgrade from kernel-lt to kernel-ml, following the instructions here, however on boot the console is flooded with module "scsi_wait_scan" not found This leads to a general kernel ...
1
vote
1answer
1k views

How to install webkitgtk1 on RHEL7

I am running software on RedHat Enterprise Linux 7 which requires libwebkitgtk-1.0. Unfortunately RHEL7 comes only with webkitgtk3. In contrast, RHEL6 had only webkitgtk. Other distributions like ...
1
vote
1answer
2k views

No manual entry for man

I'm working in a Centos 6.6 Docker image. I thought I installed everything to get access to man pages, but apparently not... $ yum install -y man man-pages man-pages-overrides [...] Complete! $ ...
0
votes
1answer
157 views

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7. I researched a lot but could not find any link which gives step by step procedure. Can someone please give me steps to be followed to ...
0
votes
2answers
286 views

/etc/init/suricata stopping CentOS from booting up

I am using CentOS 6.6. I put this content into /etc/init.d/suricata. I also ran sudo chkconfig suricata on to make suricata run at boot. My problem is that it is now preventing Centos from ...
3
votes
1answer
392 views

Can ACLs override file perms on Linux?

I struggled with this problem on FreeBSD recently, but thank God for ZFS which solved it for me there. However I have it again in CentOS with ext4 and don't know if there is an easy way around it (or ...
0
votes
1answer
87 views

Single call in .bashrc starting two daemon processes

I am using CentOS 6.6 and would like /OtagoHarbour/executables/inotifydropboxcopy to start as a daemon when I boot the computer and log in. I put the following in ~/.bashrc # User specific aliases ...
2
votes
2answers
1k views

Remote server randomly hanging on ssh login

I'll try to ssh into the server ssh name@box-a At which point I'll usually be prompted for a password and then it logs me in. Sometimes though, when I try to ssh in it just hangs after I press ...
3
votes
2answers
529 views

Host multiple Linux distros on PXE Server and show these choices to PXE client

PXE Server - CentOS 6.5 64bit Objective - Client should be presented with OS choices in network boot menu - Oracle Linux 6.5, RHEL 7, Ubuntu 14. Upon selection it should proceed with the selected OS ...
1
vote
2answers
536 views

“not a valid package archive” when trying to install PHP extension?

I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, ...
1
vote
2answers
523 views

Faillog command on CentOS7

Although EPEL7 has been installed, faillog seems not to be recognized: [vagrant@vm-one ~]$ faillog bash: faillog: command not found... None of the packages seem to contain the faillog command: ...
1
vote
1answer
179 views

Initialise USB devices before hard disks during grub2 boot

I have a CentOS installation on a portable USB stick, with a grub2 installation on it's first partition. The system can boot when there are no internal hard drives plugged into a machine, but fails if ...
1
vote
0answers
288 views

Questions about whiptail and bash functions

I'm a bash newbie. Say I have this script #!/bin/bash function cpp-lang { yum install "Development Tools" } function updatesys { yum -y update yum -y upgrade } whiptail ...
0
votes
1answer
163 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
0
votes
1answer
217 views

How to install oddjob-mkhomedir repository on AMI box using command line

I'm trying to install oddjob-mkhomedir and it comes back with no package available nothing to do. I used sudo yum install oddjob-mkhomedir so I'm assuming the repository is not available. My ...
0
votes
2answers
67 views

Locate specific file from script

I've written a script file in which, one function searches for another script and if found, executes that script. Script extract #!/bin/bash ... service_status() { local my_script=`which ...
1
vote
1answer
55 views

3 versions of BerkelyDB installed

I have 3 versions of BerkelyDB installed on my server following 2 versions Package db4-4.3.29-10.el5_5.2.x86_64 Package db4-4.3.29-10.el5_5.2.i386 which are included in the Centos 5 Distro and ...
36
votes
1answer
160k views

How to install Desktop Environments on CentOS 7?

I have recently installed CentOS 7(Minimal Install without GUI) and now I want to install a GUI environment in it. How can I install Desktop Environments on previously installed CentOS7 without ...
1
vote
1answer
4k views

Can't Install php-mssql or freetds on Centos7

My goal is to connect to MS SQL Server 2005 using PHP. I have installed PHP and ODBC. I am running CentOS7. PHP Version => 5.4.16 .... (from php -i) .... odbc ODBC Support => enabled I am ...