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.

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Jailkit not locking down SFTP, working for SSH

I installed jailkit on my CentOS 5.8 server, and configured it according to the online guides that I found. These are the commands that were executed as root: mkdir /var/jail jk_init -j /var/jail ...
doublesharp's user avatar
-1 votes
2 answers
3k views

How to restore php.ini in CentOS [closed]

I have a problem in restoring my php.ini in the server. I was changing some line but I accidentally cut off and save. Any idea how to restore it back? Environment: CentOS release 6.3 (Final) ...
ninjascorner's user avatar
3 votes
2 answers
2k views

How to redirect third party logs to log server in Centos

I want to setup a simple log server to accept logs from all clients. I am not talking about standard system logs such as /var/log/mail , message, boot etc. I want to redirect or send application logs ...
chandank's user avatar
  • 867
3 votes
1 answer
923 views

How can I determine which queues/directories are being processed by SendMail queue runner?

I've got a CentOS box running multiple instances of sendmail. Each of those instances have separate queue directories. As far as I know, I only have a single queuerunner process and I'm not sure if ...
Mike B's user avatar
  • 12k
1 vote
2 answers
2k views

Need to install just libswresample.so.0 on Centos 6 - how? (for FFMPEG)

I'm trying to get ffmpeg running on a Centos 6 machine and it has been uphill the whole way. I thought I had got it but when I go to use ffmpeg I get the error: ffmpeg: error while loading shared ...
sprise's user avatar
  • 113
1 vote
2 answers
3k views

apxs cannot install mod_cloudflare on centos

[ Linux - CentOS - Apache 2.2 - mod_cloudflare - apxs2 ] I have changed my nameservers to point to CloudFlare. The problem is that all the IP addresses are coming in as CloudFlare's. This is no good, ...
Adam's user avatar
  • 117
0 votes
2 answers
201 views

WIldcard SSL Subdomain Not Pointing at Correct DocumentRoot

I have a Wildcard SSL installed on my Apache server. With the code snipplet below, the following works: http://test.com (points to /var/www/html) https://test.com (points to /var/www/html) http://s1....
user1062058's user avatar
1 vote
2 answers
4k views

crontab: command not found in CentOS

I tried to setup a cron job in my new CentOS VPS server over SSH. I typed in the command crontab -e and I got the following error message:- -bash: anacrontab: command not found Any idea how I can ...
Sparky's user avatar
  • 213
2 votes
2 answers
3k views

What's faster, cp -R or unpacking tar.gz files?

I have some tar.gz files that total many gigabytes on a CentOS system. Most of the tar.gz files are actually pretty small, but the ones with images are large. One is 7.7G, another is about 4G, and a ...
Buttle Butkus's user avatar
3 votes
2 answers
25k views

Cron not running CentOS

What am I doing wrong here? Trying to set a cron job to run a shell script but it won't work. I entered the below after doing crontab -e. It does show up when doing contrab -l. 0 2 * * * root /root/...
RonnieT's user avatar
  • 133
2 votes
4 answers
13k views

Centos INODES usage

We are using Centos & cPanel server but we have a important problem for INODES usage. "df -i" command showing for / directory using 6 million inodes!. When I check number of files for / ...
MSTF's user avatar
  • 23
1 vote
1 answer
882 views

Force proxy settings (Solaris\Linux)

I have tried the following from the command line in solaris: DATE TIME user@host> bash bash-3.2$ export http_proxy=http://localhost:8080/ bash-3.2$ echo $http_proxy http://localhost:8080/ ...
user974896's user avatar
3 votes
1 answer
2k views

nginx reload failing: `object version does not match bootstrap parameter`

I added a server stanza to my virtual.conf, and now nginx seems to have a problem reloading the config. At this point I don't know what exactly is going wrong or how to debug better. Any help would ...
Jean Jordaan's user avatar
2 votes
1 answer
462 views

CentOS 6.3 Virtual under OpenVZ cannot ping, host lookups, outbound connections while postfix running

My best theory is that some kernel limit is being hit preventing outbound connections. We have tried basically everything from tcpdumps to provisioning an entirely new virtual server (we do not have ...
Paul Cravey's user avatar
1 vote
1 answer
565 views

Get total file size of all specified folders recursively

I'm using svn on a project and I'm trying to see how much file space all of the .svn folders are taking up. If I do something like du -h | egrep ".*\.svn$" It will list all of the .svn folders and ...
Steve Robbins's user avatar
5 votes
1 answer
52k views

Apache running as root instead of user specified in httpd.conf

I'm trying to enable WordPress to upload files to the wp-content folder without setting permissions for the folder to 777. However, I'm having some difficulties. The group and user set for the wp-...
Windows Ninja's user avatar
1 vote
5 answers
438 views

Is it possible to delete the last line within a file using a command?

I've accidently distributed a line to /etc/crontab on many servers and i noticed that there's a typo in this line and i need to change it on all servers.
Itai Ganot's user avatar
  • 10.8k
1 vote
1 answer
5k views

Centos 6.3 OpenSWAN doesn't find my connection

I've been tearing my hair off in frustration for too long and decided Serverfault might be able to help. Could anyone somehow explain this? I've reinstalled openswan/ipsec with purge multiple times, ...
Lars's user avatar
  • 578
-2 votes
1 answer
186 views

How to support CentOS 6.3 [closed]

i'm just new with linux and basically what i need to do is that I have an installer (an application) that supports CentOS 6.0-6.1. I really don't know what to do . my boss asked me to install this ...
jessa's user avatar
  • 1
8 votes
7 answers
49k views

Clear OS always showing "Operation too slow. Less than 1 bytes/sec"

Have been trying to install clear os addon but nothing is working as i am facing this error on every mirror in the .repo file. # yum install squid http://mirror2-dallas.clearsdn.com/clearos/core/6/...
Blue Gene's user avatar
  • 113
5 votes
4 answers
2k views

Is there a chroot build script somewhere?

I am about to develop a little script to gather information for a chroot-jail. In my case this looks (at the first glance) pretty simple: The application has a clean rpm-install and did install ...
Nils's user avatar
  • 7,745
1 vote
1 answer
2k views

Run .sh (no service) file on startup

How to execute a script once at startup time on CentOS 6.3? I added file with following containment #chkconfig: 2345 95 20 #description: Some description sh /opt/somePath/my.sh into /etc/ini.d and ...
MyTitle's user avatar
  • 571
1 vote
1 answer
3k views

Subversion 1.7.x and expat location in configure [closed]

I am running CentOS 6.3 64bit and DirectAdmin control panel. Currently I have installed Apache Subversion 1.6.19 without any problems. I have installed expat and expat-devel and neon-devel using yum. ...
ditto's user avatar
  • 19
2 votes
0 answers
785 views

High load average, low CPU and IO (Centos 5.7)

A Drupal 7 site with CiviCRM, after running smoothly for a year on a 1&1 VPS suddenly became unresponsive. Now pages eventually load, but can take more than a minute. Looking at resource use in ...
Ben's user avatar
  • 21
3 votes
3 answers
8k views

Centos 5.8 locale warning

A friend is running CentOS 5.8 on his server. It's a mostly harmless error but I'm tired of seeing it. I'm more familiar with debian, so I'm not sure how to generate or reconfigure locales. The ...
Poe's user avatar
  • 321
0 votes
1 answer
72 views

Moving Servers but Keeping Older Versions of PHP, Apache, etc

Old Server CentOS 5 PHP 5.2.14 New Server RHEL 6 PHP 5.2.14 Thus far, I've been compiling PHP 5.2.14 from source which has worked fine but now I'm realizing installing php-devel from rpm will ask to ...
Michael's user avatar
  • 506
1 vote
1 answer
1k views

CentOs 6.3 can't install Git

I am trying to install git on an OpenVZ container using the CentOs 6.3 precreated template. When I try the command line yum install git I get the message: Loaded plugins: fastestmirror Loading ...
drivard's user avatar
  • 407
1 vote
1 answer
10k views

Write-error on swap-device, Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK

My root server at 1&1 was unresponsive on HTTP and SSH, so I logged into the serial console . It flooded my connection with endless error messages like quoted below. I initiated a reboot and now ...
Jan's user avatar
  • 145
0 votes
2 answers
4k views

I cannot telnet www.google.com 80 on my centos, why?

On my centos I have a problem. I cannot: [root@server]# telnet www.google.com 80 telnet: www.google.com: Name or service not known www.google.com: Unknown server error [root@server]# However I can ...
Phil's user avatar
  • 265
-1 votes
1 answer
2k views

How to determine if OpenSSL and mod_ssl are installed on centos6?

I need to connect to a CentOS 6 server via SFTP. What are the requirements to make or accept SFTP connections? I think I need to have OpenSSL installed, along with SSL certificates installed in both ...
mahen3d's user avatar
  • 4,432
2 votes
1 answer
1k views

Windows 2008 running as KVM guest networking issue

I have a strange networking problem with Windows 2008 server R2, running as guest under KVM-Qemu host. Host is CentOS 6.3 x86_64. It's network settings: # cat /etc/sysconfig/network-scripts/ifcfg-br0 ...
Evolver's user avatar
  • 636
1 vote
1 answer
1k views

Can you stop a SYN Flood attack with .htaccess?

[Linux - CentOS - Apache - VPS] Last week my servers came under a SYN Flood attack, my hosting provider took some steps and resolved the issue. One of the things that they did was turn on SYN Cookies....
Adam's user avatar
  • 117
3 votes
1 answer
2k views

Installing checkinstall on x86_64 bit [closed]

I downloaded the source for check install. checkinstall-1.6.2.tar.gz. I then tar -xzvf checkinstall-1.6.2.tar.gz Then I make. It prints this error: [root@ip-50-63-180-135 checkinstall-1.6.2]# make ...
SephMerah's user avatar
  • 159
1 vote
1 answer
5k views

nmb: unrecognized service when installing Samba

I've followed these steps to install Samba on my CentOS package. However, when I try to run chkconfig --level 345 nmb on, I get a nmb: unrecognized service error. I tried service nmb status and ...
Luke Shaheen's user avatar
0 votes
1 answer
94 views

Is it possible to migrate OS X Server user passwords to Linux?

I have an FTP server running on OS X Server 10.6 and I would like to migrate it to CentOS. Is it possible to migrate user passwords from OS X Server to Linux?
VitaliyBSD's user avatar
1 vote
2 answers
1k views

Trying to install Mumble on CentOS

I am trying to install mumble on my CentOS VPS following these directions: http://www.hosting.com/support/linux/install-the-mumble-voip-server-to-redhat-or-centos When I get to this line: rpm2cpio ...
ErocM's user avatar
  • 226
-1 votes
3 answers
199 views

Does changing web hosts (changing a domain's nameservers) affect the private nameservers / glue records created under that domain?

We currently have a virtual dedicated server with GoDaddy and have 4 domains under it. I ended up creating private nameservers under, say mydomain_a.com, and have ns1.mydomain_a.com and ns2.mydomain_a....
Kris's user avatar
  • 1
4 votes
3 answers
12k views

Install xdebug for php 5.3.17 on centos 6.3 (final)

I'm really having difficulty finding out how to install xdebug for php 5.3.17 on centos 6.3. I've tried this link (for centos 5.6 admittedly) but had no luck. Can anyone point to the right RPM ...
Larry B's user avatar
  • 261
6 votes
2 answers
5k views

UCARP: prevent the original master from taking over the VIP when it comes back after failure?

Keepalived can do this by combining the nopreempt option and the BACKUP state on the both nodes: Prevent VRRP Master from becoming Master once it has failed Prevent master to fall back to master ...
quanta's user avatar
  • 51.8k
13 votes
5 answers
51k views

CentOS openLDAP cert trust issues

# LDAPTLS_CACERTDIR=/etc/ssl/certs/ ldapwhoami -x -ZZ -H ldaps://ldap.domain.tld ldap_start_tls: Can't contact LDAP server (-1) additional info: TLS error -8172:Peer's certificate issuer has ...
84104's user avatar
  • 13k
0 votes
1 answer
3k views

Installing mod_ssl on Centos, dependency issue

I'm installing a SSL certificate for a currently productive CentOS 5.8 (final) So I runned this: yum install mod_ssl and got this: Error: Missing Dependency: httpd = 2.2.3-65.el5.centos is needed ...
Mauro's user avatar
  • 386
0 votes
1 answer
3k views

Post compiled php 5.4 curl installation

I recently compiled php 5.4 from source. I have Centos 6. I used this configuration: # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql # make # make install # cp php.ini-dist /usr/...
user140657's user avatar
5 votes
1 answer
586 views

When should one use EPEL 5 or EPEL 6?

I am not familiar with repos, and I don't get why there are several versions of EPEL (this is a bit philosophical I know, but I am afraid I am missing something in all that). Should I just look ...
lajarre's user avatar
  • 171
6 votes
1 answer
5k views

Why is visudo saying there's a syntax error?

I'm using CentOS uname -a Linux mydomain.com 3.2.29-48.63.amzn1.x86_64 #1 SMP Sat Sep 15 01:43:12 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux I'm trying to add this command to my /etc/sudoers file using ...
Dave's user avatar
  • 89
0 votes
2 answers
4k views

Not possible to extract tar.gz archive in Centos

I have just uploaded tar.gz archive to my Centos server from my home Windows 7 computer. Before that, it was extracted from .zip archive. When I try to extract it: tar -xvf file.tar.gz gunzip file....
Petuga's user avatar
  • 1
0 votes
1 answer
205 views

Hardware RAID in CentOS 6.2

I have a ServeRAID-BR10il SAS/SATA PCIe Controller RAID O and 1 Standard. Do you have any suggestions how to install it in CentOS 6.2? All the tutorials I found are only software RAID. Hope you guys ...
reena saur's user avatar
6 votes
1 answer
8k views

What are the security implications of disabling requiretty in sudoers?

If we add the following lines to sudoers: Defaults requiretty Defaults:apache !requiretty apache ALL=NOPASSWD: /etc/init.d/httpd graceful What are the security implications? My understanding is ...
Haluk's user avatar
  • 963
10 votes
4 answers
61k views

Can I delete error log files in apache. Will it cause an issue? [duplicate]

Possible Duplicate: Logrotate configuration for httpd (CentOS) can I delete error log files in apache. Any issue? Because it eats my server space
user avatar
-1 votes
1 answer
109 views

Installing MySQL in CentOS 6.2 with RAID 1

Is the installation of MySQL in CentOS with RAID1 the same as that of none? If not, what are the changes in the process of installation?
reena saur's user avatar
1 vote
1 answer
539 views

Cant Login to Cpanel After installing [closed]

I have installed Cpanel on a CentOS by these commands : cd /home wget -N http://layer1.cpanel.net/latest sh latest /usr/local/cpanel/cpkeyclt After that i lose GUI of CentOS , then i go to webpage ...
user avatar

1
140 141
142
143 144
214