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
0answers
2 views

My ubuntu server has no networking? [on hold]

I'm using Ubuntu 14.0.4. It seems to be running in a virtual machine on a windows server box (this is something I am doing at work that was set up by another department). After various things not ...
0
votes
0answers
4 views

Sed - extract only parts of file with certain timestamps

I work with log files on a daily basis. I have been using sed to accomplish my goal of extracting certain lines of data between to time stamps. For example, I use: sed '/20150720 15:06:00/,/20150720 ...
0
votes
0answers
3 views

vnstat output giving different results

I ran vnstat -d and vnstat -m and compared the results to vnstat --dump. The values between daily and monthly are off by several bytes. Is this expected? I would imagine last months data and ...
0
votes
1answer
7 views

Reduce xen image disk usage

Two cases: 1.If making hdd image using dd and copy it trough nfs to another server: mount -o ro,remount / dd if=/dev/sda bs=64K | gzip -c > /share/test.img.gz then after gunzip I get 20Gb (for ...
0
votes
0answers
11 views

Why does python 3 script not execute via crontab? [duplicate]

There's one little problem with my crontab and python 3 script. Currently I'm on VDS with Ubuntu 14.04 installed. There're 2 scripts that need to be executed via crontab in desired time. The first ...
0
votes
1answer
8 views

uWSGI doesn't execute chdir

Title. When I run uwsgi as uwsgi *** or /usr/local/bin/uwsgi *** it works perfectly, but when I run it as /usr/bin/uwsgi *** (as it being runned as service) it doesn't execute chdir directive of .ini ...
1
vote
0answers
10 views

Is it possible to use syslog-ng to forward logs to SecurityOnion ELSA?

I have installed Snort IDS and syslog-ng on my VM, and I want to use syslog-ng to forward my logs to another vm which is SecurityOnion. So I want to know can syslog-ng forward logs to ELSA which is in ...
0
votes
0answers
8 views

Failed to load module pk-gtk-module

I am running RHEL6 and I am sshing into a linux server. Every time I open gvim or emacs, I get this error $ gvim Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open ...
1
vote
2answers
15 views

iptables setup forwarding between two ethernet interface

I want to create a gateway on linux which has 2 interfaces eth0 and eth1. Eth1 is created by a lte modem and once the lte modem attaches to the network and gets an ip address. Then a dhcp server is ...
2
votes
0answers
18 views

KVM host won't use memory for caching

I have a KVM host (Linux 3.14.32) running 8 virtual machines. They are overprovisioned (memory allocated for them is greater than available physical memory on the host). However they consume only ...
-1
votes
1answer
28 views

can't download .apk file from server

I have an apk file on my server (which is hosted on Hostinger) CentOS OS now I want users to download that file from my server. but when I point the url to the apk location it says 404 page not ...
-2
votes
0answers
14 views

Unable to boot Kali Linux 1.1.0 using a bootable pendrive [on hold]

I have made a USB livestick for Kali 1.1.0 with Win32DiskImager and tried to boot it in Windows 8.1. When I came to the boot order menu my USB was recognized as an EFI-device, but when I tried to run ...
0
votes
1answer
20 views

Bind 9.2 server refuses to resolve CNAME from sub-zone

I've got an old master nameserver running Bind 9.2 and a newer slave running 9.8. Right now we've got a project going on where we're essentially splitting a cloud in two and we're using subzones and ...
1
vote
0answers
21 views

logrotate compression parameters

I've been using cstream for a while for many things, for example to reduce the impact that mysqldump has on drives. However, I have always done so by calling the binary directly from a script or ...
1
vote
4answers
69 views

How to get 2 servers under control (Red Hat Linux)

I've got kind of a situation here. We need to get 2 servers under our control. The things we know so far: both are running linux, at least one is running Red Hat they are used as file-server, mysql ...
0
votes
0answers
9 views

Squirrel Mail - VAdmin Plugin - GDBM Error

I've got 'gdbm' installed on the server, Squirrel mail is installed and working, i'm trying to install the VAdmin plugin but keep getting this error; ERROR: Vadmin plugin requires dba handler "gdbm" ...
1
vote
1answer
28 views

Redirect IP to a domain name using htaccess

Let's say I have this IP Address 11.12.13.14 and the domain example.com. Now what I want is to redirect the user from IP Address to domain name (but without changing the domain name to address bar). ...
1
vote
0answers
14 views

'BUG: unable to handle kernel NULL pointer dereference at' on Google Compute Engine

On a semi-regular basis, I've seen GCE instances freezing with the following error message (from the serial console): g[1375589.784755] BUG: unable to handle kernel NULL pointer dereference at ...
0
votes
0answers
15 views

LDAP Kerberos authentication on linux

I have configured my RHEL linux machine to be authenticated against active directory without being joining it to domain, using nss-pam-ldapd pam_ldap samba-winbind openldap-devel krb5-devel. I am able ...
-4
votes
0answers
20 views

Is it possible to turn PC into a router, so that I can send data to it? [on hold]

I would like to transfer data to my PC a bit quicker, than I am now ( which is sending it over wi-fi through the router ), but it would seem that both USB and Ethernet creators just hate easy ...
0
votes
0answers
12 views

DevOps: How do I keep my systems patched and secure? [on hold]

In my last company we had an operations department responsible for making sure our servers were always set up properly and securely. In my current company, there isn't budget to hire experts in that ...
0
votes
1answer
15 views

Apache POST data interim storage

I've been serching high and low and I cant seem to find it. When apache receives a POST / HTTP/1.1 with some data in the body field, is that data stored in memory or in a file? From what I've been ...
0
votes
1answer
16 views

iptables TEE UDP traffic to a different subnet

I'm looking for a way to replicate UDP traffic received by one host to another host in a different subnet. The TEE target in iptables only works with gateways in the same subnet, i.e.: On the ...
0
votes
0answers
13 views

Deploy a custom build Linux image to a number of phisical servers [on hold]

I am working on a project where I need to build a number of Physical servers between now and December. The server base ISO will be Ubuntu 14.04 where a customisation for each other client need to be ...
0
votes
1answer
8 views

Our site using Akamai is returning 404 (from time to time)

We are facing an issue with sites hosted by Akamai. From time to time we can't load some websites from Akamai and the server return "404 not found". This is temporarily error and it could be that the ...
0
votes
0answers
11 views

proftpd ignores HideGroup

I have an interesting problem when hosting a proftpd on a SL6 x86_64. When I compile from source, proftpd executable ignores the HideGroup feature. However, when I install an older version from epel ...
1
vote
1answer
28 views

Why ARP cache is not emptied as I except it to be?

I'm trying to empirically test the time an entry stays in the ARP cache table. This time seems to be defined by /proc/sys/net/ipv4/neigh/default/gc_stale_time file and by ...
0
votes
1answer
11 views

Debugging Nagios notification failure

I have spent the day setting up custom twitter notification on nagios. Everything seems to be in place and the notifications seems to be triggered but the script is not called. my contacts ...
0
votes
0answers
16 views

Cannot get current device settings: Operation not supported ethtool CentOS 7

Received an error "Cannot get current device settings: Operation not supported ethtool" while changing network speed using ethtool command on centos, # ethtool -s eth0 autoneg off speed 100 duplex ...
0
votes
1answer
10 views

Git fatal: unable to write new_index file

We are a web development company that is transitioning to Git. Eventually we intend to run it fully locally but at the moment we have development websites hosted on a Linux server, which is also ...
0
votes
2answers
26 views

Simplest way to secure debian server on LAN

I currently have a basic debian server setup and connected to my LAN. Am I right in thinking that if I remove the gateway from the network configuration then the box will be unable to communicate ...
0
votes
1answer
21 views

Route HTTP(S) traffic to specific IP based on requested URL on Linux

I have an Ubuntu Server in the cloud. Let's call it ServerA. ServerA has an apache2 installed and is serving a default page on HTTP requests. mydomain.com is pointing to the ServerA's IP and thus the ...
0
votes
1answer
40 views

log every command on linux server

I have a snoopy logger on my linux server. It works perfect, but when I use midnight commander I dont see commands that I made there. In logs only 'mc' and no functional keys. So is there any way to ...
0
votes
1answer
18 views

Recurring start of process in case process isn't started on Linux

I need to create an application that performs reconnect to WiFi and VPN from Ubuntu desktop if case any of these connections drop. I know there are numerous ways to do it via system settings and ...
0
votes
1answer
17 views

How to restore a saved partition table to another disk with parted

OS: Ubuntu 10.04 I have saved my partition layout from sda and want to restore it to my new disk sdb. I have used the following command to save the layout, but how can i restore it to my new disk ...
0
votes
0answers
10 views

Creating a custom .iso with kickstart CentOS 6.6 [on hold]

I downloaded the CentOS 6.6 minimal .iso file. I mounted it. Copied the necessary files to a new_work_dir. I added few extra custom packages to new_work_dir/Packages and ran createrepo -dpo .. . and ...
0
votes
1answer
33 views

Recover sql database files without using sql server [on hold]

My Ubuntu computer HD crashed, so I cant boot up anymore, I'm trying to recover my data from the hard drive by booting up using the live CD. I can access the crashed internal hard drive by mounting ...
2
votes
1answer
46 views

How to get local ip address associated with default gateway

There may be several network interfaces on a server, e.g., lo, eth0, eth1 From the route table, I know that eth0 is connected to the default gateway. The address of the default gateway, for example, ...
-1
votes
1answer
34 views

Bash add entry to fstab by script [on hold]

I'm newbies in bash scripting and i try to write script that add entry for cifs windows share to fstab. I writed a litle script but i'm not shure if it will work fine. I haven't linux to test it Can ...
1
vote
1answer
41 views

Is it possible to run 2 concurrent tcpdump with different options?

I need to run 2 concurrent tcpdump commands with different arguments/options. Why ? Because we wrote some long long scripts compatible with following options : tcpdump -ixenbr0 -s 400 -n -A 'port sip ...
0
votes
0answers
26 views

Retrieving the AD machine account password on an Ubuntu machine

I'm trying to perform an LDAP query against Active Directory from a script (very similar to this question) from a domain-joined Ubuntu machine. The script can't prompt for a password, as it won't be ...
0
votes
2answers
34 views

how to ssh from a vm to another vm that is on a different host

I have 2 CentOS computer in the same local area network. Both computers have their own virtual machines running CentOS. I would like to ssh from the virtual machine of 1 host to the virtual machine of ...
0
votes
0answers
4 views

Can I create a virtualbox server that manages all lan traffic and only when running? [migrated]

I'm running a Windows 7 host and a Linux Mint guest vm in Virtualbox using a bridged adapter. I have multiple web sites set up in the guest os. Currently, I can only access the page at var/www/html ...
0
votes
1answer
29 views

Varnish GeoIP (vmod_geoip) + Amazon Linux

I'm trying to install vmod_geoip via amazon linux, but so far no luck. I've installed geoip geoip-devel. I've downloaded the vmod_geoip source. I'm able to ./autogen.sh but ./configure constantly ...
1
vote
1answer
29 views

date and hwclock not in sync - why

I am on GMT+8 and I set my hwlock to UTC. [root@sjoam2 ~]# date Sat Aug 1 16:32:04 SGT 2015 [root@sjoam2 ~]# hwclock --systohc --utc [root@sjoam2 ~]# hwclock --debug hwclock from util-linux-ng ...
0
votes
1answer
22 views

Upgrading XenServer 6.2 to 6.5 or updating in general

Trying to get my XenServer to update, and want to upgrade it also to version 6.5. But cant figur out how. When i try to update using the XenCenter, i cant select the server itselfe when i get to that ...
0
votes
0answers
21 views

Centos. infiniband multicast join failed for status -22

I have a cluster with Linux Centos 6.5 as OS. All the machines are connected by infiniband, the network is working fine but in the /var/log/messages of all the machines I can see the following message ...
1
vote
1answer
16 views

Checking for disk failures and issues in a VM

If you host with a provider who runs a RAID 10 or another RAID based system and your in a VM. Are you able to check for disk failures or RAID failures from within the VM or does it require host based ...
-2
votes
1answer
18 views

Can we increase RAM, CPU as per our requirements in AWS EC2?

Can we increase RAM, CPU as per our requirements in AWS EC2? Like customize increasing memory which is possible in vmware
0
votes
0answers
21 views

linux : allow other user to use installed application

In Linux Ubuntu 15.04, I have created 3 users. I have then installed an application, capifony, as one of them, svassaux. Now, I want to let another user, user2, run the capifony app and he gets : ...