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

learn more… | top users | synonyms (2)

2
votes
3answers
40 views

Migrate mail from dovecot on centos to dovecot on debian

I am trying to migrate a number of user mail accounts from dovecot 1.0.7 on a centos 5.11 server to dovecot 2.1.7 on a debian 7 server Foolishly I thought I could simply replicate the Maildirs from ...
0
votes
0answers
32 views

CentOS DNS Server for localhost

I need install the DNS Server (BIND - CentOS 7) to work only locally. I mean, the same CentOS that has the BIND will connect/search in the DNS, any other host will 'connect' with this machine. The ...
2
votes
2answers
43 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 ...
0
votes
2answers
41 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
25 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
57 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
154 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
80 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
0answers
29 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 ...
-1
votes
0answers
35 views

Cannot retrieve repository metadata when using yum

I ran this command: yum update which gave me the following error: Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile ...
-3
votes
1answer
67 views

how to install window 10 with CentOS

If one have CentOS. How can I make dual boot with Window 10. I want to use window 10 with centOS. any solutoin
7
votes
2answers
87 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
20 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
61 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
20 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
39 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
25 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
28 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
24 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 exist a "for ... do ... done" ...
1
vote
1answer
30 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 is plenty repository out there. After you installed/updated the repository list, you can ...
1
vote
1answer
25 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
20 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
30 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
20 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 ...
4
votes
0answers
35 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
2answers
51 views

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

How will do fast covert excel to csv. I had tried with php, perl, JavaScript. but it will take too much time. i.e for 5MB file it will take 3-5 mints
2
votes
3answers
50 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
24 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
16 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
11 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 ...
-4
votes
0answers
21 views

how can I install google play on centos 6.6

how can I install google play on centos 6.6 ? I tried to use https://play.google.com/store/apps/details?id=com.centossixthai.magazine.AOUAHFHTBBJCQIQTS but it was incompatible with my system would ...
0
votes
0answers
22 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
27 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
28 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
13 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
21 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
0answers
26 views

IPA server configuration: Cannot use ip network address

I am stuck with an error while configuring IdM server for my enviorment.I got this weird error invalid ip address 192.168.1.77 for server.example.com: cannot use ip network address Error came soon ...
0
votes
1answer
32 views

Start Server Remotley

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

umask permission - where it work, 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
14 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
17 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
1answer
76 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
votes
0answers
27 views

How to configure fail2ban on proftpd CentOS 6.6

I've looked every forum, fail2ban official website, everything that have word fail2ban, and every config that I tried didn't work. After reaching maxretry that I setted in jail.conf the user don't ...
0
votes
0answers
36 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
24 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) ...
0
votes
1answer
108 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
51 views

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

I start a bash script (synchronously from java as glassfish user) wich start a command as an other user (let's say myUser): #!/bin/bash echo myPassword | su -c "command" myUser & When I start ...
1
vote
1answer
84 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
127 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
62 views

is a script, program being run under current shell or 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 1st) it search in the $PATH variable, to find the location of the ...