I have an init.d script that looks like:
#!/bin/bash
# chkconfig 345 85 60
# description: startup script for swapi
# processname: swapi
LDIR=/var/www/html/private/daemon
EXEC=swapi.php
PIDF=/var/run/swapi.pid
IEXE=/etc/init.d/swapi
### BEGIN INIT INFO
# Provides: swapi
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: 3 4 ...
Hai.
I am trying to install What's Next GTD on my CentOS machine. The app requires sqlite3-ruby installed. So i tried installing ruby first. Unfortunately, the yum installation says : "No package ruby available". Yes i know there are similar topics which already discussed this. One of them was this. So i tried what was discussed back th...
I'm trying to install ImageMagick-6.6.3-10. I've downloaded and extracted the tar file and ran make install as root.
When running make check it says "1 or 48 tests failed". The failed test is: FAIL: Magick++/tests/attributes.sh
Any ideas what to do from here to get to resolve the failed test so everything's working properly?
(I'm runn...
The command g++ -o myprogram myprogram.c -std=c++0x works well on ubuntu but when I try the same with centos it throws me an error cc1plus: error: unrecognized command line option "-std=c++0x". Even google doesn't give the answer. Have anybody experienced it before? Does anybody know the solution?
...
My centos ext3 filesystem go read-only random(only the /var partition). When i reboot it, i will changed back to rw.
os: centos 5.4
partition: /var, size:80G
the /var is for web logs and mysql data file.
...
Hi All,
I am getting the below error while compiling Xen on CentOS
make -C firmware install
make[4]: Entering directory `/home/satyajeet/Important_Softwares/xen-4.0.1/tools/firmware'
Require dev86 rpm or bin86 & bcc debs version >= 0.16.14 to build firmware!
(visit http://www.debath.co.uk/dev86/ for more information)
make[4]: ...
Hello, I have configured a new email server for my company, we are using a cloud server on theplanet.com and a shared hosnting on bluehost.com, I configured the server using iredmail, all works great but when I try to test the dkim keys with amavisd testkeys it returns:
TESTING#1: dkim._domainkey.mydomain.com => invalid (public key: n...
my server has two ip's:
# IP one: 192.168.45.1 (allow MYSQL on Port 3306)
# IP two: 192.168.45.2 (disallow MYSQL on Port 3306)
.
how can i configure iptables, to drop incoming connections for a specific IP and allow it to the other?
.
#
# Allow MYSQL-Port only for 192.168.45.1!
#
/sbin/iptables -A INPUT -p tcp 192.168.45.1 --dpor...
Hello, i have install Qt44.* which includes libWebKit in order to compile and make the Cutycapt script/app as described at the project homepage (http://cutycapt.sourceforge.net/)
The script runs but it is unable to capture non-latin fonts (e.g. Greek). When doing a screen capture for websites with latin characters everything works.
The...
I have a crontab that looks like:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
0-59 * * * * /var/www/html/private/fivemin/zdaemon.php >> /dev/null &
Simple as possible, right?
zdaemon.php which I am just testing with is:
#!/usr/bin/php
<?
while(true){
sleep(1);
}
?>
Whenever it runs it hangs li...
I have upgrade the (pcre-devel-6.6-1.1, pcre-6.6-1.1) support on test linux machine having centos-5.0. I have restarted the apache, But in php information it is still showing the old version of PCRE (PCRE Library Version-5.0 13-Sep-2004), I want to upgrade this version
on machine please guide me to update this version.
Thanks in advanc...
Hi,
How can I install git on CENTOS 5.5 machine?
I tried to install it from yum but got following msg.
root@host [~]# sudo yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.mirrors.tds.net
* base: mirror.ubiquityservers.com
* extras: mirrors.serveraxis.net
* updates: pubmirror...
Hello,
Somebody can tell me an example of using locking mechanism based on futex? (for muticore x86 CPU, CentOS)
Thanks
Dima
...
Hi,
I am using grails 1.3.4 on windows xp and centos. Tomcat 5 on centos.
I do a 'grails dev war' and 'grails prod war' on an app (as well as a test app I've put together). I take the war file on xp and expand it in another dir. On the centos I can put the war file in tomcat and also in it's own dir. But when I go to run-war or run-ap...
I am using CentOS distribution and I need to install newer version then 7.15.5. I couldn't upgrade to nower using yum, so I download sources, compile and install without problem.
[root ~]# curl -V
curl 7.21.1 (i686-pc-linux-gnu) libcurl/7.21.1 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Protocols: dict file ftp ftps http https imap imaps ld...
I'm running APC (php cache) on a medium website (13 000 visits a day) on a CentOS server 5 running php 5.3.3 with APC 3.1.4 with 4Gb of RAM. In the last weeks I'm experiencing many "unable to allocate memory for pool" errors in logs, and often the site goes down.
I think the problem is in APC. From the stats I see that the cache is full...
I am trying to jail a user, not permitting it to access anything besides it's home directory. I have installed this Jailkit, and jailed a user named customer01 as it described at Jailkit's official site.
Seems I got everything correct besides some PAM configurations. When trying to switch the user to customer01 by su customr01 and typin...
When trying to run rlwrap tclsh I am getting this error message:
rlwrap: Could not open master pty: No such file or directory
What causes this? How to fix this issue?
P.S. I am running 64 bit CentOS.
...
I'm currently using Zend Framework in conjunction with PHPUnit to conduct unit testing on an application. When Hudson executes the PHPUnit shell command, the maximum PHP memory limit is reached sometime during code coverage generation. I currently have a total of 41 tests with 334 assertions.
I have successfully eliminated this error ...
I've followed the directions to install Docsplit from here (accounting for differences for CentOS of course): http://documentcloud.github.com/docsplit
I think I've got all necessary packages installed, but when I run "docsplit pdf " to convert a Word Doc to PDF, I get this error:
Exception in thread "main" org.artofsolving.jodconverter...