redhat

Use PHP mail to send via smtp

Hello all, Does anybody know if you can configure php's mail() command so it will only use an SMTP server rather than the local sendmail? We are having trouble with emails being marked as spam. Our server is running RedHat 5 Enterprise. I am aware of various PHP libraries that act as an SMTP client but I'd rather configure PHP so mail...

Linux Mysql Memory requirements

I have: 32 bit - Red Hat Enterprise Linux Server release 5.1 (Tikanga) Mysql 5 10G RAM What are the memory allocation limits with respect to mysql? Maximum memory usage possible. Any supporting documents from redhat site? ...

PHP Warning starting PEAR - Unable to load dynamic library 'php_mysql.so'

Everytime I run PEAR, I get this error: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so' - /usr/lib64/php/modules/php_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 I've reviewed /etc/php.ini and not found any reference to php_mysql.so. /usr/lib6...

Where can I find the source code for Redhat's nash utility?

Where can I find the source code for Redhat's nash utility? Thanks, Chenz ...

Python Module To Detect Linux Distro Version

Is there an existing python module that can be used to detect which distro of Linux and which version of the distro is currently installed. For example: RedHat Enterprise 5 Fedora 11 Suse Enterprise 11 etc.... I can make my own module by parsing various files like /etc/redhat-release but I was wondering if a module already exists? ...

How do I get gcc-3.2.2 on RHEL 5?

Hi, We just had our hosting provider build out a new RHEL 5 box for us to test some legacy stuff on: uname -a: Linux myserver.foo.com 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 03:29:54 EST 2009 i686 i686 i386 GNU/Linux cat /etc/redhat-release: Red Hat Enterprise Linux Server release 5.4 (Tikanga) gcc -v: gcc version 4.1.2 20080704 (Red Hat...

Redhat AS 4 seg fault calling magic_buffer using Java 1.6

I have a java class that calls a C++ class via a JNI C++ class to access the 'file' command functionality provided by libmagic.so. The C++ class compiles and run fine as a C++ main() -It works fine on RHEL 5 running java 1.5 and 1.6; -it works fine on RHEL 4 running java 1.5 -it throws a seg fault 26234 on the RHEL 4 with java 1.6 ...

Tomcat 6 Heap Size - Is this correct?

I am running multiple tomcats on a Red Hat box and I would like to configure separate heap size for each of them (some instances use more memory). Can I set the heap size min/max bt entering the following into the catalina.sh file: CATALINA_OPTS="-Xms64m -Xmx256m" Do I need add 'export'? i.e. export CATALINA_OPTS="-Xms64m -Xmx256m" ...

JBoss training and certification from Red Hat?

Has anyone taken JBoss Application Administration course or any other courses from Red Hat? How much the emphasis is on Enterprise version over Community edition? How about JBoss Certified Applications Administrator (JBCAA) test? Easy to pass without course? ...

MySQL query running fine on v4.1.22 but not working on v5.x

I have an application that executes the following MySQL query: SELECT 402 AS user_id, p.id AS perm_id, p.name AS perm_name, lc.business_division_id, bd.name AS bd_name, bd.current_cycle, bd.current_moon, lc.name AS cycle_name, ...

Building linux application through Vmware

Hello, I used to develop using Visual Studio on windows... (C++) we recently migrated our app to linux (red-hat) , and currently each employee is building his own app is his own virtual machine using Vmware. out native OS is still Windows. At first, it seemed that building using g++ was faster then using VS compiler, however, after so...

Linking against NPTL for pthread function pthread_condattr_setclock

I've written some pthread code that use timed waits on a condition variable but in order to ensure a relative wait I've set the condvar's clock type to CLOCK_MONOTONIC using pthread_condattr_setclock(). In order to compile and link pthread_condattr_setclock() on RHEL4, i've had to add -I/usr/include/nptl and -L/usr/lib/nptl to my gcc co...

Does ACL on Linux impact performance.

We are planning to implement ACL on our Linux platform. Only one particular group is going to come under ACL. This group would have at the max 20 users. All of the restrictions would be at directory level (not at file name level) Would this show any impact on the server's performance/responsiveness? ...

Periodical status messages by Jopr?

Hey everyone, I'm evaluating Jopr 2.3.1 to monitor a JBoss 4.2.3 Application Server. Jopr, based on the better known RHQ Project from Redhat, supports to send email notifications triggered by so called alerts. Alerts can be defined to react to certain changes of system parameter such as metrics (e.g. 'Active Thread Count', 'JVM Free Mem...

c++ binary read/write problem

I've looked at binary reading and writing objects in c++ but are having some problems. It "works" but in addidion i get a huge output of errors/"info". What i've done is Person p2; std::fstream file; file.open( filename.c_str(), std::ios::in | std::ios::out | std::ios::binary ); file.seekg(0, std::ios::beg ); file.read ( (char*)&p2, s...

using mysql system user

What are the possible disadvantages / pitfalls of using linux system user 'mysql' to work with mysql server instead of creating a separate use? ...

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. ...

Update RHEL 5.1 to 5.4

Hi all, I have a server currently running RHEL 5.1, and I would like to upgrade it to RHEL 5.4. The server is not connected to the Internet, so I don't think I can use "yum update". How would I be able to upgrade my server, and is it just a small-scale upgrade, like Windows patches, leaving everything on the server intact, or would it...

what is the oldest glib version that a qt 4.6 application can run with

I am trying to build a standalone qt application (built on ubuntu and deployed on Red Hat 5.3, both 64 bits) after building a qt application that is statically linked to the qt library I tried to run the program on red hat and got an error saying libc.so.6 was not found and that GLIBC_2.9 or GLIBC_2.10 is not installed and needed. I tr...

How can I update fontconfig to a newer version in Red Hat 5.3?

I want to update fontconfig to a newer version but it seems that the OS is still finding the old fontconfig and I need the newer version to build qt. How do I make Red Hat 5.3 see the newer version? I do not know if this helps but when I did a search for fontconfig I found some files in a folder called cache. When I do yum update it t...