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
484 views

automating CentOS 7 configuration using shell scripts

I notice I spend a lot of time using tutorials to manually configure a CentOS 7 server. How can I convert the manual steps from a tutorial into an automated shell script that can be used to configure ...
1
vote
2answers
934 views

error when adding user to wheel group in CentOS 7

I am trying to grant sudo privileges to a user of a CentOS 7 devbox by typing gpasswd -a user wheel, but the attempt is failing. What am I doing wrong? Here is what I typed: I discovered that ...
0
votes
0answers
111 views

vpn connection was failed

I have CentOS 6.6. I used a Cisco compatible VPN (vpnc), but after I made a VPN and clicked on it, I got the following error message: the vpn connection "1" was failed" Then, when I used this ...
2
votes
2answers
293 views

Find last time yum update was run

Am building a script to find out when a list of servers was last fully updated with yum update. I can find it by a history |grep "yum update"|head -n 1 however, the problem is that a user could have ...
9
votes
1answer
207 views

Why does oot say “hey” in usleep -o?

On a Centos 6.6 box I noticed this... [root@abcd /]# usleep --help Usage: usleep [microseconds] -v, --version Display the version of this program, and exit -o, --oot oot says hey! ...
0
votes
2answers
702 views

Ansible nginx service on CentOS 6.7

I'm newbie in Ansible and I am trying to install and start nginx on my CentOS 6.7 test box. My playbook --- - hosts: testing tasks: - name: Install nginx package yum: ...
0
votes
1answer
713 views

CentOS lock screen not unlocking

I have a centOS VM that when I lock the screen it will not let log me back in. I can enter my password as many times as I'd like, even try to "switch users" but the VM just ignores everything and ...
-4
votes
2answers
4k views

how to install window 10 with CentOS

I have installed CentOS in my system. I am using this for long time. I have 3 drives on my system. First root computer Second for my data third is also for data I have some space in the first ...
7
votes
2answers
191 views

Sort command inconsistent behavior

I want to sort two files but I cannot get consistent results. It seems there are problems with collation but I cannot understand the reason. In sample files separator is a single space: file1: a b B ...
0
votes
0answers
57 views

What are the steps to migrate from GRUB to GRUB2?

I have a fresh installation of Scientific Linux6/RHEL6/CentOS6: I have /boot with boot loader and / with all else (which are sda1 and sda2 partitions of one hard drive, on a fresh, real system). I ...
2
votes
1answer
381 views

n-factor SSH authentication for CentOS 7

How can I enable (and require) n-factor authentication for all SSH connections to a CentOS 7 server? I have read about Google Authenticator, which provides two factor authentication. But that is ...
1
vote
0answers
41 views

Which Kickstart commands and options cannot be %included?

I'm using Kickstart to automate a CentOS 7 installation and I'd like to create a common Kickstart file so I can %include it. After some testing it seems like some commands (like text) cannot be ...
0
votes
1answer
641 views

Error while installing Goautodial in CentOS 7

I am trying to install Goautodial on my CentOS 7. while installing i have successfully completed the following steps. Install minimal version of CentOS 5.X 64bit/32bit (CentOS 5.10 is latest as of ...
1
vote
1answer
85 views

“sort -h” not working in Redhat 5.9. Any way to upgrade it?

I'm trying to sort the folders disk usage in human readable format in RHEL 5.9. I mounted the drive as NFS in Cent OS 6.4, where sort -h option works fine. But in RHEL 5.9, it throws error as ...
0
votes
1answer
112 views

Error : segmentation fault

My centos 7(1406) giving an error "segmentation fault " while trying to connect to the wireless using nmtui. My other wireless network connected successfully. It has been connected while installing ...
0
votes
2answers
39 views

Insert Line in Multiples Files

I have a CentOS Server with 200 Wordpress sites and now I want to insert this line in every wp-config.php file: define('DISABLE_WP_CRON', true) I know there exists a "for ... do ... done" ...
1
vote
1answer
43 views

How to find and install specify package by command?

I know I am noob.... As far as I know, Linux can only install package from its Repository list. And there are plenty of repositories out there. After you have installed/updated the repository list, ...
1
vote
1answer
322 views

sendmail attachment is empty

I am trying to include an attachment to my sendmail eml file. The current eml file (order.eml) has the following contents From: Sender <sender@email.com> To: client@email.co.za Subject: Report ...
0
votes
1answer
1k views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
1
vote
1answer
345 views

How do I find available versions of package for downgrade?

I am having issues with an update of the ImageMagick package breaking 3rd party software on a CentOS 6.x server. I know that some prior version of ImageMagick worked OK. How do I find out which ...
0
votes
0answers
38 views

How do I track down why my system is unstable?

I am experiencing a problem where I use Chrome on my X220 with CentOS 7 (kernel 3.10.0-229.el7.x86_64). It begins when I've been surfing Chrome for a bit and have a few tabs open. Chrome may just ...
5
votes
1answer
127 views

USB drive offline in dmesg and ? in ls, but only for some files?

I have a backup drive that has been intermittently failing (but almost always succeeding) to run rsnapshot lately. ls and e2label output are not encouraging: $ ls -al /mnt/backup/ ls: cannot access ...
1
vote
3answers
2k views

How to do a fast convert of a .xls (MS Excel) file to .csv

How can I do a fast convert of excel to csv? I have tried with php, perl, JavaScript. but it takes too much time. For example, for a 5MB file it will take 3-5 minutes.
2
votes
3answers
151 views

login shell (bash) - how to we invoke a login shell

I know what is a login shell and the difference between a login shell and a non-login shell. But what puzzles me is how it is invoked. It is said that a login shell is invoked with a - as argument ...
0
votes
0answers
27 views

How do I prevent application from auto-launching when logging in via SSH

Each time I login via SSH, the Mutt automatically opens. How do I prevent it from doing so? I have compared my settings on my staging server to the live server and cannot spot the difference. vim ...
-1
votes
0answers
20 views

How to prevent Mutt from running at login? [closed]

Each time I login via SSH, Mutt automatically opens and when I close I see the following: -bash: :0:: command not found -bash: file1: command not found file1 is a file in my home directory. What ...
1
vote
0answers
37 views

Libgcrypt warning: MD5 used - FIPS mode inactivated

Last week I enabled the openSSH FIPS 140-2 module on Server "A", and that system works flawlessly (including tsql queries to a SQL Server instance). I recently enabled the openSSH FIPS 140-2 module ...
1
vote
0answers
402 views

Centos 7 Mail log?

Previously I was using tail -f /var/log/maillog on Centos 6 When trying tail -f /var/log/maillog in CentOS 7 it says: cannot open ‘/var/log/maillog’ for reading: No such file or directory tail: no ...
0
votes
0answers
49 views

Internet connection proflem on CentOS and Redhat linux

I am new on CentOS and installed dual boot with windows 7. I am using a local isp internet on my windows7 system but can't access through centos. On centOS system, using the same IP, DNS, and Server ...
0
votes
0answers
264 views

allow non-root user to run programs compiled by root in /root/bin

I just finished and installed ffmpeg installation on a centOS box via the guide made by ffmpeg themselves https://trac.ffmpeg.org/wiki/CompilationGuide/Centos As it turns out, ffmpeg was installed at ...
0
votes
1answer
23 views

CentOS Apache Configuration

In the last couple days I have been setting up a Rackspace CentOS-based webserver which I took over from another developer. Amongst other things, I noticed that in the httpd directory, there were two ...
0
votes
0answers
66 views

SSH showing “Message from syslogd@webhost at…” after inactivity [closed]

I was logged-in on server through SSH, After few minutes of inactivity I saw following messages appeared on terminal Message from syslogd@webhost at Aug 11 08:10:30 ... kernel:nf_ct_ftp: dropping ...
0
votes
1answer
228 views

IPA server configuration: Cannot use IP network address

I am stuck with an error while configuring IdM server for my environment. I got this weird error invalid ip address 192.168.1.77 for server.example.com: cannot use ip network address The error came ...
0
votes
3answers
48 views

Start server remotely

I am trying to start my server remotely with this ssh root@xxx.xx.xx.xx /sbin/reboot And keep getting this back ssh: connect to host xxx.xx.xx.xx port 22: Operation timed out Why can't I start ...
1
vote
2answers
163 views

umask permission - where it works, where it doesn't - ftp vs scp

Src = SJOAM Dest = sjoam2 Connecting to a ftp server, get a file from it. On ftp server side. [oracle@SJOAM ~]$ ls -l total.zip -rwxrwxr-x. 1 oracle oinstall 412 Aug 8 09:03 total.zip On ...
1
vote
1answer
20 views

Configure scheduling to a program

The program "checking" should be autostart when the machine boot and should be start always with scheduling round robin with priority 27 in Rhel/Centos 7. I can configure this scheduling with cgroups ...
0
votes
0answers
53 views

Renamed mount point on CentOS 6

I have the following situation on my CentOS server. There are 2 HDD connected and mounted: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 9.9G 7.7G 1.7G 83% / none ...
0
votes
4answers
13k views

Centos 7: failed to bring up/down networking: configure interface for a trunk interface

The switch configured on the server (Centos 7) is configured as trunk for VLAN#115,2014. I have loaded # lsmod | grep 8021q # modprobe 8021q I would like to configure an IP address on the server ...
0
votes
0answers
848 views

FIPS integrity test failed

I recently enabled the fips module in my CentOS 6 machine using this guide. During reboot, the system halted with this error: SELF TEST FAILED (/usr/lib64/hmaccalc/sha512hmac.hmac) dracut: FATAL: ...
0
votes
0answers
117 views

yum update conflict rubygem-passenger-native-libs from passenger repository vs centOS updates

yum update on a puppet dashboard throws up following error. How do we resolve it safely? Error: Package: 1:rubygem-passenger-native-libs-3.0.19- 1.el6_1.8.7.352.x86_64 (passenger-centos6-x86_64) ...
1
vote
1answer
2k views

Install nginx 1.8 on Centos 7

I'm trying to install nginx 1.8 on Centos 7. I tried the following steps: Install nginx repo from http://nginx.org/en/linux_packages.html wget ...
0
votes
1answer
95 views

Executing command in a script as other user takes 10-15 seconds before execution

I start a bash script (synchronously from java as a glassfish user) which starts a command as another user (let's say myUser): #!/bin/bash echo myPassword | su -c "command" myUser & When I ...
1
vote
1answer
293 views

Bash script (with a java command) does not exit (script 2)

I start a bash script (synchronously from java as glassfish user) which triggers another bash script: Script 1 executed from java: #!/bin/bash #Start script2 as myUser on myUser desktop echo ...
1
vote
3answers
2k views

yum update on CentOS 6.6 fails

I have CentOS 6.6 running on VirtualBox w/ NAT. I am behind a proxy and have configured my proxy settings; the virtual machine is talking just fine to the internet. When I attempt to install ...
2
votes
2answers
223 views

is a script a program being run under the current shell or a child shell?

I am confused with regards to the following - if I execute a script or run a program in the current shell by typing on its name it searches in the $PATH variable, to find the location of the ...
0
votes
0answers
68 views

How to Configure freepbx and Matrix Eternity on PRI Line?

I need to configure freepbx with matrix eternity on a PRI line and setup 12 seats for making calls outside. Matrix Eternity Device is ...
0
votes
0answers
279 views

Latest Mono, XSP and Mod_Mono throwing error when executing mod-mono-server2

I have installed the following versions from source on Github (tagged releases) mono 4.0.3.19 mod_mono 3.12 xsp 3.0.11 Everything appears to install OK but when trying to Start apache I get the ...
0
votes
0answers
275 views

Using CentOS as a thin client

I have about 50 desktop PCs running CentOS. These will be used as "thin clients" for users to access their real desktops (VMs) using some flavor of NX technology. So, the PC on the user's desk is a ...
0
votes
1answer
447 views

CentOS 7 'No matching Packages to list' for man

As part of my test environment I'm running CentOS 6.6 in one VM and CentOS 7 in another. They are both relatively fresh installs, running Puppet. However, when I run yum list man on the CentOS 7 box ...
0
votes
1answer
2k views

Listing the packages in a package group on CentOS 7

I'd like to see which packages are in the YUM group Desktop on CentOS 7. I am aware of the yum group info command, but it does not list any packages for the Desktop group. Why not? When I run yum ...