debian

Issue in getting deb package with dpkg command

Any idea for the following error while creating a deb file with the dpkg-buildpackage -rfakeroot command. " dpkg-buildpackage: host architecture i386 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make clean make[1]: Entering directo...

Can't build readline when trying to install Python 2.6.5 in Debian 4.3.2

I am trying to install Python 2.6.5 on my web server running Debian 4.3.2.1-1. I unpacked the tarball, ran "./configure --prefix /usr/", then ran "make". I saw this message. Failed to find the necessary bits to build these modules: _bsddb _hashlib _ssl _tkinter bsddb185 bz2 ...

How to install/upgrade Lisp libraries on Debian

I recently discovered that some of my favorite libraries have been removed from Debian, e.g., Hunchentoot: For a while now most Common Lisp projects do not do releases anymore, our plan is to move to proving a cl-build like environment inside debian I've looked at the mailing lists and Debian Common Lisp homepage and not found an...

How i say the interpreter version for wsgi apache

In debian recently change de default version of python from 2.5 to 2.6 but i need 2.5, how i can configure apache and/or wsgi script to say it use pythons2.5 and not python default? ...

debian cron bug or missing something?

I'm configuring a server in N.Virginia to have the same cron schedule as our 'old' server with America/Chicago timezone. I've edited /etc/timezone to have the value America/Chicago. I have the environment variable TZ=/usr/share/zoneinfo/US/Central . I've basically matched the old server, and both are on the NTP network. The cron schedul...

PHP-MySQLi connection randomly fails with "Cannot assign requested address"

Since about 2 weeks I'm dealing with one of the weirdest problems in LAMP stack. Long story short randomly connection to MySQL server is failing with error message: Warning: mysqli::real_connect(): (HY000/2002): Cannot assign requested address in .. The MySQL is on different "box", hosted at Rackspace Cloud Today we downgraded it's v...

How to install php 5.3.2 on debian from the command line?

Hi, i want to upgrade my php version on debian from the command line. Anyone knows how to do it? ...

I need my Debian rules file to simply copy files to it's target

I have a large project where we have the following files: A few 3rd party pre-compiled binaries Our own in-house binaries A collection of Ruby scripts A sizable Ruby on Rails project This product will be installed on appliance hardware that my employer has already selected, using Ubuntu Linux (Lucid) as the target O.S., with ...

How can I check apache modules version?

How do I get versions of apache modules on debian? I can get loaded modules list by apache2ctl -M - but how do I get their version numbers? ...

configure linux box to have a static ip

hi, I need to make a machine on my home network use a static ip address. It's a linux box. My question is can I make just my linux box use a static ip address where the rest of my network (which is comprised of all windows machines linked up to a router) uses dynampic ip's? It not so much the info on configuring the linux box to use a...

is_file or file_exists not working in apache but in CLI

Hi, I have a very strange behavior with is_file() or file_exists() function. <?php $nfsFile = '/mnt/nfsdir/file.txt'; var_dump(is_file($nfsFile)); ?> this code returns FALSE all the time, but: $#php -r 'var_dump(is_file('/mnt/nfsdir/file.txt'));' returns TRUE, which is correct. I'm running Debian Squeeze, Apache 2.2.15...

Using PyQt4.QtWebKit on a Debian server

Hi, I'm having a problem using PyQT4 on a Debian server. My script works fine on an Ubuntu Desktop machine, and I now want to deploy it on a server. Knowing it needed an X server, I launched one doing vncserver --display 800x600 :4242 I then exported the display : export DISPLAY=:4242 But my program keeps returning the error ...

Problem with MySQL driver for unixODBC on Debian Lenny

Hi, On OpenSuse 11.2, I successfully compiled, linked, and ran the following code which installs a data source for a MySQL database with unixODBC: #include <iostream> #include <sql.h> #include <sqlext.h> #include <odbcinst.h> /* Add a data source for the following MySQL db: db=testdb, username=test, password = test. */ void inst() { ...

Automatically bump versions when building a Debian package

I have a set of Debian packaging scripts and I would like the version number of the package to be incremented each time it is built. (i.e. debian_revision as specified in the Debian Policy Manual) That is, the first build should be PACKAGE-1.0-0, then PACKAGE-1.0-0, and so on (where 1.0 is the upstream_version). Is there an easy way to s...

Using GVim on Windows to edit remote Linux files?

Is it possible to use gvim to edit remote Linux files if I am running Windows? To elaborate, I would like to connect to the Linux server via Putty and then use my local gvim instance to edit the files on the server -- Is this possible? It seems x11 forwarding (via xming?) might be the solution but I cannot get it to work. The remote s...

Solr + Jetty Gives HTTP 503 on Debian

(This is a cross-post from servefault. I'm posting it here because no one answered my post there, and I feel that this sort of hits an awkward space half-way between both stackoverflow and serverfault.) I have modified the example project included with Solr for my needs (removing things like the example stopwords and defining my own sch...

Consuming bandwidth

I have noticed that when I download something from a torrent, if it is downloading at full speed, it will not allow the web browser to view any webpage, because the torrent program uses the full bandwidth. Just as an experiment, is there any other program which is able to do this constantly, i.e. use the full bandwidth of the internet c...

Consuming bandwidth

Dear Community, I know how to write a basic bash script which uses wget to download a file, but how do I run this in an endless loop to download the specified file, delete it when the download is complete, then download it again. ...

install rpcgen on debian lenny

Hey everybody, I am trying to compile VXI11 source codes on my debian - lenny, but I get this error: make rpcgen -M vxi11.x make: rpcgen: command not found Anyone know to rpcgen get intalled? Cant find solution. Any help is most appreciated. Thanks Petr ...

Debian/Ubuntu r-base-*, r-cran-*, revolution-r packages: porting to ArchLinux

Recently I've migrated to Arch Linux, after ~4 years being loyal to Ubuntu. Everything works like a charm, it's noticeably faster than Ubuntu, IMHO it's easier to customise, but when it is to do with support for R, well, Ubuntu takes a medal. I'm not willing to do another distro-shuffle and switch back to Ubuntu, while Debian is just "to...