debian

Blog enginge that is multiblog capable and (optionally) has a debian package?

I guess this question is only semi-programming-related, but I couldn't think of another place to ask. The problem: I am sharing a debian server with a friend, and we host multiple wordpress blogs on the server. The multiblog mechanism for Wordpress provided by debian doesn't take care of having multiple "content" directories, though. As ...

Ghostscript: Spliting large PDF causes a "pdfmark destination page" error

I am trying to split a PDF into 2 smaller PDF's using gs (Ghostscript version 8.62 on Debian Lenny). I only have Debian Linux on hand, so please don't offer Windows or Mac solutions. When specifying -dLastPage=740, I receive the error: GPL Ghostscript 8.62: ERROR: A pdfmark destination page 1203 points beyond the last page 740. I ha...

How should I log from a non-root Debian Linux daemon?

I'm writing a new daemon, which will be hosted on Debian Linux. I've found that /var/log has root only write permissions, so my daemon cannot write log files there. However, if it writes there, it appears it will gain automatic log rotation, and also work as a user might expect. What is the recommended way for a daemon to write log en...

How can I prevent tons of apache processes spawning when I start apache and proceeding to kill my machine?

I have a highly trafficked application on one debian machine and apache has started acting strange. Every time I start apache, tons of apache processes are spawned, the app doesn't load at all, and very quickly the whole machine freezes and must be powercycled to reboot. Here is what I get for top immediately after starting apache: ...

Debian: How can I pull a single package with dependencies from another repository?

I am on debian etch and I want to pull subversion1.5.1 from testing though it is a production machine. I need to keep the risk minimal. Any hints? ...

ssh and window ids

I have a project to do in school which is baffeling me... I am SSHing into a Solaris computer in the computer lab from my own Debian box via ssh -Y name@***.cs.<school> I can get in just fine, and the X11 seems to be working also. However, this peticular project requires us to find the window id of a netscape window via xwininfo and...

Cross-Compiling JRE/JDK

Have somebody experiences with cross-compiling the sun-java5 source package (debian) from i386/i586 to the hppa architecture? Or know a source for java for PA-RISC? I've found only the Package for HP-UX. Kaffe/gcj are not able to run my third-party java application ...

PTP error in gphoto2 running against Linux kernel 2.6.21.3

In the hope that there is a gphoto or Linux kernel guru hanging around out there I am asking this question here. I am trying to build a custom front end to the Linux libgphoto2 library. For the moment I am using gphoto2 to call into the library. I am running this on an Etch (Debian 4.0) VM image as my testing machine. I pulled the source...

What do you think about the new Debian release cycle?

I was surprised to know that Lenny already promoted to "stable" - among some of my clients there is some fear that Debian would want to compete with Ubuntu for the desktop and forget its server devotion. "Only" 2 years between 4.0 Etch and 5.0 Lenny is unprecedented in Debian time scale. Version inflation? is it because SPARC-32 support...

Suggested resources for newbie ARM programmer?

I'm starting develop an application in embedded arm board from http://www.embeddedarm.com. I'm a newbie in developing embedded applications. I would like resources like books, online guides that will get me started in to develop applications in embedded arm. I was planing to use Linux as the OS. ...

How to solve TPTP Monitor error ( IWAT0435E ) in Eclipse, on Debian-based Linux?

After installing Test & Performance Tools Platform in Eclipse Ganymede on, whenever I tried to profile a Java application, I was confronted by the launch configuration dialogue which contained an error along the lines of: Error IWAT0435E could not connect to host How is this problem fixed? ...

How to run a php script through the command line

Hi I am trying to run a php script on my remote Virtual Private Server through the command line. The process I follow is: Log into the server using PuTTY On the command line prompt, type> php myScript.php The script runs just fine. BUT THE PROBLEM is that the script stops running as soon as I close the PuTTY console window. I need ...

Apache not using mod_rewrite.c

So I just setup a linode server with debian, apache, etc. and now I'm trying to get an app that I'm developing running, but it requires mod_rewrite.c. So naturally, I went to the directory of the application (happens to be in PHP if that matters) and created a .htaccess with this inside of it: <IfModule mod_rewrite.c> RewriteEngine On R...

Installing SciPy on Linux Debian

I'm a Linux n00b, and I want to install SciPy to help me on a homework asignment. This page has confused me more than helped me. I have been guiding myself on the INSTALL.txt file I got from sourceforge, which says PREREQUISITES ============= SciPy requires the following software installed: 1) Python__ 2.4.x or newer Debian pac...

NFS problems on Debian machines

I'm trying to share some directories with NFS among Debian machines. In order to do so, I installed nfs-common and nfs-kernel-server on the server machine. It seemed that starting portmap daemon lasted a long time and I get the following messages in /var/log/messages: Jan 30 18:18:03 zape kernel: portmap: server localhost not responding...

SSH to debian server instantly logs out

I'm trying to help someone with their Debian server. They have Plesk. I made myself an user with Plesk and enabled SSH access. I can log on ... but only for one second. I see the MOTD, I see a Debian disclaimer, then I'm logged out again. "Connection closed". The only thing I could think to try is to change the shell settings, Plesk h...

What would be the simplest system to send sms from linux server?

What would be the simplest system to send sms from linux server? It`s a Debian system. There would be not much SMSes. What hardware and software to use? Maybe use some SMS sending service? ...

Problems with IRQs when connecting two digium card in and asterisk box

I have two Digium Wildcard TDM800P with 8 FXO ports each. When I connect both at the same time IRQ misses start showing up making my computer unresponsive and unusable. One card works fine but I need all 16 FXO ports to work to receive calls from my Telco. Is there a way for the cards to communicate with each other so they don't genera...

LINUX: Upgrading a production machine

Our production machines are running on debian etch. Now, they finally released lenny, the day will come we need to upgrade these systems. How can I do this with minimal risk? Are there any premises, preparations of fall-back scenarios and do I need a plan B in case something goes wrong? Besides the binary packages handled by the debian i...

Does it makes sense to partition a dedicated server hard drive?

I am going to install Debian on our new dedicated server and I have a chance to set up hard drive partitions. The server has two 750GB drives configured as RAID 1. We are going to have 10 Postgresql databases, where each database will be about 2 GB. There will be of course Apache/PHP on this server too. We'll use the server for only ou...