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
2answers
206 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
50 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
5 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 ...
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 ...
-2
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
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 ...
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 ...
-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
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 ...
0
votes
1answer
40 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
143 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
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
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
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 ...
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
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
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
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
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
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
47 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
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 ...
-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
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 ...
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
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 ...
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
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
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 ...
1
vote
1answer
153 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 ...
1
vote
4answers
20k views

Error applying iptables rules using iptables-restore

Hi I'm using Ubuntu 9.04 on a VPS. I'm getting an error if I apply a iptables rule. Here is what I have done. 1.Saved the existing rules iptables-save > /etc/iptables.up.rules Created ...
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
38 views

Connection refused by AMAVISD-NEW

I found here many information to set a AWS server on my own. I installed the DKIM patch and it's work great, but now I can't send mails. I had already problems sending mails, but now are deeper. Some ...