Questions tagged [centos]
CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.
10,680
questions
2
votes
1
answer
1k
views
Linux IP forwarding trouble
In my environment most of the servers have 2 network cards. A
primary/user network card used by the application, and a secondary/backup
adapter used for backups, bulk copies etc.
I just set up a ...
4
votes
1
answer
5k
views
Process monitoring and service manager for Python web application [closed]
We're setting up a Python web application using the CherryPy web server on a bunch of Linux servers (it's behind an nginx load balancer sending traffic to the various servers). We're in the process of ...
0
votes
1
answer
346
views
SMESERVER: Mail not receiving, 550 v=spf1 a -all
SMESERVER install has been working find for an age then this morning "The error that the other server returned was: 550 v=spf1 a -all", can anyone 'point' me in the right direction to resolving this ...
2
votes
1
answer
930
views
Best method to share ISCSI lun across cluster of app servers
I'm in the process of migrating our cluster to new hardware. We use bare metal servers, no virtualization.
Currently, we have around 30 "application" servers. When we make an update, we push the ...
11
votes
2
answers
14k
views
Can I change the ownership of all the files of a specific user?
Is there a way to recursively find all files owned by a user and change them to another user/group in Gnu/Linux?
I assume there must be some magic one liner but my command line wizardry skills are ...
3
votes
1
answer
3k
views
"net ads join" fails in puppet exec but runs OK directly from command line
I have the following exec that joins a Linux (CentOS 6) host to an Active Directory domain. When run as root from the bash terminal, it runs successfully and the host is joined to the AD domain ...
1
vote
2
answers
472
views
CentOS ssh connection stalls after server bandwidth upgrade
I have a few linux servers inside a customer that recently MASSIVELY increased his bandwidth - from about 0.8/5mbps to 25mpbs/100mbps... (yes 100mpbs!) this is very good, but ever since my WinSCP/...
2
votes
2
answers
4k
views
Openssl not getting updated to 1.0.1g in CentOS 6.2
After the heartbleed bug i have updated my openssl to 1.0.1g. But to my shock when today i see my server-status it shows me openssl version 1.0.1e that was vulnerable to Heartbleed.
I have upgraded my ...
-1
votes
1
answer
287
views
DNS zone and Nameserver misconfiguration
I can't open my site via domain name. I edited nameservers on my registrar account like this, ns1.mydomain.info x.x.x.197 and ns2.mydomain.info x.x.x.198. I set also on registrar custom nameservers as ...
-1
votes
1
answer
2k
views
Postfix virtual domains and Cyrus for imap
I am setting up a email server on a centos box where I am using the virtual(8) delivery agent within postfix so that I dont need to create a unix user for each email address, and I have set up Cyrus ...
4
votes
2
answers
3k
views
SSH authentication between my VPS and Bitbucket fail
I'm trying to setup SSH authentication between my VPS and Bitbucket for configure later automatic deployment via Capistrano (for web projects) and Capifony (for Symfony2 projects) so I follow this ...
2
votes
4
answers
3k
views
Install Fedora Source package on RHEL / CentOS
I'm attempting to upgrade curl on RHEL / CentOS machines. I've found what seems to be the appropriate source packages in a number of repos. (ie, http://mirror.centos.org/centos/6/os/SRPMS/Packages/...
1
vote
1
answer
11k
views
CentOS PAM unable to open /etc/pam.d/system-auth
In gdm I have checked "Require smartcard login" but forgot about adding any smartcard for authentication. Then I've tried to boot from LiveCD and disable SC auth. Something went wrong and now I am not ...
0
votes
1
answer
2k
views
DNS Zone Record: How to set up MX Record correctly? [closed]
I've been search for this for quite a while, and tried many different examples for weeks (because I usually have to wait a couple hours for the DNS change). Nothing made my mail() in PHP as well as my ...
1
vote
2
answers
1k
views
Is it possible to prevent DDoS attacks? [closed]
I recently read that certain industries—including the one I work in—are more likely than others to be targeted by a DDoS attack. Can you give me some tips on how to prevent DDoS attacks?
1
vote
1
answer
1k
views
How to setup Munin permissions?
I've just installed munin on my CentOS server but I can't get it to output anything to the html directory I set in /etc/munin/munin.conf
htmldir /home/mydir/munin
In /var/log/munin/munin-graph....
0
votes
1
answer
2k
views
Unable to access samba server
I can't connect to my samba server running CentOS 6.4 (minimal installation) that is not located within my network.
When I try to connect with my Windows 7 client, the connection fails and I get the ...
-2
votes
1
answer
461
views
Streaming Server Network Performance [duplicate]
I have server Linux based on
centos 6.5 final 64bit ,
ram 128 G.B
dual E5-2650 processor
Hard disk : 4 SSD Hard disk RAID-5
Network Speed 1/Gbps
Bandwidth Speed 500/Mbps up to 3/Gbps
My Wbebserv ...
0
votes
0
answers
4k
views
Where to locate certificates and keys on Centos 6.5
Looking at my Centos 6.5 /etc/pki/ directory, I see the following system generated directories:
[root@vps ~]# ls /etc/pki
CA ca-trust java nssdb rpm-gpg rsyslog tls
[root@vps ~]# ls /etc/pki/CA
...
0
votes
0
answers
30
views
Should I completely rebuild my server due to Heartbleed? [duplicate]
I have a CentOS 6.5 VPS server...
$ uname -a
Linux mary 3.14.4-x86_64-linode40 #1 SMP Tue May 13 12:25:05 EDT 2014 \
x86_64 x86_64 x86_64 GNU/Linux
When the news about the Heartbleed ...
0
votes
1
answer
99
views
Why can root see a dir but not a user?
I created a git repo on my vps through root and made it shared so a group of people have the ability to access it:
# mkdir example.git
# cd example.git
# git init --bare --shared=group
Initialized ...
0
votes
1
answer
8k
views
SSH problems - server unexpectedly closed network connection
Since yesterday I have problems connecting to my server using SSH/SFTP. I can only connect after a restart of my server. When I try to make a connection after a couple of minutes, I can no longer make ...
1
vote
0
answers
353
views
RabbitMQ server randomly, mysteriously stopping
I installed RabbitMQ on my EC2 box following the RPM install instructions from their website. My OS is CentOS. Every now and then, the rabbitMQ server just stops running, nothing shows up in the ...
0
votes
1
answer
122
views
handle multiple calls of rsync, dd and snapshot
The server runs the following operations often. It takes a snapshot of a logical volume, then backup up the content to the remote backup server. It is possible that multiple backups and transfer ...
1
vote
1
answer
16k
views
how to check ffmpeg if install on centos/php [closed]
hi there how can I be sure that ffmpeg is install in my server...
I tried this php code to check:
<?php
$ffmpeg = trim(shell_exec('which ffmpeg')); // or better yet:
$ffmpeg = trim(...
0
votes
2
answers
8k
views
Cpan module install fails
I am trying to install the Inline::MakeMaker Perl module (including Inline::C), but it fails when installing Inline::C (seems it cannot find "make", though make is installed under /usr/bin).
This ...
5
votes
1
answer
4k
views
Openssl hangs after client hello
I've got the following strange SSL connection error:
openssl s_client -ssl3 -connect host:443 -msg
CONNECTED(00000003)
>>> SSL 3.0 Handshake [length 0087], ClientHello
01 00 00 83 03 ...
0
votes
1
answer
922
views
XMLReader giving a timeout when opening external XML
I'm having a timeout when trying to open an external XML (which exists, I can see it in the browser when placing the direct link).
I am sure XMLReader is installed and on, and it works if calling a ...
0
votes
2
answers
159
views
Setting location of site on nginx
I have a pretty simple problem that I can't solve. I've been searching the web for some time but no good results.
I would like to change the default location of the site on my nginx server running on ...
1
vote
2
answers
2k
views
phpMyAdmin displays blank page after installing APC and memcached
I am running a LAMP stack on CentOS 5.6 with PHP 5.3. I had installed phpMyAdmin and it worked. I was able to log in and do anything. Then I installed memcached and its PHP extension as well as APC ...
0
votes
1
answer
2k
views
Linux empty buffer cache command permission denied
I'm using the following commands to flush cache:
# sync; echo 3 > /proc/sys/vm/drop_caches
# sync; echo 2 > /proc/sys/vm/drop_caches
# sync; echo 1 > /proc/sys/vm/drop_caches
When I use one ...
1
vote
0
answers
73
views
Poor large transfers behind NAT on Centos
I have the following set up.
A Centos 6.5 VM running on an ESX host, with a public IP4 address. It is acting as a gateway for (a bunch of) other Centos 6.5 VMs that are only connected to a virtual ...
-2
votes
1
answer
2k
views
CentOS 6.5 Connections drop randomly [closed]
I have a CentOS 6.5 installed on my ESX as a virtual server. When I working with my server via SSH (or any other connection on any other port), sometimes I lost any type of connection to my server for ...
0
votes
0
answers
110
views
Getting 403 after moving VPS to different directory
After building my website, I realized that our RAID is setup so that all of the space is allocated in /home/admin/ folder.
For that reason I copied all of my websites from /var/www/ to /home/admin/...
0
votes
1
answer
626
views
Can't use yum on guest - suspect port 80 forwarding in iptables on host at fault?
What's wrong with this set-up? Both host and guest are CentOS 6.5
Specifically, I can't run yum on the guest.
I can ping happily to/from the guest, including pinging mirrorlist.centos.org
If I ...
12
votes
1
answer
16k
views
Is installing a GUI on my CentOS server a good idea?
I have a new dedicated server that I'm going to create a couple of VMs on. OS will be CentOS 6.5, for the host and the VMs.
Does the GUI on the host (Gnome etc) give any real benefit when it comes ...
0
votes
0
answers
181
views
high mysqld cpu usage after moving to new server
Just moved to a new (more powerful) server with only one website running on it, no changes on the website, but now I got a horrible high CPU load and I can't find out why.
top:
top - 22:54:08 up 1 ...
1
vote
1
answer
1k
views
How to install MySQL 5.1 libraries on Ubuntu 14.04 or CentOS?
I've got two VMs: CentOS 6.5 and Ubuntu Server 14.04. Neither of their package management systems has the MySQL 5.1 libraries available (they both have MySQL 5.5). I need to know how to install the ...
0
votes
0
answers
103
views
Forward incoming email traffic
I have two CentOS servers - one for email and one for web hosting.
One domain, which we do not control, has the MX record incorrectly pointing to the web host.
What iptables config is needed to ...
0
votes
2
answers
10k
views
How to give my KVM guests network connectivity? [closed]
I'm completely new to KVM and the whole idea of virtualisation, but have been reading about it for a couple of days and playing with it for the last few hours.
Creating, installing, cloning etc... ...
0
votes
2
answers
7k
views
Latency on appearance of files written via NFS share
I have two CentOS OS servers, one acts a NFS file server, and the other as development server. The NFS server and client are running v3 of NFS. When the client writes to a NFS share I'm seeing an odd ...
0
votes
1
answer
550
views
logwatch on Centos 6.4
My logwatch is configured correctly and is working correctly when I issue manually
/usr/sbin/logwatch
I added it to root's crontab and it is listed correctly when I make crontab -l which gives:
0 5 ...
3
votes
1
answer
1k
views
Crontab - Unusual config - Skip a small weekly time window
I have a business requirement to run an unorthodox crontab schedule as follows:
Everyday run a script from 1-21
Everyday but saturday, run from 21-0
So I was thinking this would work:
5 1-20 ...
3
votes
1
answer
13k
views
PECL APC install --- ERROR: 'make' failed
I get the following error when running sudo pecl install apc.
/var/tmp/APC/apc_cache.c: In function '_apc_cache_user_update':
/var/tmp/APC/apc_cache.c:818: error: 'IS_CONSTANT_INDEX' undeclared (...
2
votes
3
answers
1k
views
Unable to start SNMP in RHEL5 64-bit
I have installed net-snmp, net-snmp-utils and net-snmp-devel in my 64-bit Centos5 using yum.
The following are the packages I've installed:
net-snmp-devel-5.3.2.2-14.el5_7.1
net-snmp-utils-5.3.2.2-...
1
vote
1
answer
2k
views
trying to install mongo but getting errors
I am following mongo site (http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ ) to install mongo on my centos 5.1o
I am getting following errors
sudo yum ...
0
votes
1
answer
249
views
Can't seem to install PHP-FPM5?
I am reading some advice on the internet for a solution to another issue I have. It requires me to change the listen to /var/run/php5-fpm/php5-fpm.sock.
I however don't have that folder.. I have a ...
2
votes
0
answers
4k
views
PHP Files being downloaded instead of displayed in browser
I created a VPS using Nginx and I tried to display the php info with: <?php phpinfo(); ?>.
Instead, the browser asks me to download the php file, and it's not parsed either.
This happens only ...
0
votes
1
answer
162
views
separate traffic between 2 different connections
We have:
1 LAN with dhcp and 2 gateways: 1 only for our voip provider, 1 for internet
a lot of PCs
1 server centos used for VOIP purpose
suppose lan is 192.168.0.0/24, we have GW1 (internet) at 192....
2
votes
2
answers
9k
views
Can't get PHP to work on Apache VirtualHosting environment
Trying to setup an Apache VirtualHosting environment with PHP in a freshly created CentOS node under DigitalOcean cloud server.
The trouble is, although Virtual hosting is working per se, PHP isn't. ...