Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.
3
votes
4answers
2k views
How do I make a wildcard package search using apt-get?
With yum it was simple: yum list *xxx* but this does not work with apt-get.
How can I do a search like this?
Also, how do I see what package provides a specific command?
0
votes
1answer
848 views
Linux PPTP client problems
I recently reinstalled my server from Debian Lenny to Squeeze and ever since the reinstall I'm unable to establish a PPTP connection to a remote site. The remote site is running Windows RRAS PPTP ...
0
votes
1answer
82 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
1k 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
837 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
5k 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
905 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
668 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
1k 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
122 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
272 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 ...
1
vote
3answers
355 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
103 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
469 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 ...
3
votes
4answers
247 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 ...
5
votes
4answers
4k 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
213 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
307 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
8k 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
3k 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 ...
1
vote
2answers
392 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 ...
3
votes
2answers
1k views
Debian or CentOS?
I am looking at using either Debian or CentOS for a production server and I've heard mixed reviews of each one.
I've heard CentOS performs better under load, however I am aware that Debian has a much ...
1
vote
3answers
150 views
Installing from Debian's unstable repository
How do I make apt-get install from Debian's unstable repository?
2
votes
2answers
3k 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
106 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
249 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
640 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
276 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
4k 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 ...
0
votes
1answer
320 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
396 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
110 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
667 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
277 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
2k 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 ...
25
votes
7answers
28k 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
1k 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
371 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
802 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
1k 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
3k 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
249 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
87 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
1k 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
124 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. ...
0
votes
3answers
4k 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 ...
2
votes
3answers
1k 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
179 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 ...