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

isc-dhcp leases file never cleaned

When running isc-dhcp the leases file seems to grow indefinitely (several hundred MB). If I restart the isc-dhcp service, the file shrinks to 1.5MB. How can I have isc-dhcp flush expired records ...
-2
votes
0answers
15 views

Port forwarding lxc

I am trying to configure ssh for an LXC container with iptables port forwarding. But it is not working. The following is the result of iptables-save. *mangle :PREROUTING ACCEPT [10428:3784706] :INPUT ...
-2
votes
0answers
34 views

Ubuntu server hangs and blocks out entire network

This is a very strange situation with a very general and open question asked at the end. we have a Ubuntu 12.04 server that has ran without problem for about year and a half. No fancy hardware. Just ...
-2
votes
0answers
7 views

How to uninstall Opendaylight controller [on hold]

I have Ubuntu iso image on virtual machine install on VMPlayer. I have installed Mininet and opendaylight controller on it. But now i want to uninstall only opendaylight controller. And I am not ...
-1
votes
0answers
14 views

postgresql does not start after reboot ubuntu

I have just rebooted my ubuntu server, and now I can't get postgresql service working: sudo /etc/init.d/postgresql start * Starting PostgreSQL 9.1 database server * The PostgreSQL server failed to ...
0
votes
1answer
15 views

Ubuntu 14.04 asking for pass phrase to unlock RSA key oddity.

Sorry for the obscure title but I have no idea how to phrase this.. I am having an oddity occurring with my RSA key, I use RSA key authentication over SSH for all my servers and other services where ...
-1
votes
1answer
35 views

Deny acces to all Internet hosts except several

I'm using Ubuntu 14.04, I want to restrict access to Internet to all programs and processes. I also want to allow several hosts after that. I was trying to do that with iptables, but I could figure ...
1
vote
1answer
13 views

Connect to server with ppk from console

i am trying to connect ubuntu server using sftp server. But the problem is i have a ppk key and i mustn't convert it to openssh. Is there a way to connect to server using ppk from command line? This ...
-1
votes
0answers
21 views

How can I configure myhostname to work with postfix and Ubuntu 14.04 on Azure VM

My hostname file reads as this. virtual-machine-set hostname -f virtual-machine-set /etc/hosts reads like this 127.0.0.1 localhost 191.xxx.xx.xx myazuredomain.cloudapp.net #The following ...
0
votes
3answers
66 views

Deny connection to and from a specific hostname on Ubuntu/Apache2

My wordpress EC2 server was probably hacked. When running iftop command I can see that my server sends and recieves data from a hostname name "i157panamamails.com". This hostname never goes away and ...
1
vote
1answer
100 views

No hangup signal by default

I have a server running ubuntu server. It is behind a proxy...I don't know if that makes a difference. But I have found that a couple of processes I've tried, get terminated when I log out of the SSH ...
0
votes
3answers
26 views

Root Directory /var/www/html : Apach2 on Ubuntu 14.04

I just set up the apache2/mysql server to play around with. But I found the something different than what I saw before. The root directory is pointed to /var/www/html/. I checked the ...
-2
votes
0answers
10 views

mcabber facebook comfiguration [on hold]

I am trying to configure mcabber to work with Facebook running on an Ubuntu 11 server. I have followed this guide, entering the settings found on the facebook page: ...
0
votes
1answer
33 views

Site to site ssh tunnel

I have two virtual environment at different locations, and I want to set up site to site ssh tunnel for contact between those networks. I have configured the ssh tunnel on both sides with routes to ...
-2
votes
0answers
36 views

ubuntu dovecot/postfix email server doesn't work

So I've been trying all day to get an email server running on my ubuntu 14.04 digitalocean VPS. I've followed at least 3 different tutorials point to point, copying everything and in the end never ...
2
votes
1answer
54 views

ipv6 and ipv4 server preference

A webserver I manage is running Ubuntu 14.04 and is configured for dual stack - ipv6 & ipv4. It is my understanding that ipv6 connections have first priority after which it should fall back to ...
0
votes
1answer
13 views

nginx wont start after reboot Ubuntu 14.04

I'm getting this error: nginx: [emerg] duplicate upstream "app_server" in /etc/nginx/sites-enabled/django.save:1 this is my config file: upstream app_server { server 127.0.0.1:9000 ...
-1
votes
0answers
15 views

Uninstall Webmin from Ubuntu 12.04 [on hold]

I recently uninstalled webmin from an ubuntu 12.04 virtual machine but now I want to reinstall it. I followed the same procedure (I m writing the wget command below) with no success. Does anyone have ...
0
votes
1answer
19 views

ldd founds shared library, but executing binary tells not found

After installing ubuntu 14.04 and installing keepalived's deb, the keeplived cannot start: aaroot@aatest1:~$ sudo /usr/sbin/keepalived /usr/sbin/keepalived: error while loading shared libraries: ...
0
votes
2answers
32 views

Nginx rewrite location internally to serve static content

I'm trying to serve static content from an endpoint that differs in hierarchy structure than the actual root directory structure. This is the result I'm trying to achieve: ...
-3
votes
0answers
24 views

Server overloading [on hold]

I am quite new to this, but my administrators keep saying that this is not the server issue but the application issue. I am running a wordpress site which has around 15,000 visits a day. it's quite a ...
1
vote
2answers
42 views

order 4 allocation failure disaster

Some environment details first: Hardware: Intel Server Board S2600GZ 2 x Intel Xeon CPU E5-2620 64GB DDR3 RAM Intel RAID Controller RS2BL (LSI SAS2108) with 4TB LVM Volume made of SAS disks ...
0
votes
1answer
28 views

crontab truncates file path

I try to run the following command: crontab -u root /root/iss/current/node/bin/installers/nl_brandless_selector_full_hd/nl_brandless_selector_full_hd_cron_file But I got an error like this: ...
0
votes
0answers
13 views

PHPMyAdmin and NGINX [closed]

I use a very specifical configuration in Nginx for rewriting URL but then it blocks /phpmyadmin. I've tried tons of different ways for making pma back but not any worked.. Please help me make PMA ...
0
votes
0answers
18 views

Dual homed Linux host (Debian/Ubuntu) using DHCP

We have an Ubuntu server with 2 NICs. Each one is on a different subnet. Besides there's a third subnet. Clients sit on all three subnets. All clients should be able to talk to both server IPs so we ...
1
vote
3answers
31 views

PHP Sessions directory is filling up and overflowing

Running PHP, Apache2... Our login stopped working and anything trying to grab session data. It all stopped working randomly at 7pm last night. I found out the sessions directory is being filled with ...
-1
votes
0answers
10 views

Fwsnort without string match support

How to use fwsnort on Ubuntu 12.04 ? http://www.cipherdyne.org/fwsnort/ Is that possible to use it somehow without string match support. Xtables possibly can help but I don't know how to use it. ...
0
votes
1answer
25 views

Corosync and Pacemaker deployment

I'm currently working on a deployment architecture for a Postgres HA 1 Master/ 1 Slave scenario. After reading lots and lots of documentation I've decided to start using Pacemaker in conjunction with ...
0
votes
0answers
13 views

How to know read volume due to readahead?

In Ubuntu, is there a way to see how many kb/sec are being read from a disk due to the readahead setting? (I'm referring to that set by blockdev --set-ra). I.e. if I try to read 100 bytes from ...
0
votes
0answers
12 views

mysqli::mysqli(): [2002] Connection refused. Php stops talking to MySQL once migrate to a new server [duplicate]

So I have a php/mysql application running on my AWS Ubuntu LTS server. I am trying to migrate it to another old Ubuntu server in my company. While it worked fine on the AWS server, it keeps returning ...
0
votes
0answers
26 views

Apache2 access.log interpretation

I'm pretty new to apache in general. It's a LAMP installation on Ubuntu server 14.04 and all is up to date. I'm also running a squid proxy on the same box(not transparent) with success in my ...
-1
votes
2answers
45 views

Putting My RSA Public Key on RSA Key-Secured Server

Hello and thanks for reading, Basically, I'm taking over for someone on some system admin duties, learning as I go, but one problem I've run into is not having my public RSA key put onto a particular ...
0
votes
0answers
31 views

Squid Proxy: ACL error on request by curl

my squid.conf(squid3) acl localnet src 192.168.1.0/255.255.255.0 acl localweb src 192.168.199.0/255.255.255.0 http_port 3128 transparent http_access allow localnet http_access allow localweb my ...
0
votes
0answers
14 views

Why is Bind not seemingly not reloading my ACL's on service reload?

I have a two views setup on my ubuntu server: acl members-nl { 1.2.3.4; }; acl members-eu { }; I had the IP 1.2.3.4 inside members-eu and did service bind9 reload - its not taking affect. I ...
0
votes
2answers
71 views

PHP stopped working after upgrading from 5.3 to 5.5 using PPA

I had PHP 5.3 working on an old server that my company uses. I have PHP 5.5 working on my AWS server. Both of the servers are Ubuntu. My application is working fine on my AWS server. But when I ...
0
votes
0answers
25 views

Monitor traffic on ports with Cacti

This seems like a basic question, but i haven't found any solution yet. Recently I've installed Cacti for interface traffic monitoring. That works fine, but I would like to see these graphs for used ...
0
votes
1answer
35 views

npm install failing at gyp rebuild on ubuntu server 12.04.5

Hi [first serverfault q so hope this isn't too dumb a question] I've got a setup on a Ubuntu 12.04.5 server that is just for deploying meteor js applications. Previously my deploy pattern worked but ...
1
vote
2answers
282 views

Low latency TCP settings on Ubuntu

There is a server for measurements running on Ubuntu in my lab . And there is C program, which receives data through TCP connection and should as soon as possible send a reply. Network latency when ...
0
votes
0answers
60 views

ERR_INCOMPLETE_CHUNKED_ENCODING apache 2.4

I upgraded my Ubuntu server to 14.04 and Apache 2.4.7. Now my images don't load and console yields net::ERR_INCOMPLETE_CHUNKED_ENCODING. Also, I can sometimes see some of the images load for a little ...
0
votes
1answer
32 views

Limit access on Apache 2.4 to ldap group

I've upgraded from Ubuntu 12.04 LTS to 14.04 LTS, and suddenly, my Apache 2.4 (previous: Apache 2.2) now lets everybody in to my virtual host, which is unfortunate :-). What am I doing wrong? ...
-2
votes
1answer
22 views

installing php gd on ubuntu on a vps server [on hold]

I was working on localhost with resizing images and everything was great. Then I uploaded to my server and things got interesting. After searching around, looks like I have to enable php-gd on my ...
-2
votes
1answer
30 views

recovering overwritten file in ubuntu [on hold]

I recently just overwrote one of my sql dump file by doing the following command: mysqldump -u root -pTucson85719@ Directory > directory.sql is it possible to get back the file that is being ...
-1
votes
0answers
17 views

I've compiled Nginx but I don't see service nginx and log directory is not created

This is how I compiled nginx ./configure \ --prefix=/etc/nginx \ --sbin-path=/usr/sbin/nginx \ --user=www-data \ --group=www-data \ --error-log-path=/var/log/nginx/error.log \ ...
-4
votes
0answers
20 views

how do i set index priorty on nginx in order to load index.html before wordpress' .php files [closed]

hello there, gents. I'm an absolute beginner in linux, the CLI, as well as nginx and wordpress. i'm trying to make a 'coming soon' landing page that will take priority over the main wordpress ...
-2
votes
1answer
35 views

Install pdf2swf on Ubuntu Trusty Tahr(14.04)

It seems the Ubuntu 14.04 repository contains a version of swftools without pdf2swf--see https://launchpad.net/ubuntu/trusty/+package/swftools This package does not include pdf2swf and avi2swf ...
0
votes
0answers
16 views

Cannot write file Via WebDAV

I am trying to get WebDAV setup so I can remotely upload content to an entire website. My goal is to use site.com/WebDAV to allow me to view and edit all site content at site.com. My apache2 config ...
0
votes
0answers
28 views

Execute script when files are added to a directory [duplicate]

How would I run a shell script whenever a file is added to a certain directory? I've thought about using cron but I'm not sure if it's really suited to this as it would have to run every second or so. ...
0
votes
1answer
29 views

cron.daily not running at the time it should?

My /etc/cron.daily scripts seem to be executing far later from what I understand they should. I am in Ubuntu and anacron is installed. If I do a sudo cat /var/log/syslog | grep cron I get something ...
1
vote
1answer
14 views

Ubuntu: package installed, but files missing? [duplicate]

I have been playing around with the /etc/asterisk directory, installing the related pacakge (asterisk-config), removing it, removing the directory manually (just playing around to get the ...
0
votes
1answer
14 views

Upstart: cannot run as root

I have made this upstart script, which starts a Node.js service. But all of the sudden the service has stopped, and upstart has failed to restart it. Now that I am trying to start it manually, it ...