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
1answer
25 views

Strange SSH connection issue

I have a very strange issue SSHing into an Ubuntu server hosted at Amazon Web Services from one IP address. A few weeks back our ISP made some changes in the building we share with other businesses ...
0
votes
1answer
10 views

Jenkins not starting in Ubuntu

I have installed jenkins, it was working fine for a while, builds were working fine. Suddenly it stopped working. There is nothing in logs I tried restarting it, no error came up in logs, but still ...
0
votes
0answers
9 views

rpm file to deb Ubuntu 10.04.4 LTS

I would like to install .rpm file using alien $ sudo alien --scripts /root/Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm error: incorrect format: unknown tag mkdir: cannot create directory ...
0
votes
0answers
10 views

ubuntu 15.04 python module telnetlib

I need some help with my new Ubuntu 15.04 VM. I tryied to install the pip module telnetlib3 but I got some errors: pip install telnetlib3 Downloading/unpacking telnetlib3 Downloading ...
1
vote
1answer
96 views

Check services running on the server and restart them if they have stopped? (python script)

I am trying to write a python script which shows me the services which are running on my server. The thing is that mongodb keeps going down on the server and each time it happens I have to manually ...
0
votes
1answer
20 views

email not being delivered for one account

I have setup a mail-in-a-box recently and it works fine for the main domain - it delivers and receives email just fine. I wanted to add another domain, so I followed the same steps [change DNS, setup ...
2
votes
2answers
69 views

Setting up tmpfs `/run/lock` for hundreds of thousands of 0 byte lock files, and dealing with the inode limit

I have a situation where I need to create 100s of thousands of 0 byte lock files for concurrency control. I've tested creating them by using: for i in `seq 1 50000`; do touch "/run/lock/${i}.lock"; ...
0
votes
1answer
18 views

Unattended upgrades: kernels taking up /boot space

Typically I like to have unattended-upgrades enabled in all my Ubuntu 14.04 servers (both security and updates). The relevant configuration line for my question is the following: // Do automatic ...
0
votes
0answers
10 views

Setting up stateful DHCPv6 on Linux

I want to set up a DHCP server on my local network for IPv6 that issues addresses and further information like DNS/NTP and so on. From my ISP I got the IPv6 Prefix which I will refer to as in further ...
1
vote
1answer
36 views

Power outage during RAID1 build [on hold]

I was 60% complete building a two-disk RAID1 on my Ubuntu 14.04 server with the command sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1 when I accidentally ...
0
votes
0answers
24 views

My ubuntu server has no networking? [on hold]

I'm using Ubuntu 14.0.4. It seems to be running in a virtual machine on a windows server box (this is something I am doing at work that was set up by another department). After various things not ...
0
votes
0answers
12 views

pyffmpeg installation on Ubuntu fails with Cython related errors

I'm failing in pyffmpeg installation on Ubuntu. Cython installation seems to be correct: $ sudo python setup.py install ... Adding Cython 0.22.1 to easy-install.pth file Installing cython script to ...
0
votes
0answers
16 views

Why does python 3 script not execute via crontab? [duplicate]

There's one little problem with my crontab and python 3 script. Currently I'm on VDS with Ubuntu 14.04 installed. There're 2 scripts that need to be executed via crontab in desired time. The first ...
-2
votes
1answer
31 views

apt-get on Ubuntu gets too out-dated-software

It seems the package repository for Ubuntu (apt-get) is somehow not actively updating for the new versions of packages. I didn't realize this until I tried FreeBSD's package manager. Ubuntu gives me ...
-2
votes
0answers
18 views

Ubuntu server 12.04 - postfix, dovecot, mysql,… set auto responder message in mysql [on hold]

I search the best solution for auto responder(vacation). If possible to store the vacation message in a mysql database... With a start/end date. Or else... if i can do it with text file. What ...
1
vote
0answers
20 views

LVM partition says no space even though it's not

I'm trying to do backups on my Proxmox both to an NFS share. The NFS share is on an Ubuntu (14.04) server with a 2TB HDD separated into 2 x 1TB partitions with LVM. For some reason (looking with ...
-3
votes
0answers
22 views

Cannot connect to MySQL server from a remote client [on hold]

Ubuntu 14.04.02 LTS MySQL Server version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu) In my /etc/mysql/my.cnf, I have: bind-address = 127.0.0.1 When I do: mysql -uproducts -pxxxx use mysql; ...
0
votes
0answers
12 views

Setup iscsi target without CHAP failure

I have been trying to connect to the Target with no luck. I can see the iqns but authentication fails. I checked the config files for CHAP and its disabled by default. ...
0
votes
1answer
13 views

Ubuntu 14.04 | Use docker to isolate an untrusted C++ program

As the title says, i need to run an untrusted C++ program into my prod server. I am trying with docker, but there are some things which are really unclear to me: i have created my own image starting ...
0
votes
0answers
15 views

How to setup cron on Ubuntu 14.04 with php5-fpm [duplicate]

I have php5-fpm installed on Ubuntu 14.04 and I would like to create a cronjob to execute a script every 5 minutes.. Using crontab -e I created the following: */5 * * * * /usr/sbin/php5-fpm ...
1
vote
1answer
29 views

Redirect IP to a domain name using htaccess

Let's say I have this IP Address 11.12.13.14 and the domain example.com. Now what I want is to redirect the user from IP Address to domain name (but without changing the domain name to address bar). ...
0
votes
1answer
17 views

Monit can't restart nginx

I've got monit up and running on an Ubuntu 12.04 server, to monitor nginx, but I can't get it to successfully start nginx up again. My setup is thus: the monit config file is: -rwx------ 1 root root ...
-1
votes
0answers
11 views

Move directories from server to nas and keep symlinks

My server will run out of space soon. So I plan to install a NAS and move some big folders from the server to the nas but keep symlinks at the server so I don't have to change any path. Is there a ...
0
votes
0answers
8 views

How deploy api loopback to nginx server [on hold]

How deploy in url: api.example.com/api-1/ from my git repositories ssh://git@example.com:7777/home/git/api-1/ It is my nginx config: server { listen 80; access_log ...
0
votes
0answers
9 views

pptpd not working on ubuntu 14.04 server and cpu usage reaches 100% when establish vpn connection

I installed pptpd on ubuntu14.04 server according to this article http://www.putdispenserhere.com/pptp-vpn-setup-guide-for-a-debian-openvz-vps/ everything works fine except when I try to connect to ...
0
votes
0answers
12 views

How are the Debian/Ubuntu Xen netinstall images built?

Xen/XenServer has this nice feature where you can select a Debian or Ubuntu template and point it at some mirror and it will go and download a minimal kernel and initrd which will be used to bootstrap ...
-1
votes
0answers
10 views

Output data from the itemid in Zabbix [closed]

Good afternoon. Tell me whether you can bring in a schedule the amount of data for the period (say 7 days) with a specific item. Ie there is a schedule with some item is whether it is possible to ...
1
vote
1answer
31 views

How can i mount volume of glusterfs to /var/lib/docker in ubuntu 14.04

I installed gluster-server and docker on ubuntu 14.04 # install Glusterfs sudo apt-get update; sudo apt-get install -y python-software-properties; sudo add-apt-repository -y ...
0
votes
1answer
35 views

Recover sql database files without using sql server [on hold]

My Ubuntu computer HD crashed, so I cant boot up anymore, I'm trying to recover my data from the hard drive by booting up using the live CD. I can access the crashed internal hard drive by mounting ...
0
votes
0answers
23 views

“Not a directory” on Ubuntu 14.04

I have created a directory using mkdir (logged in as root), and cd usually works flawlessly. But for this new directory, I get: cd: can't cd to /home/bots/irofferMOVIES/files So I created a ...
0
votes
0answers
30 views

Retrieving the AD machine account password on an Ubuntu machine

I'm trying to perform an LDAP query against Active Directory from a script (very similar to this question) from a domain-joined Ubuntu machine. The script can't prompt for a password, as it won't be ...
1
vote
1answer
33 views

date and hwclock not in sync - why

I am on GMT+8 and I set my hwlock to UTC. [root@sjoam2 ~]# date Sat Aug 1 16:32:04 SGT 2015 [root@sjoam2 ~]# hwclock --systohc --utc [root@sjoam2 ~]# hwclock --debug hwclock from util-linux-ng ...
0
votes
0answers
17 views

Can puppet install the Apache2 package on Ubuntu Trusty 14.04?

Various documents on the Internet indicate that it is normal to use puppet to ensure that the Apache2 package is installed in Ubuntu eg package { 'apache2': ensure => present, } ...
0
votes
0answers
5 views

Lost all virtual host setting after tomcat7 restart

Halo Gurus I have a problem with setting a new hosts in Tomcat7 host-manager application. Host-manager application works very well. Everything works. But when restart the server, all settings are ...
0
votes
0answers
18 views

Ubuntu server domain controller samba transfer speeds

I have an Ubuntu server running at home that is acting as a domain controller for my home network. It is configured as the primary DNS server as well. I have a RAID 1 array mounted (software RAID) as ...
2
votes
1answer
33 views

ACL permissions not inherited

I have a Ubuntu 14.04 server with an EXT4 partition. I want to change what permissions new files and folders get when they are created in /home/myuser. I set some options with setfacl, and getfacl ...
0
votes
1answer
21 views

How to connect to a website that is running on virtual machine on specific port [on hold]

I downloaded nodejs bitnami as virtual machine and then installed there the express.js. The web application listening on port 3000 and when I write links myip:3000 it working fine. Then I try to ...
-1
votes
0answers
8 views

Log websites visited using dlink-600l router [closed]

My os - ubuntu. I am using opendns to check websites visited. Seems like opendns web interface shows delayed reports and also dont show what computer visited what website. So, a blog suggesting some ...
0
votes
2answers
32 views

How can I start named in IPv4 mode using systemd?

How can I configure my Ubuntu 15.04 bind9 to stop resolving queries with IPv6? TL;DR I'm using bind9 on my Ubuntu 15.04 machine. It seems like my named server is trying to resolve alot of queries ...
0
votes
0answers
15 views

Execute script on another server with file transfer

So I have a server running ubuntu 10.04 and I am using this program to merge PDFs called pdftk. It has a bug when I run it on 10.04, but not when I installed it on 14.04 (or presumably 12.04). ...
-2
votes
0answers
26 views

ubuntu only resolves dns when routers ip is present in dns servers list [on hold]

when i use dns servers other than my routers ip then ubuntu or any other application (web browser) fails to resolve host names. i have added google's dns servers (8.8.8.8, 8.8.4.4) using ubuntu's ...
0
votes
0answers
41 views

Nginx 400 Bad Request on ec2 Public IP works, but domain name does not

A couple days ago, my ubuntu t2.micro ec2 instance stopped working. I just got it restarted again, but now only my public IP address given by amazon works. The domain name I bought does not. It worked ...
1
vote
1answer
43 views

Optimize Apache for high concurrent requests

I am running a Apache2 Ubuntu server which serves the API request from mobile apps. Recently I am facing a bottleneck that when the request getting higher (more concurrent users), the request ...
-1
votes
1answer
20 views

How can I defend against malicious GET requests? [duplicate]

My server is getting hit with a variety if requests like the following: Started GET "/key/values" ActionController::RoutingError (No route matches [GET] "/key/values") Started GET "/loaded" ...
0
votes
0answers
16 views

Every process I start, apart from nginx, dies after a few hours on AWS EC2 Ubuntu instance

I'm new to ubuntu (coming from mac) and I'm trying to run a couple of java servers and a node server on an ubuntu Amazon EC2 instance. I run each server in its own screen session, and everything ...
0
votes
0answers
17 views

Issue connecting with ssh into ubuntu server

We have a number of devices that use rsync to sync up files to the server. The rsync in turn uses ssh to make the connection. Since this morning the ssh connections through this channel are not ...
0
votes
0answers
16 views

VirtualBox networking (inception computing) [closed]

I am new to world of networking and now I am trying to connect 3 PC`s together. I have windows 7 host that runs Ubuntu64-bit server guest, that runs ubuntu32 server guest. Win7- Host Only network ...
0
votes
0answers
10 views

Managing lab machines via cron and dsh

I'm a developer for a research lab. Our lab has 12 Ubuntu machines for test subjects that we control from a workstation using a variety of things (dsh for opening our experiments in chrome, wakeonlan ...
0
votes
2answers
20 views

unison or Rsync for session files

In my cheap config I am using 2x app servers and 1x DB server. My question now is what I should use in order to sync session files between the servers for my php app? Is unison or Rsync good here, ...
0
votes
0answers
29 views

DNS in windows server 2012 R2 is incorrectly configured

I originally setup my internal DNS server for active directory. I just followed a pretty simple tutorial (i believe at https://www.petri.com/install-active-directory-windows-server-2012-manager). ...