centos

PHP queue jobs in centOS

I wrote a PHP shell script which include queuing jobs in centOS with 'at' command. The queue jobs may vary in time and contents which means the system need to keep quite a large number of jobs. The application logic will also be a bit difficult to setup with cronjob. Is there a limit in number of queue jobs in centOS or is there any alte...

BASH apache to seek particular file name

i want to find every log file named 'justjoe_log', on an apache server. I want to delete them all. how do i do it ? ...

CentOS: make python 2.6 see django

In a harrowing attempt to get mod_wsgi to run on CentOS 5.4, I've added python 2.6 as an optional library following the instructions here. The configuration seems fine except that when trying to ping the server the Apache log prints this error: mod_wsgi (pid=20033, process='otalo', application='127.0.0.1|'): Loading WSGI script '...

Development packages for X11 for CentOS

Hello, Some one know what are development packages for X11 for CentOS 3? Thank you for ahead ...

Having problems building Cairo on x64 CentOS

I've done this many times on 32 bit CentOS and everything went ok without a hitch. But now, on x64 CentOS, I can't get cairo to find pixman. Pixman 0.18.0 is installed in /usr/local/lib (which I believe is the usual location). Configure for Cairo 1.8.10 can't find it: checking for cairo's image surface backend feature... checking for ...

Problem with glaux.h locating

Hello, I try to compile code, that beggins with: #include<stdlib.h> #include<GL/gl.h> #include<glaux.h> with command: cc -o test test.c -I/usr/local/include -L/usr/local/lib -lMesaaux -lMesatk -lMesaGL -lXext -lX11 -lm But one of errors I got is: test.c:3:18: error: glaux.h: No such file or directory Then I try: yum provides ...

more details in Jboss console ?

Dear all, I am new to JBOSS 4.2. when I start the server on CentOS 5.4(final). it give me simple log in its console. How I can show deployment errors, messages that wars print in Jboss log ? Thanks in advance 15:46:24,207 INFO [Server] Server Log Dir: /home/mebada/jad/jboss-4.2.3.GA/server /nops01/log 15:46:24,207 INFO...

Java: How to tell which fontconfig file my system is currently using?

Hello, I am trying to debug a font-related issue in a third-party Java application. Specifically, ChemAxon JChem. I've been consulting this guide: http://java.sun.com/j2se/1.5.0/docs/guide/intl/fontconfig.html Part of the problem, is that I'm not sure which fontconfig.properties.src file my Java setup is currently referencing. Here are...

Installing JavaHL 1.6 on CentOS

Hi. I'm looking to install the 1.6 version of JavaHL on CentOS, which proves to be more tricky then expected. Has someone succeed doing so and can point a repo for this? Thanks in advance. ...

dummy questions about keystore?

Dears I am new to java and jboss I tried these commands on my Centos5.4 final machine where I can find the .JKS and .dat files ? keytool -export -keystore myhost-keystore.dat -alias myhost -storetype JKS -storepass jonpassword \ -file myhost-cer keytool -import -keystore truststore.dat -alias myhost -storetype JKS -file myhost-cert -no...

sscanf + c99 not working on some platforms ?

When I compile a simple Hello World! program that uses the sscanf function on my local Debian lenny x64, it works. But when I upload the same program to the server running CentOS x86, it will not work. If I do not use sscanf, then the program works on both computers. gcc -std=c99 -O2 -pipe -m32 If I compile it with sscanf but without -...

How to prevent a specific directory from running Php, Html, and Javascript languages?

Hi, Let's say i have an image uploader script, i want to prevent the upload directory from executing Php or even html by only showing it as plain text, i've seen this trick in many websites but i don't know how they do it. Briefly, if i upload evil.php to that directory, and i try to access it i will only see a plain text source , No ht...

Installing Git in Home Directory - CentOS 5 - NO ROOT

At work, development doesn't have revision control. By this I mean that we are only allowed to check into the P4 depot when the change set is ready for regression testing. We can't check in intercolary changes! There are a host of problems with having no revision control during development that I don't need to go into here. Instead, I...

Installing Pycurl on CentOS?

Hi folks, I'm finding it to install pycurl on CentOS 5 quite the mission impossible. This is the error I'm getting: >>> import pycurl Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: libcurl.so.4: cannot open shared object file: No such file or directory Some help would be beyond amazing. :| ...

Help with squid proxy on VPS

I've spent the past 2 days attempt an install of squid caching proxy on my hostgator vps. I've gotten all the way up to the point where I turn the squid service on and always end up with the same issue "ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied" in the squid log. Here is the log from squid itself: 2010/04/20 16:12:5...

CentOS 5.4 and Rubyworks -- its getting old

The Rubyworks repository is a great solution to getting a newer version of the ruby stack installed on CentOS, however, its beginning to show its age with ruby 1.8.6 (2007-09-24 patchlevel 111)... Are there other repos or up-to-date packages already built for CentOS out there or must I resort to compiling from source? ...

Git repo planning questions

At work, development uses perforce to handle code sharing. I won't say "revision control", because we aren't allowed to check in changes until they are ready for regression testing. In order to get my personal change sets under revision control, I've been given the go-ahead to build my own git and initialize the client view of the perf...

PostGreSQL load increasing over time, why?

It's a CentOS server (I don't know the specs) and just before anybody states the obvious, keep in mind these mitigating factors: the server does a nightly VACUUM job all the tables are indexed it's pretty much read only (meaning the DBs are not increasing in size) the number of queries being ran has been the same every month Here's a...

`php -v` segmentation fault

I'm getting an odd segmentation fault in PHP. Every few times, when I run: php -v I see: PHP 5.2.6 (cli) (built: Aug 19 2009 16:59:56) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault (core dumped) Analyzing the core dump (backtrace with gdb): #0 0x00002ba641...

How to upgrade php on server running Plesk Virtuozzo!?

How on earth does plesk actually work? I have a VPS which is on centos 5.2 and has php 5.1.6. I have updated plesk to version 9.52 and it claimed to do some form of php update but it hasn't as far as i can see. How can i update to php 5.2 (centos 5.4) without breaking plesk Virtuozzo?! Plesk seems to be some kind of crazy black magic th...