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
29 views

Connecting to server with remotely generated SSH key

I run a process on my server where I generate a public and private key. The public key I use for github. I was wondering, if I do a readout of the private key of the remote system, can I then save ...
1
vote
1answer
66 views

I don't see “Defaults requiretty” in my vsudo file

I'm trying to disable requiretty everywhere (yes, I'm aware it's a security risk, please don't lecture me on that) and am in the vsudo file. However I don't see Defaults requiretty anywhere so I can't ...
3
votes
1answer
778 views

HAProxy graceful reload with zero packet loss

I'm running an HAProxy load balancing server to balance load to multiple Apache servers. I need to reload HAProxy at any given time in order to change the load balancing algorithm. This all works ...
0
votes
1answer
47 views

Where to store private key on Linux build server

On my Debian 3.2.54-2 build server I'd like to sign the build artifacts (JAR files) with my private key to ensure their authenticity. I've created a private key secring.gpg using GnuPG and protected ...
0
votes
2answers
58 views

Configure Postfix+Dovecot+MySQL for my usage case

I had installed Posfix, Dovecot and MySQL on Debian (for example sample.net) and configured its that external users are allowed to send mails only on this domain sample.net (using my SMTP). Also I ...
0
votes
1answer
19 views

Python code location on debian [closed]

Simple question, which of these is a better directory setup for locating my project and why, as I have seen both recommended on different tutorial sites: Option 1: ...
1
vote
1answer
133 views

Nginx: it takes too long to establish a ssl connection

I have a nginx set up with ssl certifivate. Recently I noticed, that establishing connection to that server sometimes takes way too long (8+ seconds). In chrome developer tools I can see, that all of ...
0
votes
2answers
268 views

LXC container starts with readonly root filesystem

I am running LXC on Debain Wheezy using BTRFS, and have created a container using lxc-create using the "debian" template (yesterday). When starting the container, the root filesystem in the container ...
1
vote
1answer
39 views

Remount roofts read-only after boot up

I looking for the best way to remount server rootfs after complete boot when all system services are started and running. Remount should be preformed only when all services was successfully started ...
1
vote
2answers
77 views

Getting the URL to a debian .deb package

I'm trying to setup an IronWorker with PHP, and need to add the Imagick PECL extension or debian package's URL to the IronWorker .worker configuration. I've located the package for Ubuntu 12.04 on ...
0
votes
1answer
117 views

Uwsgi configuration - No module called site

I am trying to get uwsgi working in combination with nginx for a flask application. This is UWSGI ini file: [uwsgi] socket = 127.0.0.1:8001 processes = 4 module = run:manager virtualenv = ...
0
votes
4answers
124 views

Server with 3 network cards

Totaly edited: I have 3 nic with links eth0 eth1 eth2. I made 3 table T1 T2 T3. In /etc/network/interfaces i wrote: auto eth0 iface eth0 inet static address 1.0.0.1 netmask ...
3
votes
1answer
231 views

Cgroup - no space left on device

I have Debian 7 box and little issue: mkdir /cgroups/test echo 500 > /cgroups/test/cpu.shares echo 3167 > /cgroups/test/tasks bash: echo: write error: No space left on device How can I fix ...
0
votes
1answer
68 views

Installing nginx on debian - sites-enabled

I was under the impression that installing nginx on debian would create for me these two directories: /etc/nginx/sites-available/ /etc/nginx/sites-enabled/ Is it right that these are not created ...
-3
votes
1answer
42 views

Decompressing a tar.gz makes its owner 1000 1000 [closed]

I'm logged in via PuTTY as root and am trying to decompress /root/multicraft-1.8.2-64.tar.gz. I do this using the tar zxf /root/multicraft-1.8.2-64.tar.gz command. However, two odd things happen: ...
1
vote
0answers
208 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{ } ...
2
votes
1answer
175 views

monit mysql server blocked because of too many bad connections

Is there any tweak for monit or another way to monitor whether one server can access mysql on another server? I tried it with monit but as you probably know, after 10 attempts, mysql blocks the ...
0
votes
1answer
76 views

Cloning a server across architectures

I have this Linux (Debian) server that I want to duplicate, with all its services and their settings. Actually, it is to replace the existing server with newer hardware. I'd like the process to be as ...
3
votes
1answer
863 views

Can't log in to FTP on Debian with vsftpd

Linux noob here so please bear with me :) I'm trying to setup FTP access to my Apache server but I'm receiving a 530 Login Incorrect error. I installed the vsftp package via sudo apt-get install ...
1
vote
1answer
88 views

Secure installation of KVM VPS?

I'm going to install Debian Wheezy on a KVM VPS. VNC access to console is enabled, and by sniffing network traffic when connecting, I see VNC password is encrypted but everything else is sent in plain ...
0
votes
1answer
140 views

Use different transport for domain forwarding in Exim4

I am attempting to configure exim4 under Debian 6 or 7 as follows: For mails being forwarded for a "virtual" domain, send directly via SMTP For all other mails, send via Amazon SES The first ...
8
votes
4answers
1k views

Install only dependencies of a given package in Debian or Ubuntu (apt)

Is there a better way to install only the required dependencies of a package, instead of installing it directly with apt-get (or any other frontend of dpkg) and then immediately removing it, leaving ...
0
votes
1answer
476 views

High Apache busy workers and high load average

I've been experiencing a spike in load average on a web server I manage on almost a daily basis now, here are the server specs: 6 x 2.4 GHz dedicated CPU 3GB RAM This is a VPS of which is running ...
0
votes
1answer
253 views

ext4_orphan_cleanup errors on LVM

I'm running a server with Debian 7.2 on a RAID 1 with two drives with LVM on top and I keep getting these messages in my syslog. Should I be concerned? Is this a bug? What could it be deleting? Feb ...
1
vote
0answers
133 views

nginx-extras ok for production server?

I need the upload progress extension on my production server running Nginx, the only problem is that to do that I must actually recompile the whole of Nginx. This means uninstalling the repo Nginx, ...
1
vote
0answers
206 views

Debian / Linux xrdp

I installed xrdp on Debian Wheezy (+vnc4server as a dependency) and I have 3 questions: 1) Is there any way to recconet user to previous xrdp sessman-Xvnc session? If user change his resolution or ...
0
votes
1answer
384 views

Unable to access 3ware 3dm2 web interface, failed to start listening socket

I am unable to get to the 3ware 3dm2 web interface. When I attempt to execute 3dm2 from the command line, i get the following error "(0x0C:0x0005): Failed to start listening socket". This was working ...
0
votes
2answers
174 views

Allowing FTP access to a local user without allowing SSH/command line access

In former times (as in before Debian Wheezy), you could install FTP as ftpd. It was a neat little tool that came with no extra software and allowed this scenario: Take a local user, allow him ...
2
votes
1answer
51 views

Server load avg. hitting 16-20, but all resources under 90% usage?

As you can see in the image shared below, the server load peaked to almost 20 but the CPU, RAM, DISK IO and Network I/O remained well under their full capacity. My question is: 1). What caused the ...
0
votes
0answers
126 views

Chroot master process Nginx 1.2.1

I want to install nginx not current stable version but in one currently deposits, and chroot the process. I followed some tutorials including: Securing Debian Manual Appendix H - Chroot environment ...
0
votes
0answers
176 views

hp-health install doesn't work on Debian 7 (Wheezy)

I try to install hp-health on my HP ProLiant ML350 G4 server with a Debian 7 (Wheezy) installation. I downloaded the package on : ...
0
votes
0answers
125 views

Windows cannot acces Samba share using Map network drive

I have a system running Debian. I installed Samba on it so I can access a share from Windows 7. When I try to map a network drive in Windows I get an error: "Windows cannot access \...". However, I ...
0
votes
0answers
151 views

debian isp3, dovecot / postfix not receiving and sending emails

I have a problem with dovecot on isp config3. Not receiving and sending any email. Smtp and imap connection working. Pls help. Here is the maillog: Feb 18 08:35:05 vm10127 postfix/smtpd[14214]: ...
1
vote
1answer
51 views

No buffers in memory. What it means?

This is a memory stats from my VPS (OpenVZ). $ free -m total used free shared buffers cached Mem: 800 405 394 0 0 405 -/+ ...
0
votes
0answers
77 views

Varnish & ISPConfig under Debian give error 503

I followed the tutorial here and here to get Varnish3 on top of ISPconfig3 under Debian 7 I have in my /etc/default/varnish DAEMON_OPTS="-a :80 \ -T localhost:6082 \ -f ...
0
votes
1answer
134 views

dmesg time vs system time time isn't correct

I hope that here is somebody that can help me with this strange problem. I think that i know why it is happening but i don't know how to solve it. Maybe it is because the BIOS time isn't set correct ...
0
votes
1answer
427 views

Updating php5-mysql for MySQL 5.6 under Debian 7

After a lot of troubles installing MySQL 5.6 for Debian 7 (with ISPConfig) (FYI, I followed this tutorial : http://xmodulo.com/2013/12/upgrade-mysql-server-debian-ubuntu.html) my PHPMyAdmin shows me ...
0
votes
1answer
55 views

Debian amd64 mirror size too large

I have rsync'ed debian amd64 to my local (Omnios) box using the recommended ftpsync too. The size of my mirror is 143 GB. I was led to believe from debian and other sources it should be around 80 GB. ...
0
votes
1answer
96 views

Debian local apt repo

Using debians ftpsync I've synced amd64 to my local file server, and installed debian over the network using ipxe. It dawned on me, that the content I've downloaded needs to be shared as an apt repo, ...
0
votes
0answers
192 views

ModSecurity on Apache (Debian Wheezy), real-time IP-Blacklist from file

I am creating and updating an ip-blacklist dynamically with a php script based on specific bot behaviors or actions. The functions I use in the script add or remove ips, based on ban-duration set for ...
0
votes
2answers
1k views

Kernel: Uhhuh. NMI received for unknown reason 31 on CPU 3

I'm receiving this error on "Linux Debian-70-wheezy-64-minimal 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64": Message from syslogd@hostname at Feb 14 02:54:51 ... kernel:[81927.464687] Uhhuh. ...
0
votes
3answers
63 views

Most efficient way to serve less than 10 http requests per day using cgi

Our company manages over one hundred servers and we would like to "ask" these servers for basic usage info once or twice a day using http. The usage info can be easily found with a perl cgi script ...
0
votes
1answer
54 views

Debian 6 - Linux 2.6.32-5-amd64 - Samba server with 32GB swap - how should i reuse it?

today i have the mission to tuning a Debian samba file server, previously i never ever touched it. RAM = 16GB SWAP = 32GB first of i ran a parted -l and a free -h and i saw one 3TB hdd: /dev/sda ...
0
votes
0answers
170 views

Apache2 PHP5 reports glibc detected corrupted double-linked list

recently I began to notice the following error message in the apache error log. I'm running Apache 2.2.22 with PHP 5.4.4 on Debian 7.4. All installed from stable packages. The error occurs randomly, ...
0
votes
2answers
134 views

postmaster notify: see transcript for details?

Since I configured my server, I get these emails frequently in my spam folder : ** truncated ** ----- The following addresses had permanent fatal errors ----- <root@db1.mydomain.com> ...
2
votes
1answer
255 views

User not in sudoers, but still can use sudo

I have a user user1 that is not in the sudoers file (nor belonging to groups in sudoer) but can still use sudo. How is it possible ? user1~$ groups user1 www-data My sudoer conf ...
2
votes
1answer
207 views

High I/O because of MariaDB

i'm using nginx with php-fpm and mariadb. Sometimes my pages are loading slow. By checking munin I saw that my average I/O waiting time is very high, up to 8 seconds. In the php-slowlog are ...
0
votes
2answers
135 views

Debconf broke after system failure

I have some serious problems with one of my web servers running debian wheezy. It seem that last week the server center had an error which caused the machine to shutdown suddenly. Since then some ...
5
votes
1answer
194 views

Doing a remote fsck - possible?

We've been deploying fanless PCs for a research study. Some of these are having HD issues as their OS runs from an SD card. I'm seeing cases where I need to fsck a folder or two. I've tried using ...
0
votes
0answers
18 views

How to prevent shutdown from x11?

I have a Debian 7 with LXDE. Users can't reboot machine untill they stay on text-mode. On graphic mode they can shutdown / reboot / hibternate... how i can disable it permanently?