CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RHEL.

learn more… | top users | synonyms

0
votes
2answers
5k views

problems with opendkim and postfix centos

Hi im having problems with opendkim signing mail. check my log. i fixed the permission issue by chowning that file. but still emails are not being signed. any clues? running on centos5 with postfix/...
0
votes
2answers
155 views

CentOS LAMP Stack: Permissions and Network Access

So there are really two main issues I'm having. I've created a VM with VirtualBox, using Bridge for the network setup. The OS I chose is CentOS and everything has been smooth thus far. I'm not at the ...
1
vote
1answer
399 views

cron jobs for php executing differently

I have setup dkim on my server using opendkim(centos). when php executes mail command(on website eg forgot.php). it sends an email signed with DKIM. but i also setup a cron job to run mailcron.php ...
0
votes
1answer
487 views

How to repair files from linux rescue

It seems that a lot of necessary system modules were uninstalled by mistake , so the original linux server doesn't function anymore and cannot be accessed through ssh or ftp. but I can access through ...
0
votes
2answers
144 views

On my new subdomain, HTTPS is looking at the www root, not the subdomain root

I have full server control (WHM, CPanel, CentOS 5). I set up a sub domain in CPanel. Now, a very odd problem to me. http://subdomain.site.com is properly going to its root path and displaying as ...
1
vote
2answers
856 views

apache error_log

I'm facing problem with apache. Following logs are showing in error_log file. --15:01:26-- http://bandits.ucoz.hu/autorun.sh Resolving bandits.ucoz.hu... 193.109.247.50 Connecting to bandits.ucoz.hu|...
1
vote
1answer
1k views

Centos 5 Apache 2.2 configure with mod_wsgi (missing apxs folder)

I have got a dedicated server and CENTOS 5,webmin and Apache 2.2 is already installed. They installed Apache at /usr/libexec/webmin/apache/ and it works great right now. I can restart and configure ...
1
vote
2answers
2k views

Is it possible to upgrade from CentOS 5.6 to 6?

Is it possible to upgrade from CentOS 5.6 to 6 ?
0
votes
1answer
363 views

resolv.conf cache behavior difference? Centos 5.6 vs AMZN Linux

Machine 1: Centos 5.6 AMI Machine 2: Amazon Linux AMI Beta I changed resolv.conf on both to get around an apparent DNS hiccup/lag last week, by appending 'nameserver 8.8.8.8' to the file. The CentOS ...
0
votes
1answer
335 views

Load balancing on outgoing direction on Centos server with multiple NICs

In my lab environment, I am doing a stress testing for a application running on 3 Centos 5.4 servers.All of the work of the application is recevie the data from network and make two copy on any other ...
1
vote
3answers
722 views

Apache not starting, nothing in log files despite being “debug” level

Our cloud hosting company decided today to upgrade all CentOS implementations to 2.6.39.2. Unfortunately this had an adverse affect on our Apache server, preventing it from starting with mod_ssl ...
13
votes
2answers
39k views

Upgrade CentOS 5.x to CentOS 6.x - tips and techniques

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few ...
0
votes
1answer
352 views

Apache 1.3 load increases until restart/graceful on CentOS/EC2. CPU usage climbs, and memcached access speed drops

When running a large mod_perl application on EC2, we've noticed that the CPU usage on the instance climbs gradually between restarts or graceful restarts. Current setup: CentOS 5.4, m2.4xlarge ...
1
vote
1answer
2k views

'setuptool' utility for CentOS 5.5 is not showing all the options I'd expect

I'm trying to setup a server for the first time. I'm running CentOS 5.5. In the book that I'm going through called "The definitive Guide to CentOS", it says in the chapter about setting up the Apache ...
2
votes
2answers
6k views

“bash: setup:command not found” error on CentOS

I'm getting the folling error message when I try to use the 'setup' application on CentOS 5.5 to configure the Apache webserver. bash: setup: command not found However, when I tried to install it ...
0
votes
1answer
274 views

why does my internet go down when running openvpn?

We are trying to put a openvpn server in our network. while we are testing, when the openvpn service is running, all other computers on the same network as the server lose internet connectivity. Any ...
2
votes
3answers
1k views

Centos 5 service command

My vendor send me a server with Centos5 installed. They have setup the machine to directly login with root account. With the root account logined, i can run command like this: service httpd restart ...
0
votes
1answer
40 views

Getting PHP5 To install

It seems I am stuck with a 4yo build of PHP (PHP4.3.9 Built: 2007) and I am trying to upgrade. Right now, it's like a traffic puzzle, or a vicious cycle, whatever you want to call it. I try to upgrade ...
0
votes
1answer
171 views

Can you load more files (instead of csf.allow) in CSF? like *.conf in Apache?

Currently I keep all of the blocked IPs for my CSF firewall in a single "csf.deny" file which is getting difficult to maintain. In an attempt to organize things a bit more (since not ALL of the IP ...
2
votes
1answer
497 views

Virtual box - How to add disks and move var, opt and home to them?

I created a CentOS 5.6 Guest OS Virtual Machine. I made the first disk 10GB, I am rapidly outgrowing it. It was suggested that I make disks for my /var, /opt and /home directories and move them so I ...
4
votes
1answer
6k views

CentOS 5.6 unexpected inconsistency how to repair?

This morning I found that my server was not responding and wasn't able to connect to it in anyway to do a safe reboot. I had to do pull the plug to reboot. Upon rebooting everything appeared to be ...
0
votes
2answers
2k views

Unable to access, make directories (and files) with ftp

I'm having trouble with my new server and accessing its directories. I updated my proftpd.conf with: DefaultRoot / No I'm able to see the root directory of my server. But, trying to access some ...
3
votes
1answer
11k views

how to uninstall JDK on centos x64 linux based system

I tried installing JDK in my CentOS x64 web server, it looks like I have made a hash of things :(... Now, how do I uninstall JDK 1.6.0_26 in Centos x64 linux? Regards, Arvind.
1
vote
2answers
3k views

How to install specific version of MySQL?

I installed from the repo, 5.0.77... including setup of PowerDNS (and the backend for MySQL). I tried setting up replication from my Master (which is MySQL 5.1.53) but it didn't work even though there ...
5
votes
2answers
7k views

rpm spec: conditional require based of distro version

I'm trying to write a single rpm spec for RHEL/CentOS/SL 5 and 6. This spec is for python app, so there is no differences in build process. But on RHEL/CentOS5 I need to add one additional dependency. ...
1
vote
2answers
1k views

mod_rewrite and VirtualHosts: how to redirect 1 site, but keep the others?

I host 4 virtual hosts at a dedicated CentOS 5.6 server: # rpm -qa|grep http httpd-2.2.3-45.el5.centos.1 One of them is my Drupal 7.2 site and another was holding static texts and fotos belonging ...
1
vote
3answers
245 views

Help with user login on Centos 5.6

I added a user for the sole purpose of using SU for root. I did not allow the creation of a home directory when creating the user. So now when I login as this user I get the following: Could not ...
2
votes
1answer
2k views

How to create user in Centos 5.6

I have a VPS with Centos 5.6 running on it. I have WHM gui running and create users but they have to be associated with domains. In a terminal can I create a user that is not associated with a domain?
0
votes
1answer
372 views

Pre/Post deploy script to change file ownership?

We are running CentOS 5.6 on a dedicated server. I am planning on deploying our Magento store changes using BeanstalkApp (www.beanstalkapp.com) which offers pre and post deploy hooks. My username for ...
1
vote
3answers
3k views

Cannot get nscd to run. DNS cache stale as a result

I'm trying to troubleshoot an issue on a MediaTemple server (running CentOS5) where the DNS cache has grown stale - I think because nscd has crashed. I've tried restarting nscd: # service nscd ...
1
vote
1answer
448 views

sendmail: deny all, allow only matched recipients

Warning: Total Sendmail noob here. Is there anyway to restrict sendmail so that it can only send mail to specific email addresses, either by list or pattern (preferred) Ideally I'd like to be able ...
3
votes
2answers
11k views

How to auto-start MongoDB on CentOS reboot?

How do I setup MongoDB so that it will start back up automatically after a server reboot? This is on CentOS 5.5. I start it with the following command, but if the server reboots, I have to login to ...
-2
votes
1answer
2k views

Is it possible to Web Browsing on CentOS Server?

i want to remote server for Web Browsing to restart my router is it possible? if yes, could you tell me a solution ?
0
votes
2answers
726 views

Failing to build ape server on centos

I'm trying to build an ape server on Centos 5.6 but getting the following message: /usr/bin/ld: cannot find -lmysqlclient_r collect2: ld returned 1 exit status make: * [modules] Error 1 How can I ...
0
votes
3answers
3k views

Cannot get CentOS 5 to update - Yum Errors

I'm used to Yum on CentOS 5 being a total pig and breaking every other week, but until now I've always been able to fix the problem by simply running: yum clean all And then updating normally. Not ...
0
votes
2answers
2k views

vsftpd does not start [closed]

I installed VSFTPD on CentOS but when I try to start the service it fails. What can I do?
1
vote
1answer
188 views

openvz node with only one vps

I have an openvz server with 2Gb ram and would like to configure a vps for use all server resources (no swap). I run: vzsplit -n 1 -f vps1 -s 0 and have this setup: Configuration file generated by ...
1
vote
1answer
428 views

ssh problem at CentOS 5.6

After installing CentOS, when I try to remote connect via ssh it show an error like this. How can I resolve this? Siam-Wannakosits-MacBook-Pro:~ragopor$ ssh root@192.168.1.10 @@@@@@@@@@@@@@@@@@@@@@@@@...
2
votes
4answers
36k views

How do I change my locale to UTF-8 in CentOS?

Here's the output of locale: LANG=zh_CN.GBK LC_CTYPE="zh_CN.GBK" LC_NUMERIC="zh_CN.GBK" LC_TIME="zh_CN.GBK" LC_COLLATE="zh_CN.GBK" LC_MONETARY="zh_CN.GBK" LC_MESSAGES="zh_CN.GBK" LC_PAPER="zh_CN.GBK" ...
4
votes
2answers
909 views

SELinux & ncsa_auth in Squid

I'm trying to enable SELinux on a CentOS 5.5 server with Squid 3.1.12 that handles authentication via ncsa_auth. When I turn off SElinux everything works fine, but when I enable it, Squid crashes on ...
2
votes
1answer
428 views

Hide folders in samba

I have a samba server running on CentOS 5.6. When I browse the the server from Windows 7 computer I see a share that I did not assign. I have already looked through the /etc/samba/smb.conf there ...
2
votes
1answer
2k views

Windows XP and SAMBA

We have a CentOS 5.5 server that is running kernel 2.6.18-194.32.1.el5 and SAMBA version 3.0.33-3.29.el5_6.2. We have a hidden share created that we use to map network drives to. This was working ...
-1
votes
1answer
3k views

Unable to decompress a .gz file on centos. gunzip: filename.tar.gz: not in gzip format

I am trying to install the latest apache ant to centos. I did as follows: wget http://ant.apache.org/bindownload.cgi/apache-ant-1.8.2-bin.tar.gz gzip -d apache-ant-1.8.2-bin.tar.gz and I get the ...
0
votes
2answers
2k views

What causes the error “Error: Device 0 (vif) could not be connected. Hotplug scripts not working.” on CentOS5.6 x86_64 with Xen kernel?

I have 10 domU's on my CentOS 5.6 server running Xen kernel. All 10 are set to start on system boot; however, for just 1 of the machines, I get this error: Error: Device 0 (vif) could not be ...
0
votes
2answers
905 views

can't connect to MySQL from localhost on Centos 5

I have a fresh install of Centos 5.5 on a new VPS and MySQL seems unable to resolve the keyword 'localhost' - if I use 127.0.0.1 instead it works fine. I checked the /etc/hosts file which is as ...
1
vote
1answer
1k views

Install Twisted on CentOS 5.5

CentOS 5.5 is using the old python 2.4 ! But I want to install Twisted on it ! Does anyone maintain a RPM of this library ?
1
vote
1answer
136 views

VPS (LAMP) Runs out of memory every so often

I have a VPS on CentOS 5, running LAMP. Twice now in the last 3 months the server has had to be rebooted due to being out of memory. Downtime ends up being an hour, before someone can look at it. I ...
0
votes
2answers
740 views

CentOS and PXE Boot

I am working on setting up a PXE boot server based upon a minimal installation of CentOS 5.6. I have installed CentOS 5.6 with the the first CD using the minimal installation method. Next, I ...
2
votes
1answer
268 views

build RHEL6 kernel on Centos 5?

I have an existing Centos 5.5 box that really needs a couple features available in kernel version 2.6.32 and up. Is it possible to take a RHEL6 kernel and build it on my Centos 5.5 installation? I ...
0
votes
2answers
2k views

why CSVN do not run anymore?

An unknown service is causing the server to crash. I then stopped and started those services, but the CSVN does not run and makes the server slow when I start the service. When I do a rollback this ...