Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.

learn more… | top users | synonyms

0
votes
1answer
85 views

Debian source control and bug tracking server - what's a good backup plan?

I run a subversion source control server from my house on a debian machine. I will be setting up Jira for bug/project tracking very soon so I now have the necessary motivation to put a proper backup ...
2
votes
4answers
2k views

How do I get url rewrites to work on Apache 2.2 on Debian Lenny

I am trying to get mod_rewrite rules to work under apache 2.2 on Debian Lenny. To try to get it to work first I put the rules in /etc/apache2/mods-enabled/rewrite.load: RewriteEngine On RewriteRule ...
4
votes
3answers
1k views

Limited bandwidth and transfer rates per user

I searched for a while but couldn't find anything concrete, hopefully someone can help me. I'm going to be running a Debian server on a gigabit port, and want to give each user his/her fair share of ...
2
votes
3answers
8k views

Setting Up FTP user accounts on Debian

I'm trying to set up an FTP account on my server which is running a Debian install and proftpd. I'm in need of some basic commands that will allow me to view, edit, create ftp users. I'm also not ...
2
votes
1answer
2k views

How do I redirect one port to another on a local computer using iptables?

All of the port forwarding examples I can find are for NAT, which is not what I want. We have an HTTP server application that only binds to 1 port at a time. However, we need to bind to an additional ...
0
votes
2answers
1k views

Force all outbound HTTP connections through a proxy

We run a few society websites behind a University firewall that mandates that all traffic goes through an internal squid cache / proxy. While export http_proxy= works perfectly in the shell I'm ...
1
vote
1answer
3k views

Debian preseed late_command is not executed

On /var/log/installer/cdebconf/questions.dat i says this: Name: preseed/late_command Template: preseed/late_command Value: wget ...
1
vote
1answer
1k views

I've been hacked, and now I'm a bit confused about some things

I noticed yesterday that my site has been hacked, and I'm really confused about some things at this point. All of the files - as far as I can tell - that were edited or added were done so with a ...
1
vote
4answers
139 views

Possible Ethernet card fault

We have a server in a server room with 100mbit internet access. Hardware: supermicro C2SBX Software: Debian lenny We use the integrated network card since 7 months. The past 1 month the ...
0
votes
4answers
307 views

Obtaining root access to linux machines [duplicate]

Possible Duplicate: Lost Root and other user passwords I have a number of linux machines (debian and ubuntu) left from a former system administrator. There's no way to find out root ...
2
votes
3answers
617 views

SSHd listen on OpenVPN's IP ?

I've got a server with SSH and OpenVPN services. I'd like to make sshd listen only on the openvpn ip. The problem is, until openVPN is up and tun0 is set, sshd can't be bind to the openvpn's ip. I'm ...
0
votes
1answer
110 views

What is the best approach for setting up a good, secure smtp server on Debian?

Which server do you recommend? (postfix?) Which configuration for authenticating users for sending mail? Which setups for making it inbox friendly (dkim, spf, domainkey etc)? Is there some detailed ...
0
votes
2answers
1k views

DOMPDF generation error

I have a big problem at my work. We had to make a page who displays a exercise for the users. But that page need also to be available as pdf. To do this we used DOMPDF. This worked perfectly on your ...
4
votes
4answers
297 views

Horde on Debian: packages or upstream?

I'm currently using the Horde projects IMP, DIMP, MIMP, Ingo, Kronolith, Mnemo, Nag, Turba and Sork. I ignored the (rather outdated) Debian packages and installed the upstream versions. A few years ...
7
votes
4answers
8k views

Any way to make service do not autostart in Ubuntu/Debian, but leave K00 scripts in place?

I need to have only stop scripts in rcN.d (runlevels 0,1,6) for apache2. So that I always start it by myself, but when reboot occurs server will shut down apache2 properly. And when I change runlevel ...
1
vote
2answers
248 views

Issues when upgrading OpenSSL?

We are running an old version of OpenSSL 0.9.7e and would like to upgrade to the most current. Our server is running Debian, and I am wondering if there would be any issues with just upgrading it ...
1
vote
3answers
341 views

What git binary I am using?

I just installed git 1.6.0 from source, but strange thing now happening to me: debian:~/git# git version git version 1.5.6.5 debian:~/git# which git /usr/local/bin/git debian:~/git# ...
2
votes
3answers
13k views

Debian network bridge configuration - /etc/network/interfaces

I'm running a Lenny Xen dom0 hosting multiple virtual machines in a routed IP setup. To get an additional private subnet, I created the bridge xenbr0 in the dom0 with the following commands: brctl ...
0
votes
3answers
5k views

L2TP iptables port forward

I'm setting up port forwarding for an L2TP VPN connection to the local Windows 2003 VPN server. The router is a simpel Debian machine with iptables. The VPN server works perfect. But I cannot log in ...
2
votes
2answers
770 views

Secure Apache Virtual Hosts?

I am going to host a few small sites on VPS, and each of them are going to run my own custom PHP scripts. I am fairly certain that they are secure (did everything in the book, plus some of which is ...
2
votes
2answers
1k views

I can't get rid of apache2

It's obvious that I am a newbie with server administration; my goal is to reach the knowledge needed to working with web services. I played with my Debian server, and I messed up apache2; Now I want ...
1
vote
3answers
167 views

Installing from Debian's unstable repository

How do I make apt-get install from Debian's unstable repository?
4
votes
2answers
11k views

Enable PUT method on apache for any php script

I would like to enable the PUT and DELETE methods to any .php script on my Apache web server. Currently I only have this answer : The requested method PUT is not allowed for the URL ...
2
votes
2answers
123 views

Log Problem and bash script

I have 11 Debian servers running on rackspace cloud hosting. All running VHCS2 for hosting management. 1 server is used for application and 10 are used for only smtp. My question is regarding smtp ...
0
votes
1answer
383 views

Debian Server wont reboot from script

I have a script that is run to backup a server via Rsync, after that script is run I want the server to reboot. My script is run as root from the Crontab at 3am in the morning. #!/bin/bash ...
0
votes
1answer
701 views

How to easily upgrade MySQL 5.0.32 to MySQL 5.1.20 or higher on Debian Etch?

I have a home server running Debian Etch with MySQL 5.0.32 on it. I'm not much of a Linux administrator but two years ago I installed the server and it runs fine. I used the official MySQL package for ...
1
vote
1answer
328 views

Remote Debian System Preventing Logon

I have a dozen or so single board computers on a network running Debian (squeeze) and access them via ssh (ssh server is dropbear). To give an idea of the hardware of these computers they're 1.2 GHz ...
0
votes
2answers
7k views

SOCKS proxy on Debian

How do I configure a SOCKS proxy on a Debian box such that I can enter the host address in the firefox proxy configuration page, and use my box as a SOCKS proxy? I've heard of dante-server, but I ...
1
vote
1answer
480 views

Debian package with init.d without autostart

I'm trying to create a package which contains the init.d file, but doesn't try to start the daemon right after the installation. Currently, I'm using scripts created from the dh_make template. Right ...
0
votes
1answer
855 views

FTP Server vsftpd change ftp:nogroup

I'm running vsftpd using the Debian Lenny package. ftp:nogroup is the user/group that uploads files and owns uploaded files. However, a problem is arising - another process is also writing files to ...
4
votes
1answer
124 views

Linux servers in a (primarily) Windows (AD) environment

When I arrived at my current position, our environment existed almost exclusively of Windows servers. However, I am a big fan of using Linux for certain applications, like the webgallery I was asked ...
2
votes
1answer
1k views

debian out of memory error server crash

the server keeps crashing due to apache, is there any way i can stop this, the server has 2GB swap space and 3GB ram May 25 03:33:41 server kernel: [ 3513.200719] [<c015959c>] ...
1
vote
1answer
614 views

screen -Amds screenname /patch/to/script.sh don't work only on debian

I have a problem with screen software, when I try to start screen with options screen -Amds screenname /patc/to/script.sh - nothing happens, it's a problem only on Debian system. On CentOS and FreeBSD ...
5
votes
4answers
3k views

mysql connection is slow (5seconds)

After building my webapp on a first boot i create 2 connections to mysql on debian then 1-2 (r/w) for every page after that. The connection consistently take 5.2 seconds to connect. Debian is in a VM ...
74
votes
7answers
101k views

How to determine JAVA_HOME on Debian/Ubuntu?

On Ubuntu it is possible to have multiple JVMs at the same time. The default one is selected with update-alternatives. But this does not set the JAVA_HOME environment variable, due to a debian policy. ...
0
votes
1answer
2k views

apache2 slow responding (debian)

I'm running an apache2 2.2.9 webserver with modpython and mpm_worker_module. The current config for the mpm is ServerLimit 32 StartServers 10 MaxClients 800 MinSpareThreads 25 ...
2
votes
3answers
464 views

How do I determine the linux server software/version and email server software/version running

I just inherited this a single linux box running pop/smtp for a small office (25 users). I'm new to Linux. I think the box is running Debian GNU/Linux 5.0 as the server (this is bannered accross the ...
0
votes
1answer
1k views

can't connect with Putty after editing configuration of SSH

I was editing PuTTY's config file /etc/ssh/sshd_config. I didn't know how to save the file (:w and :q) so I quit PuTTY. It crashed the file so I reopened and saved it. But now PuTTY tells me: Access ...
3
votes
2answers
2k views

Can't get PostgreSQL to run in Debian Lenny

I'm trying to install PostgreSQL 8.3 on Debian Lenny (kernel 2.6.26-2-686) using the package manager: sudo apt-get install postgresql-8.3 postgresql-client-8.3 postgresql-contrib-8.3 ...
1
vote
3answers
5k views

Write permissions on uploaded files - Linux, Apache, PHP

I am working on a PHP script that transfers files using FTP functions. It has always worked on my production server (which is a hosting service). The development server I have just setup (I am a ...
1
vote
4answers
273 views

Which OS should I chose for my VPS?

I am about to order a virtual private server now, and have no experience in any Linux OS whatsoever. I am a fast learner however... My VPS provider provides these OS: Ubuntu 8.04 LTS Ubuntu 8.04 LTS ...
3
votes
2answers
96 views

How to manage unprivileged administration of system services using Debian?

At our lab, we have several services handled by different phd students (like myself). Fluctuation is high and people do the job next to their research duties. Until now, services were running on ...
2
votes
3answers
2k views

Surprising corruption and never-ending fsck after resizing a filesystem

System in question has Debian Lenny installed, running a 2.6.27.38 kernel. System has 16Gb memory, and 8x1Tb drives running behind a 3Ware RAID card. The storage is managed via LVM, and is ...
0
votes
1answer
148 views

How do I use apt-file with the Debian installation media?

I have several servers that cannot reach the Internet and want to use apt-file on them. I've extracted the contents of the five DVD ISOs (for Lenny/amd64) and can use apt-update/apt-upgrade via HTTP. ...
3
votes
3answers
13k views

How can I adapt this debian init.d script to work with CentOS 5?

I'm trying to get an lsyncd daemon running. I installed the lsyncd RPM from epel, but it doesn't seem to come with an init.d script. In the lsyncd repository, there's this script that works with ...
3
votes
3answers
3k views

cron+pam heavily spamming my logs

Two times every minute I get this in auth.log: May 12 15:21:01 ruptai CRON[25303]: pam_unix(cron:session): session opened for user root by (uid=0) May 12 15:21:01 ruptai CRON[25303]: ...
3
votes
2answers
194 views

Can a faulty DNS record prevent networking?

My server's network interfaces are not available anymore since yesterday evening. I didn't change anything, but I added a new DNS-record shortly before. Unfortunately, the web interface I used to add ...
2
votes
1answer
967 views

Static route in conflict with a route

I have a route configured. 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1 I'd like to add a static route to pass traffic destined for 192.168.1.51 via a load balancer's ...
2
votes
4answers
2k views

I just got a linode VPS a week ago and I've been flagged for SSH scanning [duplicate]

Possible Duplicate: My server’s been hacked EMERGENCY I got a 32-bit Debian VPS from http://linode.com and I really haven't done any sort of advanced configuration for securing it ( port ...
6
votes
3answers
2k views

Compile a debian package for amd64 on a i386 machine?

I have a i386 ubuntu hardy machine, and an amd64 ubuntu hardy machine. I want to compile a debian package (a.k.a. deb) for the amd64 machine on the i386 (because I don't have enough memory to compile ...