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

Load average of a server

Can some one suggest me how we can predict the healthy or dangerous(Reached max value) Load average . Is the rule to distinguish is same for all the server or we have to consider the RAM and processor ...
1
vote
0answers
7 views

Linux Server as Router using IPtables Don't Forward IP traffic

Currently, I'm trying to setup based on Ubuntu 14.04 LTS router like solution. I don't have much alternatives available, so I will use linux box as a router. Current Config (machine is virtual ...
5
votes
0answers
23 views

What happens if I force ZFS to detach a hot spare with no valid replicas?

I have a ZFS pool made out of 6 RAIDZs. One of the RAIDZ is degraded, due to loosing two disks in the single RAIDZ close enough together that ZFS wasn't able to recover from the first failure before ...
-1
votes
0answers
7 views

Dell PowerEdge T110 II no boot device avaliabe

I have a Dell PowerEdge T110 II with two TB SAS disk in RAID1 (Hardware Raid - Perc 200) and there is an Ubuntu server on it. Today we work like everyday, but from one second to another, the database ...
-3
votes
0answers
14 views

How to setup a RHEL httpd with a Public IP to host sites? [on hold]

I want to setup a web server from my home. I seek to purchase a Public IP. Please provide me steps how to connect my RHEL 6 Server to this public IP and complete the whole setup process so that I can ...
0
votes
1answer
16 views

Shutdown Synology NAS and Linux server on power loss with one UPS

I have a Synology NAS (DS413j) and a small linux server on my small home network. Protecting these equipment there is a small UPS (APC Back-UPS CS 650). The Synology is a recent addition to the ...
-1
votes
1answer
17 views

Vmware Server2 Last known working kernel version

I hope there is some vmware expert here who can help me out. I would like to know what is the lastest Linux Kernel version which known to work with Vmware Server 2.0.2. What I using right now is ...
0
votes
2answers
22 views

How to let user create folder and upload file, lamp permission

I use mkdir($folder_path, 0755) in localhost(MAMP) it works, but after I move to VPS I use LAMP it failed. Folder the direction path is /var/www/html/assets/images/ the images folder info: Owner: ...
0
votes
0answers
6 views

linux user to authenticate with local samba4 ldap instead of shadow file

I have tried to use sssd to bind user authentication with samba4 ldap. but seeems like is not working. (method 2). example at ...
0
votes
2answers
25 views

Cannot set MX of other server on my domain

in bind, i am trying to set MX servers for my domain, but i get the domainname.com appended to the MX server. i do now know how to avoid it. here is my entry in MX zone file example.com. 120 IN ...
-3
votes
0answers
18 views

route all server hit throught default gateway [on hold]

i am preety new to managing my own dedicated server so please neglect my rookiness I am using nginx as my web server i have in total 5 usable ips say from X.X.X.1 - X.X.X.5 and this is my setting so ...
0
votes
2answers
38 views

Assign IPs to programs/processes

I need to assign different IP addresses to different processes (mostly PHP & Ruby programs) running on my Linux server. They will be making queries to various servers, including the situation ...
2
votes
2answers
70 views

/bin/sh: difference between variable and direct command

Imagine i have following bash script: #/bin/sh #next line will work correctly, outputting user name and current directory start-stop-daemon --start --exec /bin/su -- root -c 'whoami; ls' ...
0
votes
1answer
30 views

linux + mount from local dir [on hold]

in my Linux machine I run the following command under from /usr/cti/APPS directory cd /usr/cti/APPS mount -t nfs $server:$target_dir /mnt I want to show something very interesting I can run ...
0
votes
1answer
25 views

Binding timestamp value to a variable in crontab

I'm basically trying to declare a variable with a date() value in crontab as I will constantly be using the same date structure over and over, here is what my crontab looks like so far. php = ...
2
votes
1answer
18 views

What account does mrtg usually run as and can this be changed?

CentOS 6 / MRTG 2.16.2 I've noticed that mrtg is running as root on one of my servers and that concerns me. Is this a requirement? I didn't see it mentioned in the mrtg documentation. Can this be ...
-5
votes
0answers
30 views

Streaming website backend software [on hold]

What software back end/front end do I need to create a streaming website such as twitch, castamp, or connectcast that runs on linux (gentoo). What I am after is just a simple one stream website where ...
-1
votes
0answers
30 views

Centos server gave blue screen [on hold]

I have a centos server that is about 3 years old. In the last 30 days I found it dead twice. Upon raising a ticket with the data center they connected a monitor and found a blue screen with random ...
-5
votes
1answer
35 views

i need to open a port on a linux whm server [on hold]

I need to open port 8080, so I added to two IPtables rules: iptables -A INPUT -m state --state NEW -m tcp -p tcp -d remoteserverip --dport 8080 -j ACCEPT iptables -I OUTPUT -p tcp -d remoteserverip ...
0
votes
1answer
51 views

Multi-homed network?

I have a network with a layout like this: ******* ****** ******* ****** * SW1 * --------- * R1 * ---------- * SW2 * ---------- * R2 * ******* ****** ...
-5
votes
0answers
25 views

How can i pass url using curl with port 8080 [on hold]

I try to pass a URL with port number 8080 using curl, but I get an error "couldn't connect to host" . curl is working fine otherwise, so how can I resolve this issue? This is on a centos whm server.
-1
votes
0answers
24 views

Recommended FOSS for Linux log monitoring and alarm triggering? [on hold]

We currently have some Asterisk boxes. These boxes generates some WARNING and ERROR messages to log files in /var/log/asterisk. We need some software for active and real-time monitoring on these log ...
1
vote
1answer
32 views

What to do if rkhunter finds a possible rootkit?

ran rkhunter tonight, and I got this for the results: [04:17:34] System checks summary [04:17:34] ===================== [04:17:34] [04:17:34] File properties checks... [04:17:34] Files checked: 133 ...
5
votes
1answer
31 views

Restricted shell for managing files and git repositories

Think about a web hosting company that wants to let users manage files and git repositories via ssh. This includes: secure copy (scp) creating, copying, moving/renaming and deleting files executing ...
1
vote
2answers
39 views

Locked out of ssh, with no root access

So, I have configured my linux ubuntu 14.04 box for ssh on port 22 with root login via private / public key, no password login. I have iptables setup to block all incoming connections except for ...
0
votes
1answer
11 views

Java 7 or 8 is required to Run .Jar (Linux)

This is a newly installed CentOS 6.2 x86_64 I have downloaded java 8u5 RPM for GNU/Linux to run a .jar file, but I am unable to. I have removed java through terminal through the command rpm -e ...
0
votes
1answer
20 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
15 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
26 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
13 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 ...
3
votes
1answer
26 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
20 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
33 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 ...
2
votes
0answers
14 views

Importance of ha.cf file in a heartbeat/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
184 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 ...
16
votes
7answers
2k views

Restrict a Linux user to the files he owns

Imagine a server setup of a shared webhosting company where multiple (~100) customers have shell access to a single server. A lot of web "software" recommends to chmod files 0777. I'm nervous about ...
-1
votes
0answers
24 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 ...
-1
votes
1answer
31 views

Regarding diskless Pxe boot [on hold]

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
27 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
56 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
52 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
1answer
41 views
+50

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
75 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
11 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
16 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 ...
0
votes
0answers
2 views

Docker: Permission denied on folders added with ADD

I'm trying to configure a postgresql installation using docker. FROM ubuntu:13.10 ADD . /db # install postgres # ... RUN chown postgres:postgres /db -R && \ chmod 700 /db -R USER ...
-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 ...
1
vote
2answers
53 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
15 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. ...