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

learn more… | top users | synonyms

-3
votes
1answer
12 views

Sendmail - How to relay / send emails ? (503 error: not authorized, use AUTH)

I have been following a how to for setting up sendmail using a smart host ssrs.reachmail.net, However I cant seem to successfully send a email from my server to my gmail account. I think I'm ...
0
votes
0answers
7 views

How to package nginx with custom modules for ubuntu server?

I need nginx with a few modules that are not included with the packages available via apt-get. I have no problem downloading the source from apt, changing the build params and compiling a .deb file ...
-1
votes
1answer
17 views

Run two mysql process on one data directory

I would like to launch two mysql process on one data directory (/var/lib/mysql) I have two servers, web-01 and web-02 but web-01 locked mysql data directory, and i would like to break this security. ...
0
votes
1answer
12 views

Debian: environment variable not available for script running from cron?

I have this line: echo $(date '+%Y %b %d %H:%m') Your output $HOSTNAME When I do it manually from command line I can see my $HOSTNAME just fine. However, when it's running from a script that's run ...
2
votes
1answer
53 views

How do I prevent Apache2 from trying to execute a file as a script?

So basically, I followed this guide about iptraf monitoring and rrdtool to the letter. I put it in /usr/lib/cgi-bin/ as usual for cgi scripts. Then, when I visit it from a browser, the images it makes ...
0
votes
0answers
25 views

netcat not listening on desired port

When I want to listen on desired port on one server, I use netcat ie: nc -l 8888 Then I can verify the server is actually listening on that port: netstat -tlnp | grep 8888 tcp 0 0 ...
0
votes
0answers
8 views

Run php as CGI with Apache 2.4 on Debian returns not found error

I am trying to run php build from source as CGI. I've added this to apache config ScriptAlias /cgi-bin/ /usr/share/php54/bin/ AddHandler handle .php Action handle /cgi-bin/php-cgi virtual ...
0
votes
2answers
55 views

postfix mails (works) to all but my domain on debian

I have set up a redmine server that I got from turnkey linux. Mail more-or-less works out of the box. I can mail to anyone that is not in my domain. Let me explain: If I run the mail command from ...
1
vote
0answers
23 views

Unable to boot into software RAID1 after disk failure

Today after restarting my data server I was unable to boot because one of the drives wasn't being recognized any more, it is still spinning when I connect it and not making many weird noises except ...
1
vote
1answer
29 views

Suddenly error='Cannot allocate memory' (errno=12) [on hold]

So this morning I noticed my website is down, went on my server and saw that the webserver has been stopped. When I try to start it again I get this error start -Dhttp.port=80 ...
-2
votes
1answer
36 views

Impossible to add a script to cron

I am trying to add a script to cron jobs to be played daily. I tried multiple things but no one seems to work. First I tried to add a script in cron.daily: It s not triggered. #!/bin/sh cd ~/foo/ ...
2
votes
1answer
22 views

Limit the total memory usage of PHP-FPM

I'm running PHP-FPM on my Debian servers. My question is about the memory usage. I can only set the memory_limit inside PHP, and that shouldn't be too low for some requests. I also can only set the ...
-1
votes
0answers
6 views

Zend OpCache active but [on hold]

I installed php-fpm and Opcache on my new server. When I do php -v : PHP 5.4.36-0+deb7u3 (cli) (built: Jan 9 2015 08:07:06) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) ...
1
vote
0answers
16 views

Why some apt-get and aptitude installations remove some programs?

I wanted to install wireshark, and I went to Installing wireshark So I just typed on terminal aptitude install wireshark and before it install wireshark, it removed 251 programs, and I don't have ...
1
vote
1answer
18 views

Find process with most TCP sockets?

How can I find the process with the most TCP sockets that is currently running with bash ? I would like to only output the process name
14
votes
3answers
111 views

Risk of starting NTP on database server?

I've heard rumors of bad things happening to database and mail servers if you change the system time while they are running. However, I'm having a hard time finding any concrete information on actual ...
0
votes
1answer
22 views

IPTables from public ip and port to lan ip

I own 3 public IPs for my server and I have multiple VMs that have their own 'job'. The server has 1 NIC. Public IPs: XX.XX.9.247 (MAIN) XX.XX.21.141 (additional) XX.XX.21.142 (additional) LAN ...
1
vote
0answers
16 views

Using DeamonPortOptions to fix DKIM signing with genericstable masquerading

I'm sending mails from my debian server with sendmail. I want to be able to send mail with multiple domains using masquerading with genericstable. I am signing the mails with OpenDKIM but because ...
0
votes
1answer
23 views

Debian 6 Not resolving hostnames

Regards, I've run into the following issue recently following an intrusion in to my VPS: Although resolv.conf is properly configured with the correct DNS servers the VPS can not resolve hosts. I ...
0
votes
0answers
13 views

Unable to install libtirpc1 due to dependecies error

I want to run some binary (which is definitely working on another PC) on virtual Debian PC. Debian 7.5 stable with added testing and unstable repositories. (I'm not an expert in this) This binary uses ...
1
vote
1answer
30 views

How do I convince smartmontools that my SSD is not a hard drive?

I'm running Debian Wheezy, stock smartmontools package (smartctl 5.41). An SSD, Mushkin MKNSSDCR120GB-MX, is reporting usage lifetime information in SMART attribute id 231 (decimal). For hard drives ...
0
votes
0answers
13 views

How to exclude folders when packaging for debian? [migrated]

I am attempting to build a c++ project and package it in .deb format. I am able to successfully create a .deb package; however, it includes files that I do not want contained in the package. How can I ...
0
votes
1answer
17 views

Apache multiple instances — permission issues [on hold]

I have a weird situation here...I have setup multiple Apache instances under debian: The default install is left as is -- but disabled and stopped A custom instance (apache2-apps) The idea was to ...
0
votes
0answers
12 views

Init script only offers help suggestion

I modified the uwsgi init.d script for debian from the apt-get package download. This is the script I have below: #!/bin/sh ### BEGIN INIT INFO # Provides: uwsgi # Required-Start: ...
0
votes
0answers
16 views

New Debian 7.7 - Port has been forwarded but not working

i have a (in my mind) weird thing happening on a fresh Debian 7.7 I have opened a port and if i try to enter the port and ip on http://yougetsignal.com it says the port is opened but no matter what ...
0
votes
1answer
24 views

Debian Wheezy : /etc/ssl/certs/ contains a lot of certificats

I need some help with my server, I have a debian wheezy installed. I just checked the folder /etc/ssl/certs/ and I found a lot of certificats like : XRamp_Global_CA_Root.pem ...
2
votes
1answer
40 views

Use VPS provider's kernel or maintain my own?

I've got a Debian Wheezy VM on Linode and they run it with their own kernel. As a reputable company, I'm sure they're quick to apply security patches, and all I need to do is reboot to get the new ...
1
vote
1answer
26 views

Postfix using virtual.db file instead of mysql table

I have specified virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf, but still I got errors like warning: hash:/etc/postfix/virtual is unavailable. open database ...
4
votes
3answers
110 views

Install Debian Backports kernel automatically

I've got the following pinnings set: Package: linux-image-amd64 Pin: release a=wheezy-backports Pin-Priority: 1001 Package: * Pin: release a=wheezy-backports Pin-Priority: 499 I get the following ...
-1
votes
2answers
17 views

Install python packages through ap-get in Debian

I'm trying to install Odoo on a Debian 3.2, but I'm having trouble trying to install its dependencies. When I try to install python-decorator, I get this error: The python-decorator package is not ...
-2
votes
0answers
13 views

Debian Wheezy's ejabberd and IM Observatory's A- Grade

I wonder if it's possible to get A grade in IM Observatory's test running Debian Wheezy's ejabberd? What settings should be fine-tuned and how? The reasons of IM Observatory to lower grade to A- is ...
0
votes
0answers
17 views

How to divert an already diverted file of a Debian package?

There is package A installing file X and Y. There is package B, which also tries to install (overwrite) the file X with different content and a new file Z. So in the preinst script it diverts the ...
-1
votes
0answers
18 views

User does not have permissions to read interfaces

I'm using Debian 7 64bit. I created a simple user in my linux called "testuser". Everything is ok with this, however when i'm trying to list the interfaces using the testuser it says i permissions ...
-1
votes
1answer
38 views

Installing wkhtmltoimage in Debian 6.0 (squeeze)

How to install wkhtmltoimage in 64 bit amd debian ? I tried wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2 mv ...
-1
votes
0answers
17 views

Optimising a server for beginners [duplicate]

I am very interested to know what specs are important when coming to a server. I am also interested on how to isolate which aspects of the server are acting as a 'bottleneck' and then how to improve ...
5
votes
2answers
147 views

How to get Newly Expanded RAID to show correct size in Debian

I recently expanded my RAID 5 Storage Virtual Drive from 6TB to 9TB. The Dell OMSA and the bios for the RAID controller both show I'm at 8382GB. Which is fine. But when get into Debian and poke ...
0
votes
0answers
13 views

Masquerating with Sendmail and signing after with OpenDKIM

When I send mail from my accounts linked with my first domain, signing with OpenDKIM works great. But when I send mail with my accounts linked with my second domain, I use the genericstable FEATURE to ...
-1
votes
1answer
37 views

I see a flood of requests from Revista22

In many of the sites I am running I see in Google Analytics thousands of visits referred from a site called revista22.ro, which I don't know and which mentions nothing about any of my sites. Also, I ...
2
votes
1answer
39 views

grep ouput filepath with file modified date?

Is it possible to make the grep command to output file paths with file modified date like so: 12-02-2015 /file/path/to/the/file 16-02-2015 /file/path/to/the/file 25-02-2015 /file/path/to/the/file ...
2
votes
3answers
86 views

KVM guest is unable to access the internet

I have a Debian host that has several allocated IPs and KVM with a Debian guest using a bridged network. The guest is completely unable to reach the network, including the LAN or even the host. ...
0
votes
0answers
26 views

How do I configure KVM guest to have Internet access?

I am trying to get KVM working on my Debian server and I am having a slight problem with networking with my guest OS (also Debian). The virtual machine is using the "default" network (without a ...
-1
votes
0answers
23 views

ISPConfig not writing error logs [closed]

I have a default ISPConfig on a Debian 7 + NGINX + PHP-FPM. No settings where changed. I moved one of my websites from an old server to this new ISPConfig server and I tried to access the website, ...
0
votes
1answer
34 views

iptables - openvpn can't access port 80

I have a server set up with OpenVPN. While connected to the VPN, all external websites work great, but when I try access a site that is hosted on the same server, it fails to connect. I can ssh into ...
1
vote
2answers
73 views

Debian: how can I know if reboot is required after update?

I have 4 servers with Debian Wheezy OS. I have Apticron installed that informs me about updates. Debian updates are realized so often that when I finish to update the last of 4 servers I get new email ...
0
votes
0answers
4 views

How to set domainname? [migrated]

i have a nameserver running on my router. My raspbian succesfull connects with the network over wlan. The fqdn of the raspberry pi should be hal9000.wg.lan. Running hostname -f only returns hal9000 ...
-1
votes
0answers
25 views

Cant send or receive emails with my postfix server [duplicate]

I have a Server with a domain (luckygamer.me). I want to send emails to my users, and I have tested with yahoo and gmail. Sending to yahoo is OK, but gmail don't receives my messages. Also, when I ...
0
votes
1answer
37 views

Cannot start Wildfly

I want to start wildfly as a service but nothing happens when I try to start it using: $ /etc/init.d/wildfly start Starting WildFly Application Server: wildfly $ ls -l /etc/init.d/wildfly -rwxr-xr-x ...
1
vote
1answer
27 views

Rsyslog refuses to log over OpenVPN

I'm trying to forward rsyslog from a client to a server over a VPN. I have it working across an internet link already (through eth0 to an edge router) but would like it to go through the OpenVPN ...
0
votes
1answer
33 views

restarting apache using python causes port change

i'm using python bottle web framework to create a service manager so i've created endpoints for services re/starting / stopping the wired thing that happens when i'm using os.system('service apache2 ...
-3
votes
0answers
17 views

Maunually executing a CRON - Confused about params [migrated]

I have this code snippet: $CUSER=tim $APPDIR=/var/www/testing $APPVENV=/var/www/testing/ven cat > $APPDIR/cronfile << EOF PWD=$APPDIR/$CUSER PATH=$APPVENV/bin:\$PATH 0 2 * * * testapp search ...