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)

2
votes
1answer
320 views

Why don't random numbers in AWK change after the first run?

I'm studying AWK, and when I use the following command for the second time why are the numbers always the same? First time run: awk 'BEGIN{for(i=1;i<=10;i++) print int(101*rand())}' 24 29 85 15 ...
-2
votes
1answer
28 views

Upgrade old version ubuntu [closed]

I want to upgrade ubuntu 11.04 to 12.04 at least. Actually I want to upgrade to 14.04 since it is not possible I want at least 12.04 any one can help me so that I can upgrade it. It is AWS instance so ...
1
vote
1answer
168 views

How to make wget trust my self signed certificate (without using --no-check-certificate)? [duplicate]

Ubuntu 12.04 OpenSSL 1.0.1 14 Wget 1.13.4 My setup: create our own CA (our_own_ca.crt) generate a certificate which is signed with the above CA (graphite.local.crt) Concatenate that cert and the ...
0
votes
1answer
52 views

Compiling an individual kernel module (Debian/Ubuntu)

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
0
votes
1answer
34 views

hiding from who command and strange carcvncgiw process [duplicate]

my server have what i think is a suspicious activity, there is bash process that consume more than 30% cpu when i trace it with lsof -p it show: COMMAND PID USER FD TYPE DEVICE SIZE/OFF ...
-4
votes
1answer
30 views

How to connect ubuntu server via SSH if networking is down

I am facing weird in my new ubuntu server set up . Actually we bought new Ubuntu server which was working fine earlier and i can ping it as well as can access via SSH. Now after running following ...
1
vote
1answer
91 views

Setup public IP address on LXC container

Can anyone tell me how to setup a network interface for each LXC container so that each container can have its own dedicated IP address? Here's what the /etc/network/interfaces file on my host node ...
0
votes
1answer
33 views

Mounting file in Ubuntu over Samba to home folder

I am trying to share a folder over samba to a client location /mnt in Ubuntu. For mounting to /mnt I need to use sudo. I read in some articles online that mounting to one's home folder with Samba is a ...
0
votes
0answers
38 views

EC2 instance can't connect to RDS

I have created an EC2 instance and an RDS instance. Using Ubuntu and MySQL, RDS instance is public and not A-Z. I have created a security group that allows 3306 from anywhere on both Ingoing and ...
0
votes
0answers
67 views

Configure Selenium on Vagrant to use host browser

I am using a Vagrant box for local development. The guest OS is Ubuntu server. I now want to start running selenium tests in my dev environment, so I have Selenium Server running on the guest ...
0
votes
0answers
62 views

Is it better to store the MySQL database directory on a separate RAID 1 device?

We have a Linux server with a RAID 1 using two HDDs on which runs a Apache server managing multiple sites and some other services that interact intensively with the databases and produce massive ...
0
votes
1answer
108 views

I cannot connect to OpenSSH server running on Ubuntu server from Git bash running Windows, through Cyberoam firewall in network

Situation: I am trying to connect from OpenSSH client inbuilt with Git Bash running on Windows 7 professional x64 to OpenSSH server that runs on Ubuntu Server LTS 14 x64. Both of which are over the ...
0
votes
1answer
31 views

Is there a way to find out why MySQL crashed or quit working?

I have MySQL running on an Ubuntu 12.04 web server. A basic LAMP stack. I just have a couple of small websites running. a WordPress site A SugarCRM app little apps here and there. Only 2 ...
1
vote
2answers
266 views

GitLab not sending mails

I have a Linux Ubuntu 14.04 installed on my VM. Recently I have installed GitLab 7.8.2 using the instructions on GitLab site, and encountered problems in making Gitlab to send mails. for example, ...
1
vote
2answers
74 views

Issues with connecting to OPENVPN

I am trying to configure Mullvad on openVPN - Debian I have followed their online tutorial - Install OpenVPN and resolvconf (sudo apt-get install openvpn resolvconf) Extract the configuration files ...
0
votes
0answers
35 views

Ubuntu MySQL won't start because disk is full, but it isn't

I've a Linode with Ubuntu (12.04.4 LTS) installed. The HDD is 200GB but when I log-in via SSH, it tells me this: Usage of /: 99.1% of 8.83GB MySQL fails to start because there is no free space... ...
0
votes
3answers
55 views

Load users environment variables in a cronjob

How can I load the users environment variables in a cronjob? I have a cronjob which should start a script every minute on my Ubuntu machine: * * * * * /home/user/myscript.sh; In this script I ...
0
votes
1answer
28 views

PSAD IPTables logging error

I installed PSAD on my Ubuntu server and then set the IPTables accordingly. But I still get this error by email: You may just need to add a default logging rule to the /sbin/iptables 'filter' ...
1
vote
2answers
36 views

auditd execve arguments that looks like encoded data

I'm logging all execve's in a sort of honey pot box and as such I try to make sense of the commands. There's many many of these, all with 'bash -c' and some long alpha numerical value not enclosed in ...
0
votes
3answers
163 views

Accessing a web site on a VM

I am trying to use a VM to allow me and some other people in the company to test-drive changes to a Magento store. The VM is out of my control (mostly) and is hosted on a Windows Server box on our ...
0
votes
1answer
48 views

Segmentation fault diagnoses

I am trying to diagnose a segmentation fault issue that started to occur after upgrading to Ubuntu 14.04 (32 bit). I am running a TSM client 6.2.5-4 which worked fine up to the upgrade. I tried to ...
0
votes
0answers
44 views

how to change MTU inside docker container which is running with ubuntu 14.04 and also on host machine with ubuntu 14.04?

I want to change MTU(Maximum Transmission Unit) inside docker which is running on ubuntu 14.04. also docker container running with ubuntu 14.04. The problem is that its docker0 interface on host os ...
2
votes
0answers
55 views

Can't run binary executable on Ubuntu 12.04

I get the following error: ./cataclysm: command not found when trying to run this executable on a Linux server over SSH. when I run ldd cataclysm, I get: linux-gate.so.1 => (0xf7759000) ...
5
votes
1answer
147 views

Icinga - Very high check latency in distributed environment

I have a distributed Icinga setup set up as follows: CENTRAL Receives passive check results only DISTRIBUTED A 227 hosts 835 services DISTRIBUTED B 67 hosts 243 ...
0
votes
1answer
39 views

Active Directory users authentication on Ubuntu server

I need the simplest way to authenticate Active Directory users on Ubuntu Server (at login). I am trying with libnss-ldap, but it only works with plain LDAP server (like SLAPD) but now Active ...
0
votes
1answer
46 views

How to add new virtual users to an existing VSFTPD virtual user database in DB4 format?

I have setup and configured a VSFTPD server on a Ubuntu 14.04 server that is working as intended. For authentication, I setup virtual users via a PAM passwd file in DB4 format using methodology ...
0
votes
1answer
70 views

How to reduce AWS EBS root volume size?

Enlarging an EC2 instance is easy like a breath (for instance, create an AMI, launch an instance from it and then change the storage size). But reducing it becomes more difficult. I’d like to reduce ...
0
votes
2answers
47 views

Hostname not changing (Ubuntu 14.04)

When I set up a VPS, I set the name to "main" so both my /etc/hosts and /etc/hostnames files had one entry (that being "main"). So I set up root ssh access and type "hostname" and it gives me "main". ...
0
votes
1answer
38 views

How do I get boto to work with port 443 being prerouted to another port?

My title may be poorly worded, but I'll try to get the backstory straight: I have Ubuntu instances with clusters of Docker containers all hosting web servers In order to appease firewalls we want to ...
0
votes
2answers
77 views

Restrict user changing xscreensaver settings

I would like to know any solutions people came up with restricting a user from changing a system wide configuration of xscreensaver. Part of my job is managing systems which have a requirement that ...
0
votes
0answers
83 views

Can't boot after intrerrupting do-release-upgrade (Mount failed for selinuxfs on /sys/fs/selinux)

From a ssh session I ran: sudo apt-get install update-manager-core sudo do-release-upgrade I went to read something else and when I returned to my ssh session, it wasn't responsive. I'm presuming ...
1
vote
0answers
74 views

start-stop-daemon not working as expected

I can't figure out why start-stop-daemon is not running the script below. What am I doing wrong? start-stop-daemon reports that it will start node when using the --test flag, but when I actually run ...
0
votes
0answers
21 views

Mount the other half of instance store volume

I have a running c3.xlarge EC2 instance on AWS. As listed in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#StorageOnInstanceTypes , it should provide 2 x 40GB SSD instance ...
1
vote
1answer
77 views

How to setup 3 networks on a 2 NICs Ubuntu box?

I need to configure 3 networks on my Ubuntu machine (OpenStack Network node) The /etc/network/interfaces I have is: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet ...
0
votes
1answer
33 views

LDAP communication between two local server

I want to make my LDAP Port accessible inside my private network. Is it possible? Operating System : Ubuntu 14.04 x64 My LDPA Server configuration: eth1 Link encap:Ethernet HWaddr ...
0
votes
1answer
56 views

Can't add Nodes to Percona XtraDB cluster

In my case, I have two nodes in cluster, but when I use $service mysql bootstrap-pxc to start XtraDB cluster, I found nodes were not added to cluster. I also check /var/log/mysql/error.log, but no ...
0
votes
1answer
51 views

Collectd “interface” plugin reporting cumulative value rather than rate

Collectd's interface plugin is supposed to report octets per second and packets per second, as documented here: https://collectd.org/wiki/index.php/Plugin:Interface, but for me, it reports cumulative ...
0
votes
1answer
60 views

Straight forward way to run ssh-agent and ssh-add on login via SSH?

I'm trying to have the following commands be auto-executed when I login to my server via ssh: ssh-agent /bin/bash ssh-add ~/.ssh/id_rsa My ssh key has a passphrase and I'm fine with entering it ...
0
votes
0answers
20 views

How to package nginx with custom modules for ubuntu server?

I need nginx with a few modules that are not included with the packages available via apt-get. I have no problem downloading the source from apt, changing the build params and compiling a .deb file ...
0
votes
0answers
14 views

CATALINA_HOME not exported properly in Ubuntu 12.04

Running Ubuntu 12.04 and Tomcat6 A Java web app (ClinCapture) attempts to access catalina_home and instead of returning CATALINA_HOME=/usr/share/tomcat6 it returns ...
0
votes
1answer
69 views

packages have unmet dependencies

How can I fix the dependency problems? Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct these. The ...
1
vote
1answer
47 views

How should I manage a long running server process on Ubuntu?

I have an app (in the form of a single binary) that I need to run on one of my servers, and I'd like to be able to control its lifecycle properly. What I'd like is the following: simple one command ...
0
votes
0answers
19 views

Permissions of files and subfolders in /var/www/html (Ubuntu 14.10 + Apache2) [duplicate]

I have some questions about permissions and ownerships of folders and files in Ubuntu Server 14.10 + Apache2. Is it correct that /var/www/html is owned by root:root by default? As far as I read, it ...
-1
votes
1answer
25 views

Can we run thin client to connect to Linux (Suse or Ubuntu) [closed]

Not sure where to ask such questions, so guide me on that! I am looking to have several thin clients to use same server (system), the work involved is mostly office and browsing related works - that ...
0
votes
1answer
172 views

Server freezes after installing Ubuntu Server 14.04.2 on Dell R900

I tried this a week ago, and then went with CentOS, but decided I would rather be on Ubuntu server. So whenever I install Ubuntu server, after the install finishes and reboots, I remove the install ...
0
votes
1answer
41 views

ssh unable to login as root

I am unable to login as root via ssh. i have also set the password usin sudo passwd and sudo passwd root no luck. Any recomendations on how to solve this issue? # Package generated configuration file ...
0
votes
0answers
45 views

Can haproxy run user-defined shell script for healthy checking?

When configuring HAProxy, we can assign user-defined checker by using a .sh script and xinetd. I wonder why does not HAProxy call the script directly and check exit code? I'm using ubuntu 12.04 LTS. ...
0
votes
1answer
175 views

Can't get logstash to work with upstart script

I've installed logstash on my headless server but I'm having a few problems getting it to work from the upstart script with sudo service logstash start. This is the output I get from ...
0
votes
1answer
89 views

Using Puppet apt module

I'm an absolute beginner at Puppet, and I'm having an issue when I try to install a package via the apt-module. class newrelic { apt::source { 'newrelic':location => ...
0
votes
2answers
41 views

Does Ubuntu 12.04LTS have the OpenSSL heartbleed fix?

Only OpenSSL 1.0.1f or later has the fix for the heartbleed exploit. So does Ubuntu 12.04LTS have the fix? We need to use 12.04LTS for reasons I won't go into, and we can't upgrade. According to this ...