I am trying to track down an issue with a cURL call in PHP. It works fine in our test environment, but not in our production environment. When I try to execute the cURL function, it just hangs and never ever responds. I have tried making a cURL connection from the command line and the same thing happens.
I'm wondering if cURL logs ...
Hi
I am working on a maven project to build a simple utility api. The same source code when build on my office win XP machine, was successful. Now i am at home and working with same source code on CentOS machine. Here the build process failed strangely. The error it reports is ideally in my points should we warning message. As shown be...
I'm trying to build libopenmetaverse on CentOS however I get the following error. I'm not this kind of developer and am installing this for someone else to use. This is just the part of the build that fails. Any ideas?
[nant] /opt/libomv/Programs/WinGridProxy/WinGridProxy.exe.build build
Buildfile: file:///opt/libomv/Pr...
Very strange for me:
# uname -a
Linux localhost.localdomain 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
# pwd
/root
# python
Python 2.6.5 (r265:79063, Apr 11 2010, 22:34:44)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> im...
Hi all,
I have centos 5.3 with Mozilla Firefox 3.5.5 and installed java jre-1.6.0_14 but when i open any web page which include java mozilla ask me that required package is missing. I have also enabled java in mozilla. What else i can check to fix this.
I opened http://www.java.com/en/download/help/testvm.xml to test my java and i got ...
I'm trying to run a .jar file on my centos box, but it says "java: command not found".
What's the best or easiest way to solve this? I was hoping for a yum command but not sure that that will exist for java?
...
Hi,
I am running Linux (2.6.18-164.15.1.el5.centos.plus) and trying to install pyodbc. I am doing pip install pyodbc and get a very long list of errors, which end in
error: command 'gcc' failed with exit status 1
I looked in /root/.pip/pip.log and saw the following:
InstallationError: Command /usr/local/bin/python -c "import...
Is there a way to make a backup of package that will be change while yum update? For example when I do yum update lighttpd is there a way to backup and restore lighttpd if yum update will be unsuccessful or it will result in unsuspected errors or bugs?
...
I am trying to redirect /folder to / using .htaccess but all am I getting is the Apache HTTP Server Test Page.
My root directory looks like this:
/
.htaccess
-/folder
-/folder2
-/folder3
My .htaccess looks like this:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/folder/
RewriteRule ^(.*)$ folder/$1 [L]
What am I doing wrong? I che...
I just upgrade the PHP version in my VPS to 5.3.2
I used FastCGI and worker MPM in php 5.1.2 or 5.2.1 I forgot, it worked fine, and it was so fast, I like it.
After I upgrade the PHP version, it gives me Internal Server Error 500 on all .php pages.
What is wrong? does FCGI support php 5.3.2?
If yes, there should be some differences in...
Hi I have created XYZ.desktop file. And the code for that desktop file is given below
XYZ.desktop
Version=1.0
Encoding=UTF-8
Name=XYZ
GenericName=Generic Piece Of Software
Exec=startXYZ
Icon=/usr/local/XYZ/XYZ.png
#Categories=Network;InstantMessaging;
StartupNotify=true
Type=Application
Terminal=false
Name[en_US]=XYZ
startXYZ
#!/bin...
I'm trying to compile svg2pdf on centos. I think I've managed to get the required dependencies installed using yum:
sudo yum install librsvg2
sudo yum install cairo
The Makefile contains:
MYCFLAGS=`pkg-config --cflags librsvg-2.0 cairo-pdf` -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -
Wneste...
I'm using YUI compressor jar file to merge and minify a number of JS and CSS files. This works great on my mac, and on my CentOS 5 server.
Now I bought another CentOS VPS and the same script is not working on that pc. The minification gets done, but my minified javascript starts throwing errors.
When compressing the same files with the...
Trying to install mysql-python. Got following error. Got mysql and pythond already installed. Any help will be highly appreciated
[root@uu include]# easy_install mysql-python
Searching for mysql-python
Reading http://cheeseshop.python.org/pypi/mysql-python/
Couldn't find index page for 'mysql-python' (maybe misspelled?)
Scanning index o...
I'm working on a project where I need to batch convert files to multiple media formats, some of which will be streamed to iPhone. I'm using ffmpeg on a CentOS server, and have been using mediafilesegmenter locally to create m3u8 playlists, and it's gone swimmingly, but, in trying to get the process going on the unix server, I can't seem ...
Hello,
I need to add java to my PATH on one of my Linux servers, to do this I edited the bashrc and added,
PATH=/usr/local/jdk1.6.0/bin
export PATH
Since then I have not been able to use simple bash commands like ls nano locate cp is there any way I can fix this? The OS of the server is CentOS 5 with Plesk 9 (64-bit), can anyone help...
I develop C++ applications on CentOS 5.4 and we came across several inconvenient situations with gcc 4.1.2 like inability to debug local variables in class constructor which is a confirmed gcc bug (same problem with scoped variables).
I'm considering to upgrade to higher gcc version. What version should I choose for production environmen...
I'm working on an RPM spec for centos and it needs to install the shared libraries to /usr/lib64 if the arch is 64 bit and /usr/lib otherwise?
...
In Running on CentOS5 + DirectAdmin.
I own a VPS, but for security reasons I just want to give all managenent only to 'reseller' user.
With a resseler user I have script, which connects to ressellers DA and creates an user.
My problem is - how to copy a directory tree with ~10000 of files, which is located in 'resellers user' ftp, ex....
We are building a web app and will need to send emails on a frequent basis using php's mail() function. We are using it to send mails when e.g. a user signs up for the app, when a client has a new product order, and so on.
What do we install best on our CentOS server to make this happen? I've read a lot about sendmail vs. postfix vs. ot...