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
5 views

How to determine how a file was created on ubuntu web server?

I recently installed inotify to monitor my server, I was alerted to the following file being created. Which I promptly deleted. But obviously that isn't good. How can I find out how or where the ...
0
votes
1answer
8 views

unrecognized usb passthrough to windows server 2012 r2 on ubuntu 16.04

I have a ubuntu 16.04 lts on a intel NUC machine. I want to use a TV usb tuner, in Japan, which only works for Windows. So, I'm trying to install a windows server 2012 r2 guest VM on the ubuntu ...
0
votes
0answers
4 views

cannot login samba file share from osx yosemite

I built a ubuntu nas server. After I installed webmin, I created a new file share "NasFileBackup". then I went to security and access control to give user "qinking126" access to this share. ...
5
votes
6answers
24k views

Ubuntu Server 12.04 can access LAN but not internet

Using Ubuntu Server (12.04) via command line, I can access the LAN (e.g. ping local machines) but not the internet (e.g. "ping google.com" or "sudo apt-get update"). How should I troubleshoot this? ...
26
votes
7answers
39k views

How to fix PuTTY showing garbled characters?

Connecting from a Windows 7 PC via SSH to an Ubuntu server using PuTTY, I get some screen errors: I.e. it: "Double-draws" the selection inside Midnight Commander (MC). Other characters like line ...
0
votes
1answer
11 views

how to add my google apps accounts to Active directory Federation service?

Note - There are many discussions about syncing Google app accounts to Active directory. This is a different question - I would like my users (about 10) on google app to login to my local web apps ...
4
votes
1answer
1k views

GPU access on docker.io container

I have an app that can only be run in in X11 environment with full GPU access/hardware OpenGL. I can run it on Hetzner servers as their machines have decent GPUs. Ubuntu desktop is installed and it ...
0
votes
1answer
2k views

rsync error on Downloading

I am trying to setup a Rsyncmirror on my mount drive /mnt/Mirror/ubuntu_mirror, so I am trying the command: rsync -a --bwlimit=128 rsync://archive.ubuntu.com/ubuntu /mnt/Mirror/ubuntu_mirror but it ...
0
votes
2answers
3k views

Javascript 404 not found, but PHP and CSS loading

I've got a Ubuntu 10.04.4 LTS cloud server running the default LAMP stack. My website is serving my PHP pages, the images and CSS to go with them, and most of my JS is loading, but there is a ...
1
vote
2answers
3k views

VPN PPTPD with MPPE Support for Debian or Ubuntu

Having an unencrypted vpn connection from a windows client to linux is pretty easy by using pptpd. When I was looking for an solution for encrypted (per MPPE) connection, I found a lot of information ...
15
votes
2answers
7k views

How can I get Jenkins to stop listening for remote connections?

I have Jenkins sitting behind Nginx, with Nginx taking care of authentication, but Jenkins is still listening on port 8080 externally, so by accessing the box on port 8080 people can bypass Nginx. ...
10
votes
5answers
15k views

Wget a script and run it

I want to download a script from: http://dl.dropbox.com/u/11210438/flockonus-stack.sh and execute it. My guess is, to use wget renaming it, chmod it, and execute. What are the commands for doing ...
1
vote
2answers
21 views

How to manage versions and dependencies on a virtual machine

I am new here on serverfault so bear with me please. I am currently working with static web (angular2) and php deployment primarily on DigitalOcean and AWS using nginx and apache2. Until now debian ...
1
vote
0answers
15 views

MySQL on Ubuntu. 10061 error on 3306

A fresh install of Ubuntu inside of a Virtualbox with LAMP option selected. I am unable to connect to the server via telnet on this port or via ODBC from my host machine. I can ping and SSH both ...
1
vote
1answer
383 views

Nginx daemon doesn't want to stop on Ubuntu

I've got an Ubuntu 11.04 i386 server with Nginx 1.0.11. I'm also using this init.d script - the only one I've found. The server starts up well, but each time I'm trying to stop or restart it, the ...
5
votes
3answers
4k views

How do I setup ssh with both private key and password?

How do I setup ssh with both private key and password? In /etc/ssh/sshd_config, I currently have: RSAAuthentication yes PubkeyAuthentication yes PasswordAuthentication yes But apparently this ...
0
votes
0answers
10 views

Truncated/missing logs with systemd on Ubuntu 16.04

I am using Ubuntu 16.04 server, have created a basic nodejs script and packaged it in a simple systemd service. Content of api.service at /lib/systemd/system/api.service: [Unit] Description=api ...
1
vote
2answers
1k views

How do you repair a Ubuntu 14.04 RAID-LVM-DM-CRYPT-LUKS Physical to Virtual system that won't boot?

I can't get a Ubuntu 14.04 Virtual server to boot correctly. It's recently been cloned "dd if=/dev/sda of=vmimage" The Physical has a RAID1-LVM-DMCRYPT-LUKS configuration, The boot sequence aborts and ...
1
vote
0answers
17 views

Why do I have 70k instances of ck-get-x11-server-pid running?

I have a Ubuntu 14.04 server which currently has 69890 instances of ck-get-x11-server-pid running. The server is headless, but users can login to a using x2go. Why would there be so many instances of ...
1
vote
0answers
27 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 ...
0
votes
2answers
1k views

Cannot upgrade PostgreSQL on Ubuntu

When I run apt-get upgrade, I get the following error : dpkg: dependency problems prevent configuration of postgresql-9.1: postgresql-client-9.1 (9.1.7-0ubuntu12.04) breaks postgresql-9.1 (<< ...
0
votes
1answer
1k views

Error 503 Service Unavailable Varnish

So I setup a new cloud based instance with Ubuntu 12.04, with nginx, php5-fpm and varnish. Before I installed and configured Varnish, the website worked fine, virtual hosts worked. After setting up ...
0
votes
1answer
124 views

After a while cannot ssh to amazon aws ec2 machine

I've read several similar questions, and checked my username is ubuntu as I'm running ubuntu instance, my pem key is 400 permissions and .ssh folder is .600 ssh -i ~/.ssh/my-key.pem ubuntu@myserver ...
3
votes
1answer
1k views

Ubuntu upstart hangs on interactive start & stop

How do I get Ubuntu upstart to not hang on interactive start & stop? I have created many upstart scripts that work fine during init, but often hang when I enter them at the console. If I CTRL+C ...
1
vote
1answer
73 views

Apache configured as mpm_worker - why it still shows as mpm_prefork?

I believe that I properly configured Apache MPM as worker under Ubuntu 13.10, including PHP-FPM and FCGI, and disabled mod_php. When I run top I can clearly see multiple Apache (~2-3 MB) and php (~ ...
1
vote
2answers
3k views

How to determine the values for an LDAP bind to a Windows Server 2012 DC? [Gitlab Omnibus 7.0.0; ldap_bind: Invalid Credentials (49)]

EDIT: This question has gotten a lot of views, and I never really came back and provided a precise, step-by-step solution. So I came back 18 months later and did that. This solution works for simple ...
2
votes
1answer
291 views

Redirecting app log to rsyslog in upstart script

I have an upstart script that does the following start on runlevel [2345] stop on runlevel [06] respawn pre-start script exec >/dev/kmsg 2>&1 REPO=git@github.com:blabla/bli ...
-2
votes
0answers
22 views

LAMP not working as expected. Can login to phpmyadmin but not edit or do anything on remote [on hold]

Ok, this problem is driving me crazy. I had IIS 7.0 before in Windows Server 2008 and hosted there 8 wordpress websites. Websites can show from outside without problem, also I could access ...
0
votes
0answers
12 views

Configure Apache to use a different user in specific directory

I'm currently trying to configure Apache so it will use a certain user and group only when in a certain directory. For example, if accessing RoundCube (for which I use a /mail alias configured in ...
0
votes
0answers
20 views

How can allow an ssh connection only over vpn

I install OpenVPN on my server following this guide --> https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04 I also setup a firewall with ufw where I add ...
1
vote
2answers
1k views

Authenticating Apache against multiple ldap groups

I'm using mod_authn_alias and mod_authnz_ldap against an Apache/2.2.14 (Ubuntu) and I'm trying to configure ldap authentication against multiple domains. My config is: <AuthnProviderAlias ldap ...
0
votes
1answer
21 views

letsencrypt works www but not root domain (apache)

i'm trying to install letsencrypt on a server, both www and the root domains are hosted by the box. i can install with the www subdomain no problem, but not the root domain. here's the error i'm ...
1
vote
1answer
1k views

Ubuntu 12.04 open port 80 inside VLAN

I have an nginx server running on ubuntu 12.04 that serves http through port 80 and https through port 443. Everything works fine if I access it from the same computer via localhost, 127.0.0.1 or the ...
0
votes
0answers
19 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 ...
0
votes
1answer
2k views

apt-get update can not connect

i run a dedicated ubuntu 10.04 server. i use kvm/libvirt/virsh to run a virtual machine that's also ubuntu 10.04. i bridged the network (1 of 2 IPs is routed via NAT to the LAN, where my VM ...
0
votes
2answers
17 views

How can I see whether tcp-offloading is enabled on a ubuntu server?

I would like to find out if my Ubuntu VM uses tcp-offloading to increase the performance of VXLAN encapsulation. Where can I find this information on my machine?
0
votes
1answer
1k views

Could not access pid file for elasticsearch

I am not a die-hard linux engineer, but I am having some problems with starting Elastic Search. Some stats: Server: Ubuntu Server 11.04 Elastic Search: 1.2.3 (installed with appitude) When I start ...
0
votes
0answers
13 views

ROOT version 5.34/14 vs root directive [on hold]

I'm relatively new to VirtualBox, Ubuntu, and mainly to nginx. I was supposed to create a server block, and when I tried to change my document root by using root directive, I got an information that ...
0
votes
1answer
62 views

samba4 vfs_audit + vfs_recycle not logging deletes

I want to log all user deletes on samba shares. I noticed that when using vfs_audit and vfs_recycle together the deletes are not logged by samba. In the below config, deletes on [share1] are not ...
1
vote
2answers
6k views

Bluetooth in guest Windows with VirtualBox [on hold]

How to grant my guest Windows XP access to the Bluetooth device? My host OS id Ubuntu 9, and Bluetooth works there, but Windows doesn't see it.
0
votes
2answers
2k views

Launching R but it can't find liblzma.so.2

I have R installed but when I try to launch it I get: ubuntu@ip-xx-250-202:/mnt/galaxyData/custom/MY_MSG_RUN$ R /mnt/galaxyData/custom/bin/lib64/R/bin/exec/R: error while loading shared libraries: ...
0
votes
0answers
8 views

Update Gitlab omnibus from 7.9 to 7.10 (package name)

I have a Gitlab 7.9.4 installed in an Ubuntu Server 14.04 from https://about.gitlab.com/downloads/archives/ and I want to update it (I know: it's very old!). New versions is here: ...
1
vote
2answers
262 views

Cannot figure out NGINX / Puma timeout 110: Connection timed out

Every so often, my rails server stops responding. I tail the logs and there is nothing—just a bunch of requests that have begun to start after the last one completed... Using Ubuntu Puma 2.15.3 ...
0
votes
0answers
6 views

Managing a distributed Worker Pool with hundreds of virtual machines [on hold]

We are building a distributed worker pool, based on a queuing system. One or more producers create Jobs and put them into a queue, then several hundred virtual (ubuntu) machines pick up the jobs and ...
0
votes
0answers
24 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 ...
1
vote
1answer
56 views

MySQL root password not working as expected

I am running MariaDB 10.0.24 on Ubuntu 16.04. I installed it via the xenial repo apt-get install mariadb-server. The root password doesn't seem to be working properly. I ran through these steps to ...
2
votes
1answer
26 views

POSTFIX:Must issue a STARTTLS command first. Email not being send from commandline ubuntu [duplicate]

I am trying to send email from the command line from my ubuntu server. So I started configuring the postfix onto my local machine rather than on server. So basically these are steps which I followed: ...
4
votes
2answers
3k views

MariaDB Galera Cluster falls out of sync easily

We're trying to debug an issue with a MariaDB cluster. We're running Maria 10.0.19 on c4.large instances in Amazon EC2; the OS is Ubuntu 14.04 (Trusty). There are three machines clustered together, ...
0
votes
0answers
25 views

How to find a.out(not ELF) files?

I want to find the old format files a.out (not ELF). Simply I don't know what should return file. The following link doesn't help How can I tell an a.out binary from an ELF one?: Use the file ...
0
votes
0answers
18 views

I'm having random nfs slow downs on my nfsv4 gigabit network which cause videos to slow down then speed up

I've noticed this issue happen in two different video players so I'm pretty sure it's a network problem. I'm running Ubuntu with the kernel 4.2.0-35-generic. Here is the result of my nfsstat -4 -s ...