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
6 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
7 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
0answers
6 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
15 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
32 views

Setting up extra IP addresses

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
10 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 ...
-6
votes
1answer
62 views

get database deleted backup via command [on hold]

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
14 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
8 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
13 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
14 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
10 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
15 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
0answers
11 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 ...
-1
votes
0answers
15 views

Connect with ipv4 to server with Openvpn and continue with ipv6 to other server [on hold]

I want to connect to my Openvpn server with ipv4 and then connect from the server with ipv6 to another server (this one only has ipv6). How can I do this? I run an Ubuntu 16.04 server with Openvpn ...
0
votes
0answers
31 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
7 views

Speed of opendir readdir stat vs dir listing [migrated]

I have a Perl script that is using opendir to read the contents of a directory: opendir ( DIR, $path ) or next; while (my $file = readdir DIR) { Then I'm doing: -s $file to get the size of ...
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
48 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 ...
-1
votes
0answers
20 views

etho:0 not working and lshw -C network says *- Network Disable

i was trying to add IP alias but i cannot add etho:0 because it is not working. $ lsusb unable to initialize libusb: -99 $ lspci -nn | grep 'Wireless Brand' pcilib: Cannot open /proc/bus/pci ...
0
votes
1answer
10 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 ...
0
votes
2answers
44 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
7 views

Java Spark web service doesn't work sometimes

I have created a web server using Spark that contains one route. I'm calling this route from android clients. post("/query", (req, res) -> { res.header("content-type", "application/json"); ...
-1
votes
0answers
14 views

Installing Ubuntu Server on Raid 1: FakeRAID [on hold]

I am installing Ubuntu Server 14.04.2 - amd64 in RAID 1 on my system with the following specs. SPECIFICATIONS: ASUS H97M-E 4GB 1600MHz RAM i3-4160 2 x 3TB Toshiba However, I failed ...
-2
votes
0answers
17 views

Can't see repository list after installing Mercurial + gitweb

I installed mercurial on my local virtual server. My problem is, I see the code of /mercurial/hgweb.cgi instead of the repository list. Here's the tutorial I used: ...
0
votes
0answers
16 views

Ubuntu 14.04 VM on Windows Server Hyper-V 2012 r2 not connecting to the internet

I've Been searching around for answer and I keep on coming to the same conclusion as to use "Legacy Networking Adapter" however that seems not resolve my issue. This is my following setup as Follows: ...
-1
votes
0answers
10 views

apache webroot direoctory replication? [on hold]

I have a apache server running and i would like to make a live replication off the webroot folder to another server. I am not sure which will be the best method? some people have adviced me to use ...
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
33 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
154 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
35 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
10 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
17 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
40 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
42 views
+50

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

Ports aren't really getting blocked with iptables

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
15 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
15 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
50 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
39 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 ...
2
votes
1answer
90 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
12 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
17 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
24 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
17 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
19 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
57 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 ...
-2
votes
0answers
20 views

ethtool doesn't show speed

I'm trying to display my servers link speed / port speed and it's not allowing me to see anything.. ethtool eth0 is only displaying the output root@computeapi:~# ethtool eth0 Settings for eth0: ...
1
vote
1answer
52 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 ...