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

How to block requests for virtual hosts that dont exist in apache [duplicate]

First up, check out this question: Why are external domains appearing in my apache logs? We're seeing the exact same thing on one of our Debian VPS servers - with one big difference, the regularity ...
0
votes
1answer
42 views

rewrite rule on location in nginx

When I write the location in, it works, when I use the same location as a rewrite rule, it doesnt!!! I dont understand the logic. Can someone please explain? location /v3/ { alias ...
1
vote
0answers
278 views

XenServer IP Failover OVH not working

I have got problem on XenServer with IP FailOver in OVH. I did everything what is in this official tutorial http://help.ovh.co.uk/BridgeClient and IP not working. On my VM is Debian 7 64bit I set MAC ...
0
votes
3answers
246 views

PHP is not executing scripts after Debian upgrade

We upgraded our Debian web server to Wheezy this morning, and after everything else came up fine, Apache appears to have lost the ability to execute PHP scripts, while it was able to do so before the ...
1
vote
0answers
92 views

Massively large number of packets dropped by interface

I have a virtual machine on ESXi 5 acting as a firewall for a PBX, it is running vyatta. When I run tcpdump on any interface, I get some ridiculous numbers! e.g. 4 packets captured 402 packets ...
0
votes
0answers
16 views

Unable to update old kolab server/openpkg

as of recently we had a running and working kolab server. Then someone found a nice bug in openssl, so of course, we had to update the Kolab instance. I tried to execute the command but it was ...
1
vote
1answer
1k views

Heartbleed flaw fix on Debian Wheezy [duplicate]

is there any 100% working method to update openssl to the non vulnerable version on Debian Wheezy. I do not want to upgrade the whole OS, nor would I like to install a non official package. Is there ...
0
votes
0answers
54 views

psql doesn't allow to input cyrillic symbols

I have a server with postgresql 8.4 installed on it. But when I try to insert some data in russian, for example: UPDATE category set question = '[there should be russian symbols]' WHERE id = 1; ...
0
votes
2answers
117 views

removed files from /tmp/ directory - can't login anymore

I'm a system integrator(evidently noob), and today i've made my first scan with rkhunter, a tool that look into the system for check the presence of rootkits. After that scan i -foolishly- decided to ...
0
votes
1answer
118 views

How to check if an apt mirror has the version of package I required?

Let say I want to query if openssl, 1.0.1-4ubuntu5.12 is available in the mirror, e.g. deb http://security.ubuntu.com/ubuntu precise-security main restricted Any easy command I can check?
0
votes
2answers
127 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
55 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
74 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
162 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
32 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
67 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 ...
1
vote
1answer
65 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 ...
1
vote
0answers
44 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
38 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
35 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
844 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
23 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
530 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
176 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
239 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
35 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
67 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
98 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
95 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
390 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
1k views

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

I have an ajax request which connects to http://example.com:6001. However, it will work only when I open http://example.com:6001 in the browser, which loads index.html (which is run though Node.js on ...
1
vote
0answers
124 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
73 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
56 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
281 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
242 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
35 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
76 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
173 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
91 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
378 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
195 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
119 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
77 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
80 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
40 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
56 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
38 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
71 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
182 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 ...