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
1k views

Debugging frozen Gnu screen session?

We've been using GNU screen on our jump box to have ssh sessions open to multiple hosts within our private network. One window per host. Recently we've built a new environment and are experiencing ...
3
votes
2answers
1k views

iptables 1.4 and passive FTP on custom port

after the upgrade from debian squeeze to wheezy I've got a problem with passive FTP connection. I could narrow it to be iptables related, as I could connect via FTP w/o problems after adding my IP to ...
1
vote
2answers
61 views

Why does Debian have RPM and Yum packages?

I know that Debian comes with an awesome package manager called APT which is capable of installing .deb packages. I know that RHEL comes with a package manager called Yum and is capable of installing ...
0
votes
0answers
9 views

Samba user expiration

I got a Samba4 Server running on a Debian. I let Linux user expire with the 'chage' command but I can't find a way to do so with the Samba user. The Samba users can still log in when the Linux user ...
0
votes
0answers
8 views

Apache2 2.4 ignoring my default config

Ok so i have installed apache2 2.4 and i am having problems with porting my old wesites/configs across from old server (apache 2.2) to new one. By default apache 2.4 default web dir is /var/www/html ...
1
vote
1answer
2k views

Debian Jessie Qemu KVM GPU Passthrough to Windows Virtual Machine guest Virt-Manager error Bus PCI not found

I'm having problems with Virt-Manager not wanting to boot a VM and giving error: Error starting domain: internal error: process exited while connecting to monitor: char device redirected to ...
-1
votes
0answers
9 views

HP Smart Array p410i Debian problems

I have server HP Proliant DL360 G6 http://h20565.www2.hpe.com/portal/site/hpsc/public/psi/home?sp4ts.oid=3884319&ac.admitted=1464192858434.125225703.1851288163 with HP Smart Array P410i ...
0
votes
1answer
7 views

Gitlab - Postgresql not working anymore after gitlabctl-reconfigure

I just installed a brand new server with Gitlab. The first time I done gitlab-ctl reconfigure it worked like a charm. After that, I didn't change anything but ran gitlab-ctl reconfigure again. This ...
1
vote
0answers
13 views

Inconsistent CPU load on debian

This server runs Apache2, Tomcat6 and MySQL.(if that makes any difference you tell me :) Using htop i can see the cpu load on each of the 4 cores. What I do not understand is witch processes are ...
6
votes
2answers
8k views

How can I find out if my server has IPMI of some sort?

I've never seen a Linux server I admin. How can I find out if it has IPMI of some sort installed? I tried answering my own question by installing ipmitool: Setting up ipmitool (1.8.9-2) ... Starting ...
0
votes
0answers
10 views

Exim can't send email (unable to set gid or uid forcing real = effective)

I've a debian Jessie and Exim4. I can't send email from php, error given is: unable to set gid=33 or uid=0 (euid=0): forcing real = effective I've tried to search for this problem but nothing helps ...
0
votes
1answer
1k views

Compiling an individual kernel module (Debian/Ubuntu)

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
1
vote
2answers
1k views

Lighttpd with FastCGI won't create /tmp/fcgi.sock on startup?

I'm running lighttpd-1.4.19 on a debian 5 box and try to run web2py with fastcgi. The problem with that is, that lighttpd does not create the socket file /tmp/fcgi.sock. If I'm creating the file by ...
0
votes
0answers
11 views

Pass host from nginx to rsyslog

I have a cluster of nginx web servers and a separate syslog server running rsyslog. The nginx vhost looks like this: access_log syslog:server=10.0.0.51,facility=local1,severity=info combined; ...
0
votes
1answer
25 views

proFTPD unable to connect after update ECONNREFUSED

I am working on Debian 8 - ran a series of automated system updates and now I am unable to connect to my local server running proFTPD. I have made no changes to the client attempting to connect to ...
1
vote
3answers
3k views

Disable user_deny.db in Cyrus/imapd

We have a cyrus 2.4.12 on Debian, we use packages, rather than building each software ourselves. I am getting the this "log" constantly, a lot of, various users, and 8-10 times per user request: ...
6
votes
3answers
24k views

How do I force Linux to reacquire a new IP address from the DHCP server?

The environment is Debian, although the answer will apply to all distributions.
0
votes
1answer
10 views

mongodb folder size is very big

I installed a mongodb on a Debian Jessie. After some inserts (<100) I checked the size of the folder /var/lib/mongodb/ and the content of the folder is 3.3 GB high. Is this normal? The hard disk ...
-2
votes
1answer
21 views

Web server files being publicly served despite permissions set to user/group only

I'm running an Apache2 server on Raspbian that serves an instance of DokuWiki, however I seem to be running into permissions issues. For some reason all my directories and the files in them are ...
0
votes
0answers
14 views

Why wont my service run after reboot?

I have created the following service in the directory /etc/init.d of my Debian 7.2 Wheezy machine: #!/bin/sh ### BEGIN INIT INFO # Provides: myService # Required-Start: $all # ...
0
votes
0answers
15 views

rsyslog does not close connections

I've successfully configured rsyslog (v5.8.11-3, Debian 7.6) to receive messages from remote machines using this configuration: Server-side rsyslog.conf $ModLoad imtcp $InputTCPServerRun 514 ...
-4
votes
0answers
28 views

Why do i need to turn off and on to get a IP from DHCP?

When a power outage happens my PC boots direct when power becomes available again (as configured in bios). But my PC do not get an IP. I tried to: * ifdown eth0 & ifup eth0 * plug off and on LAN ...
2
votes
0answers
8 views

Move htaccess rules to apache configuration files

I'm running a website with Joomla on a dedicated server (Debian), and i've read that moving .htaccess rules to apache2 configuration files may result in a good performance improvement (Apache HTTP ...
0
votes
0answers
48 views

Using GitLab Omnibus behind Nginx

I installed the omnibus package in my Debian server. The thing is, I actually have Nginx installed, used to serve some other services. How can I redirect, e.g. myserver.com/gitlab to the Gitlab's own ...
1
vote
1answer
2k views

Finding local IP addresses using Python's stdlib under Debian jessie

I am writing a distributed systems program in python, and in this program I need to know the local ip-address... eg. 168.192.... 10.13..... etc, not 127.0.0.1 or hostname. I have found following ...
1
vote
3answers
1k views

Debian/Ubuntu: Enabling “dist-upgrade” behavior for unattended-upgrades?

We've got a customized distribution of Ubuntu, a repository with some custom packages and we run unattended-upgrades on a number of systems. What we want to be able to do is supply an update of one of ...
2
votes
1answer
2k views

redmine gives 404 error after installation

I am using Debian squeeze with nginx and mysql. After raking db and loading default data to redmine. When i try to visit redmine in a browser, http://ipaddress:8080/redmine, I get a 404 error Page ...
1
vote
1answer
23 views

Encrypted root partition not booting properly

I have a Debian 8 VPS with an encrypted root partition. After a kernel update a few months ago (package version 3.2.73-2+deb7u3), it stopped being able to decrypt properly on boot. As far as I can ...
32
votes
8answers
60k views

Disable a service from starting at all runlevels?

I have a service foo which currently starts at runlevel 3 and above. How can I stop it from doing so, without using update-rc.d foo stop 3 ., which (if I understand it correctly) would turn off the ...
0
votes
1answer
21 views

Unable to SSH with shell into NAS: “error: openpty: Invalid argument”

I have a WD MyBook WorldEdition II (White Light) NAS here. This essentially is a ARM926EJ-S with two SATA drives attached. For quite some time, I was running Debian 6.0 Squeeze on it. Now I recently ...
1
vote
1answer
23 views

Tunnel / Forward connections on server 1 to server 2

I have now spent some time researching, but I haven't found a working solution to the following problem: I want to tunnel any requests on server 1, port x to server 2, port x. The port stays the ...
1
vote
1answer
1k views

How to run multiple redis instances with systemd

I recently moved to Debian 8 "Jessie" which now use systemd and I can't find a way to run multiple redis instances. I found out there is a /lib/systemd/system/redis-server.service file to start ...
-1
votes
1answer
33 views

simple routing don't work under debian jessie

I'm trying to set up simple enogh system with 3 virtual debian jessie machines: first connected to second and second connected to third. I want first one to be able ping third one. To achieve this, ...
-1
votes
0answers
22 views

program segfault error debian

I've got a Debian 8 dedicated server and I try to start a program called "startserver" with the following command : ./startserver. This program already has the +x chmod and when I try to start it I ...
0
votes
0answers
19 views

Error in crontab file: bad day-of-week

When I run crontab -e on my Debian server and add these lines: # System statistics */10 * * * * /usr/lib/sysstat/sa1 1 1 > /dev/null 2>&1 59 23 * * * /usr/lib/sysstat/sa2 -A > /dev/null ...
-1
votes
2answers
57 views

Iptables on a Debian machine, the delete command needs a networking restart to work?

I have a big problem with iptables, this the thing I try to make : PC windows (192.168.1.1) -> (192.168.1.2) PC Linux (192.168.2.1) -> (192.168.2.2) card I want to forward the messages from Windows ...
1
vote
1answer
3k views

Can't install new database in OpenLDAP 2.4 with BDB on Debian

I'm trying to install an openldap server (slapd) on a Debian EC2 instance. I have followed all the instructions I can find, and am using the recommended slapd-config approach to configuration. It all ...
0
votes
0answers
29 views

LDAP PAM authentication: endless password change loop

I'm setting up LDAP authentication in a 'toy' environment - i.e. the LDAP server and client are on the same system, and the setup is quite simple. The system which I'm setting it up on is an ...
0
votes
1answer
50 views

MQTT certificates verification fails

I'm been desperately trying to get my MQTT clients to connect to my MQTT broker which is set up with a certificate from a CA (Letsencrypt). To be able to get the CA certificate, I've used the ...
-1
votes
0answers
8 views

File /etc/ld.so.nohwcap is missing in Debian 7 [migrated]

What is the file /etc/ld.so.nohwcap used for?. In my machine (Debian 7), this file is not found. Therefore, Which package or library this file belongs to?
0
votes
1answer
2k views

NFS fails to mount through openvpn tunnel

I am trying to establish an nfs connection through an openvpn tunnel. It really anoying and i dont know what to try next. The connectein test has been made on several platforms now. used ...
0
votes
2answers
1k views

Guest networking not working on Debian Jessie Host server KVM with br0 bridged network

GUESTS networking not working at all. In other words guest can not ping host or lan gateway. I have br0 bridge already created, also brctl show that vnet0 was properly added by KVM to br0 on guest ...
14
votes
2answers
9k views

See what files are being written to (like iotop but for files, not processes)

I have a Linux server, and it's doing a lot of disk io. There is one process that is doing most of the disk writes. I found this out with iotop, which shows the processes that are doing disk I/O. Is ...
10
votes
3answers
19k views

How to upgrade PHP 5.4 to PHP 5.6 on Debian GNU/Linux 7 (wheezy)

I've added these lines to /etc/apt/sources.list deb http://packages.dotdeb.org wheezy-php56 all deb-src http://packages.dotdeb.org wheezy-php56 all But still sudo apt-get update or sudo apt-get ...
0
votes
0answers
11 views

Debian & KVM: limit FC at restoring

my system: 3 Proxmox hosts (debian 8.3) connected via FC (4G) to an open-e storage. Backup is a NFS storage from FreeNAS. All VMs disk lay on that storage, everything is fine. I can create VMs, ...
0
votes
0answers
33 views

smbclient: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)

until yesterday I had a functioning Active Directory Primary Domain Controller running on a raspberry pi. Now it seems I cannot get the 'samba' service to listen at all. This is since performing an ...
1
vote
0answers
40 views

How to use “keep_environment” option in exim 4 on Debian

I am running exim 4.84_2 on Debian, now since a few weeks I get the following mails from anacron: /etc/cron.daily/exim4-base: LOG: MAIN Warning: purging the environment. Suggested action: use ...
0
votes
5answers
49 views

How do I increase a partition size (that doesn't use LVM) without removing and re-adding it

I have /usr on a separate partition. At the moment, this is how the server is set up: [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 329M 4.6G 7% ...
0
votes
0answers
27 views

Generating a locale causes system breakdown

I generated a locale (by uncommenting locale for Polish lang - "pl_PL ISO-8859-2" and running locale-gen). After that my system broke down. I can't boot to my Gnome GUI (the system freezes with black ...
0
votes
0answers
24 views

OpenVPN NAT gateway on Debian, no traffic

My Debian server is successfully configured to connect to "HideMyAss", using OpenVPN, has internet access, receives HMA IP and still sees the computers on the LAN. I'm trying to configure the other ...