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
0answers
59 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
435 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 ...
2
votes
0answers
46 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
791 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
115 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
131 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
45 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
381 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
2k 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
436 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
39 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
136 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
3k 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
178 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....
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
21 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
40 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
517 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
54 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
323 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
24 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
76 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
293 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
51 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
190 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
21 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
66 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 1....
0
votes
4answers
19k 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 ...
1
vote
0answers
1k 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
142 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 http://nginx.org/packages/centos/7/noarch/RPMS/nginx-...
0
votes
1answer
99 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
312 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
268 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
82 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 http://image.slidesharecdn.com/...
0
votes
0answers
302 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
317 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
566 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
3k 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 ...
0
votes
1answer
2k views

Getting Minor Version Mismatch Error with Php and Mysql

I randomly started getting this error when trying to instantiate a new mysqli instance in php script: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:...
0
votes
1answer
2k views

CentOS 7 Live - Read-only file system error

I have loaded a CentOS 7 Gnome Live USB. I wanted to do some operations on it without touching the installed system on the computer, because I only want to try some things. I installed openssh-server ...
0
votes
0answers
295 views

Django WSGI setup causing permission denied issues

I'm new in the world of Django. I've been working on setting up WSGI to serve my Django project. It is working fine on my personal machine but on the server I'm having a hard time to setup. I'm ...
0
votes
1answer
5k views

Run CentOS 7 live from USB

I downloaded CentOS 7 from http://mirror.yourwebhoster.eu/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso and put it on to an USB. But when starting the computer with the USB in it, I only get ...
0
votes
0answers
21 views

Centos7 starting very slowly?

My Centos7 starts very slowly. I do not know what is the cause. This problem appeared after I upgraded it to a new version. Can you, please, help me solve the problem? If more details are needed I ...
0
votes
0answers
40 views

Problems / Issues with Importing osm-file inside Nominatim

Getting the following error while importing OSM data during the installation of Nominatim on Centos 6.6 cPanel server: ./utils/setup.php --osm-file india-latest.osm.pbf --all --osm2pgsql-cache 18000 ...
0
votes
1answer
245 views

Redirect console output in sed in background process don't give back hand

I'm using sed to add the date at the beginning of every lines given by a command (which use vlc and never stops...). I found this way on another stackexchange post and that works as expected. command ...
1
vote
0answers
248 views

How to stream webcam on linux vps with videolan and output to html

It used to be quite simple to stream my webcam facing out into the yard to the world on my website. However, telstra has changed things where can't find a way to point my webcam to anything but local ...
0
votes
0answers
49 views

Zenoss pythonThresholdException error

Zenoss query here, first things first: I have a CentOS 5.6 virtual server hosting Zenoss 4.2.5 and I am experienced no compatibility issues with this so far - it does everything I need. The problem ...