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)

3
votes
4answers
6k views

How Ubuntu cloud version enforces the “no root login” over ssh?

I'm looking to tweak ubuntu cloud version default setup where is denies root login. Attempting to connect to such machine yields: maxim@maxim-desktop:~/workspace/integration/deployengine$ ssh ...
4
votes
4answers
3k views

How to increase swap space on a live server

On Ubuntu 14.04, the swap file has to be increased as the memory and swap usage are reaching 100% usage. On a live production server, can the swap be increased with minimal disruption to the service? ...
0
votes
1answer
2k views

Apache proxy to forward guacamole

I'm running a Ubuntu 13.04 64-bit server, on which I have some headless VirtualBox VMs running. In the past I have just forwarded the ports to access the VMs manually, but I want to use Guacamole to ...
0
votes
1answer
31 views

How to install the latest version of OpenSSL on Ubuntu?

I see that the latest security patches are not yet available from apt-get install openssl on Ubuntu 14.04. What steps do I need to take in order to install the latest OpenSSL without conflicting with ...
1
vote
0answers
9 views

Single sign on with Apache and LDAP

I have a server running two web applications: Gerrit and Mantis BT. Now, these applications connect to an LDAP server to authenticate users and it works fine. But the user has to authenticate for each ...
1
vote
1answer
2k views

Zentyal Server : Setting up secure VPN Client

I have officially exhausted pretty much all my google-fu trying to set this up so I'm asking my question here. For the record, I am a mid level rookie who has played around with servers in his spare ...
1
vote
1answer
28 views

Check if Samba only works locally

Introduction My intention is to make files accessible from my local network. (streaming videos/music, sharing files,...) For this purpose I set up an Intel NUC with Ubuntu and connected it to my ...
0
votes
1answer
15 views

Ubuntu /boot partition stay in mode “Filesystem state: not clean” (tune2fs)

I have the problem with my /boot partition on a ubuntu "Ubuntu 11.10" system. Maybe also on "Ubuntu 12.04 lts" but I cannot verify this, because it's a prodctive system. If I umount the /boot ...
0
votes
0answers
14 views

Linode resource splitting [duplicate]

We would like to move our sites to Linode and I have a theoretical question. Which is the best in speed and why? If MySQL runs on a different machine, is it give better result or worse? 1 option ...
2
votes
1answer
25 views

How to get the DHCP-controlled DNS domain name for my Ubuntu machines in a Windows network?

I've been going in circles for a while trying to figure this out. I have a number of Ubuntu machines (some virtual) on a Windows network. From a Windows machine, I can ping or nslookup the Ubuntu ...
2
votes
2answers
461 views

XenServer 6.2 VM 100% CPU and 100% memory usage and won't boot

I had this problem today after a power failure. I had 2 vms and one of them won't boot and was using 100% of CPU and 100% of memory. Since it was very dificult to solve (at least for me) I want to ...
46
votes
11answers
204k views

How to start/stop iptables on Ubuntu?

How can I start/stop the iptables service on Ubuntu? I have tried service iptables stop but it is giving "unrecognized service". Why is it doing so? Is there any other method?
1
vote
0answers
6 views

Upgrading PHP and installing libraries in non-interactive mode

Problem I m trying to install php 5.5 and php5-memcached for my machine which has php 5.3 pre-installed. Also, I can not change default configuration as it is staging box provided for CI.So let's ...
1
vote
1answer
17 views

service in vagrant VM not picking up configuration

I want to setup a Vagrant configuration to create and launch an Ubuntu guest VM which will launch a supervisord service within the VM after Vagrant up. I'd like for this to work on Windows, Mac, and ...
1
vote
3answers
2k views

Ubuntu Server 10.04 Heavy Network Traffic causes disconnect

I'm currently running a headless Ubuntu 10.04 server. Installed is the LAMP stack, Joomla, Virtualbox, phpvirtualbox, webmin and proFTP.. It resolves the IP address so I can access it remotely (either ...
10
votes
3answers
4k views

What is the different usages for sites-available vs the conf.d directory for nginx

I have some experience using linux but none using nginx. I have been tasked with researching load-balancing options for an application server. I have used apt-get to install nginx and all seems ...
0
votes
1answer
19 views

Can't connect to pre-configured NAS boxes with static addresses and default gateway 172.16.2.1

I received several TeraStation NAS boxes which I can't configure because I can't connect to them, presumably because they were setup for a specific environment. I'm hoping to virtualize the ...
0
votes
0answers
17 views

Invalid postfix email address on serverpilot [on hold]

I have a digital ocean droplet with ubuntu installed and being managed by serverpilot. None of my php scripts are able to send emails and looking at the postfix logs, it's because the email from ...
1
vote
1answer
935 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 ...
6
votes
5answers
7k views

I just deleted “/bin”. What's the best way to recover?

I just ran (not on purpose!) rm -rf /bin. I've booted down the computer and am using Finnix to try to recover from it. I have succeeded in mounting the drive, and confirmed that, yes, the entire /bin ...
0
votes
1answer
502 views

Using Facebook's Flashcache on root partition (/)

I'm tring to implement Flashcache for a root particion for an ubuntu box. There is an excellent doc how to do this in flashcache: https://github.com/facebook/flashcache/blob/master/README-DKMS My ...
0
votes
3answers
1k views

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I am facing this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I tried every thing I found on Internet, but can not solve the ...
1
vote
1answer
16 views

post_max_size will not change, stuck at 128M, other settings work

I am trying to increase post_max_size to 1024MB, I am using ini_get('post_max_size') and phpinfo() to check the setting and post_max_size shows as 128M in both. some phpinfo() on the server: PHP ...
0
votes
2answers
101 views

Prevent APT from overwriting custom files

My server runs a Java application that requires I replace a few java library files with ones I downloaded on my own. This has to do with JCE security extensions and isn't really relevant to my ...
1
vote
3answers
1k views

forward all mail on a specified domain to script

I run a disposable e-mail service that accepts all incoming mail and forwards it to a PHP script that stores it in a database for people to view. Before now, I have been on shared hosting with cPanel, ...
3
votes
1answer
142 views

reusing existing RAIDs on preseeded installation

I'm trying to automate the reinstallation process of existing Ubuntu installations. Partition layout: md0( raid1, /dev/sda1#/dev/sdb1 ) - swap (2G) md1( raid1, /dev/sda2#/dev/sdb2 ) - / (20G) md2( ...
0
votes
1answer
25 views

How to find faulty memory module from MCE message?

I am trying to understand MCE message to find which memory module is bad on a server. This message appears in /var/log/kern.log in one server that freezes two times today. Apr 13 22:39:22 mbox ...
0
votes
3answers
2k views

Port 80 apparently closed ubuntu 14.04

I'm installing a small server on the company where I work. I go to whatsmyip.org and it tells me it is 190.124.165.35. When I go to canyouseeme.org it tells me that the connection timed out for port ...
11
votes
3answers
4k views

Alternatives to apache benchmark? [on hold]

I'd like some tools for ubuntu that I can use to test my server, how much it can handle. Any suggestions? I've used apache benchmark before, but I'd like to try out something else. (As a side ...
1
vote
2answers
2k 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 ...
0
votes
0answers
5 views

Ubuntu 14.10 : Qt5 assistant not found [migrated]

I am working on a system running Ubuntu 14.10 in which I have started programming on Qt5. Before for few months when I was working on Qt, I found that that QT-assistant tool really comes in handy. I ...
1
vote
1answer
95 views

Install Centos 7 or Ubuntu 14.04 on HP DL160 G6

I have recently bought a couple of 2nd hand HP DL160 G6. I have configured the internal B110i in RAID 1+0 (using four SATA disks). When I tried to install either Centos 7 or Ubuntu 14.04 LTS on the ...
11
votes
3answers
7k views

Can't get bower working - bower ESUDO Cannot be run with sudo

I get the following error when I run bower: bower ESUDO Cannot be run with sudo Thing is, I'm not running bower with sudo. The command I run is: bower install foo or bower search cats I am ...
0
votes
1answer
92 views

samba public share on ubuntu 14.10 not working no matter what i try

I have a share folder in this location and im trying to share using samba (Version 4.1.11) in ubuntu 14.10 /media/aravinda/f6c682f3-5271-4f2b-99e8-93aa3bd39990/share ...
2
votes
1answer
1k views

Reconnect Attempts for CIFS share

I have a CIFS share mounted in the FSTAB on Ubuntu server, which connects to our NAS and works without issue. Last night we had an issue with the SAN for about 12 hours. We corrected the problem and ...
2
votes
1answer
743 views

Mounting goes wrong

I am using ubuntu 9.10 and following the next tutorial: http://www.howtoforge.com/perfect-server-ubuntu-9.10-ispconfig-3-p4. I am at point 15. This says i must install quota etc. This have i done. ...
3
votes
2answers
4k views

pgAdmin cannot connect to PostgreSQL 9.1

I am trying to use pgAdmin on Windows to connect to postgresql 9.1.8 running on localhost's Ubuntu 12.04 VM. The host's port 5432 forwards to VM's port 5432. pgAdmin Error: Error connecting to the ...
-3
votes
0answers
9 views

Mobile App Development [on hold]

I want to create some ios and android native apps connecting to my web application. It's database-driven something like a Facebook. Well there a tonnes of server technologies and setup such Docker and ...
0
votes
1answer
18 views

How to hold specific package version?

I have Percona XtraDB Cluster 5.6 installed on my Ubuntu server. Recently, when i tried to update my system using apt i see some new version of percona, but with an older version. The following ...
2
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 ...
17
votes
5answers
15k views

How can I monitor what logrotate is doing?

How can I monitor what logrotate is doing in Ubuntu? Can the activity of logrotate be monitored?
0
votes
0answers
13 views

Uninstalled plesk while trying to install apache2-mpm-events [on hold]

I was trying to install apach2-mpm-events module but it removed some of the packages from psa and now i could not reinstall plesk nor apache2. My operating system is Ubuntu 12.04.5 LTS. I need a clear ...
2
votes
1answer
29 views

Prosody, how to get the IP address of connected clients?

I'm running Prosody server on ubuntu. I was wondering if there's a possible way to get the IP address of each client who connects to my server, basically, I want 2 things: 1) I want to get the IP ...
1
vote
1answer
59 views

NTP can't synchronise

Okay so I tried syncing a windows clients clock to the ubuntu ntp server i just set up, but it gets a time out, when trying. So I went on the ubuntu server and looked at syslog: Apr 10 13:15:01 ...
1
vote
1answer
3k views

Bringing the xenbr0 interface up on XEN under Ubuntu 8.04

I installed XEN on Ubuntu 8.04 using this tutorial but after I reboot with the XEN kernel, I don't have xenbr0 device. I see that network-bridge script runs and it creates peth0 device, but not ...
-1
votes
0answers
18 views

How to configure PostgreSQL password? on a new VM

I installed my postgresql like this. sudo apt-get update sudo apt-get install postgresql postgresql-contrib and accessed it like this sudo -i -u postgres and my a gist of my pga_hba.conf # DO ...
-2
votes
0answers
22 views

Ubuntu or Debian for a server? [on hold]

Can someone provide a good answer including some tech differences, some pros and cons for each distribution? I want to make the right choice and choose the right distro for my needs (running a cluster ...
0
votes
0answers
5 views

Ubuntu DHCP-RELAY Error

I have a Ubuntu 14.04 server running as a router (4 NICs with IP forwarding turned on). The routing/forwarding component is working fine. However, I now wish to implement a DHCP-Relay/IP helper so I ...
1
vote
3answers
10k views

Install Zimbra, can't use current hosts file

I'm trying to install zimbra on a linux server. I downloaded the Ubuntu 12.04 LTS version of zimbra, unpacked and tried to run install.sh. But after I have approved the license I get this problem. ...
0
votes
1answer
19 views

Ubuntu - mounting partitions as read only

I have a server which has probably been shut down one time too many as a result of power cuts. Now when I log in, it's mounted every partition I can see as read only. I've looked up the solution, ...