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)

9
votes
0answers
171 views

apparmor: same profile for multiple apps

so I have: #include <tunables/global> /usr/bin/python2.7 { /** mixrw, deny /** lwk, } /usr/lib/jvm/java-6-openjdk/jre/bin/java { /** mixrw, deny /** lwk, } /var/www/service/...
6
votes
0answers
1k views

“Error: Unknown error” when trying to start virtual machine from VMware server

Problem We are running VMware Server 2.0.0 build-116503 on a Ubuntu 10.04 LTS server. There is a virtual machine installed, running Lotus Domino on Windows Server 2003. Ever since a sudden power ...
5
votes
0answers
92 views

How to re-compile iconv on Linux (Ubuntu 14.04 LTS) with pseudo-charset UTF8-MAC?

I was googling around for hours to find a solution for my problem and I couldn't get it to work: I have to rsync a file structure on an ext4 formatted drive to a hfs+ formatted drive. Folders and ...
5
votes
0answers
2k views

Fail2Ban Correctly Attempts to Ban IP but IP does not get banned - iptables chain exists but not working

Running on Ubuntu 14.04 Server. So I have fail2ban correctly configured to process /var/log/auth.log for SSH login attempts. Upon 3 failed attempts I see this in the fail2ban log: 2014-11-19 15:...
4
votes
0answers
82 views

debian/ubuntu: Prevent UI prompting in command-line apt-get

So, in order to prevent console-UI (newt, snack, dialog) prompts during the dpkg post-install, you have to do something like: debconf-set-selections <<< 'mysql-server mysql-server/...
4
votes
0answers
1k views

How do I set locale when building an Ubuntu Docker image with Packer?

I'm using Packer to build a Docker image based on Ubuntu 14.04, i.e., in my Packer template I have: "builders": [{ "type": "docker", "image": "ubuntu", "commit": true }], and I build it ...
4
votes
0answers
2k views

postgres not starting after reboot on ubuntu

I'm not familiar with ubuntu (raring), so could someone help me please: I'm using postgresql 9.1 from apt. It installed the appropriate init script in /etc/init.d/postgresql. I can start the server ...
4
votes
0answers
4k views

mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect

When I'm trying to install MySQL 5.5 community edition on my Ubuntu 10.04 by compiling the source code, I met the following problem: $ fg % 1 sudo ../bin/mysqld_safe --basedir=/usr/local/...
4
votes
0answers
227 views

Apparmor externally included hats not working

Running apache2 on Ubuntu 12.04, using mod-apparmor for change-hat support. I have installed and verified that change-hat is working but that it is not working for externally included hats like the ...
4
votes
0answers
2k views

What is the difference between installing libcurl4-gnutls-dev or libcurl4-nss-dev in ubuntu 11.10?

For a software that I am installing in an ubuntu server, it needs the curl deb packages. When I try to install libcurl4-dev it says that this is a virtual package and I need to install libcurl4-gnutls-...
3
votes
0answers
28 views

Authentication vsftpd account using remote LDAP user

I'm trying to authenticate vsftpd from LDAP logins which hosted remotely another server . vsftpd hosted on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) amazon aws . from the LDAP server ...
3
votes
0answers
28 views

Get floating ip from mmm to work on Tinc vpn on Ubuntu

I've got 3 ubuntu servers connected with a Tinc VPN right now. 2 servers are running mysql 5.6 db's, and the 3rd is used only as a monitor. We're using mmm to do the monitoring and assign a floating ...
3
votes
0answers
34 views

How secure is information on a LUKS encrypted backup media?

Imagine confidential information (certificates, keys, whatever) stored on an LUKS encrypted backup disk containing for example an ext4 file-system. AFAIK such a device contains a key file which is in ...
3
votes
0answers
571 views

docker network freezing randomly

Sometimes , all network's of my dedicate server is freezing (ssh also not working). it's randomly repeated. OS: Ubuntu 14.04.3 LTS On server installed docker containers, and i see in dmesg logs: [...
3
votes
0answers
568 views

QEMU USB passthrough is not working

I stuck at getting USB passthrough working with Windows 8.1 guest OS on Ubuntu Server 14.04. I started by installing qemu using the Ubuntu Documentation (https://help.ubuntu.com/community/KVM). The ...
3
votes
0answers
59 views

Raid 1 seeding to speed up identical installs

I was thinking of installing Ubuntu on one of our Dell servers in a RAID 1 configuration, then using the mirrored drive as the primary drive in a second identical server with another RAID 1 setup. ...
3
votes
0answers
447 views

detecting whether GPUs are accessible before running nvidia-smi during boot to create dev files

In the past, I've successfully configured Ubuntu systems containing NVIDIA GPUs to launch nvidia-smi in the background from within /etc/rc.local during the system boot to create the requisite /dev/...
3
votes
0answers
110 views

Linux - Outgoing connections from process timeout after the process restarts

banging my head against the wall with this one... I have an Ubuntu Linux server, on top of which our own process which holds 40K persistent connections to external services. When the process starts,...
3
votes
0answers
100 views

/etc/cron.daily/locate has blank line. File is readonly can't edit

I get this output every day. /etc/cron.daily/locate: run-parts: failed to exec /etc/cron.daily/locate: Exec format error run-parts: /etc/cron.daily/locate exited with return code 1 File contents ...
3
votes
0answers
122 views

“ip route get” on Ubuntu returning default instead of static route

We've been trying to solve this seemingly simple routing problem for days. We are trying to route traffic through an OpenVPN tunnel. Specifically, traffic to 10.0.1.136 should be routed through our ...
3
votes
0answers
482 views

php-fpm process in D state ,cause nfs wait rpc_wait_bit_killable

my wordpress site which is in clustered environment using NFS,nginx,php-fpm,mysql the infrastructure is hosted on amazon ec2.Under high load/traffic the php5-fpm process goes in D state(...
2
votes
0answers
43 views

Squid3 WCCPv2 with ASA not working

So I have begun the awful adventure of getting Squid 3.3.8 working with my Cisco ASA 5520 (9.1(5)). I think the problem is that the traffic is getting to the squid box but it is either not getting to ...
2
votes
0answers
40 views

old tape backup using xfsrestore

I have some old tapes that were backups to servers from an old irix machine. I need to get the data off of them and I know they were written to the tapes via 'xfsdump'. I'm running ubuntu 14.04 server....
2
votes
0answers
51 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 ...
2
votes
0answers
21 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 ...
2
votes
0answers
56 views

Installing apache2 ssl - ubuntu

I need to install a ssl in my apache2 ubuntu, and do not know what I'm wrong, but the fact is that I do not get ... I have the relevant files: one .key file and two .crt files. At first, when editing ...
2
votes
0answers
65 views

502 Bad Gateway Error - exited on signal 11

I have an issue on a particular Magento store, on two different servers. The issue is that when I save admin panels, I get a 502 error. The values actually save to the database, as pressing back on ...
2
votes
0answers
72 views

Unable to locate package gitlab-ce on Ubuntu vivid

I have Ubuntu vivid and I am trying to install Gitlab. I have tried curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash sudo apt-get install gitlab-ce=...
2
votes
0answers
48 views

Securing config file containing plain-text passwords only with file-system permissions?

I have read a lot of posts and questions about the safest way to secure your server configuration files, which contain sensitive information, such as passwords. The 3 main recommendations I have found ...
2
votes
0answers
36 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 can'...
2
votes
0answers
111 views

Ubuntu server 15 during ping (DUP!) what does it mean

For some time during ping 192.168.0.2 I have something like this (DUP!) something is wrong with my network card or switch? Image Ubuntu server 15 - *192.168.0.222* Windows server 2012 - *192.168.0.2*...
2
votes
0answers
71 views

After Upgrading to Ubuntu 15.10 from 15.04, EC2 Webservers are Crashing

I have a variety of Ubuntu machines on EC2 running in production, with about 30 that were upgraded from 15.04 to 15.10. With most of the machines, the upgrade went flawlessly and experienced no issues ...
2
votes
0answers
242 views

Kernel parameter isolcpus seems to have no effect on Ubuntu Server with NUMA

I use the isolcpus kernel parameter to restrict the CPUs the Linux scheduler should use to place processes. cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.2.0-18-generic.efi.signed root=UUID=78e5b46f-...
2
votes
0answers
127 views

Ubuntu Server 15.10, process not being allowed to use all physical memory, kswapd0 using 100% CPU

I have a 24-core server with 64G of DRAM, and it's running Ubuntu Server 15.10. I am getting some strange behavior with respect to swapping and physical memory use. I never had this trouble until I ...
2
votes
0answers
338 views

Virtualbox keeps aborting

I'm running Windows 7 Enterprise on my host, and a Ubuntu VM on Virtualbox. My VM keeps aborting periodically. This is what I see in my logs: VBox: 00:00:35.201091 supR3HardenedErrorV: ...
2
votes
0answers
78 views

ipmitool sensor: does not detect backup power supply

Why doesn't ipmitool detect my second power supply? I have 2 powersupplies plugged into my machine, but calling ipmitool sensor only shows PS1: :~$ sudo ipmitool sensor |grep PS PS1 Status | ...
2
votes
0answers
54 views

Start xend service automatically on boot fails

I am trying to auto-start xend and xendomain service automatically on boot as soon as I log into XEN-dom0 (on Ubuntu server 12.04 x64) so that whey i type : sudo xm list the hypervisor lists me all ...
2
votes
0answers
46 views

Automatically build kernel modules after unattended upgrades in ubuntu

For automatic upgrades I has installed unattended-upgrades package and configured it. After each unattend kernel upgrade I must run following commands to recompile iscsi kernel modules: apt-get ...
2
votes
0answers
137 views

Postgresql initscript can't find pg_ctl after upgrading an ubuntu server to 15.04

I upgraded my Ubuntu server first from 14.04 to 14.10 and all went fine. Then I upgraded it to 15.04 and on boot it now gives the error: start-stop-daemon: unable to stat /usr/bin/pg_ctl (no such ...
2
votes
0answers
178 views

“Centralized” fail2ban only banning attacks to local host

I'm trying to run fail2ban on the rsyslog server that gathers auth logs from the rest of our servers. I'm interested on getting notifications working as a first step. My problem is that fail2ban only ...
2
votes
0answers
109 views

NFS randomly mounts wrong server

I have run into a problem with NFS which has me baffled. I can't even come up with a plausible explanation for it. I have ten machines: slave1 (10.0.0.10) - slave10 (10.0.0.20) Each one runs NFS ...
2
votes
0answers
277 views

OpenLDAP TLS - test results in Bad file descriptor

I have set up an openldap server including tls on ubuntu 14.04 following this guide. While testing the connection, I get results that I can not find an explanation for. ldapsearch -xLLL -Z -W -D cn=...
2
votes
0answers
153 views

Openstack Auto-Pilot - No Hardware Zones / Physical Zones Listed in Landsacape

Following the instructions available here I am at the final step of the landscape / autopilot install. The pre-configure checklist shows everything is good, but when I click configure there is no ...
2
votes
0answers
357 views

jinfo for java-7-openjdk-amd64

I am trying to check my memory settings currently in use with tomcat via jinfo on Ubuntu. However when running jinfo -flags <PID> against the tomcat PID, I get the following error: $ sudo ...
2
votes
0answers
177 views

nagios mysql check using unexpected user after upgrading from ubuntu 12.04 to 14.04

I had Icinga monitoring my network. Everything was working fine. After upgrading from ubuntu 12.04 to 14.04, MySQL monitoring started reporting problems. I discovered that nagios check_mysql always ...
2
votes
0answers
427 views

NGINX using 100% of the server CPU when testing with Blitz.io

I'm facing an issue here and after four days of looking around I decided to ask for some help here, after all a million heads can think a lot better than one. I have a Ubuntu 14.04 server setup with ...
2
votes
0answers
2k views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
2
votes
0answers
786 views

Ubuntu on EC2 boot error after dist upgrade to 14.04: disk drive for / is not ready yet or not present

I just upgraded my Ubuntu 11.10 EC2 instance to 12.04, then to 12.10 and finally to 14.04 using the do-release-upgrade command each time. I arrived at 14.04 and the instance will not boot now, it ...
2
votes
0answers
495 views

Openvpn server with bind9 DNS on AWS. Linux client cannot resolve host names.

I have a openvpn server set up and working on an AWS debian instance. It works as should but I want to push DNS queries to linux clients from bind9 which is on the same server as openvpn. All seems to ...
2
votes
0answers
439 views

LDAP authentication, pam_mkhomedir and NFS automounted homes

We currently have a setup (running on Ubuntu 14.04 LTS) with mixed LDAP/NIS authentication and automounted home directories from several servers (with the auto.home map distributed over NIS). ...