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

Windows Server IPP Index Page Formatting

I am trying to automatically add printers to linux clients using cups so unfortunately I cannot make use of GPO printer distribution in this case. I've enabled IPP printing on Windows Server 2012 (I ...
0
votes
0answers
66 views

ubuntu server keymap switches back to default after reboot

I have an ubuntu 15.04 vivid running on a server with a vnc. During installation, I chose a de_DE keyboard variant. However, after each reboot, the keymap is switched back to english. I can reload the ...
1
vote
2answers
233 views

EC2 Ubuntu 14.04 instances: running `apt-get update` results in “Hash Sum mismatch”

Every time I create a new AWS EC2 instance with Ubuntu 14.04 (using ami-a182b391, as found from here) and then immediately run sudo apt-get -y update, it gives me an error. Here's the OS info: $ ...
1
vote
1answer
37 views

How to start a tmux within bash right after reboot

I have created a script to run upon reboot of an Ubuntu instance. crontab -e Then added this to the script: @reboot /home/ubuntu/startup.sh This is how the script looks like: #!/bin/bash tmux ...
0
votes
1answer
38 views

NFS client, ZFS Server ZoL: cat to changed file ends with not found

We get in trouble since an update from our clients from Ubuntu 12.04 to Ubuntu 14.04. The behavior: On client A I change an existing file foo on a nfs share. On client B I do a cat foo. 1st time ...
1
vote
2answers
52 views

How to recover an Ubuntu Server which has partial permanent data loss?

I have an Ubuntu Server which root partition is on a raid 0 were one HDD had data loss / broken sectors. The data loss only impacts 1-2 % of the total data on that root partition however the server ...
3
votes
1answer
146 views

AuthorizedKeysFile line commented out but still seems to work

I'm setting up a server on Linode and following their Securing Your Server guide. They recommend setting up ssh key pair authentication. I have already uploaded my public key to server and the key ...
6
votes
2answers
514 views

Using ssh key pair authentication and disabling ssh password authentication - what happens if private key lost?

I'm configuring my first server on Linode and going through their set up tutorials. In their Securing Your Server tutorial, it recommends using ssh key pair authentication and disabling password ...
0
votes
1answer
34 views

Upstart script doesn't work on boot - only manually

I followed this tutorial on setting up Flask with nginx + uwsgi. I created an upstart script at /etc/init/flask-uwsgi.conf: start on [2345] stop on [06] pre-start script mkdir -p ...
1
vote
1answer
35 views

Ubuntu Encryption - Protect data in the case of Physical Server Access

Looking to Encrypt a system, such that if someone has physical access to the server they can not clone the hard drive or copy data off of it. I require the services to be running such that the ...
0
votes
1answer
109 views

Deploy MySQL/MariaDB on demand in a C# application

I'm creating a lightweight bug tracker, and I'm really having difficulties with people that don't know how to deploy and connect to a MySQL database on their own. What they should do is to create ...
0
votes
2answers
37 views

Writing date and IP to file ubuntu

I've been trying to write the date and my local IP to a file in ubuntu with a cron job. This is what I have tried: echo date >> /home/ccpadmin/dls/ip.txt | echo ifconfig eth0 | grep 'inet ...
0
votes
0answers
27 views

Virtualbox vm lstp client login blank for lstp server on ubuntu 14.04 , what I'm missing here..?

I am trying to configure a lstp server ( ip of lstp server : 172.16.40.0 ) on a 64bit ubuntu 14.04 and check it network booting virtualbox vm (harddisk less vm) I configured everything according to ...
0
votes
1answer
55 views

LVM Free Disk Space

I have a MongoDB running on a virtual server (Ubuntu 14.04.2 LTS). The MongoDB logs say this: Fri May 8 13:08:02.270 [initandlisten] ERROR: Insufficient free space for journal files Fri May 8 ...
0
votes
0answers
35 views

Disabling HyperV integration services on Ubuntu 12.04

I'd enabled the integration services for hyper-v on Ubuntu 12.04 but started to see big problems especially with the block storage module (hv_blkvsc) I'd enabled it by adding the modules to ...
0
votes
1answer
163 views

CentOS vs Ubuntu Wordpress server security

I am building out a new Wordpress server for a web developer redesigning my companies website. I originally decided to go with CentOS due to stability. However it appears based on the versions of ...
0
votes
0answers
129 views

Windows Phone 8.1 client unable to connect to Ubuntu VPN server (L2TP with IPsec)

I have set up an L2TP + IPsec VPN server on my Ubuntu server (14.04.2 64bit) using openswan. I got it working with Android and Windows 8.1 clients, though Windows 8.1 required some tweaking. When ...
0
votes
0answers
79 views

ruby on rails 404 not found after deployment

I'm getting a 404 not found error after deploying my rails app. I'm using: ubuntu, nginx, capistrano, & unicorn. These are my configurations: nginx.conf upstream unicorn { server ...
0
votes
0answers
18 views

Server apparently being exploited to send emails [duplicate]

I have a dedicated server which runs a forum, a couple of wordpress installations and a prestashop ecommerce platform. My datacentre keeps cutting my connection, stating that my server is sending out ...
2
votes
0answers
74 views

Virtualization limits for Ubuntu Server 14.04 LTS with KVM?

Essentially I'm after something like this: Virtualization limits for Red Hat Enterprise Linux with KVM but for Ubuntu Server 14.04 LTS. I'm trying to create some KVM guests with very large 1TB+ RAM ...
1
vote
2answers
73 views

Port 22 is accepting connections, but not visible in netstat, unhide etc

So I have this weird issue where one of my boxes is accepting connection on the ssh port (22) even after sshd is stopped. I tried to identify the listening process by the typical means sudo netstat ...
-1
votes
2answers
45 views

iptables unable to open 80 && 8000 port on my ubuntu server

I am unable to open 8080 port on my server though iptables settings seem correct Here is the result of iptables-save iptables-save # Generated by iptables-save v1.4.21 on Thu May 7 21:31:19 2015 ...
0
votes
1answer
41 views

mhddfs Gives Permission denied Error When Writing File to It's Mounted Volume

Running mhddfs 0.1.38 on Ubuntu-12.04 and have two NFS volumes exported from two different servers and mounted to this box. I can successfully create the mhddfs volume, I can read and list from it, ...
0
votes
1answer
217 views

“Unable to stat /usr/lib/jvm/java-7-oracle/bin/java” when trying to run Tomcat7 with Java8

I'm trying to upgrade my servers to Java8 from Java7 so that they will run my webapps under Java8. On one of my machines I'm getting the following error and I'm not sure what is still referring to ...
1
vote
0answers
59 views

CUPS ignoring lp -o options when printing to Ricoh 4000 with Fiery E-5100

I'm having difficulties controlling which paper type, size and tray when printing from the command line using either lp or lpr. The commands appear to just ignore the -o options altogether and print ...
0
votes
1answer
43 views

Steps for upgrading ubuntu production cloud server

I have a site running on a cloud server with Ubuntu 13.04. I want to upgrade to 14.04 as seamlessly as possible. I found this answer but I wanted to flesh it out so I can be more confident. My plan ...
1
vote
2answers
70 views

OSSEC disk space usage

A few days ago I noticed that the disk of my Ubuntu server was almost full. I dug a bit and found out that the disk space was used by OSSEC, in the /var/ossec/queue/diff folder. I wanted to try ...
0
votes
0answers
44 views

Ubuntu 14.04 virtual servers lose network connectivity after inactivity

I'm trying to set up an MDM environment on a few virtual Ubuntu machines, 14.04 LTS running on VMware ESXI 5.5. They're currently very vanilla -- 14.04 mini CLI installs, 20gb storage with 2gb ram. ...
0
votes
0answers
165 views

Error installing Python packages on an AWS Ubuntu server

I am trying to install the Ansible control server on Ubuntu 14.x (an AWS instance). When trying to install the dependencies, I saw an error. I'm not sure what I need to do. Is this an ignorable ...
4
votes
3answers
149 views

Replicating a linux web server

I'm planning on replicating a web server for high availability purposes. The server is running as a Ubuntu 15.04 virtual machine in Hyper-V and has MariaDB 10.0, Apache 2.4 and PHP-FPM 5.6 installed. ...
0
votes
0answers
56 views

Can't pass Fail2ban banned IP's to CloudFlare in Nginx?

I have Ubuntu 14.04, Nginx 1.6.2, MySQL 10.0.17-MariaDB, PHP 5.5.24 VPS. It running two WordPress sites. I use fail2ban with CSF. Fail2ban I use ban action as route, because iptables-multiport and ...
0
votes
1answer
34 views

Check if a constant file request is flooding the server

I'm new to this sort of thing so forgive me if I ask anything stupid. I am using moodle (open source LMS), it has a feature where you can upload a scorm package which requires a reliable internet ...
1
vote
2answers
120 views

swapon failed: Device or resource busy on mounted disk

I want to make a swap on mounted external EBS, /workspace And I got Device or resource busy swapon: /workspace/swap.1: swapon failed: Device or resource busy sudo /bin/dd if=/dev/zero ...
0
votes
0answers
34 views

SSL Working on 8888 but not 443

I have Apache set up to server HTTPS traffic. If all I change in the 000-default.conf is <VirtualHost *:443> to <VirtualHost *:8888>, I am able to hit the page externally on port 8888. ...
0
votes
1answer
21 views

Software to record service level [closed]

I provide a cloud service (SaaS) on an Ubuntu machine and will be faced with service level agreements (SLAs) soon. I.e., we'll have to see what service level we can provide (probably on daily or ...
0
votes
0answers
21 views

Server - run programs under specific user with restrictions to write only into one directory [closed]

i'm a web developer and i need to run some third-party programs on my server. Since these programs are third-party and i'm not always 100% sure of their reliability, i would run these programs with ...
5
votes
4answers
1k views

Effectively handling 2+ million files

I have a file based DB that has about 2M files stored in 3 levels of subdirectories. 2/2/6253 2/2/6252 ... File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big. ...
0
votes
1answer
63 views

Is there anyway to do ssh on a VM with a local IP address?

Scenario :I am using KVM as a hypervisor and Ubuntu as guest and host OS. There are many VMs on a PM and I am assigning IP addresses to those VMs using NAT. To create VMs I am using a baseimage. So ...
-1
votes
1answer
50 views

Storage displayed discrepancy from actual hard drive

In our ubuntu 14.04 server we have a 1TB Hard drive. The hard drive is displays as 998GB with 1% usage, however, with PHP software such as owncloud, it is only displaying 19GB of storage available. Is ...
1
vote
1answer
50 views

Multi IPs on a Xen VM with bridging

While I am fairly new to XEN (running under Ubuntu 14.04) I've not had any real issues until now. I have set my networking using bridging and that has worked well for many different machines until ...
0
votes
0answers
52 views

AWS EC2 replacement instance

I've inherited our AWS management duties for the time being and I've received a notice from AWS about some of our instances needing regular maintenance. The EC2 instances are pretty primary, a proxy ...
3
votes
1answer
123 views

Why would a ssh connection fail to connect with whole proper setups?

Using Ubuntu Server 14.04 I got ssh server running on port 2222 (they asked it like that at building). I already got whole setups reviewed and nothing seems to be ok. This is what's set up: At ...
0
votes
1answer
47 views

mysql and redis services unavailable during high traffic times

I've have a webserver that runs some services like Apache, Mysql, Redis and some NodeJS apps. On times of high traffic my server seems to do not support the heavy load. When it's ocurring, often when ...
1
vote
0answers
45 views

DNS not working with Ipv6

I'm trying to configure bind for ipv6 protocol.I have added the entries to the zone and configuration files but still the ipv6 IPs are not returned when i try for nslookup.Can someone guide me to ...
0
votes
0answers
131 views

(KVM) virt-manager stuck in password prompt after open VM

so i installed a fresh ubuntu server 14.04 with KVM, i'm connecting with my other ubuntu machine using virt-manager. so after i had permissions problem creating a new VM, i uncomment user="root" and ...
0
votes
0answers
22 views

bind9 ubuntu set up correctly, quit working

While I'm talking about Chef a bit here, I'm fairly confident the problem has nothing to do with Chef) We manage all of our Linux (Ubuntu) servers, which are running our web infrastructure, with Chef, ...
0
votes
0answers
54 views

How to configure DHCPv6 and DNSv6 configuration in Ubuntu 12.04?

I'm planning to configure DHCPv6 and DNS server in my network. I would like to understand whether both DHCPv4 and DHCPv6 can be configured using isc-dhcp-server service? When i tried nslookup ...
1
vote
0answers
33 views

VPN Connection Failed When Using SSH [closed]

I want to connect to my server in my office over VPN which has a SSH server installed. But when I connect to the VPN and then try to SSH to my server, the vpn connection closed suddenly. What is the ...
0
votes
0answers
41 views

Insufficient access to edit OpenLDAP cn=config with external SASL authentication

I want to add a schema to an OpenLDAP database that I've inherited. ldapadd -vY EXTERNAL -H ldapi:/// -f schema.ldif SASL/EXTERNAL authentication started SASL username: ...
0
votes
1answer
61 views

Ubuntu SSH connections don't close

We have a connection to one of our servers from an external party. This party logs in using sftp and uploads some files. The sessions are not closed by that party and they don't know how to get that ...