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)

1
vote
2answers
63 views

Can't connect to MySQL from another server

I have two servers on the same subnet. 192.168.100.1 (mysql) 192.168.100.2 (php) MySQL seems to be running fine on it's box but I can't seem to connect to it. These are both ubuntu boxes and ...
1
vote
0answers
43 views

Nginx error on installing vestacp

I am trying to install vestacp on fresh dedicated server running ubuntu14.04 with nginx installed, however i have tried to remove this using... sudo apt-get remove nginx sudo apt-get purge nginx ...
2
votes
1answer
48 views

cant sftp into ubuntu server

Hey guys I've set up an openssh server, but I still cant sftp or ftp into my ubuntu server. I am always getting login failed errors for every attempt i try to make. I am running ubuntu 14.10 I ...
0
votes
0answers
56 views

How to lock a user into a directory (not SSH)

I have regular users who are not SSH'd into a machine but are accessing the machine directly. How can I lock them into their home directory or any directory? At the moment they can successfully run rm ...
1
vote
1answer
125 views

Nginx 10k concurrent connections

We are not able to handle more than 3k concurrent request in nginx (Connecton time out). We change also the ulimit to 20000. Following are my nginx.conf and sysctl.conf files: user www-data; ...
0
votes
1answer
30 views

Using Cloud Servers and Firewall

I would like to ask if the configuration of "firewall rules eg. only allowing port 80.. when configuring a server instance on cloud services such as google cloud and amazon aws is securely equivalent ...
0
votes
1answer
72 views

Does PHP mail function need a mail server? [duplicate]

We recently moved our Drupal sites to a Linode server. One of those sites has a lot of users filling forms. The previous server sent, with no problem, all form registrations to an email address, this ...
0
votes
0answers
58 views

Packet loss between windows guest and Ubuntu 14.04 host

We are seeing packet loss between one of our Ubuntu 14.04 hosts and a KVM guest running Windows 2008 R2. The loss only shows up at high loads. Similarly loaded machines running 12.04 do not exhibit ...
0
votes
1answer
47 views

Configuring varnish to write an apache error log with IP addresses

I am in the process of installing fail2ban on a webserver which runs Varnish. Many on the 'jails' require access to the apache/php error logs. One of the problems I have is that all of the refernces ...
1
vote
2answers
132 views

Recommended partition scheme for a production server with two 147G hard drives?

I have a dedicated box whose specs are: CPU: 4-core Xeon 3450 *1 (HT enabled) RAM: 8GB DDR3 HDD: 15k SAS 147G *2 (currently in RAID 1) The current OS is Windows Server 2003. I am running a web ...
4
votes
1answer
44 views

Puppet: How to skip restart during package upgrade until config is replaced?

I'm trying to get Puppet to upgrade our Varnish 3 servers to Varnish 4, a major update which requires an updated config file or it won't start. This is on Ubuntu 12.04. The Varnish module is ...
1
vote
1answer
43 views

nodejs server and nginx conflict

I am running a nodejs application on a digital ocean droplet and I am trying to configure nginx so that it proxies the port the port that my application is running on, This is what I have on my ...
-1
votes
3answers
47 views

Command shows different results when I login as a user vs su to the user

I'm trying to run a simple command from an init.d script and I'm troubleshooting why the command doesn't work when I run it from my init.d script but works when I run it as my user. Can someone ...
3
votes
1answer
44 views

meaning of rx_queue_*_csum_err and rx_fifo_errors

I am trying to debug some networking issue with one server. I monitor this machine with multiple monitors and I see that at times ping error rate jumps to 5/10% I am running on ubuntu and I see that ...
2
votes
2answers
77 views

Assign multiple IP and Gateway in Ubuntu Server

I'm trying to find an option to add/assign multiple IP addresses and Gateways to the Ubuntu Server. The reason behind is, I want to access devices from two different networks. For instance I may want ...
2
votes
2answers
326 views

No SNMP query responses from Ubuntu 14.04 LTS server client machine

Alright, I've got two VMs both running under ESXi. One VM is hosting Observium, which uses SNMP to grab its info. I pointed Observium at my ESXi host directly, and it worked fine, so there's no issue ...
-3
votes
1answer
91 views

My server is no longer able to send emails after upgrade [closed]

I am no longer able to send emails since I updated my server from Ubuntu 13.04 to 14.04. I have several websites installed in my server, and none of them is able to send emails any more. Before the ...
1
vote
2answers
68 views

How to emulate Windows event logging in Ubuntu?

Assume you were to have a predominantly Windows enterprise environment and that you have a number of Ubuntu servers you need to integrate into that environment, while introducing as few new enterprise ...
0
votes
1answer
84 views

how to create multiple sub domain in local host? [closed]

Using nginx and php I need to create multiple sub domain in local host. How i can make it happen? I am using ubuntu 12.04 andphp5 withnginx as webserver. i Have tried *.servername.com in my ...
2
votes
0answers
48 views

nagios mysql check using unexpected user after upgrading from ubuntu 12.04 to 14.04

I had Icinga monitoring my network. Everything was working fine. After upgrading from ubuntu 12.04 to 14.04, MySQL monitoring started reporting problems. I discovered that nagios check_mysql always ...
0
votes
1answer
43 views

Allowing outgoing connections to a particular IP with ufw

I have disabled outgoing connections as a whole with UFW seeing that I didn't want to take chances with my vBulletin forum exposing my server's IP address to attackers (I use CloudFlare). As I've ...
0
votes
0answers
91 views

Linux 'df' command not showing root filesystem?

I'm using Ubuntu 14.04 at Rackspace. What could cause the root fs to not appear here? # df Filesystem 1K-blocks Used Available Use% Mounted on none 4 0 4 0% ...
2
votes
2answers
198 views

Prevent SSH connection lost after logging into VPN on server machine

I encountered an issue that I can't deal with. When I'm logged onto an VPS over SSH and try to estabilish VPN connection on that VPS, the SSH connection between VPS and my machine get lost. I assume ...
0
votes
0answers
23 views

IPv6 upgrade broke my SPF? [duplicate]

I run a small custom ecommerce website for a client. I've recently migrated from Ubuntu 12.x to Ubuntu 14.x at a major cloud provider. This came with the benefit of a free/mandatory upgrade to IPv6. ...
0
votes
0answers
107 views

Cannot estabilish connection via VPN/L2TP to server

Hello system administrators! I would like to ask you a question, because I was looking at various internet tutorials for this, and nothing worked, so... I can't connect to server via VPN, it looks ...
1
vote
2answers
81 views

How do I configure Postfix to accept SMTP for local users with “@” (at sign) in logins?

I have an Ubuntu 14.04 server at mydomain.com with a bunch of users with @domain in login, like us.er@mydomain.com. Each of them has an "pseudo" account us.er-mydomain.com with the same uid, passwd ...
1
vote
0answers
70 views

Ubuntu upgrade PHP not working anymore and nor error log

I made a apt-get update, followed by a apt-get upgrade on my Ubuntu (Homestead VM). Since then I can't access my PHP app anymore. I've tried accessing a txt file from my application and this works ...
0
votes
0answers
136 views

Upgraded Postgresql from 9.1 to 9.4 on Ubuntu and now extensions are looking in the wrong folder

When I run CREATE EXTENSION "uuid-ossp"; I get ERROR: could not open extension control file "/usr/share/postgresql/9.1/extension/uuid-ossp.control": No such file or directory The extensions ...
0
votes
1answer
78 views

Configure Monit to monitor PHP5-FPM on Ubuntu/Nginx setup

System: LEMP running on Ubuntu 14.04 I'm trying to configure the tool Monit to restart Nginx or PHP-FPM if ever there is a problem. It is correctly monitoring Nginx however under status for PHP-FPM ...
0
votes
1answer
50 views

Switch Default Gateway to Another Router with Different Subnet

My diagram: Currently subnet 192.168.8.0/24 get internet connection from modem A via the Default Gateway 192.168.8.1, my goal is to divert the 192.168.8.0/24 subnet in order to get internet ...
0
votes
1answer
170 views

Ubuntu VPS running VPN server not forwarding packets

I've asked a related question here - Can't route back down ipsec tunnel from VPS - but I've answered that and moved on a bit. The end goal of what I'm trying to achieve is this: We have a bunch ...
2
votes
3answers
171 views

One line script to check and react to memory usage

I'd like to have one line of shell/bash that does something along these lines: test "`free | grep | awk | whatever` -gt 80" && any_command Where the total percentage of ram being used by ...
0
votes
1answer
51 views

cloud-init on AWS: mounts disappear after imaging and rebuilding

I'm using cloud-init to automatically prepare an AWS image (AMI) for use in a production environment - that way I can have the environment setup process tracked in a source control system, but I can ...
-1
votes
2answers
68 views

Unable to create directory in Ubuntu

I'm using Ubuntu 14.04.1 LTS a webserver with ISPConfig 3.0.5.4p4 to manage it. All new domains end up in the following directory structure: /var/www/domain1 /var/www/domain2 /var/www/domain3... etc ...
1
vote
2answers
17 views

recover chef node configure from server

Does anyone know to to retrieve chef node configs from an open source chef server? I need to move node configs that where managed by an old chef server (cloud instance) that didn't update properly to ...
-3
votes
1answer
30 views

Email system for generic adresses: alias, mailing-list or other? [closed]

As I am not very familiar with the email system, I'll try to describe my needs rather than ask how to do it with a specific feature. I'd like to define a few generic addresses under my own domain, ...
0
votes
2answers
64 views

SSSD Authentication to Windows Domain without @domain.com everywhere

We're trialling using a Ubuntu 14.04 desktop environment for a few of our developers and I've hooked the machines into the domain with SSSD. This has been working fine. However the system recognises ...
0
votes
0answers
56 views

Gem installation on vanilla ubuntu fails - EACCESS

I'm trying to install the Middleman gem on a completely generic installation of Ubuntu Trusty (i386). Here's my console input/output: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby ...
4
votes
3answers
163 views

Modifying kernel cmdline in Ubuntu

I have a number of systems on which I need to modify the kernel cmdline, adding a few options. At the moment I do it using the following procedure: Open /etc/default/grub Modify ...
0
votes
0answers
44 views

autopostgresqlbackup postgres authentication error

I am trying to use autopostgresqlbackup on ubuntu on an ec2 instance. I can log in with psql on the command line and it is picking up my .pgpass file and everything looks fine. When I run 'sudo ...
0
votes
0answers
105 views

Kibana not finding local files e.g. require JS, CSS

I'm new to linux/ubuntu and the ELK stack and having an issue getting kibana to work. I've unpacked all three into this folder and started kibana and elastic search: cd /home/ubuntu ls ...
0
votes
1answer
19 views

What are the correct filenames for device configs in /etc/network/interfaces.d

It's easy enough to find references to creating network configuration files name eth0.cfg But the are the correct filenames for other devices i.e. eth0:0 I can't find any documentation to explain ...
0
votes
1answer
45 views

Ubuntu VPS not running cronjob [duplicate]

I used sudo crontab -e to add the following cronjob 0 0 * * * /usr/bin/php /var/www/path/to/artisan elite:reset-user-likes The command works correctly if a type it myself on the terminal. I also ...
0
votes
2answers
128 views

ports 993 and 995 not open even though opened in iptables

Hi I have a problem with imaps and pops access of email clients to mail server (postfix/dovecot) telnet from the servers shell (ubuntu 12.04, postfix, dovecot, spamassassin, amavis) to ports 587, 25, ...
0
votes
2answers
24 views

How to determine if auto negotiation with switch is finished

When I connect ubuntu network interface to cisco switch, the ports of switch and ubuntu starts auto negotiation. I need to know if auto negotiation is finished or not. The easy way is ping & ...
0
votes
0answers
86 views

How to publish hostnames of Ubuntu machines using Avahi

How do you configure Avahi on Ubuntu to automatically broadcast and discover the DNS info for each Linux server on a local network? I've ran this on my localhost (hostname mylocalhost) and a test ...
0
votes
1answer
56 views

Default Apache virtual host configuration with static ip

I recently configured an (Ubuntu 14.04) server to use static IP addresses and noticed that: <Virtualhost *:80> No longer seems to work. Previously the 000-default.conf file was used and by ...
1
vote
1answer
73 views

ps_mem.py vs top - memory usage?

Every now and again my apache server is crashing, getting an error saying the MaxClients has been reached. In my research I've gained the impression that I may be running out of memory (just checked ...
5
votes
3answers
104 views

How to detect virtual machines freezes

On cloud platforms you often hear that because of high load on neighboring VMs, disks over oversubscribed ethernet, backups, or live migration to other hardware, the virtual machine can 'freeze' for a ...
0
votes
1answer
48 views

apache mod_rewrite scenario subdomain capturing from the http_host and passing it as subdomain to other url while rewriting it [duplicate]

i am trying to write two rewrite rules which are PASS THROUGH or PROXY so that i can hide the underlying url. Case1: When a request comes to app.domain.com/folder1/folder2/ it should go through ...