0
votes
0answers
5 views

Hostname missing on Debian 7 Linode after logging in [duplicate]

Linux n00b here running Debian 7.3 on a Linode box. Please bear with me :) I haven't logged into my Linode in a while (3 months?) and when I logged in today via SSH I noticed the hostname is missing: ...
3
votes
1answer
42 views

I just deleted /etc/rc?.d/ dirs, how can I restore/recreate them?

sysv-rc was installed to get a hold of systems autostart, but in the end it wasn't needed (as update-rc.d came in handy). So I dumbly do apt-get purge sysv-rc and type Yes, do as I say! to the apt ...
1
vote
1answer
20 views

SVN customize 403 error message

How can I customize "403 Forbidden" message? For only this message I want add additional info, like this "403 Forbidden (you have no rights to [URL to repository])" . How to do it? I want to save ...
1
vote
1answer
34 views

mongod service not starting

I've installed mongodb in Debian Squeeze using this guide (guide here) Installed successfully. It was running well until I restarted the machine (using command "reboot"); After restart, mongodb is ...
3
votes
2answers
62 views

Backup MX server used to queue mail

In short: I need to setup backup MX server, which will queue messages it receives for later delivery through original MX, AND it must only accept messages for mailboxes which will be listed in ...
1
vote
2answers
30 views

run second mysqld instance for backup restore

I am trying to start a second mysqld instance to restore data from backup (innoDB). Following the manual I put together this: P="/var/lib/reoback/backups/2014-06-30/var/lib/mysql" cd $P mkdir tmp ...
-6
votes
0answers
40 views

Fix Crashed/Halted Apache server

I'm facing server issues in Apache. I'm using Debian version of Linux . So, my problem is:- In my API, various requests are made (POST,PUT,GET,DELETE) and all the POST requests are printed on the ...
1
vote
1answer
25 views

NIDS on bridged firewall

I have a firewall (Debian Stable 7.5) which works in bridged mode. The interfaces eth0 (WAN) and eth1 (LAN) are linked with the bridge interface br0. Can I deploy a NIDS (eg. Snort) on this server? ...
-5
votes
1answer
35 views

How to route to next server? [closed]

I must route all traffic from first server to second server and next to third server. Like this: server1 -> server2 -> server3 I use Debian Wheezy. Can anyone tell how to do this with iproute?
0
votes
0answers
22 views

swapoff running forever on LVM volume

I'm currently trying to resize my swapspace on a Proxmox VE server with LVM volumes, as I'm running out of space for LVM snapshots and the swapspace is fairly oversized: root@rb-srv-gus:~# free -m ...
2
votes
2answers
179 views

Batch rename directories with regex via command line on Linux

I have a folder on the server that contains directories that are created daily and are named by date, like so: 07-06-14 08-06-14 09-06-14 etc. At some point I decided that a preferred naming would ...
1
vote
0answers
29 views

Debian WPA2-Enterprise (Network-manager) 802.1X no prompt for certificat?

I set up an access point (AP) with PEAP (Freeradius) 802.1X authentication and trying to connect the following: IOS: Automatically provides the certificate to the onscreen user. WINDOWS: ...
0
votes
1answer
29 views

Bacula daemon fails to stop or restart

Foreword: I have already resolved this problem and am asking this question to share the solution I've found. Please bear in mind that the problem described here may (or may not) be more generic and ...
0
votes
0answers
36 views

OpenVPN configuration WinXP client & debian server

Now faced with the problem to set up OpenVPN on debian server. Trying to test connection on WinXP, but nothing works. Now let the logs begin. server.conf http://pastebin.com/fWpLxaeB client.ovpn ...
1
vote
0answers
45 views

Routing Traffic With OpenVPN [migrated]

Few minutes ago i configured my VPN server, and actually I can connect to my VPN but all trafic is going through my normal home network. On my OpenVPN application I've got an information : Server IP: ...
0
votes
1answer
63 views

Degraded RAID1 on debian 7.5

I am in a bit of a problem with my root server and a degrading RAID. Unfortunately, I'm no expert when it comes to RAID. System informations: Debian 7.5, SSD software RAID1, problem occur since a ...
-2
votes
1answer
25 views

Allow outgoing connections for DNS [closed]

I'm new to IPtables, but I am trying to setup a secure server to host a website and allow SSH. This is what I have so far: #!/bin/sh i=/sbin/iptables # Flush all rules $i -F $i -X # Setup default ...
0
votes
2answers
33 views

IPtables - Sensible and non-contradictory rules?

This is my IPtable rules for my webserver with SSH installed, i've had help to get this far. My question is, are my rules contradictory. For example, I've been recommended to use these two lines: # ...
4
votes
3answers
179 views

IPtables locking down website allowing only SSH

I have written my first IPtables rule file to try and protect my server on all ports apart from SSH and the ports needed for the web. This is what I have come up with: i=/sbin/iptables # Flush all ...
1
vote
4answers
62 views

Securing debain with fail2ban or iptables

I'm looking to secure my server. Initially my first thought was to use iptables but then I also learnt about Fail2ban. I understand that Fail2ban is based on iptables, but it has the advantages of ...
1
vote
0answers
18 views

PHP APC cannot increase cache above 32m

apc.shm_size I set it to 128M I have also try 128 (without M) But It always 32M :( /proc/sys/kernal/shmmax is set to 134217728
0
votes
1answer
27 views

Tomcat memory allocation removed by automatic updates

I'm hosting quite a few servers, for customers and for our own usage. All these servers run Debian Stable. All of the servers are virtual servers. This is for the eventuality that an automatic update ...
0
votes
0answers
63 views

On a Debian 7.5 rc.local won't be run at boot

I am struggling to figure out why rc.local won't be executed at boot time. The file itself is executable, it is called from /etc/rc2.d Also the file when from command line won't return any errors. Any ...
0
votes
1answer
38 views

No output from remote Debian server

When I login to my Debian server over SSH, it "freezes": in interactive mode, I don't get the prompt, if I say ssh server 'ls', nothing happens. I can, hovewer, use Bash built-ins, for example ssh ...
3
votes
1answer
119 views

Hiding linux kernel messages from console

I have a machine running a custom build of Linux kernel 3.2.12-rt based on Debian Squeeze. I'm getting kernel messages printed to the console. I don't want it to do that. I know why it's doing ...
0
votes
0answers
30 views

ps / top crash on call with Signal 11 SEGV

since some days i have a weird issue using ps and top. Each time i try to call them via script or command line, they crash with "Signal 11 (SEGV)" and i didn't manage to repair that. I dont even know, ...
1
vote
1answer
100 views

I/O Errors but no smart or ZFS errors

I'm having trouble to identify a problem for a friend of my. He is running ZFS on Linux with the Debian distribution. We are getting these entries into the dmesg. [273044.834151] mpt2sas0: ...
1
vote
1answer
67 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 ...
2
votes
0answers
69 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
41 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
134 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
30 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 ...
2
votes
1answer
52 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
0answers
44 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 ...
-1
votes
1answer
28 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?
1
vote
1answer
338 views

startpar process left hanging when starting processes from rc.local or init.d

I have a peculiar issue when starting ongoing(service-like) processes from either full blown init.d script (SysV style) or a simple one-line call from rc.local file like so: su someuser -c ...
2
votes
4answers
196 views

Starting a script as another user

I've created a script in /etc/init.d/ which has to run several other scripts from other (non-root privileged) users from their home directories, as if they started them. I launch these scripts ...
0
votes
2answers
63 views

How to setup an automatic failover firewall?

We have an intern network of servers. In this intern network only one server has access to the internet and serves as route/firewall so that other server have also access to internet. Now we want to ...
1
vote
1answer
106 views

Running a custom script when StrongSwan connection is established

I have StrongSwan VPN server set up on a Debian host, and would like to run a custom script when a client connects to it. The only thing I have come up with is periodically checking the contents of ...
0
votes
2answers
36 views

Creating an environment variable for a specific user

When you set an environment variable in linux is it set only for the user who executes it, or can you specify a user when you store it, or instead is it always available for all users?
-1
votes
1answer
58 views

Networking service not responding [closed]

Networking is going down on some of our machines. This is happening very randomly. Restarting networking is fixing the issue. I found the following in the kernel logs: Mar 19 18:19:05 <host> ...
1
vote
1answer
117 views

Uwsgi and flask with unix socket instead of URL

I was trying to find out the difference between a socket as a unix file and a socket that is a ip and port. If I switch something like uwsgi to use a file instead of a port and ip, how do I then ...
0
votes
0answers
110 views

403 AuthorizedOnly error when attempting apt-get upgrade on Ubuntu 12.04

For some reason, apt-get upgrade isn't working today. This is what I see when I try to upgrade : root@localhost:~# apt-get upgrade Reading package lists... Done Building dependency tree ...
1
vote
1answer
93 views

Low throughput on Debian + nginx/apache

On the same LAN/WAN I have a Windows server 2012 server running IIS 7.5 and a Debian (wheezy) server running Nginx 1.4.5. Both servers are connected to the same LAN/WAN. When I download a 10mb file ...
1
vote
1answer
75 views

How do I create encrypted partitions with kickstart in Debian or Ubuntu

I am setting up an automated installation of Ubuntu using kickstart and network booting. With redhat this works quite well, however Ubuntu kickstart appears rather limited and I can not find ...
0
votes
1answer
76 views

Uwsgi - Socket file or URL

I was installing UWSGI and it looks like for the socket I can specify either a URL and port or instead I can specify a socket location file. I was wondering if anyone can tell me what the difference ...
0
votes
1answer
52 views

Starting supervisor with init fails

I installed supervisor using pip on my debian 7 installation. I then grabbed this file and moved it here: /etc/init.d/supervisord https://github.com/Supervisor/initscripts/blob/master/debian-norrgard ...
0
votes
0answers
53 views

installing from ubuntu ppa on debian including dependencies

I'm trying to install a stable latest version of couchdb on a Debian 7 server. Sadly for me the packages on the Debian repository are old (1.2) and i need 1.4 and up I've decided to try and use the ...
1
vote
1answer
64 views

what user is sending emails from mailq

I have a debian box with postfix on it. I checked the mailq and I do not understand how to read the mailq. I need to know witch user is used to send this emails. here is a example 0F87797868C ...
0
votes
2answers
36 views

Security Help? Is this a safe way of doing things?

I am running Apache with Debian. At the moment to share my site I am just setting up my router to foward my local ip on port 80. So anyone who wanted to look at my site can just type in my router's ...