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
24 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
15 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
70 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 ...
1
vote
0answers
19 views

phpMyAdmin database not fully exporting?

I am trying to export a database that's on my phpMyAdmin. However, when I use the "Export" function, it only exports the first table, rather than every single table. I've selected all tables to be ...
-1
votes
0answers
16 views

ngnix php-fpm error centos

I'm using nginx version: nginx/1.6.2. I've tried to with only sock file but this is not working.. Anyone knows correct configuration ? php-fpm conf : listen = 127.0.0.1:9000 ; listen = ...
0
votes
0answers
12 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
25 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
21 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
21 views

Unable to get any type of connection using mysql on LAN [on hold]

My question is rather simple, I have a Windows 7 machine that is hosting an Apache server and a MySQL server using the XAMPP control panel. Both of these have been installed as a service on the ...
-3
votes
0answers
31 views

nginx not start , site down [on hold]

today my vps not function , every web site hosted is down, i have centos 6.6 and web hosting panel (vesta) in service of vesta nginx not start, i try to deactivate the nginx for the site but the web ...
0
votes
0answers
9 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 ...
-3
votes
0answers
15 views

pipe_command: execvp /var/www/vhosts/mydomain/httpdocs/myscript.php Permission Denied [on hold]

I have this issue on my centos server: pipe_command: execvp /var/www/vhosts/mydomain/httpdocs/myscript.php: Permission denied myscript.php has correct permissions.. I don't understand. :( On my ...
0
votes
2answers
43 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
13 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
19 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
0answers
24 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 ...
-1
votes
1answer
82 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 ...
0
votes
0answers
8 views

ipmi_si module is missing and can't be found

Looked all over google and stackoverflow; can't find an answer to this "simple" problem. Background: I have a Supermicro server running centos 6.5 kernal 2.6.32-431.29.2.el6.x86_64. I have been ...
0
votes
1answer
73 views

CentOS 7 installer: blank screen

I am trying to figure out CentOS 7 unattended network (PXE) installations in my setup, but the installer always ends up running into a black screen without interaction options. This is being tried in ...
-1
votes
1answer
71 views

How to delete all php files first line? [closed]

How to delete all php files first line? I used the following command, but it works only for present directory and not recursively. sed 1d file.php Please tell me the command or script which delete ...
0
votes
0answers
32 views

Random machine hangs with NFSv4 on CentOS/RHEL 6.5

We have an in-house "compute farm" with about 100 CentOS (free re-distribution of RHEL) 5.7 and 6.5 x86_64 servers. (We are in the process of upgrading all the 5.7 boxes to 6.5.) All these machines ...
1
vote
1answer
41 views

Nginx doesn't start using systemctl

I have defined a custom error_log for a virtual server inside it's directory like so: server { listen 80; server_name www.example.com; root /home/www.example.com; ...
-4
votes
0answers
21 views

Something use high CPU on centOS PLS HELP ME [closed]

He constantly uses all of the processors in something. even if I close it comes back pls help me :| http://i.stack.imgur.com/5C2Rb.png
0
votes
0answers
30 views

Blocking Low-bandwith layer 7 attack [closed]

Lately I have been experencing Layer 7 bandwith attacks on my server running centos 6.6 16 gigs of ram. These attacks cause mysql tro skyrocket to 500-600% The requests are as followed. ...
0
votes
2answers
52 views

How to enable CentOS 7 to connect to an external SMTP? [closed]

I have a web application deployed in a webserver, running on a CentOS 7. This web application sends e-mails through an external SMTP (in-v3.mailjet.com, port 587). How can I enable CentOS to connect ...
1
vote
1answer
30 views

how to invisible samba folder from unwanted users?

How to hidden samba shared folders from unwanted users.The folder should be visible for that particular user.How to do it?
-3
votes
0answers
15 views

In RHEL7 / CentOS 7, how can I add a banner text to display on the GUI at the login prompt using Gnome Display Manager (GDM)? [closed]

Following RedHat's instructions do not work! https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/customizing-login-screen.html ...
-1
votes
0answers
16 views

Why cron doesn't work to me? [migrated]

I'm on centOS 7 and I have a wordpress site. Due to some problems with the wordpress default wp-cron settings, I have choosed to do the cron tasks with my server instead. I have used this command: ...
-1
votes
0answers
22 views

How to debug high load httpd instances on pretty heavy server [closed]

I have a pretty hefty server with just 5 to max 10 concurrent users online. its a 64gb intel i7 ssd server. i dont understand the high load. i use redis on the server, and pages load within 1.5s. ...
-2
votes
2answers
39 views

Automicly report brute forcing ip's [closed]

Hosting is awesome. But hackers and bots trying to break into your server are not. I actually hate them. So, today i launched a new server with directadmin. And all is great. But a few minutes after ...
-2
votes
0answers
26 views

My webhost has put my CentOS6 dedicated box in “rescue mode”, after a “minimum grub boot” (their words) [closed]

...and I frankly have no idea where to start. I've run my own boxes for a couple of years, but this is beyond my skill level. I've had the box a few months just as a backup server. I logged in and ...
1
vote
1answer
32 views

CentOS server not responding

I have a CentOS 6.5 server for hosting. It has sshd, httpd, mysqld, smtpd, dovecot, postfix, named working fine. but since last year I updated the server to PHP 5.4, MySQL 5.5, it starts having ...
-2
votes
0answers
8 views

Installing OrionContextBroker 0.19 (Fiware) on CentOS 7 [closed]

I have an error while installing OrionContextBroker 0.19 on CentOS 7. Error: Package: contextBroker-0.19.0-1.x86_64 (testbed-fi-ware) Requires: libboost_thread-mt.so.5()(64bit) Error: ...
0
votes
0answers
31 views

Centos Web Panel: Apache root path changed [closed]

I have a CentOS web server running Centos Web Panel (CWP). For some reason, after a restart, my webserver stopped working. I found out Apache is using another root path as CentOS Web panel is ...
-1
votes
0answers
14 views

Installing latest wireshark impossible? [migrated]

It looks like installing a later version of wireshark is near impossible on redhat 6. I've searched the web extensively and can't find any questions where someone has said their issue was resolved. ...
1
vote
1answer
163 views

CentOS 6.6 with Nginx 1.6.2 - Suddenly can't restart nginx - nginx: [emerg] open() “/usr/share/nginx/on” failed (13: Permission denied)

This is a new install in which nginx previously started and stopped normally. I believe this error arose after enabling server blocks which tested (nginx -t) successfully. I then tried to restart ...
3
votes
0answers
71 views

Move home directory on Azure Linux VM

I continue to encounter an issue moving my home directory to a new disk on a CentOS VM on Azure. On creation the server is configured to use a SSH key for authentication and the "no password" option ...
-1
votes
0answers
15 views

Process with the strange name loads CPU [duplicate]

[Centos 6.5, vps] > top 29348 root 20 0 94728 2108 208 S 297.2 0.0 40:22.57 dfyjqsizih > ps -ef UID PID PPID C STIME TTY TIME CMD root 29348 1 99 11:39 ...
3
votes
1answer
28 views

Additive SNMPd configuration in CentOS

I have a small program that I am preparing for release. As part of its functionality, it queries SNMP for a few statistics. The MIBs in question are installed by the default net-snmp package, but are ...
1
vote
2answers
79 views
+50

Block ICMP timestamp & timestamp reply with firewalld

OS: CentOS 7.0 Per the results of a security scan, it has been suggested that we block ICMP timestamp & timestamp reply messages using the firewall (CVE-1999-0524). I've used firewalld to set up ...
0
votes
1answer
45 views

How to block an ip range in Firewalld

I know I can use the below command to block a single ip: firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='115.239.228.12' reject" but I need to block all ips starting ...
0
votes
1answer
27 views

Php executes with different results in command line than when browsed to in Apache

I setup a CentOS 7 vm webserver with the LAMP stack. Over the last few days I have been trying to get an LDAPS connection working to my Windows Server 2008 R2 Domain Controller. I have been able to ...
0
votes
0answers
15 views

Preventing a read-write first automount after adding a VHDX onto a CentOS7 HyperV VM

I have a VHDX file (representing a non-boot ext4 fs) that I need to run some forensics on. I have a working CentOS7 HyperV VM on a Win2012R2 host. I want to attach the VHDX to the CentOS7 VM, which ...
0
votes
1answer
35 views

RPM or YUM equivalent of apt-get install libgraphicsmagick1-dev

I was using Ubuntu for development and one of the dependencies needs apt-get libgraphicsmagick1-dev now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the ...
0
votes
1answer
12 views

Update Amazon EC2 Rightscale Centos for latest GLIBC

We've run into an issue on an Amazon EC2 instance where we need a later version of glibc. I understand I need to update Centos (current version is 5.6) to acheive this, and I've tried various ...
-1
votes
1answer
32 views

Centos running if - then command with multiple allowed values

Is there a way to run a if command in a script that can match multiple values for example I would push a script to a bunch of servers and each server would only run the command if the servers host ...
-3
votes
1answer
31 views

1 IP to multiple different physical web server / web server machines

My configuration [ OpenWRT on my Router ] [ Centos 6.4 , Apache 2.4.6 - Machine A ] [ Centos 7, Apache 2.4.6 - Machine B ] I've 1 IP address pointing to my OpenWRT Router. I had 1 WebServer ...
3
votes
1answer
49 views

SSH hangs for several minutes at a time

I can SSH into a server and run commands just fine, but usually within a minute or so the session will appear to hang (become unresponsive). I can type commands but they're not even echoed on the ...