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)

1
vote
0answers
2k views

Bash session errors on commands: “fork: Cannot allocate memory”

I have a bash session open to a remote server and something is wrong. I created a directory "test" and touched the files inside touch 1 2 3 4 5. I then tried to copy the directory cp test/ test2/ and ...
-1
votes
1answer
112 views

Generalize CentOS and Ubuntu server in VirtualBox

I want to generalize CentOS and Ubuntu server for a lab that is using VirtualBox as virtualization environment. The main objective of the process is: To create a VM with basic OS and utilities ...
1
vote
0answers
48 views

Cyrus Performance Tweaks?

Okay guys, I have put a lot of research into this so bear with me. Here's what I am up against. I have been working with RC for a long time and I know some awesome SQL tweaks that work wonders, etc. ...
1
vote
1answer
258 views

how big should the /boot directory be in a CentOS 7 server?

I am installing CentOS 7 in a 200GB partition of a 2TB hard drive whose other partitions will later become managed by this master CentOS 7 installation. How big should the boot mount installation be? ...
0
votes
0answers
117 views

How do I increase my network perform on Centos 7

I am doing some research and I find that I have to configure the sysctl.conf file if I want to increase the network performance. So, I want to configure the default maximum Linux TCP buffer sizes ...
0
votes
0answers
33 views

Config folder for a service

Context When running the Deluge daemon (deluged) as a service, you can specify an option to where the config folder will be created. The deluge-user I've created, is a system account, and therefore ...
1
vote
3answers
1k views

How to map a sata device name to a physical sata interface for RAID systems

I have a system with 10 SATA ports, and another SATA as the boot disk. The 10 SATA ports make up 5 software RAID1 arrays. The RAID disks may be removed between boots, and swapped in with arbitrary ...
0
votes
1answer
113 views

Backup issue DirectAdmin - Centos 7

i hope that someone can help me with this. In Centos 7 + DirectAdmin i have a problem when i wan to make a backup from all users as ADMIN. I have googled tried alot of things but nothing helps... I ...
1
vote
1answer
141 views

rsync --delete did not remove file in destination while with ssh

On my RHEL6 pair of servers, I tested the rsync from server-1 to Server-2 with SSH. Everything was good as expected. However, when I moved a file under A directory, A/x.file to B/ of /home/user on ...
1
vote
1answer
34 views

Maintain 32 and 64 bits version of rpm

let me explain this a little bit, I am in charge of update part of our company product from 32 to 64 bits. At the end, we should have a 64bits kernel + 32bits applications + some 64bits ...
0
votes
1answer
46 views

CentOS and a small boost example

I ask this question here, because I think, it has more to do with linux than with boost itself. So i created a small cpp file: #include <boost/math/special_functions/round.hpp> #include ...
1
vote
2answers
397 views

SSH key authentication works with /usr/sbin/ssh -d, does not with the daemon?

CentOS x64 6.5: if I connect as root to my server and do the following: service sshd stop /usr/sbin/ssh -d I'll able to connect as user using public key authentication from my development machine: ...
0
votes
0answers
3k views

port being in use not displayed in netstat output

In what scenarios port being used by a process don't show up in netstat -a output. I'm running jenkins on my machine. It's listening on port 8080. I'm trying to start another process that tries to ...
0
votes
4answers
293 views

How to delete files from a directory based on the contents of a gzipped tar file?

Given that I: have a directory that contains over 1000 files have a gzip'ed tar file that contains a subset of those files (x.tgz) What is the single command line (if it is possible) that will ...
1
vote
1answer
903 views

How to install/setup mutt with Gmail on CentOS and Ubuntu?

How to setup the email client Mutt to send, receive and read email under CentOS and Ubuntu using a Gmail account as a relay
3
votes
2answers
710 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
784 views

How to make modprobe nf_conntrack_ftp persist a reboot on CentOS 7 and firewalld?

I'm stumped. I've seen the related questions about editing /etc/sysconfig/iptables-config, but I'm running CentOS 7 (and webmin/virtualmin), which uses firewalld instead of iptables. How do I get ...
0
votes
0answers
66 views

Linux capabilities for java to resolve symbolic links

I run a java program by a non-root user. The program has to resolve a symlink to the real file name, but the link is owned by a different non-root user. I used setcap to set capabilities to open ...
1
vote
1answer
255 views

Partition resize in CentOS 7

I have a RAID 6 array set up under CentOS 7 which originally had four 1TB drives assigned, resulting in a total capacity of 2TB. After much fussing about as described here, I was able to add a fifth ...
3
votes
3answers
5k views

Automate DISA STIG controls for RHEL/CentOS?

I am deploying systems that must be configured using the Red Hat 6 (v1r2) Security Technical Implementation Guide(STIG) published by the Defense Information Systems Agency (DISA). Link to site. I've ...
-3
votes
2answers
56 views

how can I delete the remnants of windows from a new CentOS 7 server?

I recently installed CentOS 7 on a new computer that came shipped with Windows 8.1. The BIOS no longer shows windows as a boot option. But my initial analysis of the file system is hard to ...
1
vote
1answer
4k views

Alternatives not working well for Java installation on Centos 6.4

I am trying to installing on Centos java from Oracle. Following are my steps. yum install /usr/local/jdk-7u3-linux-x64.rpm alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java ...
1
vote
1answer
582 views

Enabling FIPS on a luks encrypted CentOS system breaks boot password

For one of my apps I need to enable FIPS for OpenSSL, while simultaneously using software disk encryption. VM #1 I launched a CentOS VM instance which was software encrypted during install. The ...
1
vote
2answers
1k views

Extract the spec file out of an RPM

I have an RPM that I built. And I am looking to figure out how to extract the Spec file out of it. I have tried: rpm --scripts -qp sampleBuild.rpm That didn't work. Does anyone know the proper ...
1
vote
2answers
574 views

No option of creating new file in centos 7 gui [duplicate]

I have recently installed centos 7 and was trying to create a new file through right click and selecting create a new file option as I have done in centos 6 but there is no option of create new file ...
0
votes
0answers
146 views

replacing windows 8.1 with CentOS 7

A new computer came pre-installed with Windows 8.1. It is an Acer Aspire T desktop. I would like to completely erase windows 8.1 forever from the machine, and replace it with CentOS 7. How can I ...
2
votes
1answer
271 views

How to connect from one VM Guest instance to another to another VM Guest instance

I have Windows 7 as my Host OS and I have a VM guest instance of CentOs 6, now I have created a more Instance guest Centos 6 via Vagrant. All are working fine and I am able to do a ssh/ping from ...
1
vote
1answer
773 views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
1
vote
1answer
202 views

NFS + SFTP on the same directory - are there any pitfalls?

I currently have an SFTP (actually vsftpd) server I use for regular archives. The OS is Centos 7.0. While I used to use SFTP, I still could benefit from having an NFS connection to this server (rw). ...
0
votes
1answer
51 views

Error becoming root centos

I'm getting the following error when I'm trying to become root -bash-4.1$ sudo su - Could not open a connection to your authentication agent. * Error: Problem adding; giving up I have tried eval ...
0
votes
0answers
64 views

Installing foreman 1.9 configuration help

I can't seem to find the answer that I am looking for so any help here would be hugely appreciated. I am doing a POC with foreman 1.9 on a CentOS7 server. Our infrastructure as it stands right now as ...
1
vote
2answers
381 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 ...
1
vote
1answer
156 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
0
votes
0answers
232 views

CentOS 7 installation falls back to text-mode on Parallels Server Mac VM

Every time I am trying to install CentOS 7 in Parallels Server Mac, the installation wizard falls back to text-mode. I am getting this error: X startup failed, falling back to text mode ...
3
votes
2answers
57 views

What is the problem of giving the right to use sudo vim? [closed]

I'm using Mac OX 10.10. I would like to know what problems are caused by this: user ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf I think this is in /etc/sudoers. I also have Cent OS. Does this ...
1
vote
0answers
2k views

Adding CentOS 7 to Active Directory

I am having a hard time adding a CentOS 7 machine to my domain (Active Directory 2012 running in Windows 2008 mode). I am using realmd to join the machine to the domain. Here is what I have checked so ...
9
votes
1answer
206 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
1answer
659 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
1
vote
1answer
598 views

Can't install fail2ban on Centos 7.1

I am trying to install fail2ban on my centos 7.1 server I did: yum install epel-release yum install fail2ban But i am getting some error messages: yum install epel-release Package ...
1
vote
2answers
4k views

How to configure Centos 7 firewallD to allow docker containers free access to the host's network ports?

I have docker installed on CentOS 7 and I am running firewallD. From inside my container, going to the host (default 172.17.42.1) With firewall on container# nc -v 172.17.42.1 4243 nc: connect to ...
5
votes
3answers
2k views

Can't open syntax.vim error when using vimrc

When I try to open my .bashrc file. then it shows these lines: Errordetected while processing /etc/vimrc: line 45: E848: Can't open file /usr/share/vim/vim70/syntax/syntax.vim Press ENTER or type ...
0
votes
0answers
142 views

Can't install additional debug infos in the CentOS 6.7

I am attempting to debug coredump of the some application on the latest CentOS 6.7 and gdb gives me hints that some debug infos are missing, for example: Missing separate debuginfo for ...
0
votes
1answer
143 views

how to install claws-mail rpm package?

I want to install claws-mail into my centos7 with three different methods,all of them fails. method1:intall directly [root@localhost ~]# yum install claws-email Loaded plugins: fastestmirror, ...
27
votes
2answers
44k views

How to install dig on CentOS 6?

I can't find the dig command on my new CentOS 6 installation. I've tried yum install dig but it say it cannot find the package. How do I install dig on CentOS 6?
2
votes
2answers
482 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
422 views

How to configure Apache init scripts, after compiling and installing the sources?

I installed Apache using this script https://gist.github.com/Benedikt1992/e88c2114fee15422a4eb The system is a freshly installed CentOS 6.7 minimal system. After installation I can find the apache ...
1
vote
1answer
41 views

persisting multi-factor user data for custom pam authentication in CentOS 7

I am designing n-factor authentication for CentOS 7 using a custom PAM module. When the user tries to SSH, they will be texted a pin code, and be prompted to enter the pin. Where should I store the ...
1
vote
2answers
3k views

yum and openssl disagree on currently installed version in Centos 6.5

I'm attempting to ensure that we are using the most recent openssl version on Centos 6.5, and yum reports that we are, but openssl continues to report that its version is an older one: ...
0
votes
1answer
98 views

Uninstalling packages installed by debuginfo-install

How do I delete debug packages that are installed by debuginfo-install? When I search for them via sudo yum list installed none of the installed packages are listed, even when I enabled the debuginfo ...
0
votes
0answers
54 views

SASL fails to with against LDAP

So I am running into a whirlwind of issues with my cyrus install. I am setting up a multi-domain kolab groupware solution. I am on centos 6.7 I am getting this flooding my error logs when I try to ...