centos

Minicom not capturing data correctly

Hi all, I have an issue where i have connected my linux server to a serial port. There is a continous flow of data from serial port which comes through epabx. In Minicom i get first call's data and from second call it goes offline. I dont see any data. Can some one help me on this. ...

yum install php-pear* on centos

Hi, I'm trying to install pear on my centos. I've used "yum install php-pear*" to install pear and it seemed to install with success. No errors. I restart my server. However when I check out phpinfo(). I see that my php is still built using "--without-pear". Isn't yum supposed to rebuild my php with pear? What would be possibly going...

PHP Kohana CentOS 5

Trying to deploy a Kohana based project in CentOS 5. Installed PHP 5.3.1 but still getting the following error. Warning: preg_match() [function.preg-match]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /usr/local/apache2/htdocs/icarus/system/core/utf8.php on line 30 Fatal error: PCRE ha...

How can I pause the sendmail outgoing queue, change the sending interval and send emails in batches?

Hi, I have a web server running CentOS 5.3, Apache and sendmail (and other bits and pieces). I am sending email from Apache using the local sendmail process. I haven't changed any of the default CentOS values for sendmail. I have 2 questions which have been bugging me for a while now... How do I pause the outgoing sendmail queue? I...

upgrade php to 5.2.12 on CentOS using yum

I tried to find a simple way to upgrade php on my centOS5 machine using yum instead of download the source and compile it again myself (I did it last time, but it's really difficult to get all the compile configurations same as CentOS's default). Anyway, I finally use the methods listed here: http://www.atomicorp.com/wiki/index.php/PHP ...

Is it possible to use VirtualHosts to setup dev environments on a CentOS machine?

Take, for instance, that I have www.blah.com, and I'm looking to setup a dev environment of our master branch @ dev.blah.com, and two environments for the two developers (myself and another) @ bdev.blah.com and @ kdev.blah.com. We're both working remotely via SSH. So, in summary: www.blah.com - main website dev.blah.com - master branch ...

SVN and DAV with EasyApache

Hi, I'm having a bit of a struggle trying to get SVN correctly set up on my Linux (Centos 5) VPS. I have EasyApache compiled with the mod_dav module enabled, but I'm struggling with where to go from here. This is my current set up: Centos 5 server Subversion 1.4.2 installed (via yum) SVN repos located at /home/repos I want to access ...

Configuring APC with Drupal

I am working on a website which is hosted on a VPS with CENTOS 5.4 i686 virtuozzo installed. I have a drupal installation on the server which gets around 100s of authenticated users at the same time.But at a certain point of time the server stopped responding and the site went offline. So, I tried installing the opcode cache - Alternativ...

Facing an error "*** glibc detected *** free(): invalid next size (fast)"

Developer environment: CentOS 4.7, Kdevelop 3.1.1, gcc 3.4.6 I run a java test client that loads a C++ shared library using JNI. There are three components in my application, Java client C++ shared library which acts as a JNI wrapper. (I will call it "wrapperlibrary") C++ shared library containing business objects. (I will call it "b...

How do I enable PDO using CentOS?

When outputting phpinfo(); I can see that PDO is set to '--disable-pdo' in the Configure Command section. How can I enable this using SSH? ...

How to add curl support to PHP 5 in CentOS

How to add curl support to PHP 5 in CentOS ? After installing curl and curl-devel, what are the things that I need to do to setup curl in PHP 5 ...

Loading C++ shared library through Java process on linux giving errors

(Developer environment: CentOS 4.7, KDevelop 3.1.1, gcc 3.4.6) I created a c++ shared library and a test executable that uses this shared library. Things work fine. But when I load this library through Java ie Java calls JNI which in turn loads this shared library, there is an error which states "* glibc detected * free(): invalid next...

Valgrind output showing addresses not code against errors

I am running Valgrind on my program. It shows me two errors but mentions only addresses against them and not actual code even on a debug build. Could you pls. help me understand what it says and how to reach the erroneous line of code? The output is ==23002== Memcheck, a memory error detector. ==23002== Copyright (C) 2002-2005, and GN...

How to update php-imap on Centos 5.4?

phpinfo: imap IMAP c-Client Version 2004 SSL Support enabled Kerberos Support enabled But imap_header() was crashed on this version library. http://bugs.php.net/bug.php?id=20254 and other Please, help me to update libc-client and php-imap on Centos 5.4 (php 5.2) ...

getting the POST request from web server

Hi I'm having troubles debugging a POST request I'm making from my web server to another web server. I'm trying to communicate with a SOAP web service but from some reason a code that worked well from local machine fails when executing on my server Looking for a way to see the post request my server make to the web service server web ser...

index.php not loading by default

I have just installed centos, apache and php when I visit my site http://domain.com/myapp/, it says "forbidden" by default its not loading the index.php file. When I visit http://domain.com/myapp/index.php, it works fine. Any idea how to fix that issue ? ...

Problem with Django setup using mod_wsgi and apache on centos 5.4

I am trying to setup apache with mod_wsgi to serve Django through a nginx proxy on CentOS 5.4. I want to start by configuring Apache with Wsgi to serve on a local port, but I get a 403 error when I run curl localhost:8080 # Httpd config: Listen 127.0.0.1:8080 NameVirtualHost 127.0.0.1:8080 <VirtualHost 127.0.0.1:8080> ServerName st...

Mono : Is it possible to host a web/wcf service from console application?

I know with .NET we can host wcf service from a console application without the need of webservers like IIS or apache. Is it possible to do the same with Mono 2.6.1 on a RHEL 5 or CentOS? Any links to any documentation will be highly helpful. ...

os.path.getmtime() doesn't return fraction of a second

I compiled python 2.6.4 for centos 5.3 and find this issue that os.path.getmtime() or os.stat().m_time doesn't have the fraction part. As per docs, if os.stat_float_times() returns True, then it should return float value. In my case, I do see it as float, but no fraction part (it is 0). In [3]: os.path.getmtime('/tmp') Out[3]: 12683391...

Automated incremental backups from Plesk on Centos to Amazon S3

Hi, I've done a far bit of research on this via Google and there seems to be quite a few ways of possibly doing this. I'm looking to incrementally backup new and updated files in two directories on my Plesk run Centos 5.2 server: /backups and /var/www/vhosts (preferable only httdocs within each vhost) Has anyone got some great feedback...