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
0answers
43 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
71 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 ...
-1
votes
0answers
10 views

COD4 Linux game server doesn't send UDP packets as response to broadcast [migrated]

I am setting up a bunch of Game servers for a medium sized LAN tournament using CentOS 6 and the various Linux binaries used for the game servers. With COD4 the servers did not show up in the server ...
0
votes
1answer
51 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
75 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
35 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
19 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
0answers
18 views

.htaccess to redirect phone users to different photos folder not working?

I realize there are numerous similar questions. I have checked them and can't figure out where the problem is. I have a large directory of small-for-phones photos ("mobile") using the same ...
-1
votes
0answers
16 views

File permissions in /home/ directory for shared hosting [duplicate]

I've avoided asking, but after searching for hours I am stuck. Background info: Host type: VPS Control Panel Used: Centos Web Server Linx Distribution: Centos 6.5 I have 2 websites hosted on the ...
-1
votes
1answer
35 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
22 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 ...
-3
votes
0answers
14 views

how to configure samba server in redhat6.2?

If i install samba server in redhat6.2, i got the following error root@localhost /]# yum install samba Loaded plugins: product-id, refresh-packagekit, subscription-manager Updating Red Hat ...
15
votes
2answers
246 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
44 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. ...
-2
votes
0answers
21 views

Is it ok to install CentOS rpm in fedora? [migrated]

I want to try gitlab community edition in my fedora laptop. From the downloads page, it has binary packages for Ubuntu and CentOS 6 and CentOS 7. Which one should I be installing in fedora or should I ...
0
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
70 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
112 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
16 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
52 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
0answers
78 views

Server hacked; how? [duplicate]

It looks as if our CentOS LAMP server has been compromised today. It appears malicious files have been uploaded into the webroot and requests are being made to upload these files to other servers. I ...
-1
votes
1answer
20 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
45 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
48 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
43 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
61 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
104 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
54 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
176 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
45 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
24 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
12 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
votes
0answers
19 views

How can i disable login to Centos and remove all option to access the server root?

I have build a application on centos.. and create a customized CentOS DVD ISO.. right now application will be accessible only in the port 80 using the IP asked at the time of installation of the OS... ...
1
vote
1answer
150 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
37 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
46 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
33 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
37 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
138 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
17 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 ...
1
vote
0answers
26 views

cron job sporadically 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 ...
0
votes
0answers
19 views

Settings don't match when script runs (automatically) on startup with manual call

i have an init.d service wich simply calls node.js program cd /impress whoami > whoami.txt nohup node --stack-trace-limit=1000 server > /dev/null 2>&1 & The task of that programm ...
0
votes
0answers
22 views

Printing HTTPS Webpages in CLI

I have a CentOS 6.6 server, and I am trying to print https://* webpages using the following commands: html2ps https://mywebsite/blah.html | lpr My printer prints out a paper for all HTTPS print ...
0
votes
1answer
95 views

Setting up Squid Transparent Proxy on a machine separate from the router

As explained in the title, I'm trying to set up a Squid Transparent Proxy on a machine separate from the router, and also separate from the private network I want to filter through the proxy. The ...
1
vote
0answers
35 views

Append DNS suffixes to /etc/resolv.conf [migrated]

Is it possible, and how do I configure CentOS 6.6 so that /etc/resolv.conf will obtain its configuration via DHCP, but will also have additional domain names added to the search line? Bonus points if ...
0
votes
0answers
76 views

upstart CentOS vs upstart Ubuntu is there any difference between them?

I'm moving some server configurations from Ubuntu Server 12.04 to CentOS 6.6. Now I'm working on /etc/init script that should be handled by upstart at both OS as far as I know. The files on both ...
1
vote
1answer
23 views

SELinux - first attempt to restrict file by type - fails to fail

I have a Centos 6 Linux box. I read tutorials on SELinux and wanted to try it out. Here are steps I followed, set SELINUX=enforcing in /etc/selinux/config turned on SELINUX with setenforce 1 service ...