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

SATA drivers in Debian squeeze

I have Debian Squeeze installed on a compact flash card in ATA port. I copied the whole system to SATA drive but system holds in initramfs because can't mount root file system. I know that my system ...
0
votes
1answer
61 views

How to synchronize the time in Debian6 server? We have 30 min delay in our VMs

I can't have the correct time in our servers. We get always the same delay in the three of them (they are VM on the same server). We use ntp to have our date always synchronized· The main server ...
0
votes
1answer
59 views

Force a traceroute to go through added IP address

Currently speaking I am on a linux (debain) machine which has 2 routed public IPv4 address: 1.1.1.50 1.1.1.60 Both of these IP addresses are currently simply added as a vitual host: 1.1.1.50 -> ...
0
votes
1answer
62 views

SSH - ChrootDirectory not working

I am trying to chroot a "test" user (group sftp) to /home/test. I've added the following lines at the end of my sshd_config: Subsystem sftp internal-sftp Match User test ChrootDirectory ...
0
votes
1answer
147 views

Multiple instance of Murmur ( Mumble server ) [closed]

this is my first time posting here and after a couple hours of searching on different web sites / wiki I'm still trying to find a way to simply host and manage multiple mumble server on the same ...
0
votes
1answer
42 views

Specific host file for interface with dnsmasq

I use a VPN on an interface, e.g tun0 (2.2.2.0/24), while the LAN network is on the interface eth0 (1.1.1.0/24). I use dnsmasq to route specific addresses to my LAN and these addresses have their ...
1
vote
0answers
31 views

Apt and package conflicts

I have spent some time researching, and as I could not find anyone with the same issue I figured I might as well ask. I have two packages X and X-1. X-1 is essentially an upgrade from the previous ...
0
votes
1answer
36 views

Run cron jobs in different TZs

I have several cron events that need to run but on different timezones. For example, I have one event that runs every day at 08:30 UTC, and another event that runs every day at 09:30 CET. I've read ...
0
votes
1answer
280 views

GitLab CE 7 behind Debian 8/Apache 2 virtual host: can’t access assets

On Debian 8.0 I’m trying to have Apache 2.4.10 manage a GitLab CE 7.10 Omnibus installation as a virtual host. Setting and goal Apache 2 is already set-up and running several virtual hosts that all ...
-1
votes
2answers
37 views

Change Mail Password, leave user system password

I have a Debian Jessie server that provides (web-)mail using postfix, dovecot and roundcube. To log-in to roundcube webmail, I have to use my system user name and password. This seems like a major ...
3
votes
1answer
153 views

api-get “Error reading from server” under Docker

I'm running the following command in Bash: DEBIAN_FRONTEND=noninteractive apt-get update -qq \ && apt-get install -y build-essential git libncurses5-dev openssl \ libssl-dev fop ...
1
vote
2answers
61 views

Error: Filesystem is read only

I've been having trouble with a debian system's file system going into read-only mode. The short solution was to turn it off and back on again, but it keeps switching over to read only mode. The ...
2
votes
2answers
335 views

BIND SERVFAIL after upgrade to Debian Jessie

I've done absolutely nothing to my BIND configuration, but looks like Debian Jessie upgrade has broke it. Maybe some new options got introduced to it, or the old things now work differently, but I ...
1
vote
1answer
217 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 ...
0
votes
0answers
25 views

Debian Squeeze booted into runlevel 6

I've just found a very strange issue. One of my Debian Squeeze systems has booted into runlevel 6. I'm not sure how. None of the services configured to run at the lower levels started up. This is ...
2
votes
1answer
53 views

Can't execute any command

I can't execute any command on my Debian server, for exammple if I try to execute "reboot" command I have this : root@server002:~# reboot -bash: /sbin/reboot: Input/output erro Or if I want to ...
-2
votes
2answers
105 views

DNS not resolving 3rd level sub domain [closed]

I have a site working on a VM with Debian and Apache. The site is sitename.example.com . Now, I need to add a subdomain like subdomain.sitename.example.com on the same IP. What have I done until now: ...
1
vote
1answer
75 views

cURL to localhost gets dropped by iptables

I'm trying to use cURL on the shell to connect to localhost. I'm using curl http://localhost:80 to connect. Unfortunately, it's being blocked by iptables. Here's the error in the iptables log for why: ...
0
votes
1answer
56 views

Tomcat7 ignoring JAVA_HOME

I have been trying to start tomcat7 server without success. I am using the Raspbian distro in a RaspberryPI. When I try to start tomcat: $ sudo service tomcat7 start [FAIL] no JDK found - please set ...
0
votes
1answer
142 views

Failure trying to manage apt sources with Puppet

I'm trying to get Puppet to manage my Debian apt sources.list, however, catalog compilation fails with this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
1
vote
1answer
271 views

Debian Jessie: how to setup a socks5 proxy server?

I'm running a Debian Jessie server. I'm trying to setup a socks5 proxy server on such server: Firefox (local computer) <> Debian (remote server) <> The Internet I know how to configure proxy ...
1
vote
0answers
48 views

snmpd won't generate traps

I'm trying to get snmpd to inform our monitoring system when an event such as low disk space takes place. I'm using snmpd on Debian 8. My snmpd.conf file looks like this: ## # Daemon ## ...
0
votes
1answer
30 views

Strange process running

I just mentioned that one user starts a process which is called "httpd". 31712 ftp_johndoe 20 0 35988 8828 1460 S 14.0 0.0 1h50:31 httpd 28616 ftp_johndoe 20 0 5304M 43936 35080 S 4.0 0.2 ...
1
vote
1answer
87 views

mail client Thunderbird does not read new mails from dovecot/postfix mail server

I run a server: Debian GNU/Linux 7.8 (wheezy) and used the default mail system (exim) for mails with regular users (no vmail). Mail system did not work properly for some users, so I removed exim and ...
0
votes
1answer
41 views

Puppet Agent - launching as sudo

I'm having issues getting my Puppet agent to launch. I will be using the agent with the --onetime parameter as I want to agent to pull its configuration rather than the Puppet Master pushing. I am ...
1
vote
1answer
488 views

Add cronjob with bash script - No crontab for root [duplicate]

I have a deployment script and in it I'm trying to add a cron job. This is the code I am using which I found on stackoverflow. I'm running debian 8. # ADD CRON crontab -l > mycron echo "10 * * * * ...
0
votes
1answer
38 views

Recover overwritten RAID5 array (XOR)

as I've mentioned in a recent question (RAID5 rescue with LVM2 running on it) I'm rebuilding an RAID5 array. Now, I think that the initial wrong mdadm --create ... command has started the ...
0
votes
1answer
37 views

OpenLDAP will not start - Starting OpenLDAP: slapdrm: cannot remove `/var/lib/ldap/alock'

Hope someone can help me out here. I forgot the OpenLDAP admin password on a debian server and in the process, I specified the password in the slapd config file as follows: olcRootPW: ...
0
votes
1answer
100 views

RAID5 rescue with LVM2 running on it

I have a RAID5-array consisting out of 6 1TB drives. Recently with hardware changes i needed to recreate the raid to rewrite the bootloader on each drive. Now the problem starts. Starting the Debian ...
1
vote
2answers
129 views

/etc/init.d/ssh restart does not reload the configuration

I've added a chroot configuration to my /etc/ssh/sshd_config. I reload the configuration file using /etc/init.d/ssh reload, then try to connect using an SFTP client, but nothing changes, the user is ...
0
votes
2answers
26 views

puppet: execution ordering of classes 'instances'

I know how I can use resource ordering in Puppet to order built-in types (user, group, cron...) or classes, but I wonder how I can make it for specific instances of classes. For example, I use ...
1
vote
2answers
151 views

Use a specific outbound IP with Docker

I have 3 network interfaces: docker0, eth0 and eth0:0 (alias). auto eth0 iface eth0 inet static address 1.2.3.4 netmask 255.255.255.0 network 1.2.3.0 broadcast ...
5
votes
2answers
124 views

MySQL package upgrades (Debian apt-get) always break master-master replication due to changes in mysql schema

I have master-master replication set up on 2 Debian servers, and they replicate everything, including the mysql database itself (so that new users and such also replicate). This generally works very ...
2
votes
1answer
344 views

mdadm Software RAID1 with GPT on Debian 8.0 amd64 - Does not boot on disk removal [closed]

INTRO: I have spent countless days attaching/detaching MOLEX->SATA power cables, rebooting machines and trying hundreds of edits and commands. I am on the verge of desperation and desperately in need ...
2
votes
1answer
142 views

How to set the hostname with a script at boot for Debian Jessie?

I have a Debian Jessie installation that I boot with PXE and I need to set the hostname at boot using a script. I used /etc/init.d/hostname.sh with the previous Debian version, but it doesn't seems ...
0
votes
1answer
60 views

Server network setup with 2 NICs

We have a debian server server with 2 NICs. The Server should be configured with 2 IP addresses, one internal address for the communication in our LAN, and one public IP accessible from the internet. ...
2
votes
1answer
664 views

How to set the hostname for a Debian Jessie system?

Debian Jessie comes with systemd. The recommendation to set the hostname is using hostnamectl for systemd. However, this command does not work (even to display the current hostname) on the Debian ...
0
votes
1answer
249 views

Debian 8 Systemd fstab can't mount file system

Just upgraded to Debian 8. And system can't be booted because of this two lines in /etc/fstab: /dev/data/server/ /data ext4 defaults 0 2 /data/vmail /var/vmail none ...
1
vote
0answers
161 views

How to configure HHVM with Nginx compiled from source?

I installed Nginx 1.8 (compiled from source) on Debian 7: cd /opt/ sudo wget http://nginx.org/download/nginx-1.8.0.tar.gz sudo wget http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz sudo tar ...
0
votes
1answer
84 views

Python2.7 issue after updating Debian to Jessie

After running dist-upgrade on one system I am getting this error: Sorry: TypeError: compile() expected string without null bytesdpkg: error processing package python2.7 (--configure): subprocess ...
2
votes
1answer
65 views

puppet agent failing to run automatically

I have two nodes besides the puppet master listed in my puppet master. The two are currently listed as unresponsive. It appears the puppet agents are failing to run automatically. In my logs on the ...
0
votes
1answer
113 views

Unable to set a bridge over bonding on Debian

I have a Debian 8 Jessie machine with two interfaces (eth0 and eth1) bonded in balance-rr mode (aka 0). It works smoothly, but when I try to set up a bridge on it, it doesn't work. My ...
0
votes
0answers
105 views

Route Traffic For Specific IP Range Through Specific Network Interface

On Ubuntu 14.04. I need to route the traffic to specific IP ranges though a specific interface. route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref ...
0
votes
0answers
219 views

nginx + fastcgiwrap = 502 Bad Gateway

I'm trying to execute a cgi script on my web server. I'm running Debian 7.8 (wheezy), with nginx 1.8.0 and fastcgiwrap 1.0.3-3 (both installed via aptitude). Here are my nginx settings (taken from ...
1
vote
1answer
215 views

Unattended installation of Ubuntu from USB drive — Not mounted correctly

I'm doing an unattended installation of Ubuntu-14.04-server with a USB drive on different type of servers (HP Proliant ML110, ML310, ML350). In some cases, the USB drive is incorrectly mounted on ...
0
votes
0answers
44 views

Auditing user commands with ip address

i have to set auditing system to my firm's server. Server runs Debian Wheezy. I'm working on "auditd" system on server. I have only two rule. # Log any command run on this system -a exit,always ...
0
votes
0answers
27 views

why does having ~/.ssh/id_rsa.pub cause GUI dialog asking for SSH password even though SSH_ASKPASS is empty?

How the problem started For some reason I did not have my id_rsa.pub file in ~/.ssh. So I copied it off one of my servers to ~/.ssh/ on my machine... so that I have it, so I can copy it to servers ...
0
votes
2answers
233 views

Why does my server (postfix) “relay” mails / Have my server been hacked? [duplicate]

Something weird is going on on my mail server. I was mailing a friend and my mail bounced because the ip of my server had been blacklisted. It appears like my server is being used for relaying spam ...
0
votes
0answers
204 views

my squid proxy configuration always TCP_MISS

i have been trying for 2 days in my configuration but always same the result like this DIRECT/49.213.17.185 - 1429727403.426 22 114.125.72.213 TCP_MISS/404 228 HEAD http://dn.melon.co.id:8100/ - ...
1
vote
1answer
74 views

How can I restart “monit” when it stops or crashes?

I am setting up a server and have just installed "monit" to monitor processes and restart them (and alert me) when certain conditions are met. It works great. My question is what happens when monit ...