0
votes
1answer
93 views

MaxStartups and MaxSessions configurations parameter for ssh connections?

I am copying the files from machineB and machineC into machineA as I am running my below shell script on machineA. If the files is not there in machineB then it should be there in machineC for sure ...
0
votes
1answer
114 views

Autossh ask for password when running with sudo (or from upstart)

I have an upstart job /etc/init/tunnel.conf: description "SSH Tunnel" start on (net-device-up IFACE=eth0) stop on runlevel[016] respawn exec autossh -nNT -o ServerAliveInterval=15 -R ...
0
votes
2answers
56 views

SSH config (~/.ssh/config) - advanced configuration

UPDATE: Just to confirm more about my setup in case it wasn't clear: No private keys are ever shared anywhere. (1) Human programmers using Mac each have one SSH key (in ~/.ssh/id_rsa) that they use ...
0
votes
1answer
52 views

Forward all network packets from server A to server B (WAN) Ubuntu

I currently run a game server on a VPS and will shortly be moving VPS provider. To make the migration easier on the players I would like players to be able to use the original IP for a short while by ...
0
votes
1answer
95 views

Relationship between KVM Virtualization Host and Guest resource utilization

I have a KVM Virtualization host with 8 cores and 32GB of RAM. The machine is used to host VMs used in evaluating software, configurations, etc. Typically there are 2-4 VMs running simultaneously. The ...
1
vote
3answers
3k views

Vagrant Error: Connection timeout. Retrying

I have a server with Ubuntu 12.04, Virtualbox 4.3 and Vagrant 1.5.1. I'm trying to use this box http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box however unsucessfully. When I run ...
1
vote
1answer
40 views

Where does adduser's Directory Information Go?

When I use the command adduser it asks me for all sorts of directory-like information such as: Full Name Room Number Work Phone etc. Where is this information stored and how does one retrieve or ...
1
vote
0answers
176 views

How can I properly update Cobbler's distro_signatures.json to support SecurityOnion?

I am trying to install SecurityOnion (an xubuntu 12.04 based linux distrobution) using cobbler. I have followed the instructions here to get cobbler installed from source on Ubuntu 12.04. I have ...
0
votes
1answer
224 views

Grub install failing on Hardware RAID with LVM

I have a SuperMicro box with an Areca RAID controller installed. The RAID controller is configured for RAID 6 + Hot Spare. I am attempting to install Ubuntu 12.04 LTS. I set up LVM with separate ...
-4
votes
1answer
141 views

Configure Ubuntu 12.04 LTS for Sending Emails for/from Multiple Domains [duplicate]

I have a cloudserver running on rackspace with Ubuntu 12.04 LTS The server is a LAMP stack that runs multiple live websites. Most sites are wordpress while others are PHP with a few scripts that use ...
2
votes
0answers
41 views

Change the logical volume

I am quite new this snapshot process. Let, I have three logical volumes as A, B, C. I worked on logical volume C. But accidentally when I restart the system, it goes to the snapshot A. How can I ...
1
vote
1answer
129 views

Linux Server OS on LVM on Software RAID: Best Practices and Considerations

I am preparing for a minimal Ubuntu Server 12.04 LTS that will simply run libvirt/KVM to host a handful of Ubuntu Server 12.04 LTS guests. On my KVM host I created a RAID 1 comprised of two physical ...
-2
votes
1answer
478 views

Removing Unnecessary Services & Packages in a MySQL Ubuntu 12.04 Server [duplicate]

As part of hardening a standalone/dedicated MySQL 5.6 server running on Ubuntu 12.04 LTS, unnecessary services and packages will have to be removed. For a server that is serving only as a MySQL ...
0
votes
1answer
88 views

Hardly-used Ubuntu 12.04 server shows high CPU / Disc I/O every 8 hours

I have a basic cloud-based server that is only used here and there for testing. Since I installed New Relic (yesterday) it has reported high Disc I/O and high CPU problems (>90%) every 8 hours for a ...
1
vote
0answers
61 views

Bridging Adapter in Ubuntu 12.04 LTS for KVM

Fresh install of Ubuntu 12.04 LTS with libvert/KVM installed. I have 2 virtual machines that I need need to be on the same LAN as the host. The host has two physical interfaces eth0 and eth1. eth1 is ...
0
votes
0answers
81 views

hald (HAL daemon) behavior analysis

We were looking at the behavior of HAL daemon on a Linux host (Ubuntu 12.04.2 LTS 64-bit). We looked at both its syslog and system calls (using strace). According to the documentation, HAL daemon ...
0
votes
1answer
94 views

When does Linux run out of memory? [duplicate]

I'm trying to establish why a process keeps unexpectedly stopping, and one possibility is that the server is running out of memory, but I'm not sure I understand memory and Linux properly. Take the ...
2
votes
2answers
117 views

Storing duplicate files efficiently on linux

I host a lot of websites and our system makes it easy to duplicate items in these sites which is handy, but leads to lots of duplicated (and potentially quite large) files. I was wondering if these is ...
1
vote
0answers
169 views

Icinga notification behaviour

The notifications I'm getting and not getting from Icinga don't seem to be making sense and I'm hoping someone here can help me out. It's Icinga 1.10.1 running on Ubuntu 12.04.3 LTS When the host ...
2
votes
2answers
200 views

Something eats all memory on my server, but it is NOT fs cache

I had several times received notifications from my monitoring system about 98% memory. I ran top and counted only around 60% memory used if I sum memory column. After several hours memory usage was ...
0
votes
1answer
63 views

MySQLd all queries 'Lost Connection'

I am running mysql 5.5 on ubuntu 12.04 I have many databases : the main one has ~15k innodb tables with a ~2GB size and the other one is a db for simple machine forum ~50MB. 2 days ago, all my ...
0
votes
1answer
297 views

How do I install OSSIM (Alientvault SIEM) manually?

AlienVault by defult is a .iso image. It installed on the core of Debian. I want to install it on Ubuntu 12.04. How can i do that?! Or is it possible or not?! (AlienVault is a SIEM product, it is an ...
0
votes
6answers
120 views

How to run an application continuously in server [closed]

I am using Ubuntu 12.04 server edition. I have access to the server via ssh. My question is how can I run a program through SSH such that it wont be get closed even if I disconnect the ssh. It has to ...
0
votes
1answer
420 views

Setting up FTP (vsftpd) on Ubuntu 12.04

I am trying to set up FTP on my Ubuntu box. I can currently login via SFTP, but cannot do so via regular FTP, I need to be able to do this as I am planning on uploading a file to the server from an ...
2
votes
1answer
115 views

SSH Hardening not working as expected

I am trying to do ssh hardening on my server but looks like it just blocks everyone. I checked auth.log on target server and it just says: "Connection closed by x.x.x.x [preauth]" Let me paste the ...
0
votes
1answer
88 views

Extremely slow network and half duplex

I am having an extremely slow network netperf -H 11.x.x.21 TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 11.x.x.21 (11.x.x.19) port 0 AF_INET Recv Send Send Socket Socket Message ...
0
votes
1answer
165 views

How to auto mount 2nd drive on boot in Windows Azure on linux?

I'm currently programming a website and it's connecting to Ubuntu 12.04 linux VM on Windows Azure for database connections. The issue I'm having is that if the VM is restarted the attached disk I ...
0
votes
2answers
122 views

Path of md device wrong after reboot

I have to set up a software raid (level1) on a Ubuntu server 12.04. It should serve files in the network via Samba. The server has the following disks: 250gb Sata hdd (Ubuntu is installed on that ...
0
votes
2answers
443 views

Extremely high mysqld CPU usage with no active queries

I have a VPS running Ubuntu 12.04 LTS with LEMP stack, followed the guide from Linode Library (since I'm using a Linode) to setup, and everything worked fine until now. I don't know what's wrong, but ...
0
votes
1answer
51 views

Bootstrap not mounting EBS volume

I'm running the following when Bootstrapping an Ubuntu 12.04 EC2 instance: mkfs.ext4 /dev/xvdf mkdir /vol01 echo "/dev/xvdf /vol01 auto noatime 0 0" | tee –a /etc/fstab mount /vol01 It formats the ...
1
vote
2answers
1k views

How to find cause of main file system going to read only mode

Ubuntu 12.04 File system goes to readonly mode frequently. First of all I have read this question file system is going into read only mode frequently already. But I have to know if it's not caused ...
1
vote
0answers
68 views

How do I allow www-data to (negatively) change the niceness of a process in Linux?

So I'm running a website using django and sometimes I call scripts located on the server by spawning a subprocess in python. When looking at the processes with "top" I see these are called under the ...
-2
votes
3answers
334 views

How can I scp files over ssh OVER through an intermediate server that does not allow TCP tunneling? [closed]

I'm ssh'ing to my university network, and from there I can ssh to my server. How can I transfer files from my local machine to my server? I tried tunneling but it seems it's not allowed, I get: Note ...
0
votes
1answer
96 views

Fix security vulnerability in dnsmasq on Ubuntu 12.04

I have an Ubuntu 12.04 server using dnsmasq and recently ran into the following security vulnerability which does not seem to have a fix on 12.04. ...
1
vote
2answers
61 views

Is there a way to source cron jobs from a file

One of our servers has around 20-25 different cron jobs scheduled on it. Usually, we periodically check-in the cron jobs to a file in the repo using crontab -l > cron.jobs While bringing up a new ...
0
votes
0answers
112 views

How to configure logs using ISPConfig in an LXC Container?

ISPConfig stores the webserver's logfiles in /var/log/ispconfig/httpd/domain.com and uses "mount --bind" to also have the files in /var/www/domain.com/log . Since I'm running Ispconfig in an LXC ...
0
votes
0answers
138 views

Hyper-V: Ubuntu guests running out of memory

We appear to have a problem with Ubuntu guests running out of memory. We have several on 12.04 (LTS) and one on 13.04 and seem to have the same problem. It takes around 30 days from restart to ...
1
vote
0answers
182 views

Volume unreadable in KVM guest after host volume resize

I have a KVM guest requiring more space on one of it's partitions. This partition is actually an LVM volume on the host. So I first unmounted the partition in the guest, switched to the host and ...
0
votes
0answers
24 views

Get Value of SMEM using PHP

I'm using smem command to know how much RAM each user is using. It also display the Count column. As far as my knowledge is concerned, Count column is a value PHP-FPM pm.start_servers and PHP-FPM ...
2
votes
1answer
468 views

What are the side effects of a full root partition?

I have a mission critical server running that I cannot take down (or at least, I'm told I can't right now). It unfortunately filled it's root partition up. It's running a custom process that's ...
0
votes
2answers
357 views

Ubuntu, mysql server connection

Hello everybody please ignore my noobness, My problem start from connecting to mysql on ubuntu 12.04 ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
0
votes
1answer
274 views

Get Unique IP Address and # of Access

I found the following code to see which IP Addresses has the highest hits: FILE=access.log; for ip in cat $FILE |cut -d ' ' -f 1 |sort |uniq; do { COUNT=grep ^$ip $FILE |wc -l; if [[ "$COUNT" -gt ...
0
votes
2answers
489 views

Is My Website Under DDOS Attack? [closed]

Recently I noticed that the CPU load of my server is increasing rapidly. In any day, the CPU load does not reach 2.5. I have the following server: Intel® Xeon® E3-1270 v2 Single Processor - Quad Core ...
3
votes
1answer
397 views

iotop and iostat disagree

I'm trying to understand what's going on with my server's disks. It's running Ubuntu 12.04LTS and I'm used to using iostat to know when the disk is the bottleneck. But iostat -xd looks to me like ...
-1
votes
2answers
2k views

Recommendation for PHP-FPM pm.max_children, PHP-FPM pm.start_servers and others [closed]

I have the following server: Intel® Xeon® E3-1270 v2 Single Processor - Quad Core Dedicated Server CPU Speed: 4 x 3.5 Ghz w/ 8MB Smart Cache Motherboard: SuperMicro X9SCM-F Total Cores: 4 Cores + 8 ...
0
votes
1answer
41 views

Yesterday-access.log is pointing to a different directory

Under /var/log/ispconfig/httpd/quotednews.com/ folder, the yesterday-access.log is pointing to a wrong directory. yesterday-access.log is just a symlink to: ...
0
votes
1answer
36 views

Wrong directory in passwd file. How to edit properly?

I have the following value under /etc/passwd file: web3:x:5006:5006::/var/www/clients/client2/web3:/bin/false Now, the correct value should be: ...
2
votes
3answers
3k views

Do I need to restart my server after editing fstab and mtab?

I'm just wondering if I need to restart my server after editing fstab and mtab. I changed something in this file manually due to problem with awstats report. I am using ISPConfig 3 with the help of ...
0
votes
1answer
491 views

Install JIRA on Ubuntu 12.04 with the default installer or manually?

I am researching installing JIRA, and the rest of the Atlassian Suite, onto an Ubuntu 12.04 server. It appears that not long ago everyone recommended installing JIRA manually. This was due to lots of ...
0
votes
1answer
37 views

Ubuntu Precise server (basic install) using a lot of memory [duplicate]

My Ubuntu 12.04.2 server (all packages and distribution completely up to date) was just using 558MB of RAM when I shelled in this morning. Nothing is running on the server besides sshd and whatever ...