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

learn more… | top users | synonyms

0
votes
2answers
105 views

Why BIND does not use the forwarders any more?

BIND does not use the forwarders to resolve any more. It just goes to the root servers. I do not know when this started happening since everything worked transparently, but for sure bind configuration ...
0
votes
0answers
49 views

Reading home files permission: Policy constraint violation

I want to confine a certain user to be able to bind a node.js server to a certain port. That bit is working. What isn't working is allowing said user to access his own files. audit2allow is telling ...
0
votes
1answer
65 views

OpenVPN with IPv6 drops packages

I am using OpenVPN (build from tarball) and have a /112 subnet. My server is configured to use tun. IPv4 is working correctly, but IPv6 has some problems: ping6 ipv6.google.com gives no reply. When ...
1
vote
1answer
131 views

I can´t send emails server with Postfix in Debian [closed]

im trying to sent mail through php, in a Debian server with postfix, when i run the following script in the server, the code tells me that the email was sent successfully, This is my code: <?php ...
-1
votes
1answer
30 views

How to find out, which FTP server is installed? [closed]

How can I find out, whether an FTP server is installed on my (Debian) machine and which one it is?
0
votes
0answers
50 views

Cannot add any virtio discs in virt-manager, how to fix?

I’ve just freshly installed virt-manager and libvirt-bin (and related packages) on a Debian sid system, and have a strange problem I’ve not yet seen on another similar installation: When creating a ...
0
votes
0answers
29 views

Very strange ping times [duplicate]

Since yesterday I get very strange ping times. Please have a look: root@serverek:~# ping onet.pl PING onet.pl (213.180.141.140) 56(84) bytes of data. 64 bytes from sg1.any.onet.pl (213.180.141.140): ...
1
vote
1answer
58 views

Something (but not iptables) mysteriously redirects network traffic - how to diagnose?

Summary There is a virtualbox host (1.1.1.5) and a routed guest (1.1.1.6). Something redirects any traffic on port 25 with the guest, whether ingoing or outgoing, to 1.1.1.5 port 2525 and I cannot ...
0
votes
0answers
43 views

Should I ever do “sudo apt-get dist-upgrade” on a mission critical server? [duplicate]

I'm pretty sure the answer is "no," but there's more to this question. If dist-upgrade often downloads kernel upgrades, will my Ubuntu server always be stuck at a certain kernel if I always just do ...
1
vote
1answer
34 views

Virtual server isn't working if I use www instead of just the domain

I have two domains. Domain1 uses IP1, and Domain2 uses IP2, however they both point at the same VPS. I got it working if I go to domain1.com, however going to www.domain1.com gets stuck on the ...
1
vote
1answer
34 views

How do I send a different subdomain to a different IP, if two IPs are on the same VPS?

I have a VPS with three IPs. They're all on completely unrelated IPs (one is 23.226.xxx.x, another is 107.161.xx.xx, a third is 167.88.xxx.xx). If I go to beta.mydomain.com (for example, that won't ...
-1
votes
1answer
581 views

Can't update linux kernel on VPS

I recently started using VPS from OVH: http://www.ovh.co.uk/vps/vps-classic.xml This is likely problem very specific to this one provider. My goal is to install and run Docker on it, for this I need ...
0
votes
0answers
21 views

Debian stalls upon halt

When I tell debian to sudo shutdown -h now I get the following error message: INFO: rcu_sched detected stalls on CPUs/tasks: { 0} (detected by 1, t=15002 jiffies) How do I find the offending ...
1
vote
1answer
397 views

startpar process left hanging when starting processes from rc.local or init.d

I have a peculiar issue when starting ongoing(service-like) processes from either full blown init.d script (SysV style) or a simple one-line call from rc.local file like so: su someuser -c ...
0
votes
1answer
125 views

Configure GRUB on XEN VPS

I have a xen VPS with debian 7 x86_64 installed on it. The operating system comes with GRUB2 installed on it. The problem is that while runnnig apt-get update apt-get upgrade -y GRUB says The GRUB ...
2
votes
4answers
217 views

Starting a script as another user

I've created a script in /etc/init.d/ which has to run several other scripts from other (non-root privileged) users from their home directories, as if they started them. I launch these scripts ...
0
votes
0answers
33 views

Dotdeb php5-gd without libjpeg8?

I have problem with GD - it creates blurry images on my dotdeb nginx+fpm server. I checked phpinfo and the difference is that the working servers show "libjpeg version: unknown". This faulty one shows ...
0
votes
2answers
64 views

How to setup an automatic failover firewall?

We have an intern network of servers. In this intern network only one server has access to the internet and serves as route/firewall so that other server have also access to internet. Now we want to ...
1
vote
1answer
86 views

debconf ssh install variable names

I am writing a bash shell script that sets up a server. To prevent it asking for e.g. the mysql server root password I use debconf-set-selections <<< 'mysql-server mysql-server/root_password ...
-2
votes
1answer
76 views

Set Debian Wheezy date to UTC [closed]

I'm not an expert in Linux servers, and I'd like to configure my server to use the UTC timezone, so there's no issue between the applications running on it. I don't really know how to do this. I ntp ...
3
votes
0answers
330 views

`apache2ctl restart` makes apache forget about cgi-bin

On my Debian machine (running the apache as packaged by Debian, package 2.4.7-1), every time apache restarts through apache2ctl restart or apache2ctl graceful, it forgets about my cgi-bin directory: ...
0
votes
0answers
902 views

Access-Control-Allow-Origin “*” not allowed, when credentials flag is true

I have this ajax request running that connects to http://xxx.com:6001 But will only work when I open http://xxx.com:6001 in the browser, where an index.html is located, and run though Node.js at port ...
1
vote
0answers
90 views

Debian Wheezy hangs before GRUB menu after successful install on Dell C-Series Server

I've just installed Debian Wheezy on a Dell C-Series Server w/o any problems. However, at first reboot, I don't even get a GRUB menu. So I guess it's a problem with where GRUB was installed and maybe ...
1
vote
2answers
60 views

Debian resolver adds domain and I don't want that

I have the following problem: if I ping a non existent domain name I get a reply from an IP address # ping nosuchdomain.common PING nosuchdomain.common.myrealdomain.com (192.168.1.1) 56(84) bytes of ...
0
votes
0answers
46 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 ...
1
vote
1answer
197 views

Debian - OpenVPN connects but no internet - Forgots iptables

I have Debian 7.2 VPS server which I use as Nginx/MySQL/PHP/Mail host and VPN for private use. For VPN I installed OpenVPN. After installation I was able to connect to VPN, but there was no internet ...
1
vote
1answer
184 views

Nagios NRPE plugin check_ad - Fixed

i've reading about this problem much and trying to solve it on my own ways but still not luck. I've running debian 7 as nagios server. Problem is that i cant check state of my Active Directory Domain ...
0
votes
1answer
32 views

FastCGI protocol over the network

For a reason that is beyond my control, there is a web server (fairly standard Debian/Apache deployment) sitting on our NAT'd network which takes all traffic to ports 80 and 443. I can't change that. ...
0
votes
1answer
68 views

Apache SSL reverse proxy not correctly forwarding requests to non SSL hosts on localhost

I'm struggling to get my Apache config right. I'd like to terminate the SSL connection on Apache and proxy to the http servers on localhost. The setup is browser --> Apache (HTTPS) --> ...
0
votes
0answers
129 views

Squid3 http Issue

I got Squid3 running on my MyBookLive (Debian Squeeze). I succesfully installed Squid3 but it stops serving http requests after some time, https does still work. If I check the access.log I see ...
0
votes
0answers
74 views

Supplying password to openconnect started via start-stop-daemon

I am attempting to start openconnect via a Debian init script that makes use of start-stop-daemon: DAEMON=/usr/sbin/openconnect DAEMON_ARGS="<endpoint> --script /etc/vpnc/vpnc-script --user ...
0
votes
0answers
273 views

Mysql not starting after upgrading debian squeeze to wheezy

I recently bought a VPS box with Debian Squeeze pre-installed as the OS. I upgraded to Debian Wheezy and most things work fine (e.g. apache). The problem I'm having relates to MySQL - which is just ...
1
vote
1answer
125 views

Running a custom script when StrongSwan connection is established

I have StrongSwan VPN server set up on a Debian host, and would like to run a custom script when a client connects to it. The only thing I have come up with is periodically checking the contents of ...
-1
votes
1answer
91 views

Add permissions for a user to folders and files [closed]

I have a user jenkins that creates files and folders in (on ubuntu) : /var/jenkins/workspace/my-project e.g: drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 16:41 ./ drwxr-xr-x 8 jenkins jenkins 4096 ...
0
votes
0answers
64 views

Debian mail server's Maildir folder with too many files causing disk I/O to go on high load

I have a Debian mail server running Postfix, Courier and Maildir, with disks on EXT3 filesystem. I have noticed that when I use my webmail application (Squirrelmail, in this case). It gets some kind ...
0
votes
2answers
71 views

Which remote file system can be used on Linux without occupying local space? [closed]

I want to extend my server's local disk on Debian 6.0 by mounting a remote file system. But I don't want to have this remote file system to occupy (too much) local disk space, for instance with ...
0
votes
1answer
23 views

CouchDB Illegal Database name Can't View Data after Upgrade

I have upgrade my database to couchdb 1.4.0 and it has prefixed all my db names with 1.2.0/. Now when I try view or use the database it says "Error: illegal_database_name Name: '120/test'. Only ...
0
votes
1answer
41 views

CouchDB Will not start after upgrade

Tried on both 1.2.0 and 1.4.0, both error and will not start. The config files are default apart from my added user admins. Apache CouchDB 1.4.0 (LogLevel=info) is starting. {"init terminating ...
0
votes
2answers
37 views

Creating an environment variable for a specific user

When you set an environment variable in linux is it set only for the user who executes it, or can you specify a user when you store it, or instead is it always available for all users?
-1
votes
1answer
68 views

Networking service not responding [closed]

Networking is going down on some of our machines. This is happening very randomly. Restarting networking is fixing the issue. I found the following in the kernel logs: Mar 19 18:19:05 <host> ...
1
vote
1answer
136 views

Uwsgi and flask with unix socket instead of URL

I was trying to find out the difference between a socket as a unix file and a socket that is a ip and port. If I switch something like uwsgi to use a file instead of a port and ip, how do I then ...
0
votes
1answer
51 views

Postfix - disabling local delivery correctly

I have a postfix server with a config for no local delivery. Every email sent through from websites on this server are beeing sent out, no domain on this server accepts emails localy (every domain has ...
0
votes
0answers
125 views

403 AuthorizedOnly error when attempting apt-get upgrade on Ubuntu 12.04

For some reason, apt-get upgrade isn't working today. This is what I see when I try to upgrade : root@localhost:~# apt-get upgrade Reading package lists... Done Building dependency tree ...
1
vote
1answer
102 views

Low throughput on Debian + nginx/apache

On the same LAN/WAN I have a Windows server 2012 server running IIS 7.5 and a Debian (wheezy) server running Nginx 1.4.5. Both servers are connected to the same LAN/WAN. When I download a 10mb file ...
1
vote
1answer
87 views

How do I create encrypted partitions with kickstart in Debian or Ubuntu

I am setting up an automated installation of Ubuntu using kickstart and network booting. With redhat this works quite well, however Ubuntu kickstart appears rather limited and I can not find ...
0
votes
1answer
48 views

Blocking incoming traffic for interface

I have created an interface eth0:2 and I want to make curl requests from that interface only so I want to block all ports and incoming traffic on that interface. This iptables rule used to work, but ...
0
votes
0answers
77 views

Server configuration for deploying node.js with Nginx

I was experimenting with Node.js recently and would like to make use of the concurrency feature. I am using Nginx for proxy and load balancing, and MongoDB for database. There are a few questions i ...
0
votes
1answer
88 views

Uwsgi - Socket file or URL

I was installing UWSGI and it looks like for the socket I can specify either a URL and port or instead I can specify a socket location file. I was wondering if anyone can tell me what the difference ...
1
vote
1answer
851 views

MySQL - The server quit without updating PID file

I have installed MySQL 5.6.16 on Debain 7.4. But i encountered problems with starting mysql, where every time i start mysql i get this error: The server quit without updating PID file ...
2
votes
0answers
127 views

Supervisor cannot correctly stop uwsgi

Supervisor can start uwsgi but after stopping uwsgi, when i try to start it again I get this error: 2014-03-16 08:38:34,249 DEBG 'app' stderr output: ...