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
7 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
votes
0answers
10 views

install apache2 fails with Debian 8

I have to install apache2 in order to install sslh by following this guide http://www.unixmen.com/sslh-a-sslssh-multiplexer-for-linux/ but I get result following with $ sudo apt-get install apache2 : ...
1
vote
1answer
26 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
5 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 ...
0
votes
0answers
7 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
11 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 ...
-2
votes
0answers
9 views

How to create a sub project in weblate? [on hold]

I just setup a new server with weblate software send I have no clue how to set correctly a sub project with github source. Can anyone please post a model to follow? The documentation at weblate is ...
0
votes
0answers
8 views

Postfix (using Exchange as relay) ignores /etc/aliases for outgoing mail, but not for icnoming

I have a Debian 8 server with Postfix. Postfix uses an Exchange server as relay host. In my /etc/aliases I have several aliases like # aliases for incoming mail incoming: |/path/to/my/program # and ...
0
votes
1answer
44 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 ...
0
votes
1answer
16 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 ...
2
votes
1answer
889 views

Cannot install grub, segmentation fault, unable to identify filesystem, superfluous RAID member, found two disks with same index — Debian 7

A server was recently transported from location A to B, a long journey that took six months. Things have gone wrong due to nothing being labeled prior to shipment. Yes, I know --- it was done by ...
1
vote
5answers
78 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 ...
-1
votes
0answers
12 views

Create LVM2 volume group on top of RAID1 array

Basically, I have sda and sdb in RAID1 (mirroring). The RAID device is md0. I need to create a volume group on md0. I boot the OS from this RAID array. The command pvcreate /dev/md0 returns Can't ...
13
votes
3answers
6k views

HAProxy graceful reload with zero packet loss

I'm running an HAProxy load balancing server to balance load to multiple Apache servers. I need to reload HAProxy at any given time in order to change the load balancing algorithm. This all works ...
0
votes
0answers
12 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
1answer
17 views

Running remote script via ssh command

I have a script on remote Debian server machine and I want to run a command by invoking: ssh server "find.sh" My find.sh script is in in: /home/user/bin First of all, I ran ssh server "echo ...
0
votes
2answers
26 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" ...
1
vote
0answers
10 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
1answer
2k views

Iptable l7-filter installation guide and block p2p

I would install l7-filter to block P2P torrent, First of all , I have a linux debian. I installed by the below command apt-get install l7-filter-userspace And then run command iptables -I FORWARD ...
0
votes
2answers
38 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 ...
1
vote
3answers
2k views

Disable user_deny.db in Cyrus/imapd

We have a cyrus 2.4.12 on Debian, we use packages, rather than building each software ourselves. I am getting the this "log" constantly, a lot of, various users, and 8-10 times per user request: ...
0
votes
0answers
22 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
54 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 ...
2
votes
2answers
6k views

How to install 32-bit libraries using Debian Testing

Question: What is the way to determine, ahead of time and without doing a full install of 64-bit Debian Testing NETINST, when Debian Testing has 32-bit libraries available and fully working and ...
0
votes
2answers
61 views

debian slow login after username entry

I have searched for an answer, and found resources about changing the delay after an incorrect password entry for an SSH login, but not to my specific problem. My problem is that the delay is after I ...
1
vote
2answers
1k views

cf3 Can't stat … in files.copyfrom promise

On the client: # cf-agent -KIv ... cf3 -> Handling file existence constraints on /etc/cfengine3 cf3 -> Copy file /etc/cfengine3 from /srv/cfengine/sysconf/server/inputs check cf3 No existing ...
0
votes
1answer
40 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 ...
2
votes
2answers
940 views

Setting up a chroot sftp on debian server

I'm trying to allow a user "user" to access my server by either sftp or ssh. I want to jail them into a directory with chroot. I read the instructions here however it does not work. I did the ...
3
votes
1answer
1k views

CentOS Tuned Equivalent For Debian

Running a few systems, a few are Debian which have been great. I have on the CentOS boxes tuned(tuned-adm) installed and setup for throughput. I searched all over Google and only found some articles ...
-2
votes
0answers
26 views

mail dovecot: auth: Fatal: unknown database driver pgsql [on hold]

My dovecot/exim4/courier mail server worked perfectly well on Debian, until on Thursday morning it didn't. SMTP refuses to send email outside localhost, but roundcube webmail works well. I use ...
-2
votes
2answers
43 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 ...
1
vote
1answer
3k views

mount error 5 = Input/output error

I am running out of ideas. After a long period of testing this morning, I cannot seem to get this to work, and I have no idea why. I want to mount a Windows SMB/CIFS share with a Debian 5.0.4 VM, ...
0
votes
1answer
26 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
44 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: ...
4
votes
1answer
8k views

How to force Debian to boot new Kernel?

I'm running Debian 6, Debian GNU/Linux, with Linux 2.6.32-5-amd64 under Grub2 ( 1.98+20100804-14+squeeze1) on a remote system (no possibility to view the pre-boot messages). I compiled and installed a ...
1
vote
1answer
1k views

Redirect some specific traffic to a different gateway

I have two gateways with different ISP, one of them defined as default for the LAN user and the other ISP used as the default for the Servers and VPN traffic. This is done using regular routing tables ...
0
votes
0answers
18 views

unmet dependencies after an upgrade to Debian 8 [migrated]

After upgrading an amd64 Debian 7 to 8 I can not upgrade grep. What do I have to do to fix this? root@xyz:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading ...
1
vote
2answers
3k views

Grub rescue, will not boot from mdadm RAID, no such disk or device — mduuid wrong?

I am running a 14 disk RAID 6 on mdadm behind 2 LSI SAS2008's in JBOD mode (no HW raid) on Debian 7 in BIOS legacy mode. Grub2 is dropping to a rescue shell complaining that "no such device" exists ...
0
votes
1answer
7 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: ...
1
vote
1answer
3k views

Cannot restart apache2 on Debian server - “Cannot load /usr/local/apache2/modules/libphp5.so into server”

Okay... I'm something of a beginner when it comes to servers, and I'm having some issues with restarting apache on my Debian web server. I just ran the following: aptitude install apache2 openssl ...
0
votes
0answers
28 views

Upload problems from some of my users [on hold]

I have the problem that some of my user with 64k connection can't upload anything using php in my community. Error in Logs: [Thu May 28 19:13:47 2015] [warn] [client XXXXXXXXXX] (70014)End of file ...
1
vote
1answer
2k views

redmine gives 404 error after installation

I am using Debian squeeze with nginx and mysql. After raking db and loading default data to redmine. When i try to visit redmine in a browser, http://ipaddress:8080/redmine, I get a 404 error Page ...
-1
votes
2answers
74 views

How to install Solr 4.x on Tomcat via Puppet?

So far I've been using the following recipe for installing Solr 3.x on Tomcat 6: package { 'openjdk-6-jdk' : ensure => installed, } package { 'solr-tomcat' : ensure => installed, } exec { ...
3
votes
1answer
265 views

skipping dpkg-genchange step (Debian)

I'm building binary only package: dpkg-buildpackage -b -us -uc The build actually runs successfully, but I have deleted previous version of the package and now dpkg-genchanges complains: ...
0
votes
2answers
28 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 ...
1
vote
2answers
40 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 ...
0
votes
1answer
31 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 ...
0
votes
1answer
22 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?
2
votes
1answer
25 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 ...
1
vote
1answer
15 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, ...