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

learn more… | top users | synonyms (2)

3
votes
4answers
1k views

Memory consumption Fail2Ban CentOS

Fail2Ban is using a huge amount of memory on my system (1.2 GB). There are several articles which describe how to reduce it. Below is an example for Debian. append the 1ulimit1 command to ...
3
votes
3answers
861 views

Can't start a ZNC service

I try to start ZNC using the following command service znc start I get this error Starting znc: /usr/bin/dirname: extra operand `2>&1.pid' Try `/usr/bin/dirname --help' for more ...
3
votes
1answer
3k views

Yum says dependency “ libltdl.so.3” is required, but it's already installed?

I'm a Linux noob and have spent a few hours trying to get ImageMagick installed. I finally got an old version uninstalled, but am struggling to get the newest version installed. When I run the ...
2
votes
1answer
188 views

restricting remote vpn login to ip address in CentOS 7

I have read that OpenSSH itself does not support authentication via specific IP address. In a CentOS 7 installation on a web server, how would one configure the login so that a user would not only ...
2
votes
1answer
9k views

log files in CentOS 7 [closed]

In CentOS 7, how can I locate and view all the system logs that tell me who tried to enter the system, who got in, what processes they contacted, what they accomplished, etc. I want to be able to ...
0
votes
1answer
51 views

toggling between output and command prompt in CentOS terminal

When I open the terminal in CentOS linux and use su - to work as the root user, I type in commands like journalctl that result in a lot of output. The problem is, when I am done scrolling through the ...
2
votes
3answers
5k views

Does CentOS 7 incorrectly sort kernel menu entries in grub.cfg?

I've noticed an unexpected ordering of grub menu entries on a CentOS 7 system: It has following kernels installed: $ ls /boot/vmlinuz* -ltr Jun 30 14:17 /boot/vmlinuz-3.10.0-123.el7.x86_64 Nov 6 ...
0
votes
3answers
3k views

httpd error: Address already in use: AH00072

I have a server, CentOs 6.5 which were installed xampp by a friend of mine. But I thought it's best to install apache, php and mysql from yum. I have it removed simply by using this #rm -rf ...
2
votes
1answer
2k views

Windows 7 boot option missing after installing CentOS 7, how can I get it back?

After installing Centos7, windows 7 is not showing at the boot time. Centos 7 is accessible. My boot folder entries: [root@localhost boot]# ls -ltr total 89176 -rw-------. 1 root root 2840084 Jun ...
0
votes
0answers
2k views

rtl8812au wireless driver installation on Centos 7

I have a fresh install of Cent OS 7 with the Gnome desktop environment. I have been trying to install rtl8812au wireless drivers found at https://github.com/gnab/rtl8812au for my Netgear A6100 WiFi ...
0
votes
2answers
1k views

moving a file to a folder with root privileges in CentOS 7

I am reading a tutorial that wants me to place a script file called script.sh into a folder called /etc/profile.d/. However, when I try to save the script.sh file in that directory, the gedit tool ...
0
votes
0answers
88 views

LAMP CentOS page/folder Outbound Inbound bandwidth monitor

I have a site, the server provide only allow 2000GB/month ($0.02/GB extra). I have monitor the bandwidth in my control panel, every day, i have about 12GB Inbound, but 100GB+ Outbound, a number very ...
2
votes
3answers
7k views

setting mysql root password in CentOS 7

How can I log into the mysql 5.6 command line client and reset the root password in Centos7? I read the following at this link, but it does not work: 1) sudo service mysqld stop 2) sudo service ...
1
vote
1answer
491 views

no pwm-capable sensor modules installed on MSI B75MA-P45

I am using a MSI B75MA-P45 motherboard on Centos 6 and my CPU fan is currently stuck at 100%. I can see RPM of the fan and temperature inside my BIOS however when I run sensors-detect I only see CPU ...
6
votes
2answers
16k views

Windows boot option is missing after installing CentOS 7, how can I get it back?

I recently installed CentOS 7 on a machine that has been running Windows 7. I did a dual boot installation and installed CentOS in a partition. But when I boot up my machine, it only gives me two ...
1
vote
2answers
301 views

Running ubuntu binary on CentOS with all shared libs installed results in ld SIGSEGV

I'm trying to get a binary compiled on Ubuntu to run on CentOS 7 (both 64bit, one host, the other vm). So far I've copied the binary with all the shared libs. I no longer get the missing library ...
1
vote
1answer
61 views

linux boot stick being ignored on windows 7

I am trying to install CentOS server on a machine that also runs Windows 7. Towards this end: 1.) I created a 100GB "Unallocated" partition using the Disk Management tool in windows 7. 2.) I ...
0
votes
1answer
133 views

Editing lines in a file using a bash script?

I am creating a bash script that installed VSFTPD / FTP. After the installation some configuration is required in the "/etc/vsftpd/vsftpd.conf" file. This includes making sure the following lines are ...
1
vote
2answers
248 views

ifconfig command showing internal ip address

I'm using centOS 6.3 on virtualbox as guest OS on Win 7 host. My problem is when I use ifconfig command in terminal, I'm being thrown internal IP address(10.x.x.x). However, when I googled "my IP ...
2
votes
2answers
6k views

Enable ssh root login

I have access to a CentOS server with a user that its not root but belongs to the sudoers list. I do not have the password of root, nor I can't find out what it is (policies of the people who gave me ...
2
votes
3answers
7k views

CentOS 7 hostname will not change

I have two CentOS 7 VM's running in virtualbox. On each of the machines I want to set the hostname and a static IP address. VM1 works just fine. VM2 does not. I did the same thing on both servers so ...
2
votes
1answer
5k views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
2
votes
0answers
55 views

VPN tunnel to two services on two servers?

I've got 2 CentOS 6.5 servers, each running one service: server A: 10.140.54.1/27 running service MySQL port 3306 server B: 10.140.54.2/27 running service httpd port 443 Server B's httpd service ...
2
votes
0answers
493 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
134 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
1k 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
187 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
1k 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
260 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
571 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
83 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
479 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
113 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
185 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
82 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
123 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 ...
2
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
452 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
330 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
119 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
140 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
434 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
608 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
196 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
357 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
399 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 ...