CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

0
votes
2answers
46 views

CentOS 7 won't connect to external MySQL database. Database works from other servers

I have a new CentOS server set up, with Apache and php-fpm. The php application fails to connect to an external MySQL server. This server is reachable from other servers, the firewall on the database ...
-1
votes
1answer
30 views

SFTP and SSH Logins [duplicate]

I've been doing my research and found some clues as to where I should be looking, but just can't quite get it perfect. I'm trying to create a new user, and allow them to have access to SFTP for file ...
15
votes
2answers
308 views

How to uninstall newly installed dependencies for a RPM package?

Is there an easy way to make a list of the dependencies a newly installed RPM package will install with yum? Example: If you do yum install ruby then it will also install some rubygems. But when I ...
0
votes
0answers
40 views

is there a way to determine what process has written a file? linux [duplicate]

The answer marked as duplicate is not related to my question which is very specific. I need to know if there is a command or information stored on linux about how a particular file was written please. ...
0
votes
1answer
40 views

Server ran out of HD room

A rogue script brought my centOS-based server to its knees and resulted in 0 bytes of HD room left. I since fixed the issue and everything seems to be running normally. So my question is, what ...
0
votes
0answers
13 views

Converting Bro IDS output to CSV

I have Bro-IDS currently operating under Centos 7. I need to convert the output to CSV format. The documentation that I have seen on this is not clear to me. Has anyone done this successfully? I have ...
-1
votes
1answer
58 views

Cannot Access remote CentOS machine using VNC

I am trying to connect to a remote CentOs machine through VNC to get a graphical display. I have followed the steps mentioned in https://www.howtoforge.com/vnc-server-installation-centos-6.5 to ...
1
vote
1answer
39 views

MySQL PID Errors

While attempting to change the MySQL server timezone to CDT to match the Centos sytem time, something has messed up. I edited the my.conf in /etc/ in vim logged in to SSH as root, and saved it. On ...
0
votes
2answers
175 views

100% CPU usage on my CentOS VPS

I have a 512 MB VPS and hosting 2 WordPress websites on this CentOS server. I have installed apache + mysql + PHP + fast cgi on this server. Everything was working great from last 6 months. I have 500 ...
-3
votes
1answer
77 views

unable to update php version to 5.5 on centos

i want to update php version centos via ssh , i ran "yum update" command on server but it did not update php version, how can i do it . Please guide. My centos version is 6.6
0
votes
1answer
64 views

How to debug 403 error on Cent OS?

I'm trying to install phpMyAdmin and I'm getting a 403. /etc/httpd/conf/httpd.conf <Directory /usr/share/phpMyAdmin/> Order Deny,Allow Allow from all </Directory> ...
0
votes
0answers
19 views

iptables, after specifying an interface to drop traffic it drops all traffic of all interfaces

We have currently the situation that one interface (eth0) is linked to the internet. and we 2 other devices (eth1/eth2) for management purposes. Now the idea is to block off eth0 completely from the ...
-1
votes
0answers
30 views

Fallback to status page on a different server [closed]

Recently we had some server troubles. While we can't avoid any in the future, we can be transparant to customers about the server availability. We want to fallback to a different server (status page) ...
0
votes
0answers
77 views

XenServer CentOS VM: EXT4-fs error (device dm-2): ext4_journal_start_sb: Detected aborted journal

I have 2 different CentOS 6.4 VM's on 2 different Citrix XenServer and both have the same error within couple of few days. Output of messages: kernel: Aborting journal on device dm-2-8. kernel: ...
0
votes
0answers
129 views

Bridge on vlan on teaming for KVM

I have problem to create bridge on vlan on teaming. Why I do something like that? - Kvm needs bridge - Vlans because I need vm’s in different subnets - Teaming in option active-backup (small HA) I do ...
0
votes
1answer
74 views

How to change lsync log level or completely disable it?

I'm using lsync for incremental backup. After 6 month it generated about 6GB log file in /var/log/lsyncd/lsyncd.log. I decide to change log level to reduce log generation. there is an option '-log' ...
0
votes
0answers
132 views

How install libgnutls.so.26 on Centos 7.1?

I'm following this tutorial to install ffmpeg on my server. When I'm configuring the source I get the problem: ffmpeg headers not found. In that tutorial they say: To Fix: Just install ...
0
votes
1answer
40 views

Admin has no rights, not even to own desktop

For some reason my admin account lost access to everything. I can't see any files on my desktop; When I try to open a file I get the error Nautilus could not create the following required ...
1
vote
2answers
43 views

How do I drop requests from dig?

Basically I'm getting tons of request to my named/bind service, basically those requests are being rejected by named, Those are the messages i get, from tons of ips., How extacly can I drop those ...
1
vote
0answers
34 views

CentOS 7 doesn't recognize new Active Directory accounts/settings

I joined a CentOS 7 system to a Windows domain by syncing the time with the DC and running realm join --user=admin@mydomain.local mydomain.local. This allowed me to authenticate my login to the CentOS ...
-1
votes
1answer
44 views

Installing TF-3200 to Centos 7

I have plugged in a separate network card named TF-3200 to the PCI port. I also have ensured that the card is detected by using lspci command and it gives, 01:02.0 Ethernet controller: Sundance ...
0
votes
1answer
24 views

cant turn on mysqld. I moved mysql to an XFS directory and pointed it there

hey guys hopefully someone has the answers for this but these are my errors ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) and in my ...
15
votes
2answers
273 views

NFS poor write performance

I have two machines connected with 10Gbit Ethernet. Let one of them be NFS server and another will be NFs client. Testing network speed over TCP with iperf shows ~9.8 Gbit/s throughput in both ...
0
votes
0answers
22 views

CentOS wrong outgoing IP address on forward

I have a rather strange behaviour for me in here. I am trying to forward traffic between two interfaces (one being a bridge) but will not work as intended. Here is the setup: Kvm host has br0 ...
0
votes
1answer
51 views

Adding a VLAN to Multiple Aliased (Virtual) Interfaces

I have a server running centOS 4.6 with 4 NIC ports. I successfully set up 2 ports with 32 virtual interfaces to handle my VLAN-untagged connections and have no issues with that side of things. ...
-1
votes
1answer
38 views

Many connections in state, How I can prevent this more # number

Please, by this command I can know the number of connections for each IP: netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 Sometimes greatly increase the number of contact ...
2
votes
1answer
148 views

systemd: how do I view journals with journalctl without switching to root on CentOS 7?

If I run journalctl as nonroot, I would get the following message: No journal files were found. But switching to root, or using sudo gives me the journal. How can I view journals without switching ...
0
votes
1answer
142 views

Get real time CPU usage of linux process with single line command and as a simple result

I've searched everywhere and found nothing about this. I'm trying to create a small gauge that shows the CPU usage of one process specified by PID. I need the command to print a simple answer , hence ...
0
votes
1answer
18 views

Apache AllowOverride Based on Directory

Background Small team(4 people, 2 devs, 1 server admin, director) Three internal applications, one per server. httpd.conf is set to AllowOverride None on / None of our team members are accustomed to ...
0
votes
1answer
85 views

Cannot install Varnish 3.x on CentOs 7

I have a freshly installed Centos7 and I wish to install Varnish 3.0; according with https://www.varnish-cache.org/installation/redhat I have installed the repo varnish-3.0.el6.rpm but ... ...
0
votes
0answers
16 views

Site hacked! Malware on site being accessed by some IPs [duplicate]

I found this php malware file on my server. And when I went to 'apache status' in WHM. I saw some entries where some IPs where trying to access them. Is there a way I can tell how the malware file ...
-1
votes
1answer
30 views

Need help importing data to new SQL server from MySQL folder

My hard drive crashed, and can no longer write, but it can still read. Because of this, I was unable to export my SQL database to an .sql file for later importing. I can still access the drive, and ...
1
vote
0answers
62 views

CentOS 7: Nginx systemctl hangs on start, why?

I compiled nginx with pagespeed and made the nginx.service file in /usr/lib/systemd/system/nginx.service but when i try to do systemctl start nginx it just hangs, nginx does start but systemctl hangs. ...
1
vote
0answers
62 views

Why do apache SSL certificate and key need to be in /etc/pki/tls/private/?

I have an Apache 2.2 web server running on CentOS 6.6. I have a certificate and key file that functions when the files are in this directory: SSLCertificateFile ...
0
votes
1answer
58 views

Clustring haproxy + Apache + MySQL

Im new to clustering, So I started my LAB using linux centos, My schema is : 2 Load balancers, 2 Web servers (apache), 2 MySQL DBs (separated). I configured the 2 LBs and 2 Webs, the load balancing ...
0
votes
1answer
113 views

CentOS 6.6 Doesn't Boot. Stucks at Enabling local filesystem quotas [ok] [closed]

I am running radius server on my CentOS 6.6, yesterday I tried to reboot my machine with sudo reboot with using Putty. It didn't restarted for some reason and I had to go to my DataCenter. When I shut ...
4
votes
1answer
195 views

Why are there so many files in /var/spool/postfix/maildrop

We have CentOS 7 running, and previously had postfix installed (it is currently uninstalled). After removing postfix we checked the /var/spool/postfix/maildrop, as the df -h command was reporting ...
0
votes
0answers
95 views

CIFS mount: Linux read permission denied unless Mac file is created in shared folder

I apologize for the complicated description of this problem. I have a CentOS 7 machine that mounts a shared folder (CIFS) from a Windows server. The same folder is mounted by various Windows 7 ...
0
votes
1answer
288 views

Missing ssl_crtd folder with Squid 3.5.2 / CentOS

I am attempting to install Squid 3.5.2 to utilize improved sslbump functionality with websites with HSTS. I'm following the documentation on a fresh CentOS 7 VM installation. The issue I'm having is ...
0
votes
2answers
47 views

Disable ssh login on specified time for particular users

I would like to disable ssh login to my system for particular users say X,and Y on specified time 17.00 to 18.00. so how to achieve this ? any help would be appreciated.
0
votes
1answer
25 views

CentoOS - iptables issue when trying to enable specific IP

I've got the following iptables: num target prot opt source destination 1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 2 ACCEPT all -- ...
0
votes
0answers
13 views

htop / top in centos - identifying anonymous processes

Running HTOP on my webserver - I can see lots of anonymous processes. Obviously I can't track down what these are without knowing what is causing these. Any ideas on how I can track down what these ...
1
vote
1answer
239 views

How to load hpvsa.ko (RAID controller B120i) module in Centos 7.1, (seems no longer supported)?

First when RHEL 7.0 and Centos 7.0 was released - I was able to install OS on B120i raid controller by following official RHEL 7.0 and HP docs: First you need to download from HP B120i controller ...
1
vote
1answer
45 views

mysql / mariadb - remove ipv6 user

Can I remove the 'user'@'::1' <- ipv6 user from mariadb? I have ipv6 disabled on my CentOs install. Or is it not related to ipv6?
-1
votes
2answers
49 views

IPTables not blocking IPStresser [closed]

I have been trying four days to block DDoS attacks with no success. I want to block anything that isn't whitelisted. This is my idea on OS Centos 7: //Delete All Existing Rules iptables --flush ...
-3
votes
1answer
37 views

Coose server hardware for private server [closed]

I am planning to run a Linux server for hosting a java spring application with Tomcat. I need some help to choose the right server hardware to buy. NOTE: I am a student and cannot afford any really ...
0
votes
0answers
46 views

Running CentOS7 on Hyper-V issue with integration service driver

I installed CentOS 7 on Hyper-V 2012 R2. It seems to be running OK, but I have issue with drivers. And not sure how do I go about updating: A storage device have a different version from ...
1
vote
1answer
161 views

Spammer on CentOS keeps blacklisting my server [closed]

I am the owner of a server and I have got a spam problem on one of the accounts. The spammer keeps sending lots of mails from fake non-existing addresses from (only) one of my domains. ...
0
votes
0answers
22 views

vsftpd service with tls enabled exit code 2

I am trying to set up TLS for VSFTPD on CentOS7. Whenever I try to start the service it fails with exit code 2 and no other information. anonymous_enable=NO local_enable=YES write_enable=YES ...
6
votes
1answer
152 views

cron job occasionally not running

I have a CentOS 6.6 server with the following packages installed: crontabs-1.10-33.el6.noarch cronie-1.4.4-12.el6.x86_64 cronie-anacron-1.4.4-12.el6.x86_64 kernel-2.6.32-504.3.3.el6.x86_64 ...