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

Another PHP NGINX error: “No input file specified”

I looked through about 5 questions and blog posts already and tried everything they told me without luck. I can browse to www.example.com/phpinfo.php, but not www.example.com/index.php. I even went so ...
2
votes
0answers
9 views
+50

Autoscaling containers through consul and registrator

I am using an infrastructure platform consisting of docker containers running on centOS host. Scaling multiple containers through docker compose. Consul for service discovery. Registrator for ...
1
vote
1answer
2k views

What is stopping my Visual JVM remote connection?

I have started my application with this settings below: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=43588 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun....
0
votes
1answer
1k views

ZenOSS webinterface connecting

I'm having a problem with ZenOss. I installed the centos stack installer on Centos 5.5 x64. De installation succeeded and no errors where displayed. But when I tried to surft to the ip address it ...
0
votes
0answers
16 views

postfix mails stuck in mailqueue

I ran into a problem, I'm trying to set up postfix mail server (I'm using webmin), everything seems to work fine, I successfully connected outlook to POP3/SMTP, but as soon as I send an email, it gets ...
0
votes
0answers
11 views

CentOS 7 connectivity issues

I have a second CentOS 7 box that's having a lot of trouble connecting. Basically, we were running WHMCS, but a domain lookup kept failing. So the issue is IPv6 connectivity. [root@da01 ~]# yum ...
-1
votes
2answers
17 views

Unable to install asterisk-core on centos x86_64

I try to install on a linux Centos x86_64 a library named asterisk-core-11.20.0-1_centos6.x86_64 which not found the library libsrtp.so.0 present at the path /usr/lib/64. the error is: Error: Package:...
0
votes
0answers
11 views

“Oh no! Something has gone wrong.” What am I doing wrong with the default CentOS VNC configuration?

I'm trying to configure a little PC settop for work that will mostly be used as a remote backup server (basically just something that exists for the extremely remote possibility that our data center ...
-3
votes
1answer
41 views

Gmail is blocking emails from my mail server ( Postfix ) CentOS 6

I'm unable to send emails from my mail server. I've tried every single possible solution I came across. Firstly, I WAS ABLE to send emails but they were going to spam so I decided to install OpenDKIM ...
2
votes
1answer
23 views

CentOS: After Kernel Update system does not boot (/dev/md2 does not exist)

after doing a kernel-update (only via yum update) my centOS 7 (64bit) does no longer boot. I now booted into rescue-mode and tried to mount /dev/md2 - this worked fine: Any ideas what I could do ...
0
votes
1answer
1k views

CentOS 6 init script doesn't work properly

I'm setting up my ruby production server based on CentOS 6. I need a process called god (which is a process monitoring tool) to start at boot. I'm using an init script that I found here. Just as ...
0
votes
1answer
2k views

“Disk Not Found” Error when trying to install iso image of CentOs on ESXI using VSphere

When trying to install CentOs setup as an iso image on datastore, i get an error : "Disk Not Found". I am using ESXi 4.1 as host VM. Is there a way to attach DVD/CD as iso image ? I tried "Connect at ...
0
votes
1answer
19 views

SELinux keeps blocking my Apache instance

I am using CentOS 7 and have set up a duplicate Apache instance using the systemd structure there. I can get both Apaches to run if I use setenforce 0. However, when I setenforce 1, the new Apache ...
-1
votes
1answer
9 views

Cannot chroot mounted volume to reset root password ( hangs )

I am trying to reset the root password on my instance. I boot it in rescue mode and mount the primary disk. fdisk -l sudo mount /dev/sdb1 /mnt sudo chroot /mnt The prompt just hangs here and it ...
3
votes
2answers
2k views

couchdb 1.6.0 from source - jsapi.h: present but cannot be compiled

I'm trying to install couchdb 1.6.0 from source on CentOS 6.5 (EPEL resository has a very old version unfortunately) following this guide. Everything went fine until ./configure step on couchdb - ...
2
votes
3answers
7k views

How to debug Nagios “NRPE: Unable to read output” when checking NFS?

I have a working Nagios setup where I e.g. monitor disk usage through the NRPE daemon without parsing arguments through NRPE for security reasons. So I know that NRPE works. Now I would like to check ...
4
votes
2answers
9k views

Where is the UTC timezone in CentOS?

I was running the CentOS installer, and was surprised that I couldn't find UTC when prompted for the timezone. The only available choices are: Etc/GMT Etc/GMT±[1-12] Etc/UTC However, I recently ...
0
votes
0answers
8 views

How to update GCE instance management services

What are the services on Linux (CentOS) that communicate with the Google Compute Engine (GCE) infrastructure to configure and manage a VM (SSH keys, for example)?  These don't seem to be updated with ...
-1
votes
2answers
10 views

Apache SSL not working in Centos 6.5

I have a simple LAMP stack with httpd/Apache installed on Centos 6.5. I've set my vhost up in /etc/httpd/sites-available/acute.conf like so: <VirtualHost *:80> ServerName acutemedical.co ...
1
vote
1answer
45 views

Unable to install on a Centos 6 the library “libsrtp”

I try to install on a Centos 6 the library "libsrtp" but it expects the below libraries already present under these paths /lib64 and /usr/lib64. could you please tell me how can I resolve this ...
0
votes
1answer
40 views

yum install error nothing to do (MYSQL, CentOS 7)

I'm trying to install MYSQL instead of MariaDB on my CentOS 7. I used this command: wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm yum install http://dev.mysql.com/get/mysql-...
0
votes
0answers
25 views

Web server got compromised (What to do next?) [duplicate]

My webserver got compromised (I think). The last 3 days inbound traffic spiked up to abnormal levels, in 3 days +/- 2.5TB of bandwith got used. when reading my access logs I see thousands of requests ...
-1
votes
0answers
11 views

Centos7 user sessions

Is there a way i can see what sessions I have open in the shell. I have searched and so far the answer is use 'w' or 'who' but this does not provide the answer. example: I have used 'su' to log into ...
1
vote
1answer
1k views

How to run Visual VM on remote centos

We have a java application residing on centos machine. From our windows machine we plan to connect to the application. We have enabled jstatd and confirmed is running. The issue now is visual vm can ...
0
votes
2answers
4k 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 ...
2
votes
0answers
34 views

ZFS on linux with centos 7.2 sync reads slow to crawl when executing sync writes

We are running ZFS on linux with centos 7.2. The array has 26 6tb Seagate sas drives in a mirrored configuration and then stripped across the mirrors to form our pool. 128gb arc, 480GB l2arc PCI ...
2
votes
2answers
2k views

grubby fatal error: unable to find a suitable template

I'm trying to fix my system after moving it from one server to another. It works perfectly with kernel booted via network, but not from the disk. Reinstalling stock CentOS 6.6 kernel shows this error:...
-1
votes
0answers
17 views

Script sending mails from our server [duplicate]

I apologize if this is asked many times. My OS is CentOS and postfix with Plesk 12.5 I found that one PHP script is sending mails from our server. Strange this is that its sending from our domain ...
1
vote
1answer
4k views

Centos set default ftp directory for a user

I am setting up accounts for people to connect to the server through ssh and SFTP. When I test the login, it goes straight to the "/" directory, and I do not want that to happen. I want to make it so ...
1
vote
1answer
3k 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
votes
2answers
44 views

IPTables chains that just RETURN, as set via iRedMail [SOLVED]

I hate to ask this, but I'm pretty sure I have everything configured correctly with iRedMail as the host for my email server/VPS re dovecot, postfix etc (even though everything is pretty much done ...
0
votes
1answer
2k views

CentOS: DHCP Server and DHCP relay on same machine

eth0 IP: 192.168.1.100 Alias interface eth0:dhcp IP: 10.10.1.100 dhcpd.conf: authoritative; local-address 10.10.1.100; subnet 10.10.1.0 netmask 255.255.255.0 { range 10.10.1.10 10.10.1.50; ...
0
votes
1answer
1k views

What cause high CPU usage on the server during file upload

When I try to upload a huge file size (approx 2GB), the server cpu usage goes really high. What should I do to fix this? I just use standard html form and php, for file upload. I'm sorry if I post ...
15
votes
4answers
13k views

Official online RPM package browser / search for CentOS

I am looking for something that resembles packages.debian.org Debian Package Browser only for CentOS 5 and/or RHEL 5 [Red Hat Enterprise Linux].
-2
votes
0answers
14 views

Can't make Asterisk because pjsip.h is not found

I was following this tutorial to install Asterisk 13 on CentOS 7: http://jonathanmanning.com/2015/06/15/how-to-install-and-compile-asterisk-13-on-centos-7/ At one of the last steps, after I run "make"...
0
votes
1answer
2k views

Subdomain error: server DNS address could not be found

I'm trying to add subdomain to my domain. I just installed httpd on my clean centos 7. At first I created file /etc/httpd/conf.d/htmltest.mydomain.com.conf with the following contents: <...
14
votes
4answers
49k views

Centos 7 save iptables settings

Problem: iptables resets to default settings after server reboot. I'm trying to set rule like this: iptables -I INPUT -p tcp --dport 3000 -j ACCEPT after that I do: service iptables save and it ...
1
vote
1answer
2k views

Mounted NFS directory not writable by Apache / PHP

Need some help here with NFS. Here's what I have (all servers running CentOS 5.6 with SELinux): 172.17.20.1 - Primary server with static IP. Varnish redirects requests to the web servers. 172.17.20.2 ...
-1
votes
0answers
17 views

How to backup automatically File and Database from cpanel to Local Computer? [closed]

Recently I losed my all files and database due to my server provider terminated my server due to heavy bandwidth use, I dont have backup for recent edited file and database and i dont have time to ...
1
vote
0answers
30 views

Domain User home directory upon first login

I'm having some trouble setting up default files in the user home directory. The setup is a Centos 7, and I've successfully let it join the company's domain and authenticate through our AD. I'm able ...
-1
votes
2answers
25 views

DRBD Setup on 2 node CentOS 6.8

I have installed and configured DRBD on 2 centos nodes and after creating the metadata when i try to start the drbd service, its complaining that the module is not loaded. See below for more details. ...
-2
votes
1answer
13 views

Directory mounted on a newly created logical volume does not show a correct size

I have two physical hard drives on a Linux system (server / hosting), and I created a logical volume from sda3 (partition on disk A) and sdb (the whole disk B). I then mounted it on /home directory, ...
0
votes
2answers
1k views

Mysql 5.5 is not installed in CentOS 5.7

I am using CentOS 5.7 with 64 bit. In my machine already have MySQL 5.0.88 version. Now I want to upgrade MySQL to 5.5 version. I followed this link to start my installation process. When i give "yum -...
0
votes
2answers
97 views

Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?

On CentOS 7 Linux (acting as LAMP - and not "firewall/gateway") I have created a custom systemd service for running embedded Jetty at port 8080 as user nobody: [Unit] Description=WebSocket Handler ...
0
votes
1answer
26 views

Postfix Mail Server & hosted Gmail relay setup

I am trying to setup our web server so that it can send emails from various web apps to reset password etc. Our mail is hosted by Gmail with a custom domain eg. mydomain.com. Right now emails going ...
8
votes
3answers
5k views

How can I create a swap partition on Amazon EC2 with ephemeral storage?

This is the output of df -k: Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 10317860 7059008 2734732 73% / none 847584 0 ...
-1
votes
1answer
76 views

Memcached server with multiple webservers

I'm struggling for days now, I'm setting up my cloud infrastructure: 1 nginx Loadbalancer 2 Centos Webservers 1 Centos Memcached server On the webservers I've installed the php-pecl-memcached ...
0
votes
0answers
26 views

Home Directory Permissions - Google Cloud Compute

I've setup a Linux (Centos) instance on Google Cloud Compute, I've also setup SSH as described here - https://cloud.google.com/compute/docs/instances/connecting-to-instance. I and can now connect ...
0
votes
1answer
16 views

Centos 6 partition raid

Firstly, I am 20 years windows user. Recently, i decided move to unix and buy a centos server for my work. Today, i found that I missed a 3TB disk drive, it does not show on my system. I dont know ...