Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

1
vote
0answers
28 views

How to kill all process on ssh logout? (Kill running Background proccess started with screen etc)

Hi i have a multiuser centos server running. There are for example 3 users (non root) - each of them have their own homedir. SSH Login is allowed (bash). How could it be reached, if a user started ...
1
vote
3answers
110 views

Windows - mount network drive with client-side read/write caching from Linux storage server

Is there a way to mount network drive on Windows with client-side read/write cache enabled? In my case drive is guaranteed to be mounted by 1 user, and performance is way more important than ...
0
votes
1answer
32 views

How to create apt repository on Windows?

We have Windows server (1) with Internet access and Windows server (2) without Internet access in PAN. Also we have Linux machines in PAN (Debian, Ubuntu, ...). Linux machines must be up to date, but ...
0
votes
2answers
67 views

SSL works in Chromium but not Firefox (nginx)

I'm using client-side SSL certificates to access my web server. Suddenly stopped working after several months with no changes to my nginx config, but only in Firefox. Still works fine in Chromium. ...
0
votes
1answer
31 views

Got blocked by server after starting TCP nodejs sever. Why?

I recently installed node on my VPS, and tried to complete a tutorial. I saved this code into server.js and hit node server.js in putty. I got instant "ban" from my VPS, I can't access it, however on ...
1
vote
1answer
71 views

Running CAT in SCREEN no output to file

I am trying to code this command to run in screen along with 2 others that will be using cat to read a file then pipe it into awk for filtering. Here is the command; screen -d -m /bin/cat ...
0
votes
1answer
22 views

Linux detach from process after certain string

So, I have a command which starts a webserver, it goes step by step and puts output to standard output. It goes like: step 1... step 2... step 3... server up and running on port 9000 However, this ...
0
votes
0answers
20 views

GnuPG complaining I don't have a secret key but I do

I am migrating machines I use for my backups. It uses GnuPG to encrypt/decrypt files. I moved my keys trying two different methods: exporting and copying the ~/.gnupg folder. Both methods seem to ...
1
vote
0answers
14 views

How to throttle bandwidth for ipalias in Linux

I want to slow the connection between some nodes to a virtual node inside one machine. (different nodes use different ip with ip-alias or with different ports) In Linux, is it possible to slow the ...
-3
votes
1answer
27 views

postfix From address rewriting

I have postfix version 2.7 running with multi-domain MySQL support. I have created distribution/Aliases for support@example.com which distribute email to user1, user2... etc.. my requirement is when ...
2
votes
1answer
19 views

Custom root folder for apache giving access denied

I just installed ubuntu desktop (because I figured server will be too much for me, and apparently I was right) and I'm trying to configure my apache web server but unfortunately it has nothing to do ...
2
votes
1answer
60 views

Ubuntu server getting slow everyday at 9.00AM

This server runs Ubuntu 12.04.5 LTS and used as a web server (apache 2.2.22) and an ftp server (proftpd 1.3.4a). Nobody can access web pages when this happens for 5 minutes or so. (This is a virtual ...
1
vote
0answers
20 views

Why won't php5-fpm start?

I've just installed php-fpm 5.6.8 but it won't start - start php5-fpm gives me a Job failed to start message. I've found several people with simalar problems, but the none of the answers seem to work ...
0
votes
0answers
12 views

upgrading gcc does not allow to install rabbitmq C

Rabbitmq C package needs gcc version 4.4+ I am using older version on my centOS (5.0) So here is how I upgraded gcc: wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -P ...
1
vote
1answer
18 views

Windows 7 x64 Enterprise all network printers greyed out on reboot

We've got a bunch of network printers on SL7 running CUPS. These are distributed via GPP printers. This all works with older images. In the last week or so, new installs from the same base image are ...
-1
votes
0answers
49 views

SSH Connection is established on port 22, but service is not working [migrated]

I am having this recurrent issue on one of my MySQL Cluster Servers, actually always happens in any random MySQL server of this cluster, on many countries where we have this same configuration. I ...
0
votes
1answer
55 views

Block an IP for UDP

I am under UDP flood attack. I used following protections to solve it: iptable IP ban: iptables -I INPUT -s 37.187.231.xxx -j DROP Tried another iptable syntax /sbin/iptables -I INPUT -i eth0 -s ...
2
votes
0answers
27 views

Can pacemaker retry monitor action on error?

I created simple pacemaker agent for managing MySQL. It works quite well, but there is 1 thing that I can't understand. When resource is "Started", and monitor action returns one of: ...
0
votes
2answers
38 views

is it possible to combine files system from different servers and present it as one?

I have 3 physical servers (server01, server02 and server03) and local storage. I've created /app file system on all of three servers and mounted the storage there. I need to be able to combine /app ...
0
votes
0answers
36 views

Too many php session files created on one server

We have a web application running multiple instances on different plesk servers. On one server we see quick generation of php session files under /var/lib/php/session directory. Which grows in 100 ...
0
votes
1answer
23 views

Software RAID 1 does not extend on two new additional drives

I added two new devices two my software RAID 1 system. They are recognized by mdadm but I can't use the addition space. Here is how I proceed: I added the two new disk to my PC and created on each ...
0
votes
0answers
23 views

Caching cookies with Varnish 4

I want to be able to cache pages that have a cookie. Let's say I have a cookie called "testcookie". If testcookie = 1 I want a page (cached), if testcookie = 2 it will have a different page ( i want ...
-1
votes
0answers
17 views

How to remove apache check dns error?

I have configured apache virtual host in http.conf like below <VirtualHost xx.xx.xx.xx:80> ServerAdmin admin@example.com DocumentRoot /mnt/external/project/Creative ...
11
votes
7answers
2k views

Preventing theft of data on remotely deployed servers exposed to physical access [closed]

I am trying to think of a way to secure Linux servers that are exposed to physical access. My specific platform are small form factor Linux servers on a PC Engines brand alix2d13 mother board. The ...
4
votes
1answer
34 views

Count number of allowed CPUs in a Docker container

My specific scenario is the following. I launch a docker container with a specific cpuset: docker run --cpuset-cpus="0-2" # ... inside that container I run a shell script as the entry point and ...
0
votes
1answer
16 views

osTicket emails show as sent from wrong address

I'm currently trying to configure osTicket to act as our support system. Everything seems to be working pretty much as expected. However when an email sent by the system is received, instead of ...
0
votes
1answer
32 views

Force a traceroute to go through added IP address

Currently speaking I am on a linux (debain) machine which has 2 routed public IPv4 address: 1.1.1.50 1.1.1.60 Both of these IP addresses are currently simply added as a vitual host: 1.1.1.50 -> ...
2
votes
2answers
33 views

Mount two nfs's shares from different storage over the same directory on linux

I have a set of 4 Linux web servers on cluster all of them have the same mount point: /folder This /folder is a NFS mount share over a NAS but is full and no more luns/disk are available to expand ...
0
votes
0answers
31 views

cron job doesn't run under specific account

I have a crontab entry on my RHEL 5.4 system under the "oracle" account but it never seems to actually run. I have the following entry: * * * * * /home/oracle/blahblah.sh > /tmp/test.log ...
0
votes
1answer
33 views

Zabbix Log alerting through Logstash

I have a problem with Zabbix and logstash alerts. I am currently sending logstash logs that are errors or warnings to zabbix via their plugin. However on Zabbix. I want to create a trigger for the ...
7
votes
2answers
97 views

Hot-remove memory in a Linux virtual machine

Linux supports hot-adding memory when running as a VM guest, in VMware for example. (Sometimes you need to manually inform the guest OS.) Is there a safe way to do the inverse operation — reducing ...
0
votes
1answer
35 views

Hide OpenVPN client's IP

Is it possible for a OpenVPN server letting clients communicate with one another and they do not know other's IP in VPN? My VPN server is ubuntu 14.04 32bit
0
votes
0answers
27 views

Are MySQL processes supposed to “die”, or stay alive?

All other processes have "time" lengths less than 5 minutes, yet MySQL stayed alive since its last restart (4 days ago). The behavior I'm observing is: MySQL process never dies and increasingly spikes ...
0
votes
0answers
31 views

How to block ip/ports using iptables with specific date and time?

Normally to block in command-line I used iptables. iptables -I INTPUT -s xxx.xxx.xxx.xxx -m time --utc --datestart 2013-09-09T15:00 --datestop 2013-09-09T15:30 -j DROP But the problem is, this ...
0
votes
1answer
10 views

Saltstack - Error - No Top file or external nodes data matches found

I'm trying to configure my Saltstack Architecture. I followed all the steps, but It seems not working and I'm not able to find the problem. /etc/salt/master file_roots: base: - /srv/salt dev: - ...
1
vote
0answers
28 views

Remote Desktop only worked for for the first time and doesn't work anymore [closed]

I am trying to RDP into a server I have connected to the router in my house from my laptop. I am on the same network as the server. Yesterday, I tried using a linux client to connect to it. The very ...
3
votes
5answers
66 views

Should I enable automatic security updates on a Ubuntu server? [closed]

I can't seem to find an agreed answer on this anywhere, so I figured I'd ask it myself. I have five Ubuntu servers running either 12.04 or 14.04, should I enable automatic security updates on these ...
2
votes
1answer
50 views

Linux TCP connection establishment is very slow

I'm not sure what's wrong, but every outgoing network connection is very slow on my server (called dikkenek in the snippets below). It seems it's at the connection establishment. bicou@dikkenek:~$ ...
1
vote
1answer
28 views

Auditd is not logging events for some watched files

We have configured auditd to log all access to certain critical files. The system runs WebLogic Server and we want to know if anyone is trying to poke around sensitive system files, such as the domain ...
0
votes
0answers
35 views

Chef / Vagrant - Kitchen cant connect to Update Jenkins

Iam getting crazy with Chef, Vagrant and Test-Kitchen. We have an customized Jenkins Cookbook, it works on "normal" Clients without Cooperate Network Proxys, but fails behind with the following ...
1
vote
0answers
19 views

rpmbuild spec file: how to have files only used during install

How do I specify in a .spec files that are only used during install of the rpm (such as .sql scripts that I feed into the database), but I specifically don't want to persist post-install? I can't omit ...
0
votes
0answers
62 views

Linux high iowait without block device activity

I'm having a hard time figure out the reason cause high iowait on my server. top: %Cpu(s): : 30.0 us, 5.4 sy, 0.0 ni, 53.9 id, 10.1 wa, 0.0 hi, 0.7 si, 0.0 st iostat: Device: ...
0
votes
1answer
47 views

Is it possible to access Kibana (Elasticsearch) via ssh tunnel?

I am trying to acces kibana from a remote machine through an SSH tunnel: $ ssh -f user@elastichost -L 5601:elastichost:5601 -N My remote browser just timesout waiting for a response. Is there a ...
0
votes
1answer
26 views

AutoFS mount multiple CIFS Shares to same directory

As long as I had only one mount everything was fine. file: /etc/auto.master /mnt /etc/auto.srv1_share1 file: /etc/auto.srv1_share1 sh1 -fstype=cifs,rw,user=jdoe,domain=srv1,noexec,password=xxx ...
1
vote
1answer
41 views

How to fetch multiple files from remote machine to local with Ansible

I would like to copy files from remote directory to local directory with Ansible but fetch module allows me to copy only one file. I have many servers from which I need files (same directory each ...
3
votes
1answer
124 views

Limiting bandwidth on Ubuntu Linux

I am in the situation where I have to simulate a P2P-environment (for my masters thesis in computer science). To do that I am using Docker with Ubuntu to create a bunch of virtual machines that is ...
0
votes
2answers
17 views

Posix map fs path to syspath

Is there a safe way to map a filesystem path to a /sys/block/ node. For instance on my system (Ubuntu) my / path is mounted from /dev/disk/by-uuid/7f6a93a7-1e63-48a3-a7e3-b336a2f9dbf7 which is a ...
0
votes
3answers
105 views

How to send an e-mail after a cron job [duplicate]

I have added a cron job for my incremental backup, and I configured it like this: 0 23 * * * /usr/bin/rsync -ravzX /mnt/external/project/ /media/backup/project/ | mail -s "Backup Success" ...
3
votes
1answer
121 views

AuthorizedKeysFile line commented out but still seems to work

I'm setting up a server on Linode and following their Securing Your Server guide. They recommend setting up ssh key pair authentication. I have already uploaded my public key to server and the key ...
6
votes
2answers
468 views

Using ssh key pair authentication and disabling ssh password authentication - what happens if private key lost?

I'm configuring my first server on Linode and going through their set up tutorials. In their Securing Your Server tutorial, it recommends using ssh key pair authentication and disabling password ...