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

learn more… | top users | synonyms (3)

0
votes
1answer
4 views

Tons of apache processes running on a very low traffic development server

I have a development server that is having memory problems. There is little to no traffic on this server because it is a dev environment, but apache is spawning tons of processes and using up a lot of ...
0
votes
0answers
13 views

Stop/Prevent NFS from resolving symbolic links in a share

I have an AWS instance that is running NFS. This is my exports file: /home/ec2-user/media *(rw,sync,no_root_squash,insecure) /home/ec2-user/var *(rw,sync,no_root_squash,insecure) Those directories ...
1
vote
0answers
18 views

How to limit connections when redirecting ports using iptables

I am trying to accept incoming connections through port 80 and reject those from 8888, redirect from 80 to 8888, validate if in the last 30 seconds has connected less than 20 times and then accept. ...
-2
votes
0answers
10 views

Please help me to choose the best server for running virtual machine [duplicate]

I would need to setup 10 Virtual Ubuntu servers for my project.I will be using the same server for couple of other purposes in future too like running SVN,JENKINS and couple of other light resource ...
2
votes
1answer
21 views

Automatically give Apache write permissions to newly added git clone files (-R g+rw)

I'm having a problem with allowing Apache to automatically have write access to an .htaccess file being pulled from a git repository. Here's my process: I'm logged in as a newly created user ...
0
votes
0answers
18 views

What is the correct home directory for my web application if web application is a subdomain?

NOTE: I did alter my ip address and the site names for privacy concerns. NOTE: The ip address in the error_logs is my office ip address. Centos 6 server Experiencing a lot of file not found errors ...
-1
votes
1answer
23 views

Message while using YUM

I alwasy get message while using yum "Couldn't use REST" root@localhost pgsql_devel]# yum repolist enabled Loaded plugins: refresh-packagekit, replace, security ...
0
votes
0answers
8 views

Importance of heartbeat ha.cf file in a pacemaker environment?

I'm having a few issues trying to understand ha.cf and how the cluster picks up on updates. For example, when creating a new cluster, I usually: Set some default options in ha.cf on node 1 - node x ...
4
votes
4answers
171 views

Centos server keeps jumping to address instead of static assigned address

I have a headless Centos server that I've configured with a static IP address. I've disabled Network Manager, avahi-daemon etc. Whenever I restart the network it just jumps to 10.155.90.100 instead of ...
1
vote
6answers
534 views

Restrict linux user to files he owns

Imagine a server setup of a shared webhosting company where multiple (~100) customers have shell access to a single server. Lot of web "software" recommends to chmod files 0777. Is there a method to ...
-1
votes
0answers
21 views

Vsftpd upload file with www-data permission

how can i get correct permissions drwxrwxr-x on file that are uploaded with Ftpuser1 in /var/www? Actually if i create file with Ftpuser1 i got this : -rw-r--r-- 1 Ftpuser1 www-data 0 Jul 11 ...
0
votes
1answer
23 views

Regarding diskless Pxe boot

I have used diskless PXE boot to install RHEL 6.5 in client system from the server (CentOS 6.5). I have seen the below post in this website. vi /var/lib/tftpboot/pxelinux.cfg/default default ...
3
votes
2answers
23 views

Execution order of runlevel scripts

My runlevel 0 scripts in /etc/rc0.d, which should be executed when stopping are for example K05foo -> ... K10bar -> ... K80baz -> ... S10somemore -> ... S90halt -> ... Is it correct, that the ...
1
vote
1answer
52 views

Describing `strace` command output

I have php process which could not finish for more then 2 days. root 26511 0.0 1.6 407788 27684 ? Ss Jul09 0:08 /usr/bin/php action.php This is the output from the strace command: ...
1
vote
2answers
48 views

Vmware/Linux 64 vs 32 bit

I have some old supermicro servers with over 16GB of ram in them which are still running 32bit version of linux with 2.6.x kernels and vmware on top of it. I wonder if there is any advantage of ...
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: ...
2
votes
0answers
18 views

TCP connection through IPSec (Linux/Strongswan) stalls after exceeding PMTU

The backups (via Bacula) of one of my servers (“A”) connected via IPSec (Strongswan on Debian testing) to a storage daemon (“B”) don't finish 95% of the times they run. What apparently happens, is: ...
2
votes
3answers
72 views

Common login script

Few weeks ago I thought it would be a good idea to write a script which should send me an email whenever some user would log in into my server. So I came to a perfectly working script ...
-1
votes
0answers
10 views

How to decrease size of an mdraid root partition without OOB access?

I was given a server that has a root partition over the whole mdraid (ext4) and no LVM underneath. Runs CentOS 6. I have no OOB access to the server. How do i go about decreasing the size of the ...
0
votes
1answer
15 views

Grub giving Error 2: Bad file or directory when I try to locate the kernel

I'm trying to boot a VM with grub-legacy and I'm getting a grub prompt. If I run root (hd0,0) it says Filesystem type is ext2fs, partition type 0x83, but then if I do kernel /TAB it says Error 2: Bad ...
-1
votes
0answers
14 views

Diferent I/O for different disks [on hold]

I have different disks in my computer (SSDs and HDDs). How can I permanently set differnt IO schedulers for different disks, so SSDs will use deadline scheduler and old-good HDD wil continue using ...
0
votes
1answer
31 views

Swap memory exhausting server even site has small visitors

I have CentOs 6.5 running on a 32bit VPS host. It is running only php-fpm, nginx, and mysql. I have a site that gets on average 20 visitors per day, but I am recently getting this message from my ...
0
votes
1answer
14 views

How to let any server user modify files created by a samba guest on a public share (and the other way around)?

I have a linux server running samba with a public share accepting guest connections. Any window box on the network can edit/remove files on the share as long as the files are created by a guest (i.e. ...
-1
votes
1answer
31 views

nxdomain - host not found

I have 2 domains in the same server(Linux). (The ip addresses are only examples) server: 192.168.1.20 domain1: server1.example.com domain2: server2.example.com cat /etc/resolv.conf # ...
2
votes
1answer
46 views

Unix hosts file order

For a long time I never even noticed but I made wrong /etc/hosts configuration on many machines. The order by the manual: 127.0.0.1 localhost 192.168.1.10 foo.example.org foo ...
1
vote
1answer
23 views

Is installing multiple redis instances on the server a good idea?

As title says. I'm considering creating a state service farm using redis, and I'd like to handle multiple "regions" - that way, if a service goes down only a single region should be affected. This may ...
0
votes
0answers
14 views

Newly setup Centos 6 server, cloning from .GIT as user other than ROOT [duplicate]

Apologies for being so new and lost, i'm brand new to all of this and the more I search the more I feel I'm getting closer, but then realize i'm lost. I setup a CentOS 6 server on an Amazon E2 ...
0
votes
0answers
12 views

Is there some good open source Thin Client OS? [on hold]

I've tried several Linux Distributions to act as the Thin Client OS to use spice, but all of them are way too large, for example, Ubuntu 14.04 server takes almost 1000M after installation and it ...
0
votes
1answer
28 views

Did grub updating bring my server down?

I have an Ubuntu 12.04 server. Last night I installed a few updates using apt-get dist-upgrade, including grub, and rebooted. After rebooting, I couldn't boot into Ubuntu. I just get a big flashing ...
1
vote
1answer
24 views

Is it possible to use Docker or Vagrant to provision a physical machine

Currently at my work we use buildroot to provision physical machines with Debian linux. Buildroot compiles a rootfs.cpio.gz file which the machines to be provisioned pick up using PXE, runs a script ...
1
vote
2answers
44 views

Is it possible to force a linux install to continue?

I'm PXE booting a linux distro that I'd like to contain a list of packages. I have these packages listed in a kickstart file for inclusion. Some of these packages won't work with the current distro, ...
0
votes
2answers
47 views

Rotating DNS servers specified by DHCP

I've got an OpenStack cluster running with about 200 CentOS instances and I've gotten a complaint from my hosting provider that the DNS traffic is getting to be too much for their servers. To address ...
0
votes
1answer
54 views
+50

ip route get recognizes address as anycast

# ip route get 1.2.3.4 anycast 1.2.3.4 dev eth0 src 5.6.7.8 and the question is how does it know the address is an anycast ? (which apparently is true).
6
votes
5answers
485 views

Hot spare host vs cold spare host?

We have several hosts where we have an identical hot spare host, which is patched and updated so it is very close to have to same software and config. In case of failure the network cable is switched ...
-5
votes
1answer
42 views

how to add a user on 100 servers when there is no NIS [on hold]

How to add a single users in all the 100 servers When there is no centralization for adding users. What would be the best way to add users in all the 100 systems
1
vote
1answer
28 views

Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower

We have Debian Squeeze 32-but servers that print PDFs to Xerox DocuColor printers. The PDFs are processed in about six seconds. We are in the process of upgrading our servers to Wheezy 64-bit. We ...
1
vote
1answer
32 views

How do I setup a runit service in Centos which is initially stopped

I have a service called 'hello' which I would like to run on CentOS release 5.8 (Final). However I would like it to be initially stopped. The service is a runit service which looks like this ├── ...
-2
votes
0answers
30 views

What's the different between CentOS6 and CentOS7 GA [on hold]

What's the different between CentOS6 and CentOS7 GA. Apart from kernel and GUI and anaconda installer, what are major different.
1
vote
3answers
44 views

How to find out the cause of linux server crash after rebooting

Here is the deal, come to work only to find out one server isn't responding at all, the machine is turned on, but the screen doesn't show anything att all, doesn't respond to keyboard inputs (I don't ...
3
votes
1answer
30 views

Puppet: how to run an exec only if puppet has made changes

We are doing basic management of some servers via puppet - The servers themselves run as part of a clustered system that handles other aspects like user accounts etc and includes a monitoring script ...
0
votes
1answer
39 views

Allow user to bind only certain ports on Linux [on hold]

Welcome, I'm looking for equivalent of mac_portacl from FreeBSD. I want to assign to one user only certain ports. Filtering it by iptables isn't enough, because when process works, the port is blocked ...
0
votes
0answers
10 views

SMART output - what's the significance and meaning of “verify” errors from smartctl -a for a HDD

Does anyone know the meaning of "verify" errors listed in the output of smartctl -a (or more precisely smartctl -l error), as well as their significance, if any, in trying to evaluate the health of a ...
1
vote
0answers
17 views

What's causing high CPU load by kjournald process?

I'm running CentOS 5.4 (Final) server as my PDC and Windows file server. Until earlier today, the server has been running non-stop for over 6-months (since the last reboot). The problem now is that ...
0
votes
0answers
15 views

how to use --rdest flag in recent table

Here is why I try to accomplish: When receiving a UDP packet, put IP address of the source address in recent table. sudo iptables -A INPUT -p udp --dport xxxxx -m recent --set -j ACCEPT When send ...
5
votes
1answer
71 views

How to handle security updates within Docker containers?

When deploying applications onto servers, there is typically a separation between what the application bundles with itself and what it expects from the platform (operating system and installed ...
-1
votes
1answer
40 views

How should I properly block outgoing http traffic with iptables

I'm experimenting with iptables, and I'm trying to allow all outgoing requests for HTTPS, but to block HTTP. I have the code below; Chain INPUT (policy ACCEPT) target prot opt source ...
-1
votes
0answers
27 views

Route public subnet to client over openVPN

I want to route a public /29 subnet over vpn to a client with a natted ipv4. After doing some research, I can't figure out to make that work. Maybe I was searching for the wrong terms, but it seems ...
2
votes
1answer
42 views

Linux read disk cache and NFS

I am interested in the impact of the read disk cache on accessing a file through NFS. Lets say I have a file on NFS. I access it (do "cat myfile") from a linux host "A". If there's enough RAM a file ...
-1
votes
0answers
28 views

Why timeout not work in the expect script

I created the following script in order to automate the VPN process. This script runs vpnc and enters a password. #!/usr/bin/expect set PASS [lindex $argv 0] set timeout 10 spawn vpnc ...
3
votes
1answer
24 views

Linux NFLOG - documentation, configuration from C

Several different places (e.g. http://wiki.wireshark.org/CaptureSetup/NFLOG) recommend using Linux's "NFLOG" firewall module to capture packets generated by a particular UID, like this: # iptables -A ...