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)

1
vote
1answer
55 views

Large number of inodes being used by Apache mod_cache_disk

I am frequently getting to 100% inode usage on an Ubuntu PHP/Apache box. The main usage seems to be in /var/cache/apache2/mod_cache_disk Once every fortnight I have to manually remove files from ...
0
votes
0answers
20 views

Why is my upstart script failing?

here is the script in question: description "Circuit server" author "anonymous" start on filesystem or runlevel [2345] stop on shutdown # Script fails when setuid and setgid are not commented ...
1
vote
1answer
51 views

Using Amazon SES to send mails to specific domains in Zimbra

We are managing a Zimbra mail server Community edition. Since the IP Address reputation of our ISP is a bit poor, select domains (mail servers) are either blocking our emails which is resulting in ...
0
votes
0answers
47 views

btrfs will not delete device although there is enough unallocated space

I have a btrfs filesystem set up with 2 partitions - each 2,7 TB. Btrfs version is 4.4 btrfs version --> btrfs-progs v4.4 on Ubuntu 16.04 This is the current status and the result of a previous ...
-3
votes
1answer
54 views

Setting up extra IP addresses [closed]

I have a dedicated server from OVH, recently bought 4 extra IP addresses (/30) and I'm very unsure about how to add them to my dedicated server, so I can use them. For example, my server's original ...
0
votes
0answers
20 views

MOTD not updated unless logged in

I am on Ubuntu 14.04 and I am trying to customize the motd banner by changing motd.tail file. From my package, I am changing the files and also running the following command: run-parts --lsbsysinit /...
-7
votes
1answer
75 views

get database deleted backup via command [closed]

i have by mistake emptetied my databases for where can i get database backups. my server team told i do not have backup activated now what to do to solve my issue .Please guide me the way to fix it. ...
0
votes
0answers
41 views

point domain at another URL + dynamically generated subdirectory?

I have built a Django-based application that is intended to serve different discrete website from different URL variants. What I would like to be able to do is point various domains at the content ...
0
votes
0answers
10 views

Prevent duplicates when launching ssh-agent in upstart script

As part of an Upstart script, I need to launch ssh-agent to load a GitHub deployment key, so in the script I have: eval "$(ssh-agent -s)" ssh-add $HOME/.ssh/id_rsa The problem is that when the ...
0
votes
0answers
19 views

CentOS network bridging and Xen

I'm using CentOS 6 and Xen 4.6 on a bare metal machine. I'm trying to install ubuntu as a guest but I fail in the networking section. (I use netboot image). I have two eths named eth0 and eth1. ...
0
votes
0answers
17 views

Apache upgrade/migration: webpages are served with wrong charset

I've migrated from Ubuntu 14.04 to Ubuntu 16.04. In that case some homepages are presenting characters in wrong formats which results in yibberish. The problem seems to be a mess with charsets inside ...
0
votes
0answers
16 views

Unable to create indipendent shares for Virtual-Samba-Server

I'm using a VirtualBox-Centos7 (Samba-Server) and a Ubuntu-Mate-Xenial (client) machine; I would like to create two virtual servers and for every server one indipendent share. I've already created the ...
2
votes
0answers
19 views

Protect a second server behind existing OpenVPN

I have an existing Ubuntu server that denies all incoming traffic with a client unless it's able to authenticate with OpenVPN (we use Tunnelblick to manage client connections). However, we have other ...
-1
votes
1answer
103 views

Install HHVM on Ubuntu 16.04 w/install_fastcgi.sh

There does not seem to be a prebuilt HHVM package available for Ubuntu 16.04. It seems in Xenial that they have added HHVM to the universal repos, but installing it that way does not include the ...
0
votes
1answer
59 views

High CPU load while IDLE

I have a little issue with CPU load on an ubuntu server 16.04. In IDLE is still: load average: 1.05, 1.06, 1.11. Processes, which are the biggest consumers of resources are md126_raid1 and ...
0
votes
0answers
9 views

High cpu usage by 'root' in Ubuntu VPS server [duplicate]

My server was working fine until last week. But I don't know how someone have changed by ssh root password. After that when I checked the CPU usage, it always 160-190% on executing 'top' command. Some ...
0
votes
0answers
69 views

How to BCC copy all outgoing emails with Postfix?

I have a VPS on DigitalOcean where I have installed Postfix. I'd like to add in BCC an email address of my choice for all the emails that passing through Postfix go to email addresses not in my system....
0
votes
1answer
14 views

Do not close bluetooth connection via CLI

I'm creating a bluetooth connection to my device, like so: hcitool cc 01:02:03:04:05:06 That works fine for a few seconds, then the connection automatically closes. How do I keep linux from auto-...
0
votes
2answers
120 views

How to install an older version of php (5.2.17) in Linux?

I want to study some security vulnerabilities in php 5.2.17, but I can't install it from source, because then I need also all the older versions of all the other application which have something to do ...
0
votes
0answers
5 views

How to tag requests for a specific interface?

I will have a WiFi access point (wired to eth0) which will broadcast two SSIDs. Each of them will be in its own VLAN, and each of these VLANs will be defined on eth0 as eth0:10 and eth0:20. I would ...
0
votes
1answer
44 views

Changing /etc/passwd in SSH User

I've got an Amazon EC2 instance running. It's an Ubuntu 14.04. I connect using Putty SSH. I use the key/certificates I got when I created the instance to authenticate my connection. This is all done ...
1
vote
1answer
178 views

zpool showing more storage than it should

I just expanded my zpool named storage with 3 HGST 6TB drives in raidz1. I thought this would add only about 11.x TB of storage (since they are really 6000GB drives) how ever now zpool list shows I ...
0
votes
1answer
44 views

Ubuntu Apache https connection is taking a long time

I have an Ubuntu server 14.04 with Apache and plenty of capacity. Today the server is taking a very long to make the https connections. The main change today is a increase in traffic. I could not find ...
0
votes
0answers
16 views

init script for relaysrv (syncthing relay) “start: Job failed to start”

I'm sorry but I wasn't able to solve this with the existing similiar questions - and there are a lot of them - but still so I started this new one. Manually it works like this (did it this way yet, ...
0
votes
0answers
50 views

Samba/CIFS Ubuntu 14.04 mount error(112)

I'm trying to mount a samba network share on an Ubuntu 14.04 using cifs. On the server, I've got the share running. I can already map it as a drive in Windows. The share has a username and password. ...
-1
votes
1answer
42 views

Write shell script that listens to a port and executes an action

Could anyone give me directions as for how to write a shell script that constantly listens to a port and when someone/something sends an HTTP request to that port, it executes an action as sudo? I ...
0
votes
0answers
50 views

Jailkit: cannot su to jailed user

As a part of a bigger setup (docker container with safe environment for running python scripts), I need to configure a jailed user. I have looked at different options and decided to try Jailkit. ...
0
votes
2answers
244 views

Unable to mount shares on Ubuntu client from MacOSX server via SMB

I'm trying to mount shares from our OSX server (10.11.5) onto my linux client (Ubuntu 15.10) after an upgrade to the server took place. Prior to the upgrade I was able to mount these directories ...
-1
votes
2answers
52 views

Ports aren't really getting blocked with iptables [closed]

I'm on Ubuntu 14.04.4 LTS, I'm under attack from some ports, I blocked all of ports except SSH in my own server, I'm doing that by this way: iptables -F iptables -P INPUT DROP iptables -P OUTPUT DROP ...
-1
votes
1answer
20 views

how to install two versions of tomcat 6 and 7 with java 6 and 7 respectively on same ubuntu server

Can any one help me to configure a server with two tomcat instances i.e. tomcat 6 with java 6 and tomcat 7 with java 7 versions on a same ubuntu server?
0
votes
0answers
18 views

Ubuntu 14.04 VPN metrics

I have been using VPN on Windows server 2008 R2 daily. The problem came when I manually installed Ubuntu on my notebook (Ubuntu 14.04). It prefers first connected network interface if IP ranges are ...
2
votes
2answers
66 views

JBOD server for ZFS without dedicated boot drive

I am looking at buying a cost-effective machine for using openAttic, which is simply Ubuntu 14.04 64bit with ZFS. The server I am looking at gives me 8 bays of 3.5", where I plan to put SAS 7.2k ...
0
votes
2answers
44 views

how to save stderr and stdout to a file in ubuntu

when i run echo "invalid crt" | openssl x509 -noout -modulus | openssl md5 &>> error.log this show below error unable to load certificate 139903857870496:error:0906D06C:PEM routines:...
2
votes
1answer
153 views

Can't RDP to Azure Virtual Machine (Ubuntu 16.04LTS)

I've setup an Azure virtual machine using Ubuntu 16.04LTS but I'm struggling to get remote desktop to work for it. I've setup the endpoint as follows: I've also setup and started xrdp as well as ...
1
vote
0answers
13 views

How do I remove ufw blocked protocol 59 log noise?

The logfile on one of my private servers running Ubuntu 14.04 is being filled with messages of the following form: [UFW BLOCK] IN=eth0 OUT= MAC=[macaddr] SRC=[srcipv6addr] DST=[destipv6addr] LEN=40 ...
0
votes
1answer
24 views

Slurm: Have two separate queues for GPU and CPU-only jobs

At the moment, we have set up Slurm to manage a small cluster of six nodes with four GPUs each. That has been working great so far, but now we want to utilize the Intel Core i7-5820K CPUs for jobs ...
0
votes
2answers
31 views

Azure Scalable s Storage

Am wondering if for some reason I chose to deploy an Azure VM that has 29GB storage for the sda1 (O.S Disk), can I resize this disk in anyway possible? (resizing the SAME DISK without attaching new ...
0
votes
0answers
19 views

Vanishing files on Ubuntu

I have an Ubuntu 14.04 web server installed on an Azure virtual machine. I am encountering a strange issue, where on seemingly random occasions files or directories are suddenly deleted without ...
0
votes
0answers
22 views

I see security updates but there arent any - Ubuntu 14.04

I updated the system with apt-get upgrade and did a restart. Motd shows me 22 updates and 19 security updates, same with /usr/lib/update-notifier/apt-check --human-readable. 15 updates are shown ...
1
vote
2answers
60 views

Can't ping between two VMs

I have two VMs that, up until yesterday, have been able to talk to each other just fine. Now they don't. I've been trying to get this fixed for several hours now, but haven't been able to figure ...
1
vote
1answer
182 views

Ansible host “unreachable”: true

I just started learning the basics of Ansible. And facing some problem related to server connectivity via SSH. I created a folder named publich_html and put my code into that folder and changed the ...
0
votes
1answer
60 views

Forcing OpenLDAP connections to use STARTTLS not allowing user to login

I have a basic OpenLDAP server running on Ubuntu 16.04LTS which authenticates users perfectly fine but I really wanted to make it more secure so I decided to use STARTTLS and How To Encrypt OpenLDAP ...
0
votes
1answer
39 views

How can I allow all users to run mount as root?

How can I allow all users to run mount as root? I know there's a lot of solutions out there recommending the following edit, but it's not working for me. I've edited /etc/sudoers to include: ALL ...
1
vote
0answers
21 views

OOM using CRON but not using SHELL

When I start a java program by shell, everything is working well. However if I start the same program with the same command and same user by CRON, I get a java.lang.OutOfMemoryError just after a few ...
1
vote
1answer
177 views

How to configure upstart for OpenVPN instance which is using the down-root plugin

Ubuntu 14.04 OpenVPN 2.3.2 Init daemon: upstart server config file: topology net30 mode server tls-server push "route-gateway 192.168.0.1" ifconfig 192.168.0.1 192.168.0.2 ifconfig-pool 192.168.0.5 ...
0
votes
0answers
78 views

Samba operations return NT_STATUS_INVALID_SID after initial setup

I am setting up Samba as sole AD controller for a new domain following the official instructions. Everything appears to go fine with the domain provisioning, and I can get a kerberos ticket with kinit ...