Questions tagged [ubuntu]

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.

2,974 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

logrotate not writing logs to correct file

I have a production system on which there are multiple nginx apps hosted. those are nginx applications servers. Now for each of these nginx app servers a logrotate config file is configured in /etc/...
3
votes
0answers
2k views

Ubuntu 16.04 Systemd not possible to use systemctl

I have a Ubuntu 16.04 server, since the last restart, systemctl doesn't work anymore. For example if I want to start the nginx, I get the following error: root@SERVER:/# systemctl start nginx ...
3
votes
0answers
3k views

SSH fork of unprivileged child failed on connection

we have some problem when we try to make an ssh connection to our server. When we connect with user X (ssh x@serverIP) we receive these errors on console: Connection to serverIP closed by remote ...
3
votes
1answer
550 views

Reverse Proxy nginx not serving subdirectories

This is very strange and I can't get my head around it. I have set up a nginx server to reverse proxy a docker container. Nginx seems to be able to server some pages, but not sub-directories, or ...
3
votes
0answers
651 views

why does nginx need to be restarted?

Ubuntu 16.04 starts nginx on boot. It's configured to proxy several dev websites on localhost. These sites are not running when nginx starts the first time. If I start the websites and browse to ...
3
votes
0answers
1k views

Mount CIFS-share with users Kerberos-Ticket

we want to mount shares through autofs. Nothing special we thought. But: this must be done in some complex active directory circumstances. What we have: integrated Ubuntu 14.04 workstations on which ...
3
votes
1answer
1k views

Apache using wrong version of PHP

I'm trying to downgrade PHP from 5.5 to 5.3 (not by choice). I thought I uninstalled php 5.5 by typing the following sudo apt-get remove "php*" I then installed php 5.3 by following these ...
3
votes
0answers
508 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
336 views

Automate the LXD configuration interactive setup?

I realize lxd init has an interactive setup for networking, etc. I'm looking to automate some VM's running LXD and was wondering if there is a nice CLI command that documents this configuration as a ...
3
votes
2answers
4k views

systemd-logind spams in log

In /var/log/auth.log appears too many messages "Removed session" Jun 2 17:42:39 srv-1 systemd-logind[13785]: Removed session c36006. Jun 2 17:42:39 srv-1 systemd-logind[13785]: Removed session ...
3
votes
0answers
2k views

Does openconnect have native support for Pulse Secure?

Since they rolled out Pulse Secure in place of Network Connect, I have been attempting to connect to my company's vpn using openconnect. I am seemingly able to run openconnect without errors, do the ...
3
votes
1answer
125 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 ...
3
votes
2answers
2k views

Use Linux BIND DNS server for my Windows Active Directory 2008 R2

How can I use a Linux BIND DNS server for my Windows Sever 2008 R2 Active Directory? We are trying to avoid having to use the Windows Sever 2008 Server as a Domain Controller at all. We want to use ...
3
votes
0answers
224 views

Adding mfa verification code to ssh command?

Im trying automate the login process using shell script. I got MFA + pub key authentication working. However Im stuck at how to pass verfication code as a parameter to ssh command. I tried go ...
3
votes
0answers
160 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
810 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-...
3
votes
0answers
231 views

uWSGI won't start via Upstart, but starts ok from the console

I'm trying to make uWSGI run on boot using Upstart on a Vagrant box. So I've created /etc/init/uwsgi.conf with the following contents: # simple uWSGI script description "uwsgi tiny instance" start ...
3
votes
1answer
1k views

Windows 10 strange OpenVPN behavior

I have an OpenVPN server running (93.xxx.xxx.xxx is the public IP) to which different android and windows clients can connect and have access to the internet, but an OpenVPN client on my Windows 10 PC ...
3
votes
1answer
678 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 | ...
3
votes
0answers
2k 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
150 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
149 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
764 views

“Open files” ulimit applied only when using 'su - userX' but not when I SSH into server

I'm running Ubuntu 12.04. My problem is that the ulimit values described in limits.conf are not being applied when I SSH into my server using a non root account. Either that or they are being applied ...
3
votes
0answers
544 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
1answer
2k 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 ...
3
votes
1answer
237 views

Is there any reference for current binary file checksums (Ubuntu 12.04 LTS)

I'm using rkhunter to check my system regularly - Sometimes rkhunter output some warnings on file changes (after update e.g.) rkhunter gives me the new file checksum and the old one, but is there any ...
3
votes
0answers
1k 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(...
3
votes
0answers
17 views

Give group of users install privilages in R but not affect root install?

So we have a few users who use a number of servers for various computations. They constantly ask us to install packages from bioconductor and cran for R. It's a real bother and truthfully they can ...
3
votes
1answer
173 views

Difference between AWS Software Subscription and Launching a Custom AMI?

Amazon AWS seems to provide two methods of launching an instance of Ubuntu 12.04 that confuse me, one of them is the Software Marketplace the other method is by launching an AMI on the Ubuntu website ...
3
votes
0answers
823 views

Using ufw on OpenVZ-based VPSes

I'm facing with a problem to set up ufw on Ubuntu 12.04 running on an OpenVZ-based VPS. I know there is limitations for ufw. I googled a bunch of articles how to resolve the issue (like: http://blog....
3
votes
1answer
311 views

Recommended version of vmtools for Ubuntu?

When I browse VMware's VMtools repository I see that they are up to date on CentOS, but not on (any version?) of Ubuntu. http://packages.vmware.com/tools/esx/5.5latest/ubuntu/dists/precise/main/...
3
votes
0answers
477 views

Having trouble installing Racoon and Strongswan on the same system

I have two applications that I need to run, one uses Racoon for establishing IPSec tunnels and the other uses Strongswan. Therefore, I need both Racoon and Strongswan installed simultaneously on my ...
3
votes
1answer
1k views

Ubuntu unattended-upgrades stops apache

This morning i was alerted to the fact that both apache instances serving my app were not responding to requests from my load balancer. I attempted apachectl restart and it said apache was not running....
3
votes
0answers
970 views

Why can't I get logwatch to output anything in Ubuntu?

So I installed logwatch using this guide on a Ubuntu 12.04 box. I also setup postfix and my initial intention was to add a daily cronjob to email me these reports (I have the same setup on a Debian ...
3
votes
1answer
219 views

How do I get Ubuntu to forget about a destroyed zfs pool?

I have also asked this question over on Ask Ubuntu but I thought I'd try here as well. The details can be found at: https://askubuntu.com/questions/304822/how-do-i-get-ubuntu-to-forget-all-about-an-...
3
votes
0answers
4k views

nginx not listening to port 80

I've just installed a Ubuntu 12.04 server and nginx 1.2.7, removed default from sites-enabled and added my own file into sites-available and symlink at sites-enabled. Then restarted nginx. Problem: ...
3
votes
0answers
4k views

Tortoise Git seems to connect then refuse my connection: git did not exit cleanly (exit code 128)

I had been using Tortoise Git from my windows PC to connect to GitHub as well as a local server. One of my OS drives failed (raid 0) so now I'm tasked with getting it back up to speed. I've been ...
3
votes
0answers
1k views

Group membership erratically lost after user logs in - Ubuntu, winbind, AD

I have a really strange issue where the wbinfo -g command properly indicates the AD domain group I am interested in and shows a particular user in that group - this is always true, so on the linux ...
3
votes
1answer
1k views

Apache suddenly very slow on http and faster on https

Background: I have Apache 2 running on ubuntu. There is a low usage on it and mostly being accessed for a web service URL from mobile apps. It was working fine until I installed SSL certificates. I ...
3
votes
1answer
685 views

incorrect time zone set in Ubuntu 12.04 through puppet

I am using Ubuntu 10.04 and use puppet to change the timezone from UTC to PST when the server comes up. Puppet's timezone recipe which I am using is this: Puppet Time Recipe Things were working fine ...
3
votes
0answers
2k views

nginx / node.js dropped connections under high load

Ubuntu 11.04, node.js 0.6.16, nginx 1.0.8 I started debugging the following error that we were logging from the front end quite frequently while under heavy load (~ 3500 users actively long polling / ...
3
votes
0answers
211 views

four-disk md raid10-far can be assembled and ran as “clean, degraded” with only 2 disks. Bug or i'm missing something?

Today i was solving raid failure on raid10-far with four disks. One disk failed and another wasn't re-added after a hard reboot. The mdadm -D was reporting it's clean and running with only two out of ...
3
votes
1answer
727 views

omnibus installed chef and rvm issues

I'm trying to figure out one thing and would like someone's else view on this. I installed chef on my Ubuntu server (11.10) via the awesome omnibus install. It worked perfectly fine. I was able to run ...
3
votes
0answers
392 views

Is there an alternative for the Intel WebConsole for managing the RS2WG160 RAID controler on Ubuntu?

I have a server with 16 HDs connected on an Intel RS2WG160 Raid controller and I would very much like to know the state of the disks using the Web Console that Intel provides. The problem is that ...
3
votes
0answers
707 views

How do I print, identified as an AD user, from an Ubuntu client to a Windows print server?

I know my question may be confusing, so I'll clarify. I'm an admin at a school and am setting up the labs to use Ubuntu (12.04). Users already can authenticate against Active Directory (currently ...
3
votes
2answers
754 views

deploy git project and permission issue

I have project hosted with gitolite on my own server, and I would like to deploy the whole project from gitolite bare repository to apache accessible place, by post-receive hook. I have next hook ...
3
votes
1answer
284 views

Mosh : client stay with “without contact” message

I'm trying to use mosh in replacement of ssh but it doesn't work on my computer. On my Mac (Macos X LION), the client stay with this message and never connect : mosh: Connecting... (10 s without ...
3
votes
0answers
5k views

tftp server configuration under ubuntu, Access violation

Here is my configuration: $ vi /etc/xined.d/tftpd service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /...
3
votes
1answer
768 views

Ubuntu server shuts down automaticly

My ubuntu server (vserver) is shutting down automaticly sometimes and i don't know why. syslog.log before shutting down: Aug 15 06:09:01 vmd744 CRON[3403]: (root) CMD ( [ -x /usr/lib/php5/...
3
votes
1answer
364 views

Rackspace Firewall/Gateway Setup

I have rackspace account and wish to have this sort of setup: Firewall/Gateway eth0 - Public IP (56.X.X.X) eth1 - Private IP (10.X.X.X) Ubuntu 10.10. Accepts connections from the internet and ...