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

Display numbers in meters of htop

My server is running on debian Wheezy and htop 1.0.1 but it does not display any values on the meters bar except the 100.0% value of CPUs. Is it possible to show always the values of a meter? This ...
1
vote
0answers
7 views

Which dependencies are removable after building ruby?

I've successfully built ruby 2.1.1 on Ubuntu/Debian by installing the following dependencies: apt-get install \ autoconf \ bison \ build-essential \ libssl-dev \ libyaml-dev \ ...
-2
votes
0answers
7 views

Debian default php extension_dir [on hold]

in php.ini file after locate extension_dir and uncomment that. phpmyadmin do not working and i want to use SourceGuard loaders. default : ;extension_dir = "./" ; On windows: ; extension_dir = "ext" ...
1
vote
1answer
42 views

Correct Permissions VPS /var/www

This is a repost of an "off-topic" question on stackoverflow. My scenario is: I created a user and added that user to sudoers: visudo user ALL=(ALL) ALL Then sudo adduser user www-data and ...
1
vote
0answers
16 views

Linux (Debian 7 x64) swapping activity despite lots of free memory

Yes, I have reduced vm.swappiness a lot: % sysctl -a | grep swap vm.swappiness = 1 Memory is mostly free: % cat /proc/meminfo | head MemTotal: 8070592 kB MemFree: 2619580 kB ...
1
vote
1answer
20 views

What am I leaving out in enabling CGI execution under Apache 2.2?

I have a fresh Debian installation (if that's not an oxymoron), with Apache 2.2.x which I am migrating to after using Ubuntu Saucy and Apache 2.4.x, and I'm pulling my hair out about why ...
0
votes
0answers
18 views

IPsec Xauth RSA - Debian 7 and Android 4.4 VPN (Always-ON) and Mac OS X 10.9.2 VPN (On Demand)

I successfully installed IPSec Xauth RSA using this instruction: http://jsharkey.org/blog/2012/09/22/deploying-a-pure-ipsec-pki-vpn-server-for-android-devices/ In brief: apt-get install ipsec-tools ...
0
votes
0answers
25 views

udev set kdbrate settings on linux with console users issue [migrated]

I have a kbdrate setting as a udev rule for usb devices(keyboards and scanners that re repluggd in). kdbrate needs to be set by someone with /dev/port access which is the console user. The udev rule ...
0
votes
0answers
20 views

Debian preseed partman wrong partition

I'm tying to write preseed file for my debian but I'm stuck at partitions. Now I'm trying to use 200G HDD like this: /boot 300M / 5G /var/lib/docker 20G /var/log 4G swap 4G /home rest Instead of ...
0
votes
0answers
19 views

Postfix relay_domains configuration for outgoing mail

im pretty new to Postfix and email administration in general. I have installed postfix on my debian 7 server following this tutorial Now, I can receive emails and if I try to send them using ...
0
votes
1answer
19 views

Postfix - E-mails missing, no message in the log

I'm setting up a postfix + dovecot mail server for myself on a VPS. I plan to host a couple of domains with it and be able to manage the users via MySQL. It currently works as I would like to but it ...
0
votes
0answers
9 views

Getting IPMI SMB (I2C SMBus SSIF) to work on kernel 3.2

I've got one old server into my hands, and I'm trying to get IPMI to work. Server board is SE7520JR2 (SE7520JR22S, SE7520JR22.86B.P.08.10.0081.051820051126) $ dmidecode -t 38 # dmidecode 2.11 SMBIOS ...
1
vote
2answers
85 views

How do I redirect to different backend server based on URL using Apache?

I'm a newbie to Apache, sorry if this is a documented solution somewhere. I have been scouring the web and can't seem to find this answer ... I would like to redirect traffic based on the URL coming ...
1
vote
3answers
40 views

How do i change the global login shell on a unix system?

I want to set the login shell (the shell they get when they log in) of all existing and future users. The correct way to change the login shell seems to be chsh. But this only allows me to change the ...
0
votes
0answers
10 views

How to automate cleanup of config files from past pkgs as reported by “dpkg -l | grep ^rc”

There are a number of pkgs that weren't removed with "apt-get purge" and I would like to automate cleaning them up. You can't apt-get purge apache2.2-common because the pkg is already removed. You ...
-1
votes
0answers
24 views

automate updates with a bash script and cron [migrated]

I'm trying to automatize the updates of debian system, without making upgrades. Then i'll send an e-mail to me, everytime there is an upgrade available. I've tryied to do it with cron-apt, but i ...
-1
votes
2answers
27 views

URL Shortener & Site Redirection on same domain

i have one domain(http://sdm.fm), And I would like it to work as a redirect to http://somdomato.com. But at the same time I would like it to work as a URL shortener. Using phURL. Like: ...
-1
votes
0answers
17 views

How to setup properly host on IIS

Let me start from describing my network, since I think this might be crucial, so this is how it looks like: Other home devices. (static DHCP via MAC-IP bindings) ...
1
vote
1answer
34 views

Linux - reverse proxy - What is the easiest tool for powerful reverse proxy?

I am setting up a domain with a set of URLs per customer (customerx.domain.com) on a set of Debian servers. What is the best tool to redirect incoming requests to different servers and/or different ...
1
vote
1answer
47 views

HTTPS on Squid http proxy server

I've got many servers and I want them to have the same IP when they do requests via the Internet. So I configured a Squid http proxy server that works well for http requests. The problem is that it do ...
3
votes
0answers
149 views

How to update linux “locate” cache [migrated]

How can i update the cache / index of locate? I installed new packages and the files are clearly not yet indexed. So which command do I have to ommit, in order for the indexer to trigger. I'm ...
0
votes
0answers
37 views

debian multiple network interface multiple networks

I have a virtual environment with 3 virtual machines on one host. One of my virtual machines has 2 network interface. I need the virtual machine with two interfaces to connect to two different ...
0
votes
1answer
33 views

Emails won't download to Outlook (dovecot, postfix, debian)

I finally managed to set up dovecot and postfix to the point where I can connect to my server with Outlook to send emails. Receiving emails works too, but I can not download them to my mail client: ...
1
vote
1answer
49 views

mdadm Stuck at rebuilding spare

I have the following Raid configuration, cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md4 : active (auto-read-only) raid5 sda5[0] sdd5[4] sdc5[2] sdb5[1] 1536 blocks ...
0
votes
1answer
28 views

Error during the kernel booting

After kernel update I've got a problem with booting linux, does anyone know how to fix this problem ?? I am pretty sure that everything was OK during kernel compilation. Here is a picture with the ...
0
votes
1answer
28 views

Kernel Upgrade with grsecurity - Debian

I would like to upgrade kernel on my server from version 2.6.32 to the newest with Grsecurity. But after restarting the server there is still old version of kernel, can you tell me what I have done ...
6
votes
3answers
188 views

How to prevent Bind from responding to spoofed IP addresses?

We all know about open resolvers, this question is kind of for the inverse situation. I have a DNS server that is locked down to certain CIDRs acl trusted {[..] options { [..] allow-query { ...
0
votes
2answers
59 views

Upgrade to secure openssl fails

Upgrade to secure openssl fails Method: have in /etc/apt/sources.list: deb http://security.debian.org/ wheezy/updates main contrib non-free Then do: apt-get update apt-cache policy openssl ...
2
votes
1answer
37 views

How to reset self-signed keys that allow remote shell access to server in (Debian) linux

This is not something I've ever had to do before, and in light of the heartbleed bug I've been looking for a guide of how to do it properly, but all I can find are guides on how to log into a server ...
0
votes
2answers
38 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
28 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
24 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
69 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
22 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
6 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
votes
1answer
370 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
21 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
55 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
56 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
0answers
21 views

Is reboot command on Raspian (Debian) reliable enough? [migrated]

Is running "reboot" command enough to reliably restart the Raspian (Debian) system if filesystem/hdd is ok? Will it work when there is an infinite loop in stop() function of rc script or if there are ...
0
votes
2answers
59 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
19 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
48 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
53 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 ...
0
votes
0answers
6 views

wpa_supplicant ignore some networks [migrated]

I am using wpa_supplicant and would like to add a rule so that my machine connects to any open network. I can do this with: network={ key_mgmt=NONE } Now I would like to blacklist some ...
-1
votes
1answer
22 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
10 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
26 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
0answers
28 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 ...