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
0answers
556 views

How does ldap work on a client?

This is on CentOS I read the various openldap howto's, they mention /etc/openldap/ldap.conf and editing /etc/nsswitch.conf for example: ...
2
votes
3answers
150 views

How to list packages with files in a particular directory?

I'm switching to CentOS from another distribution, and I'm not used to working with yum. I'd like to know if there's a way to know which installed packages have files in a directory. For example I'd ...
2
votes
2answers
2k views

Can't start systemd user instance

I'm using CentOS 7, and am trying to create a systemd service for my local user. However, before I can do that, I need my systemd user instance, which I cannot find or create to begin with. Running ...
0
votes
0answers
209 views

How do I set up a secure Samba share on CentOS 7?

I want to set up secured Samba shares so I can connect different users on the same computer to their own separate shares. I'll use a script to discover the user's credentials then run mount -t cifs ...
1
vote
1answer
4k views

Telnet session closed by foreign host

I'm trying to telnet to imap-mail.outlook.com on port 993. When I connect to it, I get Trying 157.56.195.250... Connected to imap-mail.outlook.com. Escape character is '^]'. And I can enter a ...
0
votes
1answer
2k views

How do I get debug information from rsyslog?

I followed the directions from: http://www.rsyslog.com/doc/debug.html I put the following in /etc/rsyslog.conf: $DebugLevel 2 $DebugFile /root/RSYSLOG.txt then I try: kill -USR1 `cat ...
1
vote
1answer
379 views

HTTPS won't run. (CentOS) [closed]

I've installed my SSL using the following guide as I would usually with other servers: http://wiki.centos.org/HowTos/Https However when I run httpd and try to connect using https it doesn't work. I ...
1
vote
1answer
682 views

rsyslog: how do I set up remote logging?

I am simply trying to set up a remote logging system. I think my setup is correct but it fails and I can't get any messages from rsyslog to show up in the logs, so I can't find out why. My iptables ...
0
votes
0answers
107 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
1
vote
2answers
707 views

Package installed and not installed at the same time

Sometime ago I tried to install Steam on my CentOS 5 server and tried almost everything I found on Internet and it seems that I have been able to leave libstdc++ installed and not installed at the ...
1
vote
1answer
145 views

rkhunter reports /sbin/ip has changed

I am using rkhunter 1.4.2 on CentOS 6.5. A message, in /var/log/rkhunter.log is Warning: The file properties have changed: [09:40:35] File: /sbin/ip [09:40:35] Current size: 247396 ...
1
vote
1answer
1k views

CentOS 6 drbd is not available

In CentOS 6 (6.6), the drbd package is not available, neither from the extras repository. There is some information on the Net, like configure-drbd-centos-6-5, which I assume will work on CentOS ...
1
vote
1answer
220 views

scp a file from one server to another one, got “permission denied”

source server IP 162.244.xxx.xxx file -rwxrwxr-x 1 user1 admin 36005278 Sep 10 2013 filename.tar at destination server scp user1@162.244.XXX.XXX:home/filename.tar ./ got a Permission ...
0
votes
1answer
96 views

cannot connect mobile device to tomcat on Centos Linux

i have my web services in local and run in Tomcat and it works (in local). Now i want to connect from smartphone browser to this tomcat. For example my Pc have ip:192.168.1.140 and my ...
1
vote
0answers
126 views

centos virtual machine not registering with intranet dns server

When I am creating a Ubuntu virtual machine on virtual box it automatically registered with DNS server in my intranet network, it has both intranet IP and domain name. When creating CentOS virtual ...
3
votes
0answers
2k views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
1
vote
0answers
10 views

VSFTPD Home Directory CentOS 6 [duplicate]

I’ve installed vsftpd on my CentOS 6 server and it works fine. I’ve created a user and can connect to the server and edit files in that users home directory fine. However, I am trying to be able to ...
1
vote
1answer
560 views

java upgrade problem on centos 6.5

I want to upgrade my jdk on a centos server, after some simple searches i found some solutions. From this link, you can see that the instructions are simple: jdk 7 installation guide for centos ...
2
votes
1answer
381 views

GRUB2 not detecting Windows; rootnoverify: command not found

Story: I had Windows on one partition, and an unallocated partition. I then installed CentOS 7 on the unallocated partition. (I selected the option for the installer to automatically create the ...
1
vote
1answer
3k views

Does all packages included in CentOS Everything ISO get installed along the base system?

The Everything ISO for CentOS is significantly bigger than the regular DVD ISO because it contains a lot more packages. Question: are these extra packages all installed automatically when I install ...
1
vote
1answer
143 views

Configuring Named DNS zones (Centos7), specifically CNAME

having trouble with some DNS configuration, I have managed to get part of the site working, however adding the prefix 'www', I'm finding a little tricky. Essentially, what I want is mysite.net -> ...
1
vote
1answer
162 views

How to install openstack havana (compute) in centos?

I am working openstack havana, so how do I install openstack havana on centOS? When i try to install it I get this error: Loading mirror speeds from cached hostfile base: centos.excellmedia.net ...
2
votes
1answer
580 views

CentOS-7 Kernel Image has a “debug” suffix after a Kickstart installation

After finishing a customized CentOS-7 kickstart installation from a CDROM, the system has booted as expected and according to the ks.cfg file. At the grub menu the options I have are: CentOS Linux, ...
4
votes
1answer
742 views

Curl failed to read known_hosts file

I'm trying to download a file from a Centos 6 server using another Centos 6 server as client and curl with the scp protocol and I'm getting this error output: $ curl -v -O scp://cz/path/to/file * ...
0
votes
0answers
213 views

Permissions doesn't change while mounting windows directories (mount.cifs)

I used this command: mount.cifs //192.168.1.106/ukv_sftp$ /home/admin/public_html/remote -o credentials=/root/.smbcredentials, uid=500, gid=500 but permissions set only for root user, uid=500 and ...
0
votes
2answers
440 views

Tomcat 8 doesn't start

Upgraded tomcat 6 to 8 on Centos 7. I get this error in logs: /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: ...
0
votes
1answer
473 views

Route Client Traffic Through VPN Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
1
vote
1answer
1k views

Different package versions in different repositories

Following the advise on Using Awesome window manager on CentOS 7, I installed the fedora 19 repository so I could get Awesome working on CentOS7. However, when I run yum update, I am getting this ...
2
votes
1answer
168 views

egrep multiple patterns with dashes

I am trying to match the followings with egrep '201411[08|09|10|11]-[117|111]-' 20141108-111-xyz-abc 20141110-117-342-lala But for some reasons, the 2nd character class pattern ([117|111]) doesn't ...
3
votes
0answers
2k views

Where is module prefork.c settings in Centos 7?

I used to edit the settings in etc/conf/httpd.conf for better memory performance <IfModule prefork.c> StartServers 2 MinSpareServers 3 MaxSpareServers 3 ServerLimit 15 ...
1
vote
0answers
384 views

Centos web camera, fast application for snapshot?

I'm using ffmpeg for taking snapshots / still images with web cameras. I'm going to use several web cameras to take photos at the same time or one after the other (timelapse). It's important for me ...
1
vote
0answers
755 views

Port Forward For OpenVpn

I have setup a OpenVPN server on CentOS 6, and it starts ok when i /etc/init.d/openvpn start it shows me Starting openvpn: [ OK ] so far so good, but ...
3
votes
4answers
365 views

same encryption with /etc/shadow

I'm doing a gui tool for some malware detection script in linux to let server administrators to analyse the result of this script within the web. as I know the encryption used in /etc/shadow is ...
0
votes
0answers
110 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?
0
votes
0answers
1k views

install kde on centos-7

I have a minimal install of CentOS-7. The kernel has been updated to 3.20.0-123-9.2. I installed "KDE Plasma Workspaces". However KDE will not start. I manually installed xorg-x11-server-Xorg as ...
2
votes
0answers
62 views

IO throughput lower when only a single process using the disk?

I am running a busy cacti server on centos and sometimes the rrdtool process is painfully slow when writing to disk, in HTOP the IO Column would display something between 100-300. I a polling cycle ...
1
vote
0answers
280 views

Dual displays, one fixed, one spinning (CentOS 7)

I have 2 monitors and would like to have my setup like this: Monitor = fixed desktop (only 1) Monitor = dynamic, spinning desktop (1+) It was working like this at the beginning but somehow I ...
1
vote
1answer
3k views

export from MYSQL to CSV

How do I export from MYSQL to CSV in mariadb on Centos 7? I am using: Server version 5.5.37-MariaDB Protocol version 10 Connection Localhost via UNIX socket UNIX socket ...
0
votes
2answers
1k views

How to get the ~/.bashrc to work in the native terminal application in Centos? [closed]

The problem I had was to get the .bashrc and .bash_profile and/or .profile scripts to execute by default when using the native Gnome terminal application. I found a number of references which told me ...
2
votes
1answer
1k views

SSSD and autofs

I am trying to set up SSSD to get automount maps from Active Directory. I think my settings are correct but it uses the wrong username to query AD. It takes whatever that is set as "mapname" (behind ...
1
vote
0answers
2k views

CentOS - upstart script is created, but its never running at all

I have this following setup but its not working in my CentOS 6x (3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 x86_64 x86_64 GNU/Linux) Step 1: vi /etc/init/a.conf description ...
3
votes
1answer
3k views

Mounting NFS via systemd in Centos 7

I am trying to mount an NFS share on a CentOS 7 box using systemd. This is my /etc/fstab entry: 10.0.0.104:/export /mnt nfs ...
0
votes
0answers
45 views

Possibly Compromised - ./brute xml2014 user x08 300?

I have a long list of a process called "./brute xml2014 user x08 300" when I type in "ps aux". What does this mean? Does this mean my server is being used as a DDoS bot? Here's a screenshot of what ...
1
vote
0answers
80 views

Giving a user SFTP access only with access to subdirectory outside of home?

I have user [USER A] account which contains scripts and a downloads folder. I would like to create a new account [USER B] so that the user has read/write (SFTP and not full SSH) access to their home ...
7
votes
1answer
8k views

Is there an init.d start log?

I am experiencing a problem with an init.d script (the service won't start), so I'm wondering if a log is available so I can fix the problem.
0
votes
1answer
141 views

Backup Mails to new server

I have a custom domain hosted with Microsoft Outlook mail service. now they are not offering creating new accounts under my domain and I decided to move new server. so I configure all the things with ...
7
votes
1answer
7k views

CentOS 7 boots too fast and network is not ready when executing cron scripts

I have just upgraded from CentOS 6.5 to 7.0 and I am not too happy as the new systemd is probably giving me problems. It seems it is just simply booting too fast, starting up processes asynchronously ...
2
votes
1answer
4k views

disable persistent network device naming [duplicate]

I have CentOS-6.5 running in qemu-based virtual machine, with a single ethernet interface, which surprisingly is being renamed by udev from eth0 to eth1 for whoever knows reason (!) So I want to to ...
1
vote
1answer
204 views

Installing packages on multiple Centos machines

I have to install standard package like java 1.7 in 40 of my lab machines which are connected over a LAN. I know I can simply write a shell script to install something in user space of each system, ...
3
votes
1answer
254 views

How did my default file permissions get changed from 666 (before umask settings) to 04501

I have an installation of CentOS 6.5 that suddenly started having issues with dealing out file permissions on new or recreated files. when I create a file with touch, instead of the usual 644 or ...