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

1
vote
0answers
10 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 ...
0
votes
1answer
841 views

Increasing nproc for processes launched by systemd on CentOS 7

I have successfully increased the nofile and nproc value for the local users, but I couldn't find a proper solution for the processes launched by systemd. Adding max_open_files to the MariaDB ...
1
vote
1answer
14 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
votes
0answers
12 views

iptables: No chain/target/match by that name while setting IP Rotation [duplicate]

I want to set IP Rotation using iptables so I am using below code. Don't know what is the wrong, It is showing error iptables: No chain/target/match by that name. iptables -t nat -I POSTROUTING -m ...
0
votes
1answer
52 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
vote
1answer
38 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; ...
0
votes
1answer
218 views

postfix master dead but subsys locked but working

postfix master dead but subsys locked I tried removing the files on /var/lock/subsys/ and restarted postfix, no error on logs and mail is working but when I check the postfix status it still says ...
1
vote
0answers
16 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
vote
1answer
2k views

Assign ipv6 address to KVM guests on bridge mode

System: CentOS 6.5 Network: Bridge on br0 IPv6: ISP Native /64 block. IPv4: ISP address (not internal LAN) Purpose: To assign IPv6 only to guests (manually), I don't want ipv4 address to be ...
2
votes
1answer
1k views

VPN error 619 - “A connection to the remote computer could not be established.”

Have been trying to get this PPTP VPN working on a CentOS 6 x64 VPS for a few days but im getting: "Error 619 - A connection to the remote computer could not be established." I did research on ...
0
votes
1answer
1k views

How to install pecl spidermonkey on CentOS 6

Running the following command: > sudo pecl install spidermonkey I receive the following error: ... ... a bunch of successful checks ... ... checking whether to enable spidermonkey support... ...
-1
votes
1answer
45 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 ...
-1
votes
1answer
66 views

How to delete all php files first line? [on hold]

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
2answers
41 views

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

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 ...
0
votes
0answers
5 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
0answers
26 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
0answers
44 views
+50

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 ...
0
votes
1answer
932 views

Installing mysql-devel to match MySQL version

I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search ...
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 ...
-4
votes
0answers
21 views

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

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
5answers
2k views

nginx: php-fastcgi running but php files not executing

I have recently set up a nginx server with PHP running as FastCGI process. The server is running with HTML files however PHP files are downloading instead of displaying and PHP code is not processed. ...
0
votes
0answers
29 views

Blocking Low-bandwith layer 7 attack [on hold]

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. ...
6
votes
8answers
10k views

Find MAC addresses in /proc or somewhere despite bonding device?

Is there a way to get the original MAC addresses for eth0 and eth1? A large array of servers have bonding interfaces managing backup switch connections and one is misbehaving. With bond0 active both ...
2
votes
3answers
201 views

SELinux preventing Apache from writing to a file

SELinux is preventing the apache user from writing to a log file which it owns. When I do setenforce 0 it works. Otherwise it shows this error IOError: [Errno 13] Permission denied: ...
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?
0
votes
1answer
914 views

puma init.d for centos 6 fails with runuser: user /var/log/puma.log does not exist

Trying to get a init.d/puma to work on Centos 6. It throws error runuser: user /var/log/puma.log does not exist I run this from the /srv/books/current folder but it fails. I tried to debug the ...
-3
votes
0answers
10 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)? [on hold]

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 ...
0
votes
1answer
2k views

Cannot start/stop/restart service: MySQL Daemon failed to start

When trying restart mysqld service I'm getting this erroe: Cannot start/stop/restart service: MySQL Daemon failed to start. Anybody have idea how to solve it? I'm running centos 6.5, from what I see ...
-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
vote
1answer
295 views

Samba shares empty and not writeable when browsing OS X 10.8

When I mount a Samba share it works, but it doesn't show me any files, even though they exist on the server, I also cannot write files to the share either. The server is CentOS 6.4, running Samba. ...
-1
votes
0answers
22 views

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

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. ...
0
votes
1answer
853 views

Webmin + SSH Public Key [on hold]

Is it possible to upload a UNIX user's public key to Webmin? I would think this would be on this screen, but I'm not finding it....
-2
votes
2answers
37 views

Automicly report brute forcing ip's [on hold]

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 ...
0
votes
1answer
143 views

How to build from source on CentOS 5.9?

I'm building iptraf-ng on CentOS 5.9 and running into the following errors: src/packet.c: In function ‘packet_process’: src/packet.c:322: error: ‘ETH_P_QINQ1’ undeclared (first use in this function) ...
2
votes
4answers
4k views

CentOS not allowing remote MySQL connections

When assigning a user from a remote IP to connect to a database it is saying that it's failing to connect. It is also failing to connect with root so something is wrong. Bind IP is off and I have also ...
0
votes
1answer
2k views

CentOS Dovecot Permission Denied

I have a dovecot mail server setup with Virtualmin, and for some reason, out of the blue, yesterday, the mail server stopped working. I found that in the /var/log/maillog file, I have the following ...
-2
votes
0answers
8 views

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

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: ...
1
vote
1answer
67 views

mod_security not working at all

I'm trying to make the mod_security work, I searched a lot on the web, and followed this tutorial to configure mod_security (all my configuration files are the same as the tutorial), and when I run ...
-1
votes
2answers
195 views

Bind only works Locally - Ping works locally not externally

I am using Bind on a Centos 6.5 server in order resolve subdomains to an IP. I have *.ddns.example.com and ddns.example.com pointing to my server via A record. I have added a zone for this, see ...
1
vote
1answer
29 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
25 views

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

...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
2answers
72 views

Caveats of installing development tools on production server

I want to install some software on production CentOS box which are not available from repository (like tmux etc). I can download the source and compile it locally, but for doing that I'll need ...
0
votes
3answers
165 views

How to grant user modify only specific protected file by sudo

I need to grant user modify some files by sudo that have only read-only access. For example, I want to grant user 'hosteditor' modify '/etc/hosts' file. I added to sudoers follow line: hosteditor ...
1
vote
2answers
786 views

mod_security: another rule with same ID

I have installed httpd 2.2.15 on CentOS 6.5 (minimal installation with no cPanel) with modsecurity 2.8. When I am starting httpd I am getting this error: Starting httpd: Syntax error on line 23 of ...
0
votes
0answers
22 views

Centos Web Panel: Apache root path changed [on hold]

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 ...
2
votes
2answers
2k views

403 Forbidden when trying to access a folder in document root of nginx

When I access index.php, it works fine. But on localhost/pset7, it gives a 403. Here is the permission log, -rw-r--r--. 1 root root 51 Jul 31 14:21 index.html -rw-r--r--. 1 root ...
19
votes
4answers
49k views

How to configure vsftpd to work with passive mode

Whenever I install vsftpd on centos, I only setup the jail environment for the users and rest is default configuration of vsftpd. I create user and try to connect with filezila ftp client but I could ...
1
vote
1answer
128 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 ...
0
votes
1answer
773 views

can't install phpmyadmin have error [on hold]

I have some error when I tried to install phpmyadin, did I miss something? CentOS 7 # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm # wget ...
-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. ...