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

learn more… | top users | synonyms

-1
votes
1answer
175 views

HTTP 301 moved for all nginx URL to a single HTTPS

Below is a config file that I am using with Nginx to redirect all WWW and non-WWW to the https:/domain.com URL server { listen 80 443; server_name domain.com www.domain.com; ...
0
votes
0answers
10 views

Tomcat7 ignoring JAVA_HOME

I have been trying to start tomcat7 server without success. I am using the Raspbian distro in a RaspberryPI. When I try to start tomcat: $ sudo service tomcat7 start [FAIL] no JDK found - please set ...
0
votes
0answers
11 views

Failure trying to manage apt sources with Puppet

I'm trying to get Puppet to manage my Debian apt sources.list, however, catalog compilation fails with this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
-3
votes
1answer
29 views

tor service can't start [on hold]

I'm using Debian. I've installed tor using command apt-get install tor. Now it's installed version is 0.2.5.12-1~d70.wheezy+1. But after I start the service by command service tor start, and by ...
2
votes
2answers
2k views

problems reinstalling apache2

I uninstalled apache2 on debian 5 64bit. Then I removed /etc/apache2 and reinstalled apache again. That folder is still missing and I have no idea how to get the apache files back (with modules and ...
1
vote
4answers
16k views

Reset admin password of OpenVAS

When I installed OpenVAS, I was prompted for a password, however the prompt errored out. I have installed OpenVAS and it is working properly, however I cant get in as admin (I created a new user and ...
2
votes
2answers
7k views

All Debian boot messages

How can the messages that scroll by when booting a Debian system be reviewed later? In other words, how can I review absolutely all of them conveniently? That's the important point to the question; ...
1
vote
1answer
24 views

mail client Thunderbird does not read new mails from dovecot/postfix mail server

I run a server: Debian GNU/Linux 7.8 (wheezy) and used the default mail system (exim) for mails with regular users (no vmail). Mail system did not work properly for some users, so I removed exim and ...
4
votes
1answer
72 views
+100

MySQL package upgrades (Debian apt-get) always break master-master replication due to changes in mysql schema

I have master-master replication set up on 2 Debian servers, and they replicate everything, including the mysql database itself (so that new users and such also replicate). This generally works very ...
8
votes
4answers
4k views

How to create a randomly keyed, encrypted swap partition, referring to it “by-uuid”, on Debian?

It is sensible that if you have any sort of block device encryption implemented on your GNU/Linux system, to encrypt your swap partition too, as any decrypted data may be written in cleartext at any ...
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 ...
1
vote
0answers
35 views

Debian Jessie: how to setup a socks5 proxy server?

I'm running a Debian Jessie server. I'm trying to setup a socks5 proxy server on such server: Firefox (local computer) <> Debian (remote server) <> The Internet I know how to configure proxy ...
1
vote
0answers
20 views

snmpd won't generate traps

I'm trying to get snmpd to inform our monitoring system when an event such as low disk space takes place. I'm using snmpd on Debian 8. My snmpd.conf file looks like this: ## # Daemon ## ...
0
votes
1answer
26 views

Strange process running

I just mentioned that one user starts a process which is called "httpd". 31712 ftp_johndoe 20 0 35988 8828 1460 S 14.0 0.0 1h50:31 httpd 28616 ftp_johndoe 20 0 5304M 43936 35080 S 4.0 0.2 ...
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
1answer
22 views

Puppet Agent - launching as sudo

I'm having issues getting my Puppet agent to launch. I will be using the agent with the --onetime parameter as I want to agent to pull its configuration rather than the Puppet Master pushing. I am ...
2
votes
3answers
3k views

irc server and web irc-client for debian [on hold]

I need irc server and irc client with browser interface. Os is Debian. irc server will be used mostly locally and there can be about a dozen remote clients. irc client must be accessible with ...
0
votes
1answer
46 views

Add cronjob with bash script - No crontab for root

I have a deployment script and in it I'm trying to add a cron job. This is the code I am using which I found on stackoverflow. I'm running debian 8. # ADD CRON crontab -l > mycron echo "10 * * * * ...
8
votes
5answers
5k views

How to duplicate TCP traffic to one or multiple remote servers for benchmarking purposes?

Infrastructure: Servers in Datacenter, OS - Debian Squeeze, Webserver - Apache 2.2.16 Situation: The live server is in use by our cusotmers every day, which makes it impossible to test ...
2
votes
2answers
908 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 ...
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 ...
2
votes
5answers
7k views

Debian on Hyper-V

I installed Debian with kernel 2.6.32-5-686 on a Hyper-V virtual machine. I had to add a legacy network card. I follow this tutorial ...
0
votes
0answers
19 views

Recover overwritten RAID5 array (XOR)

as I've mentioned in a recent question (RAID5 rescue with LVM2 running on it) I'm rebuilding an RAID5 array. Now, I think that the initial wrong mdadm --create ... command has started 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 ...
0
votes
1answer
956 views

NFS daemon not starting up with error message “Kernel does not have pseudo root support”

My nfs daemon is not starting up anymore. I see the following entries in the syslog: Sep 26 18:21:10 VOXWEBPRODDHNCGN001 mountd[3401]: Kernel does not have pseudo root support. Sep 26 18:21:10 ...
2
votes
1answer
111 views

Troubles with apache and virtual hosts [on hold]

I have a BIG problem. I have VPS with Debian OS, and LAMP installed. Fresh install. For control panel i using Webmin. Now i trying to setup multiple sub-domains on my server using webmin for example: ...
0
votes
1answer
38 views

RAID5 rescue with LVM2 running on it

I have a RAID5-array consisting out of 6 1TB drives. Recently with hardware changes i needed to recreate the raid to rewrite the bootloader on each drive. Now the problem starts. Starting the Debian ...
0
votes
0answers
17 views

OpenLDAP will not start - Starting OpenLDAP: slapdrm: cannot remove `/var/lib/ldap/alock'

Hope someone can help me out here. I forgot the OpenLDAP admin password on a debian server and in the process, I specified the password in the slapd config file as follows: olcRootPW: ...
2
votes
1answer
55 views

puppet agent failing to run automatically

I have two nodes besides the puppet master listed in my puppet master. The two are currently listed as unresponsive. It appears the puppet agents are failing to run automatically. In my logs on the ...
0
votes
0answers
17 views

Installing latest libcurl on debian from source [migrated]

So I need libcurl (dev) on my debian 8 machine. I have two issues with this: A) apt-get install libcurl-dev gives me an error: E: Package 'libcurl-dev' has no installation candidate B) It's pretty ...
2
votes
3answers
1k views

Using proftpd how do I disable regular ftp but leave sftp running

We have a Debian Linux box with proftpd, we have both FTP and SFTP running, but we would like to disable regular FTP and just leave the SFTP running Is there some way to do this?
10
votes
5answers
12k views

dpkg: warning: files list file for package 'x' missing

I get this warning for several packages every time I install any package or perform apt-get upgrade. Not sure what is causing it; it's a fresh Debian install on my OpenVZ server and I haven't changed ...
1
vote
2answers
31 views

Use a specific outbound IP with Docker

I have 3 network interfaces: docker0, eth0 and eth0:0 (alias). auto eth0 iface eth0 inet static address 1.2.3.4 netmask 255.255.255.0 network 1.2.3.0 broadcast ...
-4
votes
0answers
25 views

Banned from phpMyadmin? [closed]

I have got banned from my VPS by failing some login attempts on phpMyadmin. I have tried to get me unbanned, but without success. Unbanning from iptables and hosts files didn't worked. I have debian ...
0
votes
2answers
421 views

debian zero cpu usage on process stat

I use debian linux debian 6 (Linux 2.6.32-5-amd64 on x86_64) and if I query the process stat list (ps or top) every process has zero cpu usage. If I query the apache stat there is also zero cpu usage. ...
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: ...
1
vote
1answer
30 views

/etc/init.d/ssh restart does not reload the configuration

I've added a chroot configuration to my /etc/ssh/sshd_config. I reload the configuration file using /etc/init.d/ssh reload, then try to connect using an SFTP client, but nothing changes, the user is ...
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 ...
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
2answers
13 views

puppet: execution ordering of classes 'instances'

I know how I can use resource ordering in Puppet to order built-in types (user, group, cron...) or classes, but I wonder how I can make it for specific instances of classes. For example, I use ...
2
votes
1answer
43 views

How to set the hostname with a script at boot for Debian Jessie?

I have a Debian Jessie installation that I boot with PXE and I need to set the hostname at boot using a script. I used /etc/init.d/hostname.sh with the previous Debian version, but it doesn't seems ...
2
votes
1answer
216 views

Docker debian slow dns resolve

I got terribly slow dns resolve inside my ubuntu when using wget or curl, apt-get,... root@815340a37f0e:/# time curl www.google.com ... real 0m5.132s user 0m0.006s sys 0m0.003s When I do ...
2
votes
1answer
25 views

mdadm Software RAID1 with GPT on Debian 8.0 amd64 - Does not boot on disk removal [closed]

INTRO: I have spent countless days attaching/detaching MOLEX->SATA power cables, rebooting machines and trying hundreds of edits and commands. I am on the verge of desperation and desperately in need ...
10
votes
7answers
5k views

Setting the Timezone with an automated script

I'm writing scripts to automate setting up new slicehost installations. In a perfect world, after I started the script, it would just run, with no attention from me. I have succeeded, with one ...
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
0answers
9 views

Data rescue for lvm-raid

i've had to change mainboard and CPU of my storage server consisting out of 6x1Tb devices. As it was operated by a Software RAID (dm-raid) i've thought plug and play. But then no bootsector was ...
1
vote
1answer
551 views

nginx-extras ok for production server?

I need the upload progress extension on my production server running Nginx, the only problem is that to do that I must actually recompile the whole of Nginx. This means uninstalling the repo Nginx, ...
0
votes
1answer
44 views

Server network setup with 2 NICs

We have a debian server server with 2 NICs. The Server should be configured with 2 IP addresses, one internal address for the communication in our LAN, and one public IP accessible from the internet. ...
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 ...
1
vote
1answer
58 views

How to set the hostname for a Debian Jessie system?

Debian Jessie comes with systemd. The recommendation to set the hostname is using hostnamectl for systemd. However, this command does not work (even to display the current hostname) on the Debian ...