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

learn more… | top users | synonyms (1)

0
votes
1answer
45 views

Newbie to KVM/oVirt/ovs looking for clarity

I have some experience with vSphere, but am looking to get up and running with KVM. I've been looking at using oVirt as a VCenter type manager but, being new to all things ...
0
votes
0answers
39 views

Read-only access to a dir for a user in the shell, but allow git to write to that dir

The Environment: At work we have a shared web hosting account which allows us shell access to our server, but not root privileges. This means we have a single user in a single group and cannot create ...
0
votes
0answers
41 views

CentOS 6.6 ignores iptables nat rules

I try to use iptables nat to forward incoming TCP traffic to another computer. I use following rules within nat table: -A PREROUTING -i eth3 -p tcp -m tcp --dport 8888 -j DNAT --to-destination ...
1
vote
0answers
25 views

Parsing part of a file name to use as a variable in bash [migrated]

I need to get the DB name and use it as a variable from part of a file name. Currently I have it pulling in the name of the file from a ls command. This is what it returns: Test-20150311-1200.sql I ...
0
votes
1answer
22 views

Root Volume Expansion AWS

We need to instantiate an ec2-instance(RHEL) which has 10 GB of space mounted on root, we tried several time but usable disk always show 6 GB. Please see the screenshot. Can somebody tell how to use ...
0
votes
1answer
18 views

How to disable network access for a user on Linux?

Trying to disable the network access for the user: [root@notebook ~]# iptables -I OUTPUT -m owner --uid-owner tempuser -j DROP [root@notebook ~]# ip6tables -I OUTPUT -m owner --uid-owner tempuser -j ...
2
votes
1answer
102 views

Clear Dell OpenManage SBE memory log of all and specific connectors without rebooting the server

Running omreport chassis results in: Health Main System Chassis SEVERITY : COMPONENT Ok : Fans Ok : Intrusion Critical : Memory Ok : Power Management Ok : Processors Ok ...
0
votes
3answers
33 views

“Bad argument 'NEW'” when configuring iptables

I am getting the following error when configuring iptables on a Debian 7.6 server to log new TCP connections: Bad argument `NEW' Error occurred at line: ## The line throwing the error is formatted ...
0
votes
0answers
21 views

Foward all mail to smarthost and use fetchmail to fetch mail from isp

I want to setup a mail server. Problem is their domain is part of a national company and all the branches use the same domain. The setup we are using for the server consist of SOGo, Dovecot, ...
0
votes
1answer
17 views

Move a Sftp User in a Subdirectory of his Jail

I've a question concerning the Jail explained later: User to be jailed: foo Jail Directory: /mnt/foo-jail Home directory of foo: /mnt/foo-jail/foo-home Everything is ok. Jail is up and the user is ...
1
vote
0answers
7 views

Re-install motd after /motd-update directory has been cleaned

I have the following problem. I'm running Kubuntu 14.04 and I deleted the contents of /etc/motd-update folder. I want to simply add a custom ssh custom login message, I don't need the other files. ...
2
votes
1answer
35 views

Monitoring Linux system Calls (efficiently)

What is the fastest way to monitor linux system calls and log them to a file? This post has some great info: Monitoring system calls (in a reliable and secure way) It's seems that the Audit ...
-1
votes
0answers
84 views

Customising IPtables for a more secure webserver

Based on my reading online and a few tutorials I have produced a set of iptables rules: i=/sbin/iptables # Flush all rules $i -F $i -X # Setup default filter policy $i -P INPUT DROP $i -P OUTPUT ...
0
votes
1answer
66 views

Creating FTP user to access a specific directory with SFTP in Linux Ubuntu Server 14.04 LTS

I'm creating an FTP user on Linux Ubuntu Server 14.04 LTS, but when I try to log in via FileZilla with SFTP I get the following error: Received unexpected end-of-file from SFTP server If I try to ...
2
votes
1answer
53 views

Windows 2012 fonts gone. Only Wingdings

So I did an RDP to my server, using a Jessie distro with Vinagre, characters were weird (see picture) and then, everyone who connects sees the same problem, how did this hapend and how can I fix it? ...
0
votes
0answers
26 views

Mysql reports “unknown variable pass” after upgrading from 5.5.41 -> 5.7.5 on Debian

We have the following problem after upgrading MySQL 5.5.41 (pre-installed on our Debian Wheezy LAMP server from Hetzner) to 5.7.5 version (downloaded from mysql.com). After updgrading from the ...
0
votes
1answer
14 views

Queue remote commands for execution as soon as workstation comes online

I am managing one workstation and think of a maximum of 5 workstations running Ubuntu-based Linux Mint. My own, controlling Computer is also running Mint. What is a good way to queue commands and have ...
5
votes
1answer
113 views

Why does strace return so many execve calls with ENOENT return code?

I wanted to use strace to see what was happening when I do `hadoop fs -ls ', so I ran the command: strace -f -e trace=execve hadoop fs -ls /stg which resulted in a lot of output like this: [pid ...
0
votes
0answers
7 views

Compiling a loadable kernel module(Debian/Ubuntu) [migrated]

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
0
votes
0answers
63 views

Apache 2.4 & Phusion Passenger generating 403 Error

I'm trying to setup a Rails application (Project Fedena) on the following Server configuration. I am using the virtual host configuration below. I get a 403 when I visit the IP/Domain. There's only ...
2
votes
0answers
18 views

Heroku and socket.io out of memory

I have a setup with websockets on heroku and every now and then i get a flurry of messages like this: 06:24.591694+00:00 heroku router - - at=error code=H15 desc="Idle connection" method=GET ...
-2
votes
1answer
30 views

DNS ATTACK \/ or some kind of an error, i don't know

I am getting those errors in my CSF firewall, I would like to know how can I stop it. is it type of an attack? also if it is, how can I stop it? Mar 11 22:48:57 root named[7598]: client ...
1
vote
0answers
48 views

Squid intercept proxy stuck with forwarding loop

I'm trying to set up a debugging proxy using Squid, mainly to test our own client communications library for various proxy types (one possibility with our client, is to connect to an external ...
2
votes
1answer
313 views

Why don't random numbers in AWK change after the first run?

I'm studying AWK, and when I use the following command for the second time why are the numbers always the same? First time run: awk 'BEGIN{for(i=1;i<=10;i++) print int(101*rand())}' 24 29 85 15 ...
0
votes
0answers
24 views

Route traffic based on source IP

I have two routers set up with different WAN IP's from different providers. Both routers have LAN IP's on the same subnet (10.2.2.x) and are connect to a switch. All hosts currently on the LAN subnet ...
-1
votes
0answers
12 views

How do I find out correct server hardware configuration for a application [duplicate]

I was trying to find out the correct hardware configuration to setup my server. Basically mine is a web based application(LAMP) expecting medium to huge traffic. It includes lot of database ...
0
votes
3answers
42 views

Kernel Processes Periodically Eating CPU During High Load

I run a production web server with 24 cores in which the work is both CPU and I/O intensive, but mostly CPU. My scripts delay execution when total CPU load is ~85% or higher in order to keep the load ...
0
votes
1answer
27 views

linux-tomcat - add command to startup.sh

How can I add a command at the end of the tomcat startup.sh script to execute a file. I think it is something like this. Assuming my file needs start as command passed to it below: exec ...
0
votes
2answers
31 views

Linux softlink to folder with date in path

I have a logging system, which writes logfiles on a daily base into subdirectories like the following: /var/log/xyz/2015/03/10/log.log In my home dir (or anywhere else), i want a softlink to the ...
0
votes
0answers
18 views

Broadcast ARP weirdness

we a running a router on a custom Linux box. Kernel is 3.14.14. What happens is that when you arping the router in broadcast only mode is the router has a verey slow response time: # arping -b -c ...
0
votes
1answer
15 views

libbaccats-7.0.5.so => not found

I'm installing Bacula from sources on CentOS 6.6. ./configure --prefix=/usr --sysconfdir=/etc/bacula --with-mysql [root@bacula0 lib]# ldd /usr/sbin/bacula-dir linux-vdso.so.1 => ...
0
votes
1answer
40 views

Does PostgreSQL perform on Windows as well as on Linux

This topic was brought up in 2011, and the consensus was that there were design considerations that would give PostgreSQL a leg up on Linux. It is now 2015, has that changed? If there are things that ...
0
votes
0answers
38 views

Is shell parent of all the processes in linux [migrated]

I have been trying to understand shell scopes and environment in depth. I have been reading about how if we do export VARIABLE=VALUE it will be available in subshell. So I wanted to ask a question I ...
0
votes
0answers
19 views

Installing node-inspector

I have centos and I tried to install node inspector via npm install -g node-inspector But I get below error , node-pre-gyp http Pre-built binary not available for your system, looked for ...
1
vote
1answer
40 views

Wireshark does not capture second IP address traffic

I have interface with ip address: 192.168.1.3. I'm adding a second ip address: 192.168.1.4 to that interface using: ip address add Then from other computer (192.168.1.10), I ping those address & ...
1
vote
1answer
24 views

Is it possible to safely edit mysql-bin.index file while mysql server is running

I changed location of mysql bin-log files. I copied them so mysql started fine, because they where in both locations, but then removed them from old location. I forget about correcting the path in ...
0
votes
1answer
33 views

How To restrict ftp user in /var/www/html folder only not to others directory

Hope you all are doing fine. Team I want to strict ftp user only for /var/www/html directory not to other's. Please share your valuable suggestion for that. I have checked lots of Blogs, Forums etc ...
0
votes
1answer
44 views

iptables-save return with errno 1 - operation not permited

When I run the command iptables-save it returns with errno 1 - opearation not permitted If I do: iptables -L and then: iptables-save then iptables-save succeeds This error happens only ...
0
votes
2answers
33 views

Excluding some network services from VPN

My local linux server is connected to the internet via router. Router (192.168.0.1) does NAT from ISP assigned IP address (which changes from time to time) to server's local IP (192.168.0.102). When ...
2
votes
0answers
24 views

Move process across NUMA system

I am running many multi-threaded processes on a larger NUMA system with dozens of sockets. The memory access across different nodes is very slow, so I restrict each process to one socket and let it ...
-1
votes
1answer
46 views

understanding the result of this bash script [closed]

I have this simple bash script #!/bin/bash -x for line in `tail /home/user/line` do echo $line done but dont know why it echos all words instead of each line below is output ++ tail ...
-1
votes
4answers
148 views

How to test if two given files are identical?

Just updated the code... I get out everytime on the "else" sequence. You can download the update.sh file from my server. it only contains echo "Hallo update" Updated code (03.11.2015) ...
1
vote
1answer
33 views

Apache directory root configuration

I have Apache 2.4 installed on a linux box running Red hat . My question is simple: Is the directive <Directory>... </Directory> equivalent to <Directory /> ...</Directory> to ...
-1
votes
0answers
20 views

ack.pl tool and ack.pl flags

I am using the ack.pl tool in order to search string or IP’s in files The official site of ack.pl is - http://beyondgrep.com/documentation/ Example of ack.pl CLI ( want to find the string ...
0
votes
0answers
27 views

how do I configure a glassfish host and broker to use JMS?

In trying to run a JMS Message producer remotely, I'm going through the fine manual: Administering the Java Message Service (JMS) GlassFish Server Open Source Edition Administration Guide Release 4.0 ...
0
votes
0answers
15 views

Exim 4.72 doesn't verify recipient

I have a problem with recipient verification. I have next configuration for acl_check_rcpt: accept hosts = : deny message = "Invalid characters in the address" domains = ...
1
vote
0answers
43 views

Restrict I/O Write usage using cgroups

I am trying to restrict I/O write usage on my server using cgroups. Here is my partition table info: major minor #blocks name 8 0 10485760 sda 8 1 9437184 sda1 8 ...
1
vote
5answers
40 views

Get the pid if 2 tomcat(s) is running

I have 2 tomcat's running, how do I get the pid if both have similar names? ps -ef | grep java root 12952 1 0 10:01 pts/0 00:00:03 /usr/lib/jvm/jre/bin/java ...
1
vote
1answer
33 views

Join existing linux user to AD domain

I succesfully join fedora and ubuntu thanks to realmd package. After I join the machine I can also log with a domain user with no problem. What I'd like to do now is to move and existing local user to ...
-1
votes
0answers
7 views

The fifth field of fstab query [migrated]

In "/etc/fstab" the entries are like this tmpfs /dev/shm tmpfs defaults 0 0 The fifth field (0) is used by dump (a backup utility) to decide if a ...