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

learn more… | top users | synonyms

1
vote
1answer
380 views

Why is a ZFS pool not persisting over server restart?

I have a ZFS pool with 4 drives. It also has a 3gb ZIL and a 20GB L2ARC that are each partitions on an SDD that doubles as my Linux Mint (ver. 13) boot drive. The pool is mounted to /data. The ...
2
votes
1answer
1k views

How to clear the bad sectors from harddisk? [closed]

I am using debain 6 in my system, Recently the dekstop frequently hangs. So, when i look on the harddisk health i have find a lot of bad sector. So, can anyone say to remove the bad sector of harddisk ...
1
vote
0answers
274 views

Can I tune my Debian KVM server to benefit my Windows guest?

Debian Squeeze KVM server with Win2k8 server guest. The server has 16GBs of RAM and the guest only runs MS SQL, with a 15GB database on it. I am wondering if there is anything I can tune from the ...
0
votes
1answer
77 views

Can not input through bash terminal

Very often I encounter this problem in my Debian VPS. When I type characters, the terminal refuse to display them. Instead I get a beep and shows outputs like (arg : 4) (arg : 5) (arg :-1) And ...
5
votes
2answers
3k views

Is this the correct way to permanently set the ulimit in Debian?

Manually I can set via ulimit -n 20000 the file descriptor limit and it works fine. To have this limit for every user also after a restart of the machine, can I add * soft nofile ...
1
vote
1answer
2k views

How do I setup unison to sync a folder one way

I have a 1tb NAS that has a 1tb usb external hard attached I have prepared the file system on the usb disk and mounted it I want to 100% sync my data from my nas to the usb disk - but I want it to ...
3
votes
2answers
5k views

Debian: Should I add vlan interface into bridge for KVM?

I am setting up a Debian Squeeze box as a KVM host. I want to add multiple interfaces to each KVM guest so I want them to be on different VLANs. After reading about this, I believe the best method is ...
0
votes
1answer
595 views

Cant connect to localhost mysql when firewall script is running

I have the following problem: I cant get etherpad running, when my firewall rules are active. My firewall: http://pastebin.com/82APzKhi telnet localhost 3306 gives connection timeout ps aux | grep ...
3
votes
1answer
16k views

Directory directive: AuthType None but still need an AuthProvider?

I'm using Apache 2.2 instead of 2.4, which explains the error in the title. After Brain99 posted his comment, I found out that I had 2.2, adjusted my configuration to what he suggested (which still ...
1
vote
1answer
282 views

Backup broken PostgreSQL 8.4 without pg_dump

So. I have a problem. PostgreSQL 8.4 won't start or restart without any output given. But it worked for 3 monthes until hosting provider doesn't rebooted server. Now it is completly broken. It wan't ...
0
votes
1answer
98 views

Segfault debian server

we move our retail software to a new hardware (we passed from an ibm x3200 with sata 7200rpm disks to an ibm x3200 with sas 15000rpm disks) but after a few days with no problem at all we keep getting ...
1
vote
1answer
3k views

libpam-ldapd not looking for secondary groups

I'm migrating from libpam-ldap to libpam-ldapd. I'm having some trouble gathering the secondary groups from LDAP. On libpam-ldap, I had this on the /etc/ldap.conf file: nss_schema rfc2307bis ...
2
votes
1answer
563 views

What causes packet loss from Debian server to nearest gateway?

I have a debian Squeeze KVM server hosted with an ISP. The server doesn't have much load (average 0.1) and has sufficient memory, low network traffic, low disk i/o etc etc. It's running standard LAMP ...
2
votes
6answers
9k views

Debian on Hyper-V

I installed Debian with kernel 2.6.32-5-686 on a Hyper-V virtual machine. I had to add a legacy network card. I follow this tutorial ...
5
votes
2answers
18k views

Disable TCP-Offloading {completely, generically and easily}

I want to disable tcp-offloading ("TOE") on my debian servers. ethtool -K ..... I have some wishes, though: Integrate it cleanly into debian This reads: no rc.local, I would also like to avoid ...
2
votes
1answer
284 views

open source solution to a gateway for a network of a housing cooperative of 150 people

i just inherited a barely functioning network for a student housing cooperative of about 150 people. in it's current state, as i understand it from the previous person in charge of the network, we ...
2
votes
1answer
413 views

How to cut php-fpm IOPS

I have Amazon EC2 instance with NGINX + PHP-FPM (through socket) + APC. I see sth. like this in iotop on high load. Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s TID PRIO ...
1
vote
2answers
2k views

networking restart throws error

System: Debain Squeeze Problem: cannot restart networking (/etc/init.d/networking restart) without error. I used and edited a sample configuration from my provider and now wanted to add IPv6 ...
3
votes
1answer
105 views

Security issue with ssh on Debian server

I have setup Debian Squeeze on an old laptop to serve as a testbed. I have installed OpenSSH and edited /etc/ssh/sshd_config to use ssh keys and disallow password authentication. I am able, however, ...
0
votes
2answers
3k views

KVM with one host IP and a different subnet for machines

I've already setup a KVM host with proper IP configurations, but my host had me create DHCP and use that to assign the IP's to the machines. I want to see if there's an easier way to do it (or ...
2
votes
2answers
1k views

Multiple IP addresses assigned to one KVM VM

System: OS: Debian 6.0 64-bit with KVM installed from packages KVM is managed with Cloudmin 6.4.kvm I have a /29 subnet from my host. The bridge is setup properly for each VM to have its own IP, ...
2
votes
1answer
168 views

What is the best way to get kernel 3.2 on Debian 6?

I'm using Hyper-V as hypervisor and there is a need to use Debian 6 in production on it, but as I know it's not supported. I want to use kernel 3.2 with integrated linux integration components. What ...
2
votes
1answer
5k views

Cannot restart apache2 on Debian server - “Cannot load /usr/local/apache2/modules/libphp5.so into server”

Okay... I'm something of a beginner when it comes to servers, and I'm having some issues with restarting apache on my Debian web server. I just ran the following: aptitude install apache2 openssl ...
0
votes
2answers
265 views

File system cache / drop cache(debian)

if i play those command : sync echo 3 > /proc/sys/vm/drop_caches Will the server be force to read the correct file on disk until i put 0 again ? Or this work only one time, and if i want to ...
3
votes
1answer
8k views

How to restart postgresql 8.4 on Debian Squeeze when there are no clusters defined?

How to restart postgresql 8.4 on Debian Squeeze? /etc/init.d/postgresql stop/start/restart does nothing (no output given).
2
votes
1answer
153 views

44pin industrial flash ide on embeded debian freezes after an indefinite period of time [closed]

On an embedded system I have, using a 44 pin transcend industrial flash, after a while I will notice that I cannot read any files or write to the disk. I am using the 3.2.0.* BPO i686 SMP PAE kernel. ...
1
vote
2answers
857 views

Very high packet loss in burst

We sometimes have 90%+ more packet loss on our server, but it does not always appends. Right now it works perfectly, but just half an hour ago, it had just that problem. Our service provider is ...
0
votes
2answers
3k views

Restricting User Access in Debian Squeeze

I've been contemplating ways to restrict user access to their own directories, not allowing them to navigate above their own user directory. I'm using SFTP, and don't want to install regular FTP ...
6
votes
2answers
3k views

Debian - Stopping MySQL from booting at start

I have MySQL on my computer for development purposes, but most of the time I don't use it. How can I configure my Debian so it won't start MySQL at boot, but only when I tell it to ( using service ...
2
votes
1answer
525 views

MySQL: 5000 core users, 2GB Table Heavy Write / Read: How to Prevent Crashing

This is a controversial issue for sure, since many might want to recommend the simple things right away, like: Split up the tables! Split up the read/write into master/slave configurations! Amp up the ...
0
votes
1answer
2k views

gnutls vs openssl with openldap, debian and centos

I have a Debian 6.0.5 server running openldap. It appears to be compiled against gnutls. I used gnutls' certtool to generate a self-signed certificate and I have used it on a few debian client ...
2
votes
1answer
148 views

Manage remote linux machines

My start up is building a computer which runs debian linux and some custom programs. What is the best way to remotely access the machines without the user having to do anything? Our product is ...
1
vote
2answers
426 views

Unix: how can I change Program's running user and running group?

I changed the APACHE_RUN_GROUP in /etc/apache2/envvars to APACHE_RUN_GROUP=web-content because I want Apache to run us www-data:web-content, insetad of www-data:www-data. I hate monotonous manual ...
4
votes
2answers
569 views

Prevent a package from being uninstalled in Ubuntu

So, after an accidential fat finger with aptitude today, it wanted to uninstall mysql-server, this was on our database server. Since it was a pile of text, I just pressed Y, blindly trusting apt to ...
4
votes
1answer
2k views

Mounted filesystem / changed to read-only

This is how / should be mounted mount /dev/md0 on / type ext3 (rw,errors=remount-ro) but in fact, it is mounted read-only because of unknown reason so far for me. cat /proc/mounts /dev/md0 / ext3 ...
3
votes
4answers
618 views

OS or Onboard software RAID?

I plan on installing Debian 6 on my server build with a E3-1270, 16GB DDR3, and 2x120GB SATA3 SSDs. But this has me wondering, should I use Intel's built-in, on-board software RAID or the OSs'? ...
1
vote
1answer
48 views

How to setup usernames for websites

I have a news server. It may be possible that there will be multiple virtual hosts on it. There are two approaches that I see around. One is to login as root and create files under /www/etc, Like; ...
-3
votes
1answer
138 views

Cronjob to move files using keywords [closed]

What will be the right cronjob command to move files from x folder to y folder based on a file name keywords? i'm using Debian 6.0 squeeze, and kinda new to cronjobs.
0
votes
1answer
317 views

Is there any advantage of using OpenVZ on a dedicated server for single-use?

We are leasing a dedicated server where we plan to host an XMPP server. Currently, Debian is installed. Our current requirement is this will only be the production box; however, this could change if ...
7
votes
2answers
4k views

SSH from PuTTy to Debian “authorized_keys is not a regular file” Error

I cannot connect from my Windows 7 computer using PuTTy to a newly configured Debian Squeeze server using SSH RSA key authentication. I get this error when running SSH in debug mode: User myuser ...
3
votes
1answer
189 views

Cloned Linux Box Loses Network Connection

My goal is to duplicate a Linux box (Debian) across two identical sets of hardware. I used the dd utility to clone the drive of Box A to the drive of Box B. When I pop the drive for Box B back into ...
2
votes
3answers
137 views

Copying Files Gives Disk Lag

I have some Game Server services running on my Debian 6.0 64-bit Custom Kernel machine. I lag on my currently running services whenever I install a new service. Installing a new service just ...
1
vote
1answer
122 views

Is it possible to use preseed/url with authentication?

We are using a preseed.cfg via preseed/url to automate system deployment/configuration. The preseed files are kept in source control (Subversion). This makes them readily available via HTTP, with ...
1
vote
2answers
2k views

init.d script not working?

I copied an init script from here quite some time ago to automatically start my tightvncserver at boot. It worked perfectly at the time. Since then, I have reformatted my computer, and now my script ...
0
votes
1answer
203 views

Debian home directory permissions get resetted

On Debian Squeeze once a day the home directory permissions of one specific user get resetted to chmod 700 and chown root:root. Every day I have to set the permissions manually to login properly. ...
0
votes
1answer
749 views

Where do you find logs about connections on debian?

I installed nginx on debian and then tested it with wget localhost and wget 192.168.1.11 to see if it responds to simple requests. After this i changed the default root folder to /var/www and tried ...
6
votes
2answers
7k views

How to reset sysctl to it's OS defaults?

I couldn't find an answer in the man pages for sysctl. My sysctl.conf file is still at it's default state, I'm testing several values and loaded new settings via sysctl -p newsettings.conf. I though ...
4
votes
4answers
362 views

Debian change system timezone to Windows equivalent

i'm almost new to linux, so, here is my situation, i have a pc with debian 6 and Webmin 1.570 installed(the easy way), and i want to change the system timezone, i know that in windows server, i'm on ...
0
votes
1answer
608 views

kadmin.local -q “addprinc” adds REALM unnecessarily

When I run the command kadmin.local -q "addprinc admin/admin" it adds the realm to the end of user. So admin/admin becomes admin/admin@LBOX.COM This is what I ran. Any suggestions would be awesome. ...
1
vote
0answers
279 views

I can't move files from one folder to another on a netatalk share

I'm running netatalk v. 2.1.2 on Debian Squeeze. The clients are Mac OS X 10.7 boxes. I have no problems copying files to and from the server, deleting files, creating new files or folders. ...