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
21 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
39 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
0answers
21 views

error: cant't find command linux when booting system [closed]

I need some help with a problem when booting. Recently I've installed CentOS 7 on my pc, previously I had debian 7 and manjaro installed. When I installed manjaro I overwrote the bootloader of debian ...
-2
votes
0answers
22 views

Can't figure out how to configure a dedicated server for VPS creation [on hold]

My goal is to set up my dedicated server for easy management of virtual machines. I have a dedicated server running CentOS 7 minimal, a fresh install. I've installed Virtualizor I've changed the ...
-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
36 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 ...
1
vote
1answer
32 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
82 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
15 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
30 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
15 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
77 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
19 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 ...
0
votes
0answers
29 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
44 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
21 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
49 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
78 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
26 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
106 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
43 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
11 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
17 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
101 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
27 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
39 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
32 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
23 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
119 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
13 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
22 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
21 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
73 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
59 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 ...
-1
votes
0answers
10 views

How to cronjob a .sh file which contains shell script for copying files form one server to another [duplicate]

I have tried to set the cron with root access as well as without root access. I am rather new to shell script and cannot make to execute the cron for executing a .sh file. Please help guys.
2
votes
1answer
88 views

Website not loading static files when NGINX has static cache content enabled

I have a VPS running CentOS with NGINX/PHP-FPM. Everything works fine, except when I add the following lines to enable the static cache content. If I do, the page does not load those files specified ...
0
votes
1answer
25 views

How do I use CSF to redirect domain requests to a port?

I have a server setup that uses two different webservers with different subdomains. Right now the servers listen on different ports (80 & 4000) So users don't have to put in :4000 I'd like to ...
-1
votes
1answer
44 views

Run cron in centOS as user process, not daemon

According to this site, an easy way to set up a scheduled task in a single Docker container is to create a single crontab that runs your task, and then invoke it as the last Docker CMD with the line ...
0
votes
0answers
31 views

Apache 2.2 segmentation fault and bus error

Hope this doesn't go in as spam cause I've read many similar questions. While most of them only relate to seg faults I'm having bus errors as bonus. I'm running CentOS 6.4 x86_64 with Apache 2.2 and ...
-1
votes
0answers
24 views

How I can change all symlink to the new path [migrated]

Please, I want to change the symlink to the new path My symlink's in this form lrwxrwxrwx. 1 s01 s01 56 Mar 22 13:17 zmjppcxlpq2m.png -> /home/s01/public_html/cgi-bin/uploads/00029/zmjppcxlpq2m ...
0
votes
0answers
19 views

Can FPM make one RPM package that acts differently if systemd is being used?

I build an RPM using fpm for EL6 hosts. It installs a /etc/init.d script. However if that package is installed on an EL7 host, I want it to install a file in /usr/lib/systemd/system instead. Is ...
0
votes
2answers
51 views

Identify where and how background process are started and where they comes from

First the short story: I need to migrate a server (applications, configurations and so on) and I have no clue about what is in there, no docs, people at charge just abandon and didn't leave any ...
1
vote
0answers
25 views

Getting a specific CentOS base image with mkimage-yum.sh

Docker's mkimage-yum.sh does indeed work (awesome little script) but it pulls 6.6 (the latest with updates). I was wondering if it's possible to specify 6.5. I believe I can use yum.conf but the yum ...
1
vote
1answer
35 views

Installing Samplicator on CentOS

I'm trying to install Samplicator to test Netflow central collector and then forwarding to other collectors from there. I mainly want to use Samplicator due to it being able to easily sample the ...
1
vote
1answer
75 views

CentOS 7 with Red Hat Satellite 6

We're using Satellite 6 to manage our RHEL servers. For some side projects, we'll be using CentOS 7 to limit the costs. Of course we'd like to use Satellite 6 as well to centrally manage these CentOS ...
0
votes
1answer
171 views

Upgrading to PHP 5.6.7 using remi repos

I have PHP 5.6 enabled in my remi.repo file and none of the other sections are enabled the only other section enabled is [remi] itself. [remi] name=Les RPM de remi pour Enterprise Linux 6 - $basearch ...