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

learn more… | top users | synonyms (1)

4
votes
4answers
248 views

Data recovery options for unix file systems

What popular and tried data recovery options are there? I know of these (none of which have GUIs afaik): foremost - Forensics application to recover data scalpel - A Frugal, High Performance File ...
0
votes
0answers
3 views

Script triggered by udev to examine partition tables and test if it's a ceph disk

I'm wanting to trigger using udev under CoreOS a script on disk add/remove. The purpose/goal is to automatically mount ceph data partitions to a specific directory in preparation for ...
2
votes
1answer
1k views

How to achieve multiple NFS/TCP connections to the same server?

I'm trying to maximize the NFS/TCP bandwidth between a Linux client and a single NFS server over a 10Gbps link. Although each NFS mount has its own device (major/minor), everything comes down to a ...
1
vote
3answers
2k views

Disable user_deny.db in Cyrus/imapd

We have a cyrus 2.4.12 on Debian, we use packages, rather than building each software ourselves. I am getting the this "log" constantly, a lot of, various users, and 8-10 times per user request: ...
0
votes
0answers
12 views

how to match up setting in security/limits.conf with nginx.conf for at least 5k users per minute?

I know by reading similar posts that worker_connections * worker_processes = user connections per second so I would need to set soft nofile to same as above result? Also, how do I count max ...
0
votes
1answer
958 views

Gre Tunnel Cisco Linux traffic forwarding

I setup a gre tunnel a cisco router and a Linux machine, the tunnel interface in the Linux box named pic. Well i have to forward traffic coming from cisco through the Linux box. the rules i've set in ...
2
votes
1answer
1k views

keepalived: 2nd VRRP_Script never seems to run

I'm trying to implement keepalived on 3 mongodb boxes, the idea is that if mongod on one of the boxes goes down or we need to move the primary node to another system for some reason our application ...
0
votes
0answers
22 views

OpenVZ can't reach the internet [on hold]

I have a vps running and it seems to be ok, but I am unable to access to internet. I am only able to access the internal network. What I want to do is give the vps a ip (access to the outside world), ...
0
votes
1answer
44 views

Can you change raid type on an active server?

I was just dabbling with a few different raid types recently for some performance testing and I was hoping someone could answer this question for the sake of knowledge. Is it possible to change the ...
14
votes
17answers
41k views

Shell Command for Getting IP Address?

Is there a bash command to find the IP address for an Ubuntu box? I need to find the IP address so I can ssh into the machine later.
-5
votes
0answers
29 views

I am moving one hour old log files from host to rackspace cloud storage using bash script [on hold]

I am working on cloud. I am using turbolifter to move one hour old log files from my server to rackspace cloud storage but it is not working due to python issue then i am using this script this ...
5
votes
1answer
2k views

Linux: proc/sys/kernel vs /sys/kernel

I know that in a typical Linux system, both /proc, and /sys are virtual file structures with pseudo files, used to communicate with the kernel, but what is the difference between /proc/sys/kernel, and ...
0
votes
1answer
781 views

autossh -L fails with same command as ssh, how to make it work?

I'm running yum installed autossh 1.4a on fedora core 15 with the latest updates. This works: ssh -L 9000:valid.fqdn:80 another_valid_fqdn However, autossh fails and prints its usage message: ssh ...
1
vote
3answers
493 views

Linux SMP Kernel Ram Utilization

I have a linux machine with Redhat 32 bit SMP Kernel installed , the ram size of machine is 16 GB and processor architecture is 64 bit. Please clarify my doubts on this setup : Can OS use the 16GB ...
2
votes
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
2answers
3k views

check_ssh executed from Nagios server returns “Server answer: ”, nothing else

Commmand works on the host I need to monitor (its IP is denoted as $HOSTADDRESS$ here): [root@host ~]# /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_4.3 (protocol 2.0) However, on ...
2
votes
1answer
986 views

Linux Client Active Directory Authentication stops working when failover

I have an issue with Linux clients trying to AD authentication by targeting a DNS name (corp.example.com). I have 2 Domain Controller servers DC1(10.0.0.3/24), DC2(10.1.0.3/24) both domain controllers ...
1
vote
1answer
1k views

Redirect some specific traffic to a different gateway

I have two gateways with different ISP, one of them defined as default for the LAN user and the other ISP used as the default for the Servers and VPN traffic. This is done using regular routing tables ...
-4
votes
2answers
71 views

parallelization [on hold]

dd if=/dev/zero of=/dev/null bs=2048k count=100000 dd if=/dev/zero of=/dev/null bs=2048k count=100000 dd if=/dev/zero of=/dev/null bs=2048k count=100000 dd if=/dev/zero of=/dev/null bs=2048k ...
-2
votes
1answer
23 views

Error when trying to install Ubuntu 14.10 Hyper-v VM from Virtual DVD .iso

I'm trying to install a Hyper-v Gen 2 Ubuntu 14.10 Virtual Machine via a DVD .iso that I have attached as a virtual DVD on my Windows Server 2012 R2 First, two things that I know will be asked: ...
-1
votes
0answers
17 views

Find which php files are causing high CPU load on linux [on hold]

I have a wordpress site running on my server. It's eating a lot of cpu. Searched all internet and didn't find any script or command to view which files are causing this load. Tried commands like top, ...
-1
votes
0answers
15 views

Linux Minecraft Server Connection errors [on hold]

I set up Minecraft on a Linux server. When I use the following command, the server starts up successfully and I'm able to log into it. I can then use Minecraft for some time without any problem. ...
0
votes
2answers
501 views

Nothing is written in php5-fpm.log

I have two servers which is Ubuntu 12.04 and Ubuntu 14.04. When I use Ubuntu 14.04 in my new server and enabled the php-fpm log file found under /etc/php5/fpm/php-fpm.conf that reads as follows: ...
0
votes
0answers
13 views

Group directory challenge

Have a challenging question for you. Have a linux box. Need to create directory where users would be able to create files, but remove/modify only files created by them. Simple enough to have sticky ...
-2
votes
1answer
29 views

Debian diffence between kernels [on hold]

Debian Wheezy installer What's the difference between the first and the second kernel?
-1
votes
1answer
19 views

Pros and cons of installing php 5.6 and mysql 5.6 on debian 7 wheezy

I was setting up a VPS server for my client and we had talked that I would install the last stable versions of the programs. Now, in Debian 7 wheezy by default php 5.4 and mysql 5.5 are available. I ...
6
votes
1answer
5k views

snmptt not translating traps, even with translate_log_trap_oid=1

I am having some trouble configuring snmptt to properly translate snmp traps. The following is a problem: /etc/snmp/snmptt.conf reflects: EVENT fgFmTrapIfChange .1.3.6.1.4.1.12356.101.6.0.1004 ...
1
vote
1answer
813 views

Oracle 10.2.0.1 --> 10.2.0.4 patchset errors on Advanced Queuing tables

We're running Oracle on RHEL 5.4 64-bit. We recently did an upgrade from 10.2.0.1 to 10.2.0.4. Many errors were generated during the upgrade (sample listed below from trace.log) but during ...
0
votes
0answers
19 views

Unable to get any type of connection using mysql on LAN [on hold]

My question is rather simple, I have a Windows 7 machine that is hosting an Apache server and a MySQL server using the XAMPP control panel. Both of these have been installed as a service on the ...
1
vote
0answers
15 views

Can't access my apache server from outside LAN (Raspberry Pi) [migrated]

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
11
votes
3answers
7k views

Create an AWS HVM Linux AMI from an Existing Paravirtual Linux AMI

Is it possible to create a hardware virtual machine (HVM) AMI from an existing paravirtual (PV) AMI. My initially thought was to start a new PV instance and use the ec2-create-image command to ...
1
vote
3answers
862 views

monitoring switches with Nagios

I'm trying to monitoring switch with Nagios. I had made everything like in this tutorial, but I'm getting Status Information in Nagios browser window like this: (Return code of 127 is out of bounds - ...
1
vote
2answers
2k views

ISC DHCP fails to sync leases between peers

I use ISC DHCP version 4.1.1 on Debian GNU/Linux on both servers. I tried to solve the following problem using various versions of ISC DHCP but it remained the same. My configuration for failover ...
-1
votes
1answer
23 views

How do I set up a “reverse proxy server”?

My office uses SAS Visual Analytics, which by default is configured to run at http://server.example.com:7980/SASVisualAnalyticsHub. In order to configure the site to be available at ...
6
votes
5answers
5k views

Can't connect to MySQL using 'localhost' but using '127.0.0.1' it's ok?

My /etc/hosts file looks like this: 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ...
2
votes
1answer
3k views

Fresh Proxmox VE 2.1 installation with defaults can't be reached or pinged

I am using the lastest Proxmox VE 2.1. My server has two NICS with a uplink only connected into eth0. My Server is a co-located server utilizing public IPv4 IPs. It is not behind a firewall or any ...
0
votes
2answers
39 views

Identify where and how background process are started and where they comes from

First the short story: I need to migrate a server (applications, configurations and so on) and I have no clue about what is in there, no docs, people at charge just abandon and didn't leave any ...
1
vote
1answer
1k views

Retrieving kickstart and other .img file in pxe remote installation in CentOS

I am trying to installation CentOS through pxe tftp installation. Installation starts but it fails to download image files from the http server. but file are accessible on the http server. Logs from ...
0
votes
1answer
24 views

How to scp file to remote servers' root directory and run sudo commands?

NOTE: The servers does not share the same password but I will setup no-password login at first. Here's the use case, I need to do these below step by step in my deploy.sh: scp files to remote ...
14
votes
5answers
36k views

Dump a linux process's memory to file

Is it possible to dump the current memory allocated for a process (by PID) to a file? Or read it somehow?
-2
votes
0answers
8 views

cmake error in mysql extension installation

I am trying to install a MySQL extension (http://mychem.sourceforge.net/doc/apas03.html#linux_installation) and i follow instructions. When i write >cmake . it raises an error, also i get "MYSQL not ...
2
votes
0answers
71 views

How to use an encrypted disk without needing an unencrypted boot partition

I would like to know if there is a way to encrypt a linux system which does not require a small unencrypted /boot partition. In addition I would like to know if encryption can be implemented on an ...
-1
votes
1answer
19 views

Linux SSH abnormal activity

I found an IP 192.168.1.100 accessed to localhost with public key successfully for 38204 times within two weeks. I checked secure file for more detail about this IP. This client logged in for every ...
0
votes
2answers
865 views

Increasing nproc for processes launched by systemd on CentOS 7

I have successfully increased the nofile and nproc value for the local users, but I couldn't find a proper solution for the processes launched by systemd. Adding max_open_files to the MariaDB ...
0
votes
1answer
40 views

Copy files from find command [on hold]

I am trying to copy all file.log files found using "find". The problem is all files are named the same and it is only copying over one file. I need to find a way to rename the files in the command or ...
1
vote
1answer
24 views

Route new outbound traffic

I am looking for some iptables rules which can help me to route some traffic from a server : Client 1 ----| Client 2 ----| |----------| Client N ----| ssh, ...
-3
votes
0answers
30 views

nginx not start , site down [on hold]

today my vps not function , every web site hosted is down, i have centos 6.6 and web hosting panel (vesta) in service of vesta nginx not start, i try to deactivate the nginx for the site but the web ...
1
vote
1answer
16 views

Investigate to /proc/loadavg

Review linux load average documentation (to try to solve a problem) I'm ask if a kind of state of process (zombie process?) can affect to anomaly that causes an high load average of my system. So, ...
0
votes
0answers
27 views

Screenshot of screen (linux) [migrated]

Is there a way to take a "screenshot" of linux screen command. In other words can "screen -r" command to be called with the same behaviour as "top -b -n 1" - print contents once and exit. Background ...
7
votes
2answers
101 views

Linux device-mapper maps LVM PV nested inside LV when taking snapshot

Which is really messing with my plan to back up this machine... I have a server which is a KVM hypervisor to several virtual machines. One of these is running Docker. It has its Docker volumes on ...