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

2
votes
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
-1
votes
1answer
17 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
1answer
1k views

FreeNX 0.7.3 under CentOS 6.3 - Negotiating link parameters

since some days I try to get freenx (CentOS package 0.7.3) running under CentOS 6.3. It is like found on many websites: First login is successfull, after that all login attempts fail with the ...
0
votes
0answers
35 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
0answers
19 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 ...
0
votes
0answers
10 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 ...
2
votes
1answer
867 views

Why can't I setup an SSHFS share? “OSXFUSE file system is not available” error

I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this?? FYI, my ...
0
votes
2answers
39 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 ...
0
votes
4answers
100 views

Testing DNS configuration of domain by using hosts file?

I'm currently migrating a website to another server, and want to test the DNS configuration (more specifically, email MX records) before moving the domain over. I've configured the DNS on the new ...
-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
2answers
855 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 ...
-3
votes
0answers
24 views

nginx not start , site down

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 ...
3
votes
1answer
698 views

cloud-init does not grow the partition nor the filesystem

I am currenty preparing OpenStack-ready images of CentOS 7 and Ubuntu 14.04. For the "automation" I use Packer, which is provided by you with a JSON-template. Packer then starts the installation ...
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
14 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 ...
3
votes
2answers
4k views

error while installing the libmemcached

I get this while installing libmemcached root@server [/libmemcached]# make make all-am make[1]: Entering directory `/libmemcached' if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H ...
4
votes
1answer
4k views

How to upgrade module located inside initramfs?

We have recently upgraded our e1000e (intel ethernet) module on one of our CentOS 6.0 boxes. Even tho the module compile and installed fine, the old version is still being used. We have tracked this ...
1
vote
1answer
2k views

Trying to remove packages with yum, however it is failing?

Trying to uninstall zarafa mail server. I use yum list installed to view the already isntalled packages. After which I use yum erase zarafa* It picks up all the packages but returns: Error in ...
5
votes
5answers
29k views

How to extend an ext4 partition and filesystem?

I have a 400GB disk with a 320GB ext4 partition. I would like to grow the ext4 partition to use the left space (80GB of free space). +--------------------------------+--------+ | ext4 ...
4
votes
5answers
3k views

CPU?: Not responding

I'm attempting to build a system for co-location. I've been running into issues while trying to install CentOS 6.3 System Specs: Motherboard: ASUS m5a99x Process: AMD FX-8120 (8-core Bulldozer) ...
96
votes
16answers
82k views

How do you install Node.JS on CentOS?

I've found numerous installation instructions for Node.js but they all seem so complicated -- I'm not a super sys admin but I can get around. I have yum on the system, but I didn't find any node.js ...
1
vote
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
1
vote
0answers
12 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
18 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 ...
0
votes
1answer
63 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
39 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
219 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
21 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
65 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
69 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
49 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
7 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
31 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 ...
2
votes
0answers
55 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
206 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
917 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
11 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 ...
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. ...