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

learn more… | top users | synonyms

1
vote
0answers
31 views

Sendmail is taking huge amount of CPU [duplicate]

My dedicated server is slowing down since 2 days. I checked the RPM and the CPU usage has gone from less than 10% to more than 50%. Rebooting the server didn't help. So, I tried top command: top - ...
0
votes
1answer
54 views

MySQL: Cannot connect to Server via SSH. 'reading initial communication packet', system error: 0

I am running Debian 8.2 and the install is quite fresh. I try to connect to my MySQL server via SSH using Sequel Pro. I always get this error: Lost connection to MySQL server at 'reading initial ...
4
votes
3answers
578 views

SSH: su root or sudo? [duplicate]

What is the better option: Using su to switch to root or enabeling sudo? Without the use of sudo an intruder would need to know the password (or key) of a user allowed to ssh and then also the root ...
1
vote
0answers
98 views

Can I restart dependent service with systemd?

I have created two services, one for a rails app and another for its delayed_job process, I want to restart the delayed_job service everytime the rails service is restarted, can I do this with ...
1
vote
1answer
171 views

Debian Samba share Authentification with RADIUS server

I'm trying to configure Samba (apt-get install samba) to authenticate users using a RADIUS server and i cannot find anything useful. Is it possible ? I tought i could set Samba to use the PAM ...
0
votes
1answer
37 views

Securing local repository with SSH and chroot

I've got a local Debian repository server in my network and I want my clients to upgrade, update, and install packages from it through SSH. I configured my sources.list so it would look like this : ...
0
votes
0answers
88 views

“Permission denied” to a directory that I own, permissions seemingly correct

Setting up a Docker image based on Debian 8, specifically the nginx image with uwsgi added. The web service in question will run via uwsgi as www-data. The service is copied in to the container with a ...
0
votes
1answer
31 views

Easy way of checking signature of a source package from the other release of debian

I'm trying to backport nanomsg from jessie to squeeze. But when I run: dget http://http.debian.net/debian/pool/main/n/nanomsg/nanomsg_0.4~beta+dfsg-3.dsc It says: dscverify: ...
1
vote
0answers
74 views

Server doesn't answer to ping just for me [closed]

I can't reach my server by any means on my own IP. But, if I try to connect to the server through a proxy, it's going well. My hosting company says the server is up too. The server is a debian + ISP ...
0
votes
0answers
79 views

IP ping internally but not externally

Yesterday, my DEBIAN server went down and I have to reboot. After that, several web sites did not go up and I found that 2 IP above 3 do not ping. The main IP still works and attached web sites work. ...
0
votes
1answer
118 views

Gmail bouncing postfix mail [duplicate]

I followed this tutorial to get email working on my VPS. I've been having problems sending email to Gmail. I can receive emails fine, but any mail that is sent to Gmail is bounced with the following ...
1
vote
0answers
99 views

Apache Timeout / Deadlock When MaxClients Reached

I'm running Apache 2.2, preform MPM, on Debian Squeeze with mod_php (PHP 5.3), listening on several ports (with memcached running on the same machine). Over the past 6 weeks or so, I've been ...
0
votes
1answer
113 views

Minicom not connecting to cisco over usb / serial

We have configured a Pi to be a recovery device, OOB access for a core router. It connects to a Cisco serial over a FTDI USB Serial Device converter root@hex-pi:~# dmesg | grep tty [ 0.000000] ...
1
vote
1answer
34 views

Where does “vmunix” label in syslog come from on Debian/Linux systems?

After upgrading one Debian server from Squeeze I noticed that the kernel log messages (those using kern.* in /etc/syslogd.conf) now appear with "vmunix" prefix while earlier they had "kernel" prefix. ...
1
vote
0answers
44 views

Web sites freeze after clicking link - unexplainable ACK packet

We have a sporadic problem accessing some internal links on websites. (Windows Firefox, Internet Explorer, Chrome) Behaviour On first clicking a link, the browser will load infinitely. The second ...
1
vote
1answer
41 views

How to tell if razor is running?

I have a mailserver which is using amavis to do the spam testing (through spamassassin). Now I wanted to use razor and pyzor as well. I installed them and did the following: # su - amavis -s ...
1
vote
0answers
12 views

Mark packages to be installed and run aptitude in interactive mode

I want to install series of packages. Selecting all of them in TUI is inconvenient. But if there're any conflicts, resolving them in interactive mode is much easier. Is it possible to mark packages ...
3
votes
2answers
297 views

Debian Jessie : dhclient always active

On fresh installs of Debian Jessie, after I set a static ip address, the DHCP client is still active. It even revert back to the dhcp ip address when the lease is renewed. step 1: I modify ...
-1
votes
1answer
142 views

Dovecot install error: Sub-process /usr/bin/dpkg returned an error code

I am trying to install a mail server on my Raspberry Pi. I have setup the FQDN and run apt-get update, and am trying to install postfix, mysql and dovecot with the command apt-get install postfix ...
0
votes
0answers
38 views

UFW not working on Debian while ufw status looks good

The problem is: On a server that has several interfaces, loopback, eth0 with public IP and several Docker virtual interfaces, I wanted to use UFW to deny all of the incoming traffic on eth0 for the ...
0
votes
4answers
183 views

Find IPv4 broadcast address of a device

I need to determine the IPv4 broadcast address of a device (if any) with a shell script. If there are several, pick one (e.g. first as ordered by /sbin/ip). I have a solution, but i do not like it ...
0
votes
1answer
247 views

Debian 8 Jessie with older Kernel - Do I have to expect problems?

I have a virtual server that I tried to upgrade from Debian 7 to Debian 8. Unfortunately, I cannot use the new kernel: it still uses version 3.2.41-042stab108.2. Everything else seems to have been ...
1
vote
1answer
31 views

What kind of ram usage is bad ram usage?

We have been monitoring our Debian servers' ram usage in order to receive alerts when the ram usage goes over a certain % threshold. However, a high % ram usage is not necessarily a problem can even ...
1
vote
0answers
26 views

Not able to access mailman via web interface

I am trying to install mailman on my local machine. I am using debian 8. I installed mailman simply using apt-get install mailman. Then i copied mailman.conf file to ...
0
votes
2answers
91 views

Redirect subdomains to services on different ports of same server

I have a VPS which has 1 IP. If I run two socket servers, one on port 8080 and the other on port 8081, is there a way I can map service1.mydomain.com to the socket server on port 8080 and ...
0
votes
0answers
85 views

Installing package fails with “tar: Invalid argument”

I'm running a docker container based on debian:wheezy to install wp-mirror. I'm running into a lot of dependency problems when running apt-get install wp-mirror, it seems to work after running that a ...
0
votes
0answers
95 views

Why apache2 is continuously failing?

I have issues with the server constantly. It seems to fail every few hours and I cannot tell why. This morning I had 503 on all of my websites, I tried to restart Apache but # service apache2 ...
0
votes
2answers
84 views

NFS stop working when on a lvm

I have a nfs server that was working correctly with a share on /exports/something. However, when I mount /exports/something on /dev/mapper/something (a lvm with more space) the nfs does not work. The ...
-1
votes
1answer
127 views

How to stop small DDOS attacks (443 port)?

On the server goes DDoS attack. ~# netstat -n -p | awk '{print $5}'|awk -F: '{print $1}' | sort -n | uniq -c | sort -nr | head -n10 48 109.229.9.53 47 31.207.244.130 45 87.252.227.83 ...
0
votes
1answer
80 views

Debian 8 + PHP: /tmp/ Permission denied

I had a website running fine on Debian 7 + PHP 5.6, and recently decided to upgrade my Debian installation to Debian 8. Everything went fine, except for a small thing. While running the same code, ...
0
votes
1answer
939 views

ubuntu ftp 500 OOPS: prctl PR_SET_SECCOMP failed

I have just installed vsftp in my ubuntu 14 server. I have installed vsftp also using sudo apt-get install command. then restarted ftp server but it refuse all connection for this error 500 OOPS: ...
1
vote
2answers
55 views

How to separate solr/home and data/dir in Catalina/localhost XML file?

I've the following configuration file within conf/Catalina/localhost in Tomcat 7: <Context docBase="webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" ...
0
votes
1answer
38 views

How to override default `solr.home` in XML files under `Catalina/localhost`?

I'm trying to configure two instances of Solr on the same host and I'd like to override solr.home for each instance. I've created two files under Catalina/localhost/ as suggested in Solr Tomcat wiki: ...
0
votes
1answer
224 views

Windows Hyper-V Debian going into Read Only mode

I am running Debian 7.8 (wheezy) which is installed on a Windows Hyper-V server (not managed by me). However, the server frequently goes into 'read only' mode and I am not sure why. I have looked in ...
0
votes
1answer
35 views

OpenVPN limit monthly transfer

I want to limit clients with my OpenVPN to about 5gb/month,then autodisconect them until the next 1st. Is there an easy way to do this with Openvpn?
1
vote
2answers
147 views

What is the best way to run unoconv in php on debian server?

I have a php script in which I need to convert doc documents to html files in order to show them in a web page. I'm doing the conversion with the php command: exec ( $Command, $Output, ...
0
votes
2answers
32 views

What's the file upload to a single folder limit on a Debian server…?

How can I maximize the limit, so I can upload around 1.000.000 images of book covers into a server running a website? Our server has 100 GB disk space and the images are under 10 GB, so why does my ...
0
votes
0answers
14 views

How to transfer apache ssl certificate from cent os to debian

I have a VPS running cent os 7 and I need to transfer the SSL certificate from it to a dedicated running debian .SSL was made in gandi.net. The problem I have in debian I must configure apache 2 ...
0
votes
1answer
124 views

Backup kvm Virtual Machine with lvm

I'm new to virtualization and have been searching for a while for a flexible disk format for setting up a kvm VM, after some reading i decided to go with lvm. And did set up the disk and the ...
2
votes
1answer
131 views

Proper Way of Setting Umask For php-fpm on Debian/Ubuntu

I'd like to set umask to 002 for the php-fpm process. I'm reading here and here that on Ubuntu/Debian it is supposed to be done by modifying the init script. I'm having doubts however that this is ...
2
votes
3answers
1k 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 ...
1
vote
1answer
30 views

Debian - One Gateway 2 interfaces how to?

I have this scenario. 4 VM Debian8 : 1 DHCP 1 DNS 1 GW 1 Client I can ping from all my VM (except GW) each other (@ip or hostname). My GW have 2 interfaces (eth0->LAN / eth1->WAN). From it I can ...
-2
votes
2answers
287 views

Can ping by IP address but not by hostname [closed]

I have 3 Debian VM. 1)DNS 2)DHCP 3)Client DHCP looks ok. I got my fixed-address on DNS and Client like I want. When I try to ping each of them @ip it's responding. If I try to : ping dhcp But I ...
0
votes
2answers
215 views

rDNS 'zone [xxx] has no address record (A or AAAA)

teaching myself some server tricks. Getting trouble with bind9 on debian8. named-checkzone pro.lan db.pro.lan.inv zone pro.lan/IN: NS 'server.pro.lan' has no address records (A or AAAA) my ...
1
vote
0answers
110 views

SSL Configuration failed in Apache after moving keys/certs to another machine

I'm in the process of moving my website to another server, and after moving the SSL key and certs and recreating the same Apache config, I encounter the following in the error logs at the time of ...
1
vote
0answers
36 views

To use linux as AD Server do I have to change unix permissions (chmod)?

I didn't see a clear explanation about changing folders/files permission on server side when using Linux as an Active Directory Domain Controller (ADDC), but I have problems all the time with ...
0
votes
2answers
84 views

MySQL, NFS and symbolic links

I have been migrating an older server running apache2 + mysql under ubuntu to a new server running debian (wheezy). The migration works fine while the databases are storted localy (in our case ...
0
votes
1answer
14 views

run remote command to save debian package list

I'd like to backup the package list(dpkg) of some remote computers to a backup server: all of them running Debian. I already configured the rsa key to login remotely as root on the other computers ...
0
votes
0answers
124 views

Debian apt install single package from experimental but keep original system upgrades

I'v installed xfce 4.12 on debian jessie from testing by adding the testing repo in /etc/apt/sources.list.d/testing.list File content: deb http://ftp.us.debian.org/debian/ testing main ...
3
votes
1answer
101 views

Debian Server Keeps Restarting Unexpectedly

My laboratory' server with Debian-Wheezy-7.8-Stable keeps restarting few times after some hours of uptime without any notification. This server is set up for considerably high load numerical ...