Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (2)

0
votes
1answer
15 views

How to tell squid use Source IP address for sending requests?

I have two interfaces in my ifconfig, eth0 and eth1. Squid is set to accept connections from both of them on port 3000. However, eth0's ip address is always used to send proxy requests, even if ...
1
vote
0answers
12 views

How would I limit total outbound traffic?

I've had a look round and found solutions like tc to limit the total allowed bandwidth per user, but what I'm interested in is how to limit the total outbound traffic per user. I have a server with ...
0
votes
0answers
10 views

Jetbrains team products + out of memory

I am trying to build an Ubuntu server 15.10 VM with all the software tooling required for software development. When I saw that Jetbrains offers various tools like: hub, youtrack, teamcity and ...
1
vote
1answer
21 views

Cannot upgrade Python

I just recently tried using Let's Encrypt to generate free SSL certs for a small website I'm running on a personal server. When I ran the letsencrypt-auto tool everything seemed to work, although a ...
0
votes
0answers
8 views

trouble with change data dir on ubuntu mysql

Install zabbix on Ubunutu server with MSQL 5.6.27. After mount new part in /var/lib/mysql and copy all db files, mysql not started. What i done: 1) stop mysql 2) copy /var/lib/mysql to partition ...
-1
votes
0answers
13 views

Server request timeout? [on hold]

I just setup zPanel on my server (an install of Apache, PHP, MySQL, etc). I set up a domain to point to the server IP and gave that to the installer. Though, now when I try to access or even ping the ...
-2
votes
1answer
13 views

wlan interface is missing in ifconfig but present in the iwconfig

I have OrangePi Plus 2 with lubuntu installed and try to setup wifi there. Wlan interface is missing in the if config, but present in the iwconfig. ifconfig eth0 Link encap:Ethernet HWaddr ...
1
vote
0answers
11 views

nfs-kernel-server keeps failing in Ubuntu

I'm trying to create NFS share in Ubuntu 14.04 strictly following this tutorial: https://help.ubuntu.com/community/SettingUpNFSHowTo. root@srv:~# service nfs-kernel-server start * Exporting ...
0
votes
0answers
15 views

Is it worth to add a ppa instead of waiting for security updates from ubuntu?

Now that php have launch a new security update I have thought if it's worth to add a ppa that already have this security update or it's better to wait for ubuntu to release it? With the ppa you have ...
-2
votes
0answers
12 views

Postfix for multiple project on VPS Ubuntu

I have a dedicated server on which there are many projects configured. Out of those I want a email send facility for one project using POSTFIX. But when I use this, the email from other projects are ...
1
vote
0answers
18 views

Making war inside Docker stuck on NPM

Using Docker to make war file to attach to Apache Tomcat. Struggling to use NPM/MVN to get Tomcat war up. I'm behind a corporate proxy and the make scripts don't have "bower install --allow-root" ...
0
votes
0answers
15 views

Is it possible to install puppet recipe on an existing system manually?

I have a Vagrant/Puppet Box configuration installing ubuntu, PHP, nginx, redis, etc ... I would like to apply same software on my current ubuntu vm with my working enviroment. I could Install the ...
0
votes
1answer
22 views

Nagios nrpe custom plugin command not defined on localhost

I have written a custom nagios plugin which is returning a command not defined error. I have not yet placed the command in nrpe.cfg or defined the service, etc as this is controlled by puppet and any ...
0
votes
1answer
30 views

$0 empty in script when run by cronjob

I am trying to setup automated backups for an AWS EBS volume and using https://github.com/colinbjohnson/aws-missing-tools/tree/master/ec2-automate-backup to do so. The backup script used is the ...
1
vote
1answer
22 views

Ubuntu: Persisting IP Route Change on Reboot

The following command at the terminal gives me the networking changes I need: ip route change default via 10.255.255.1 dev eth0 src 82.82.82.82 To persist this on reboot I add the following to ...
-2
votes
2answers
28 views

Clone ec2 instance with all things installed

I received a amazon email saying that i have to terminate my instance because of attacks but worked really hard to install and setup everything on the instance. So how can i create another ...
-1
votes
2answers
26 views

auditd: how to install from source in Ubuntu?

I want to setup auditd to collect its logs from remote server. I'm using Ubuntu 14.04.3 LTS. This feature seems to be disabled into Ubuntu auditd package. So, I'm going to install it from source. ...
0
votes
0answers
22 views

fail2ban doesnt read log if file being used

My environment is Ubuntu 14.04, LAMP stack all from apt. implemented fail2ban and configured jail.local with backend = auto [ssh] enabled = true port = ssh filter = sshd logpath = /var/log/auth.log ...
0
votes
1answer
15 views

VPS Ubuntu connection timeout when I try connect via IP in browser

I have a problem with my VPS. It has installed Apache. When I trying to connect from specific network (home) I can easily access to it. When try on another one (for example 3G) it returns 110 - ...
0
votes
1answer
46 views

rsync syncs too much files

I have the following directory structure: /tmp1 \_ file1.txt \_ file2.txt /tmp2 \_ file1.txt \_ file2.txt \_ file3.txt /changes With rsync's --compare-dest option, I want to sync all ...
0
votes
2answers
35 views

Sync Apache Root Folder on Two Ubuntu Servers

We currently have two AWS ubuntu instance running two websites on Apache. The instances are behind a load balance. I would like to know what would be the best way to sync the root folder for both ...
1
vote
0answers
17 views

Mounting multipath devices by UUID in fstab

I have several multipath iSCSI LUN's formatted as ocfs2 filesystems. They are part of an Ubuntu 14.04 cluster using local heartbeat. This all appears to be working fine if I mount them manually after ...
0
votes
0answers
5 views

Which version of OCFS2 is Required for Global Heartbeat

I am running Ubuntu 14.04 (Trusty) and have several iSCSI LUN's setup with the OCFS2 filesystem and local heartbeat. Since I have several OCFS2 formatted LUN's in my luster, I thought it would be ...
2
votes
0answers
30 views

Ubuntu Network Performance on over 2k connections

I'm using an EC2 c3.8xlarge Ubuntu 14.04 LTS machine with over 3k threads simultaneously downloading web pages one after another. Although this machine should have a 10Gb network performance, I ...
0
votes
1answer
18 views

Error installing Apache2 on Ubuntu

I used the command sudo apt-get install apache2 and get the error below: any suggestions? # sudo apt-get install apache2 The following NEW packages will be installed: apache2 apache2-bin ...
0
votes
0answers
17 views

SSH stops responding on all AWS EC2 instances at the same time

I've noticed SSH connections hang on all my EC2 instances (ubuntu), and eventually fail (with 'broken pipe') around the same time, 7 to 9pm in the evenings. HTTP and telnet continue to function ...
0
votes
0answers
15 views

Should I not use my server when its server image is being created?

I have an Ubuntu server on Rackspace and I am currently getting an image created for this server. In the mean time, are there any adverse effects to either the server or the image if I use my server ...
0
votes
2answers
29 views

FQDN, DNS, Hosts, postfix

Let's say I bought this domain: example.com Name servers under DNS manager all points to example.com That subdomain(example.com) of nameservers points to an IP. Also, note that hostname unique is ...
0
votes
0answers
9 views

IPSEC over LAN on Ubuntu [on hold]

Can I set up an IPSEC tunnel over a LAN with Ubuntu? The two machines are on the same LAN and have the same public IP address.
-1
votes
0answers
19 views

Audit user activity

I need to grant access to one of ours Ubuntu servers to our new freelance developer. He is a new guy for us, so we'd like to verify his activity on our server. We have to add him to sudoers, because ...
0
votes
0answers
19 views

convert iptables u32 module to mikrotik

We experience some kind of DDos attack. here is attack log: http://paste.ubuntu.com/14476372/ in all of lines the expression "win 512, length 0" is the same, with this iptables rule we can drop ...
0
votes
2answers
18 views

Upgrading ubuntu 12.04 to 14.04 in which way affects old website hosted by Apache?

After the system upgrade, I found out that the websites hosted on my machine were down. So, first of all, my apache2.conf file was restored to default (and I had to modify it again). Secondly, ...
1
vote
1answer
16 views

Fail2Ban regex is wrong?

I'm currently setting up a filter to filter POST attacks on a file named xmlrpc.php. Requests that should be monitored in the log access look like: 1.99.437.201 - - [01/Feb/2016:01:57:14 +0000] "POST ...
3
votes
1answer
37 views

php-fpm and nginx @ high CPU usage?

My server is with DigitalOcean with the following plan: 2 Core Processor 2 GB Memory My website is receiving thousands of visitors, however, both CPU cores are @ 100%: The issue seems to be with ...
0
votes
3answers
38 views

iptables rules for port 53 not taking effect

My ubuntu 14.04 LTS server is receiving lots of incoming traffic on port 53 from different ip addresses. I am not hosting any DNS service. So I decided to block port 53: iptables -A INPUT -p tcp ...
0
votes
0answers
12 views

iptable script to block Post request to a specific file [duplicate]

I get these attacks daily across multiple servers (Apache): 135.120.5.180 - - [31/Jan/2016:14:21:08 +0000] "POST /xmlrpc.php HTTP/1.0" 200 598 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)" ...
-1
votes
0answers
32 views

Set default route to virtual ip

I have a Virtual private cloud running on 10.0.0.x. In this network two machines share a virtual ip to provide HA and connection to the internet via aaa.bbb.ccc.164. There configs are: Proxy1: ...
2
votes
1answer
35 views

How can i split a partition on Ubuntu?

I just purchased a brand new server on OVH with disk specification: 2 x480GB of SSD SOFT. When i do df -h, the output is: Filesystem Size Used Avail Use% Mounted on /dev/root 20G 13G ...
0
votes
0answers
16 views

Xen VGA passthrough w/ XEN_PCIDEV_BACKEND kernel option

Xen's webpage ( http://wiki.xenproject.org/wiki/Xen_VGA_Passthrough ) says this is a requirement for VGA passtrough: "dom0 Linux kernel needs "XEN_PCIDEV_BACKEND" option enabled." I'm running ...
0
votes
0answers
18 views

What's the recommended way to daemonise an executable with Ubuntu?

I've written a golang app that i'd like to run as a daemon: Start automatically on boot Only allow one instance of it to run at a time Run it as a specific user Save the stdout/stderr to a log file ...
0
votes
0answers
22 views

Getting more info with PAM auth

I'm trying to setup a SOCKS authentication using PAM. I'm using a custom python file as a pam module to authenticate users but the problem is that I can't seem to pass all the informations needed to ...
0
votes
1answer
44 views

Ubuntu + bridge +qemu + tap + virtio dropping packets

I've got what I think is the standard qemu bridge/ubuntu tap interfaces set up running variety of VMs on my Ubuntu host. All the VMs I'm having trouble with are Windows images. I have researched this ...
-1
votes
0answers
17 views

Ubuntu server /dev/root full and causing some errors on my website [duplicate]

My ubuntu server has around 2Tb storage and i use it to host onlt 1 website. Recently i've been having some errors saying: 'PDOException' with message 'SQLSTATE[HY000]: General error: 3 Error ...
0
votes
0answers
8 views

How to autostart node forever and spawn() as sudo?

My app periodically spawns a CasperJS scraper: spawn(CASPER_PATH, [SCRIPTS_PATH + fileName, '--ssl-protocol=any', '--user='+user, '--scrapeId='+scrapeId, '--pass='+pass], { ...
0
votes
2answers
37 views

UFW Forwarding on Port 80 to port 3000 on Single VPS [duplicate]

The following is on a Virtual Private Server online and only one machine. I have tried a number of ideas using UFW on Ubuntu 15.10 to forward an incoming request on port 80 to a simple app I have ...
0
votes
0answers
26 views

ubuntu: add 1000 ipv6 addresses on if-up

I'm trying to configure 1,000 IPv6 addresses using if-up.d. However, when the server is rebooted, they aren't configured properly and eth0 isn't up, even though I'm still able to connect to the server ...
0
votes
0answers
17 views

Use docker and terminal with an ubuntu server

I'm using a VPS with Ubuntu server 15.04 installed. I need to run a docker instance and then navigate to a folder and execute a command. How can i make a docker process run in background from ...
0
votes
1answer
19 views

Couchdb service shuts down a second after start

I'm having problems getting the couchdb service running. When I start it, it only lives for a second or so before shutting itself down. Here's an example - first a status command showing it's ...
0
votes
0answers
20 views

Multiple IP Addresses on EC2 on Same Subnet

I have an EC2 machine which needs to listen on multiple private IP addresses on the same subnet. Each private IP is mapped to a public Elastic IP. eth0 is assigned via DHCP. The alias addresses are ...
0
votes
0answers
11 views

Why apache throws target WSGI script not found when linking to Flask app?

I want to setup my flask app for apache on my ubuntu server using wsgi. But after my setup, I get the following browser error: Not Found The requested URL / was not found on this server. The apache ...