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

learn more… | top users | synonyms

2
votes
1answer
43 views

Use VPS provider's kernel or maintain my own?

I've got a Debian Wheezy VM on Linode and they run it with their own kernel. As a reputable company, I'm sure they're quick to apply security patches, and all I need to do is reboot to get the new ...
-1
votes
2answers
52 views

Install python packages through ap-get in Debian

I'm trying to install Odoo on a Debian 3.2, but I'm having trouble trying to install its dependencies. When I try to install python-decorator, I get this error: The python-decorator package is not ...
1
vote
1answer
46 views

Postfix using virtual.db file instead of mysql table

I have specified virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf, but still I got errors like warning: hash:/etc/postfix/virtual is unavailable. open database ...
-1
votes
1answer
113 views

Installing wkhtmltoimage in Debian 6.0 (squeeze)

How to install wkhtmltoimage in 64 bit amd debian ? I tried wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2 mv ...
-2
votes
0answers
19 views

Debian Wheezy's ejabberd and IM Observatory's A- Grade

I wonder if it's possible to get A grade in IM Observatory's test running Debian Wheezy's ejabberd? What settings should be fine-tuned and how? The reasons of IM Observatory to lower grade to A- is ...
0
votes
0answers
18 views

How to divert an already diverted file of a Debian package?

There is package A installing file X and Y. There is package B, which also tries to install (overwrite) the file X with different content and a new file Z. So in the preinst script it diverts the ...
1
vote
2answers
91 views

How to emulate Windows event logging in Ubuntu?

Assume you were to have a predominantly Windows enterprise environment and that you have a number of Ubuntu servers you need to integrate into that environment, while introducing as few new enterprise ...
2
votes
3answers
91 views

KVM guest is unable to access the internet

I have a Debian host that has several allocated IPs and KVM with a Debian guest using a bridged network. The guest is completely unable to reach the network, including the LAN or even the host. ...
3
votes
1answer
2k views

Install Mono ASP.NET on debian

I've been trying to install mono ASP.NET onto my debian VPS and I am unable to do so. I know I need mono which can support .NET 4.0 now. I am unsure if I need XSP and mod_mono, or just mod_mono. ...
5
votes
2answers
151 views

How to get Newly Expanded RAID to show correct size in Debian

I recently expanded my RAID 5 Storage Virtual Drive from 6TB to 9TB. The Dell OMSA and the bios for the RAID controller both show I'm at 8382GB. Which is fine. But when get into Debian and poke ...
3
votes
2answers
460 views

select() hangs due to resource exhaustion - but what resource?

Connecting to my server via sftp sometimes results in a hang here: if (select(max+1, rset, wset, NULL, NULL) < 0) { which is line 1428 from openssh 5.2p1's sftp-server.c (main loop of ...
0
votes
1answer
26 views

syscp cron_traffic.php needs 10 minutes to execute

I use syscp on debian and i noticed that this script is taking more than 10 minutes to execute: date ; /usr/bin/php5 -q /var/www/syscp/scripts/cron_traffic.php; date Do 5. Dez 12:09:09 CET 2013 Do ...
0
votes
5answers
2k views

Linux software for monitoring folder changes over FTP?

I have a linux box (Debian) which is up 24/7. I'd like to set it up in such a way, that once a day it connects to a specific FTP server and checks if any files have changed since the last check. If ...
7
votes
5answers
4k views

How to duplicate TCP traffic to one or multiple remote servers for benchmarking purposes?

Infrastructure: Servers in Datacenter, OS - Debian Squeeze, Webserver - Apache 2.2.16 Situation: The live server is in use by our cusotmers every day, which makes it impossible to test ...
33
votes
7answers
38k views

What is the debian-sys-maint MySQL user (and more)?

I have been bitten several times by the 'debian-sys-maint' user that is installed by default on the mysql-server packages installed from the Ubuntu repositories. Generally what happens is I pull a ...
4
votes
4answers
331 views

Debian - Secure system from current administrator

I am the Network and Systems Administrator in an organization of just under 500 users. We have a number of Windows Servers, and that is certainly my area of expertise. We also have a very small ...
1
vote
2answers
996 views

How to include Debian repository from different architecture

I am running AMD64 Debian. I need to install software from external vendor which supports i386 architecture only. While I can add their repository to sources.list, those i386 packages do not appear ...
0
votes
0answers
16 views

Masquerating with Sendmail and signing after with OpenDKIM

When I send mail from my accounts linked with my first domain, signing with OpenDKIM works great. But when I send mail with my accounts linked with my second domain, I use the genericstable FEATURE to ...
4
votes
2answers
7k views

Puppet agent certificate verify failure

I have a Puppet Master/Agent set up, and have successfully signed the certificate for the agent on the master. However, when I run puppet agent --test I get a failure that looks like this: Warning: ...
-1
votes
1answer
51 views

Setting up two Bind9 DNS Servers on LAN with one serving a particular zone and the other hinting to it

I have set up a Bind9 DNS to serve names on a local netword 172.16.0.0/16. This Bind9 DNS service works fine and resides on 172.16.0.4. It serves names in the domain "mydomain.mak" correctly to all ...
-1
votes
1answer
44 views

I see a flood of requests from Revista22

In many of the sites I am running I see in Google Analytics thousands of visits referred from a site called revista22.ro, which I don't know and which mentions nothing about any of my sites. Also, I ...
1
vote
2answers
378 views

Unable to ssh to GCE Permission denied (publickey)

I created a VM via bitnami in Google Compute Engine. Previously I was able to ssh via the bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied ...
1
vote
1answer
387 views

NFS client does not pick up server after restart

EDIT : To summarize the issue, this is a problem with the NFS server changing IP address and the NFS clients not picking up the new address. I can see via tcpdump that the client still tries to ...
1
vote
0answers
82 views

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is ...
2
votes
1answer
50 views

grep ouput filepath with file modified date?

Is it possible to make the grep command to output file paths with file modified date like so: 12-02-2015 /file/path/to/the/file 16-02-2015 /file/path/to/the/file 25-02-2015 /file/path/to/the/file ...
0
votes
0answers
42 views

How do I configure KVM guest to have Internet access?

I am trying to get KVM working on my Debian server and I am having a slight problem with networking with my guest OS (also Debian). The virtual machine is using the "default" network (without a ...
1
vote
2answers
103 views

Debian: how can I know if reboot is required after update?

I have 4 servers with Debian Wheezy OS. I have Apticron installed that informs me about updates. Debian updates are realized so often that when I finish to update the last of 4 servers I get new email ...
0
votes
1answer
51 views

iptables - openvpn can't access port 80

I have a server set up with OpenVPN. While connected to the VPN, all external websites work great, but when I try access a site that is hosted on the same server, it fails to connect. I can ssh into ...
0
votes
1answer
62 views

Cannot start Wildfly

I want to start wildfly as a service but nothing happens when I try to start it using: $ /etc/init.d/wildfly start Starting WildFly Application Server: wildfly $ ls -l /etc/init.d/wildfly -rwxr-xr-x ...
5
votes
2answers
185 views

No space left on device error, but df reports as more space available

My PHP sessions on my Debian webserver using Apache2 with mod_php seem to be failing randomly, saying that there’s no space to write them: sudo tail -60 /var/log/apache2/error.log [Fri Jan 30 ...
1
vote
1answer
62 views

How to change mailx?

I am having a problem in my VMs. I used the same template (Debian 7min) in OpenVZ, but for whatever reason those two are using a different mailx. I have a small script which I use to send ...
1
vote
1answer
371 views

Debian Preseed use whole device for LVM Physical Volume

I have the following recipe for a preseed install (truncated for readability): d-i partman-auto/expert_recipe string \ boot-root :: \ 1 1 1 free \ $iflabel{ gpt } \ $reusemethod{ } ...
1
vote
1answer
37 views

Rsyslog refuses to log over OpenVPN

I'm trying to forward rsyslog from a client to a server over a VPN. I have it working across an internet link already (through eth0 to an edge router) but would like it to go through the OpenVPN ...
0
votes
1answer
37 views

restarting apache using python causes port change

i'm using python bottle web framework to create a service manager so i've created endpoints for services re/starting / stopping the wired thing that happens when i'm using os.system('service apache2 ...
0
votes
1answer
135 views

reprepro remove reports “not found” but reprepro list shows the package

I'm trying to remove a package from a local debian repo. reprepro list shows it, but reprepro remove says it's not found. The file exists in the backup directory but not in the pool directory. I guess ...
2
votes
0answers
85 views

mdadm: Convert RAID10 to RAID1

The machine in question is equipped with 4x ssd, and running Debian wheezy 7.8, linux kernel 3.2.0-4, mdadm v3.2.5. Currently I'm using a RAID10 consisting of all these ssd. I've to increase the ...
1
vote
1answer
58 views

Postfix smarthost, allow relay by dynamic IP

I have several servers (web, mysql, java) that have postfix installed which are set up to relay to a smarthost postfix server. DYNAMIC IP STATIC IP INTERNET ...
0
votes
1answer
45 views

routing a second public IP to multiple VM's

myself and a friend have rented a dedicated server and have used KVM and libvirt to create virtual machines for us to use. (we are using debian jessie on the host) we purchased two additional IP ...
10
votes
5answers
11k views

dpkg: warning: files list file for package 'x' missing

I get this warning for several packages every time I install any package or perform apt-get upgrade. Not sure what is causing it; it's a fresh Debian install on my OpenVZ server and I haven't changed ...
2
votes
1answer
407 views

Error when reinstalling apache2

I did an dist-upgrade on Debian Wheezy yesterday and got an error with syslog-nc-core. I found that i should try to reinstall it and tried but it ended with an error that apache2 isnt configured. I ...
1
vote
3answers
47 views

Mount a drive at login time

I need to mount a drive at login time. I have the home directories in the server, and when a user logs in at a client machine (debian 7), I need to mount his directory temporally at a mount point, ...
1
vote
1answer
105 views

Slow download big static files from nginx

I'm using debian 7 x64 in vmware-esxi virtualization. Max download per client is 1mb/s and nginx no use more than 50mbps together and my question is what may cause so slow transfers? server ...
1
vote
0answers
48 views

Routing with multiple NICs on debian

I have a machine with two NICs on different network segments, I've set up routing for the different segments. It works if I run all the routing commands manually, but I can't get it to work when ...
0
votes
1answer
455 views

Bacula daemon fails to stop or restart

Foreword: I have already resolved this problem and am asking this question to share the solution I've found. Please bear in mind that the problem described here may (or may not) be more generic and ...
7
votes
1answer
3k views

Postfix TLS over SMTP - RCPT TO prompts renegotiation then 554 5.5.1 Error: no valid recipients

I've setup ispconfig3 on my debian six server, and here is a little smtp over ssl: The server is postfix AUTH PLAIN (LOL!) 235 2.7.0 Authentication successful MAIL FROM: lol@lol.com 250 2.1.0 Ok ...
0
votes
1answer
40 views

WinSCP, Debian & Sublime Text - File change not recognised by server

I'm connecting to a Debian server using WinSCP (with private key not password if that makes a difference). It's setup so that when I double click on a file it opens in Sublime Text (v3, Build 3065). ...
1
vote
1answer
46 views

Postfix doesnt apply virtual mailbox rules when external domain sends email

I set up my Postfix to use virtual mailboxes. When I telnet the mail server and send an email from that, it works flawlessly (both when on the mail server and telnetting from a remote client). The ...
1
vote
2answers
288 views

Linux-Vserver: How to do upgrade Debian 5.0 to 6.0 on vservers and main machine?

I have server with debian lenny. I installed vserver on this server a few years ago. Summary I have 5 guest of vservers and main system, now. Each guest is debian lenny. Now, I'm wanting upgrade from ...
3
votes
4answers
6k views

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

I just upgraded my MySQL server on Debian. However now when I start the server and try connect to it I get the error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
0
votes
1answer
17 views

Linux Traffic Shaping: ceil rate never reached

My application run on port 8080. I have this iptables command: iptables -A OUTPUT -t mangle -p tcp --sport 8080 -j MARK --set-mark 10 I have also theses TC rules: tc qdisc add dev eth0 root handle ...