centos

Default Unix test page raplacement

I hast my site on Unix, using CentOS. Is there a way to modify the default CentOS screen? Where is the file stored? ...

twisted on centos missing mail.smtp?

I'm trying to get buildbot running on centos5, and getting the following error: File "/usr/lib/python2.4/site-packages/buildbot/status/mail.py", line 14, in ? from twisted.mail.smtp import sendmail, ESMTPSenderFactory ImportError: No module named mail.smtp I have the following twisted packages installed (and don't see anything e...

How to generate core dumps for daemon processes in centos?

Hi, I have some daemon processes that crashes every now and then and I want to know how I can enable core dump generations. I know that by default on linux ulimit for core dumps is zero so I need to set it to unlimited if I want to see core dumps for processes that I am running. But what I want to do is to generate core dumps for daemon...

How to prevent memcache storing an incomplete page when someone clicks away prior to page load completion?

I'm fairly new to memcache so apologies if this is an obvious one. I have looked through the memcached documentation and tried various Google searches but to no avail. The setup : Drupal 6.19 Memcache API and integration module Authcache module Centos 5 Memcached 1.2.6 If you need further information let me know. The situation : M...

What is the minimum/ideal memcached stack for a dedicated memcached virtual cluster

Currently I am considering: VMWare Hypervisor ESXi CentOS 5.5 Memcached 1.4.5 and dependencies That is ALL. Is there anything else I need/any substitutions? ...

Will learning to use Fedora also teach me my way around Redhat (CentOS)?

I want to dive into the open source world and start using a Linux distro while learning to program. I've looked over the options and it pretty much boils down to Fedora or CentOS. The reasoning behind it is I'm hoping to kill two birds with one stone... Redhat seems to be "the choice" for servers, so I figure as I learn to program, I ca...

which of these two servers are likely to do better under heavy http load?

As the title asks, the reason I'm asking is because I have a wordpress site which gets about 10K visitors per day on a dedicated server from iweb but in the evenings, around 8 to midnight the site crawls to a halt and page load time goes up to about 12 seconds or more compared to 2-3 during the day. Checking my google analytics its shows...

Apache user privileges in Centos

Hi I'm using the shell_exec command from a PHP script: $output = shell_exec('ls -l'); print_r($output); Terminal: php test.php Which results in the directory listing as expected. Switch to my browser I get no output. I need to grant privileges to the user 'apache' so that it can execute certain commands, or add the user to a group ...

update autoconf to at least 2.6

I have autoconf 2.59 on CentOS 5.5 and need to upgrade to autoconf 2.6. What is the best approach for this? I tried yum update autoconf but theres no luck ...

MySQL Connector with mod_mono and mono 2.6.7

I've been having quite a bit of trouble getting an MVC2 web application to find the MySQL connector. I am running CentOS 5. I've installed the DLL into the GAC using the 2.0 version of the tool $ mono /usr/local/lib/mono/2.0/gacutil.exe -i v2/mysql.data.dll Installed v2/mysql.data.dll into the gac (/usr/local/lib/mono/gac) I verify t...

init.d celery script for CentOS?

I'm writing a Django app that uses celery. So far I've been running on Ubuntu, but I'm trying to deploy to CentOS. Celery comes with a nice init.d script for Debian-based distributions, but it doesn't work on RedHat-based distributions like CentOS because it uses start-stop-daemon. Does anybody have an equivalent one for RedHat that use...

How to have colors in vim when :syntax on does nothing ?

Hello, Logged as root on a CentOS 5.3, I can't have colors in vim (7.0.237, minimal, common and enhanced rpms), even with :syntax on ... I can display colors with other commands, so I have colors (I don't know how many !) Any clue ? Thanks. ...

centOS server openoffice headless

Hi, I am trying to start openOffice as a service on CentOS(non-graphical) server. soffice -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1 How ever I am getting below error Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "...

Will app built with gcc 4.x on CentOS/RHEL 4.8 run on completely un-updated CentOS/RHEL 4?

We have a commercial application that we build on 32-bit CentOS 4.8 (equivalent to Red Hat Enterprise Linux (RHEL) 4 update 8. The default gcc compiler is at 3.4.6 We are able to run our binary on both 32- and 64-bit CentOS/RHEL 4 and 5 including completely un-updated RHEL 4. THE QUESTION: If we update to a newer gcc 4 version, will t...

How to change Putty SSH login IP address?

I have a CentOS Server which have multiple ip addresses. If i`m using various ip address to login in to my server via SSH to browse other website, the ip address sent to other website is the main ip address of the Server. For example: My CentOS Server have this IP addresses: 11.22.33.134 (the main) 11.22.33.34 11.22.34.210 11.22.34.43 ...

tcp message incomplete

hi, I'm using html5 websockets, dev.w3.org/html5/websockets/, and php socket functions, php.net/manual/en/ref.sockets.php. My problem is that messages sent from the client using websockets to the server are being truncated to a maximum of 1449 bytes. When I set net.ipv4.tcp_timestamps to 0, a couple extra bytes are received. I am using ...

Setup "open files" limit in Linux per user. Cannot setup more than 1024

I try to increase open file limit for certain user on CentOS 5.5 Linux. I added a new line to /etc/security/limits.conf: seed hard nofile 10240 Then do test: runuser -s /bin/bash - seed -c "ulimit -S -c 0>/dev/null 2>&1; ulimit -a" 0 core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited...

Tcl Dev Kit: can't find package starkit

I am not able to wrap the most simple TCL application using TclDevKit5.2. I on 64 bit CentOS, and here wat uname -a returns: Linux hp1 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux When typing: /opt/TclDevKit-5.2/bin/tclapp -out wrap empty.tcl (here empty.tcl is an empty file) it generates ...

When I'm using VMware Workstation, Can I access the localhost of my Guest server from the Host?

I'm newbie to the linux and apache server configuration so please give me some advice. I installed VMware in my WinXP and installed CentOS5 to it. After I set up Apache server in my CentOS, I can access that server from my CentOS(of course). But is there a way to access that from my Windows? I think that is definitely possible if some...

How do I install Sphinx on a CentOs 5.5?

Newbie here.. Hello there I want to install sphinx search to my CentOS 5.5. I just need to know the commands, for the full installation. If you could write a simple numbered manual that would be appreciated. ...