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
0answers
3 views

Docker DNS not working

I'm on ubuntu 16: I have a server running a docker container with Bind9 that works as my network DNS server at 192.168.3.70. All the hosts from my network use this as DNS and it works great. I have ...
0
votes
1answer
22 views

Nagios Core: poblems with services and NRPE

After I've installed Nagios on the monitoring server and tried to set services. I've installed NRPE on the monitoring server (Ubuntu 14.04, ip-192.168.1.1) and on the node (CentOS 6.5, ip - ...
0
votes
2answers
2k views

Samba default permissions not respected

I'm almost ready to tear my hair off (At least i have a decent amount of it :P) I built a Ubuntu 11.04 box at work for all the development team to work on it. Everything working fine so far but there ...
1
vote
1answer
9 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 ...
-3
votes
1answer
42 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 ...
1
vote
1answer
19 views

Gitlab post-receive hook Host key verification failed

I'm having 3 servers: werkstation.example.com -> server where the gitlab repository is cloned & for changing the files fom the repository git.example.com -> gitab server with repository "tomcat" ...
0
votes
1answer
42 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 ...
1
vote
2answers
3k views

passwd: Authentication token manipulation error

I am running a Ubuntu 12 machine, and have recently been working to secure it. I made all the changes from this guide. I am not running a Linode, but I used these as a starting point for setting up ...
1
vote
1answer
18 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 ...
1
vote
2answers
227 views

Uninstall Mysql 5.7 from Ubuntu 16.04

I am having problems with mysql 5.7 in ubuntu 16.04 when it comes to giving users privileges, so I want to re-install it again but when I type the command for removing mysql I get the following ...
1
vote
1answer
58 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
0answers
11 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 ...
0
votes
1answer
2k views

LDAP client on Ubuntu 14.04 LTS server

I am setting up an LDAP client on Ubuntu 14.04 server and can't seem to be able to logon. I see an error in the auth.log that says unknown user. I installed packages: ldap-auth-client ...
0
votes
0answers
18 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 ...
1
vote
1answer
2k views

Ubuntu iptables logs not going to any log file

I am trying to put logs in iptables but I can not find any log in any file. Although when I run dmesg command, I can see the iptables entries. But the same entry doesn't go to any log file. Here is ...
-7
votes
1answer
69 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

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 ...
0
votes
1answer
41 views

How do I handle a IP change affecting many servers?

Due to a location change, we have to move a number of servers to new IP addresses (from 10.X.*.* to 10.Y.*.*). We're taking the opportunity to clean up our IP allocations from a haphazard setup to a ...
2
votes
1answer
1k views

Mounting a network file system inside LXC on Ubuntu 12.10

On an Ubuntu 12.10 server, I created an Ubuntu cloud lxc container. In the /var/lib/lxc/MY_CONTAINER/config file, I uncommented the line: lxc.aa_profile = unconfined and started the container. ...
1
vote
1answer
146 views

DOWN-ROOT: Error sending script execution signal to background process

Ubuntu 14.04 OpenVPN 2.3.2 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 192.168.0.9 port ...
32
votes
4answers
24k views

gpg not enough entropy!

SO I've got a ton of processes running in the background to try and get enough entropy but I am still failing. **We need to generate a lot of random bytes. It is a good idea to perform some other ...
0
votes
0answers
15 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
9 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
1answer
1k views

svn command not found for specific user

I am implementing a system for exporting the source code from my svn server to the client's server (where the web is going to be hosted). I asked my client to install subversion in his machine to be ...
0
votes
0answers
16 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 ...
0
votes
0answers
44 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
1answer
1k views

Compiling an individual kernel module (Debian/Ubuntu)

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
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
13 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 ...
-2
votes
0answers
17 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
2answers
2k views

How to configure sendmail properly with PHP on EC2 (no SES)?

I have been struggling with sendmail for couple of days with no luck. I am trying to setup relay host, after following the answers in this question ...
28
votes
5answers
28k views

How can I monitor what logrotate is doing?

How can I monitor what logrotate is doing in Ubuntu? Can the activity of logrotate be monitored?
1
vote
2answers
45 views

Postfix maildir delivery failed - are my mails lost?

I was facing the problem that postfix could not deliver emails to my home-directory. I have a running Ubuntu 14.04 server and due to some problem with encrypted home-drive postfix was not able to ...
0
votes
1answer
1k views

GlusterFS How to add replica brick to system

I am trying to add two bricks to a Gluster Volume. The two new nodes are in the network, and can be verified with: root /# gluster peer status Also the volume: Status of volume: mainvolume Gluster ...
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
1answer
48 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
11 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
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 ...
0
votes
2answers
49 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 ...
-1
votes
0answers
21 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
0answers
9 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 ...
1
vote
1answer
1k views

Ubuntu Server 14.04LTS Swappiness for server with 16GB memory

(don't worry I'm not asking what my setting should be, asking for the theory behind some conflicting advice I've read) My application is one that is lightweight and not under much load, but needs to ...
-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
2answers
81 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 ...
2
votes
2answers
1k views

upstart pre-stop script

I have libvirt/KVM set up on my Ubuntu and before shutting down the machine I would like it to attempt shutting down the VM's using an ACPI poweroff (virsh shutdown), then I want it to stop shutdown ...
0
votes
0answers
17 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: ...