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
0answers
16 views

route all server hit throught default gateway

i am preety new to managing my own dedicated server so please neglect my rookiness I am using nginx as my web server i have in total 5 usable ips say from X.X.X.1 - X.X.X.5 and this is my setting so ...
1
vote
7answers
3k views

Ubuntu 10.04 running in VMWare unable to connect to authenticate through ISA Server

I have a copy of Ubuntu 10.04 [Desktop] LTS running inside a virtual machine using VMWare workstation on a Win 7 host sitting behind an ISA Server on a corparte network. I am unable to connect to the ...
0
votes
0answers
16 views

High server load detected and server automatically stopped

For the last month, my VPS has been experiencing spikes in server load, and the server shuts down as a result and I have to restart it manually. This doesn't happen everyday, but it has happened at ...
0
votes
1answer
2k views

“tasksel: aptitude failed (100)” installing LAMP on Ubuntu (vagrant)

vagrant@precise64:~$ sudo tasksel install lamp-server tasksel: aptitude failed (100) I'm hoping to get a LAMP server from a clean install of ubuntu. All the googles suggest tasksel, which going ...
9
votes
2answers
1k views

Setup VPN issue on Ubuntu Server 12.04

I have a problem with setup VPN server on my Ubuntu VPS, here is my server environments: Ubuntu Server 12.04 x86_64 xl2tpd 1.3.1+dfsg-1 pppd 2.4.5-5ubuntu1 openswan 1:2.6.38-1~precise1 After ...
1
vote
3answers
3k views

Vagrant Error: Connection timeout. Retrying

I have a server with Ubuntu 12.04, Virtualbox 4.3 and Vagrant 1.5.1. I'm trying to use this box http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box however unsucessfully. When I run ...
0
votes
1answer
1k 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 ...
5
votes
2answers
745 views

NPM not installing dependencies?

Having trouble getting NPM to install dependencies with npm install -d in my project directory with a defined package.json file. Here's my package.json: https://gist.github.com/3068312 And after ...
0
votes
1answer
63 views

Ubuntu 14.04 PXE boot with initrd (initramfs) kernel panic

The short story is this (as I understand it): I can't boot ubuntu over LAN (PXE boot) with the help of initramfs without compiling my own kernel. As I see, the problem is this: network interface ...
1
vote
1answer
30 views

What to do if rkhunter finds a possible rootkit?

ran rkhunter tonight, and I got this for the results: [04:17:34] System checks summary [04:17:34] ===================== [04:17:34] [04:17:34] File properties checks... [04:17:34] Files checked: 133 ...
2
votes
2answers
671 views

Kill PHP process when connection is closed

I've posted the following question to SO, but thought there might be a server based solution. http://stackoverflow.com/questions/9053964/php-script-with-sleep-does-not-exit-on-connection-close I'm ...
1
vote
2answers
1k views

403 with Apache and Symfony on Ubuntu 10.04

I'm trying to run symfony on my apache installation (I'm using xampp for the whole package) and it keeps giving me a 403 error every time I try to access my website. I've got vhosts set up with the ...
0
votes
0answers
34 views

What is using all of my memory on Ubuntu 12.04?

I keep getting alarms from Rackspace telling me that my memory usage is too high, but I can't seem to find the culprit. I ran top SHIFT + M to see top output sorted by memory, and this is what I get ...
-3
votes
0answers
20 views

Postfix only works in localhost

I have a server running ubuntu 14.04, and i need to be able to send e-mails from my server, to do that i installed Postfix. I followed this tutorial. But here's the think, my server is able to receive ...
0
votes
1answer
18 views

Tons of apache processes running on a very low traffic development server

I have a development server that is having memory problems. There is little to no traffic on this server because it is a dev environment, but apache is spawning tons of processes and using up a lot of ...
3
votes
1answer
37 views

GlusterFS failing to mount at boot with Ubuntu 14.04

Previously I asked about mounting GlusterFS at boot in an Ubuntu 12.04 server and the answer was that this was buggy in 12.04 and worked in 14.04. Curious I gave it a try on a virtual machine running ...
-2
votes
2answers
46 views

df showing 28G of total space, du showing size of '/' as 400+ G

I constantly get the unable to write to * error, even though I cleaned up a bunch of space. df thinks my disk is 28G in size and 100% full after I deleted a lot of unused files: $ df -h Filesystem ...
0
votes
0answers
23 views

How do you repair a Ubuntu 14.04 RAID-LVM-DM-CRYPT-LUKS Physical to Virtual system that won't boot?

I can't get a Ubuntu 14.04 Virtual server to boot correctly. It's recently been cloned "dd if=/dev/sda of=vmimage" The Physical has a RAID1-LVM-DMCRYPT-LUKS configuration, The boot sequence aborts and ...
0
votes
1answer
19 views

Ubuntu server rename - can not resolve host

I renamed an Ubuntu 14.04 server (changed name in hostname) and now when I sudo I get a can not resolve host {nane} message. The command still works though. Do I need to change another file to bind ...
0
votes
2answers
76 views

Ubuntu UFW firewall turns itself off

I have UFW enabled on my server. However, I find that it is disabled at times, showing a status of "firewall not loaded". I enable it, verify that it is running (shows loaded and gives me a list of my ...
-1
votes
2answers
297 views

spf record setup

Emails sent by mta from my server recognizes by spam filters as spam and there's message : Received-SPF: neutral ... Actually, I am not spammer :) So, I googled around these questions and found that ...
1
vote
4answers
195 views

ssh (openSSH) questions

I have ubuntu 9.10 server. Firstly, is OpenSSH the same as SSHD? Secondly, In the terminal when typing whereis sshd i get this: whereis sshd /usr/sbin/sshd Also when typing whereis openssh ...
19
votes
1answer
26k views

How to reduce number of sockets in TIME_WAIT?

Ubuntu Server 10.04.1 x86 I've got a machine with a FCGI HTTP service behind nginx, that serves a lot of small HTTP requests to a lot of different clients. (About 230 requests per second in the peak ...
-1
votes
0answers
23 views

Vsftpd upload file with www-data permission

how can i get correct permissions drwxrwxr-x on file that are uploaded with Ftpuser1 in /var/www? Actually if i create file with Ftpuser1 i got this : -rw-r--r-- 1 Ftpuser1 www-data 0 Jul 11 ...
1
vote
1answer
188 views

Nagios 3.5 doesn't send notifications

The automated notifications from Nagios 3.5.0 (on Ubuntu) don't seem to work and the error given is "No contacts were found for notification purposes. No notification was sent out". The below can be ...
0
votes
0answers
7 views

Unable to connect Zentyal 3.2 to WiFi network

I've just installed Zentyal 3.2 as 3.4 wouldn't work with a USB keyboard, and it's all installed fine. However I'm trying to connect my server's wlan0 to my WiFi network so that my laptop can connect ...
21
votes
6answers
77k views

add new user with root access in Linux

I want to add new user and have/grant that new user to have all the root access, how can I do that ? I did sudo adduser --system testuser but this is not working as I expected. Thanks for help.
-1
votes
0answers
28 views

unable to browse the internet even when i connected to internet in ubuntu 12.10 [on hold]

Recently i was updating my Ubuntu from 12.04 to 12.10. After the Update i was unable to browse the internet.But I'm able to be Online in Skype. I don't understand why this is happening or where the ...
0
votes
1answer
23 views

OpenVPN client connects but only loads SOME websites

I set up OpenVPN server on a Ubuntu 14.04 VPS using OpenVZ. I can establish a connection to the VPN with a client. I can access some pages like Google and twitter but a lot of sites fail to load. I ...
0
votes
1answer
888 views

Booting Ubuntu as VM with KVM on Ubuntu 12.04

I am trying to boot my very first VM using KVM. I have Ubuntu 12.04 installed, i made sure the BIOS had the right virtualization flag enabled for intel processor by running kvm-ok. I have researched ...
0
votes
1answer
44 views

sed fix for BusyBox - boot fail unable to mount LVM

BusyBox why u no vi?! Summary: Ubuntu 14.04 Server after upgrade first boot, only boots to BusyBox v1.21.1 initramfs with "gave up waiting for root device" due to missing /dev/mapper/xxx-root as ...
1
vote
3answers
2k views

Rails + Nginx + Unicorn multiple apps

I get the server where is currently installed two apps and i need to add another one, here is my configs. nginx.conf user www-data www-data; worker_processes 4; pid /var/run/nginx.pid; events { ...
2
votes
2answers
565 views

A few questions about RAID-Z

I just got 3 one terabyte HDDs to put into my small NAS box. I plan on raiding these together with RAID-Z (ZFS, if I'm not mistaken). I've done a lot of research, but there doesn't seem to be very ...
1
vote
0answers
15 views

File descriptor limit in nginx/Passenger app

We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After ...
0
votes
2answers
675 views

Ubuntu on VirtualBox with bridged network cannot access the gateway or internet

I have set up a version of Ubuntu 12.04 under VirtualBox (version 4.1.18) using NAT and everything works fine (using DHCP of course). I am running OS X Lion 10.7.4. However, as soon as I switch the ...
2
votes
0answers
29 views

Writing content from a file to another file on set time intervals using delimiters [migrated]

I'm trying to write a script in bash that reads a file(file1) and writes to another file(file2) every 2 seconds which is easy enough. However, I want to write to file2 on either a line by line basis ...
12
votes
3answers
475 views

Which method to use for granting sudo

What is the difference between adding a user to /etc/sudoers and usermod -a -G sudo? Which method should be used for granting sudo?
0
votes
1answer
679 views

HAProxy + Percona XtraDB Cluster

I am attempting to setup HAproxy in conjunction with Percona XtraDB Cluster on a series of 3 EC2 instances. I have found a few tutorials online dealing with this specific issue, but I am a bit stuck. ...
-1
votes
1answer
14 views

nginx rate limitinf unknown directive

I'm trying to set up a rate limit for bots using my website, but if i add limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; or anything of the sort to /etc/nginx/nginx.conf in the http ...
0
votes
1answer
12 views

How to change the default timeout configuration file for composer

I've been searching all over the internet and I can't seem to find any help as to where my composer's configuration file is saved to. Basically what I'm trying to do is change the ...
0
votes
3answers
1k 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 ...
0
votes
1answer
11 views

Unable to setup Kerberos on Ubuntu 14.04 - krb5kdc: No such file or directory - while initializing database for realm myrealm

I'm attempting to follow the guide on the Ubuntu wiki for installing and setting up Kerberos. I am running Ubuntu 14.04 (LTS) 64-bit. I have setup avahi-daemon in order to provide .local DNS names. I ...
0
votes
0answers
50 views

Aptitude safe-upgrade hangs on php5-fpm update-rc.d warning

When running sudo aptitude safe-upgrade on my Ubuntu 12.04 LTS server, I keep receiving this warning: update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop ...
0
votes
1answer
25 views

debug mysql crash

I have a production server which I am managing and I have been running a rails application on this server. The issue has happened twice in the past month or so and I am not sure how to debug this. ...
0
votes
1answer
645 views

Postfix connects to wrong relay?

I am trying to set up postfix on my ubuntu server in order to send emails via my isp's smtp server. I seem to have missed something because the mail.log tells me: Jan 19 11:23:11 mediaserver ...
3
votes
1answer
51 views

How to prevent a service from starting until a volume is mounted?

Using Ubuntu 12.04 or 14.04, how can I prevent an upstart service from starting until a couple of network volumes (GlusterFS) get successfully mounted?
-6
votes
2answers
27 views

http stress testing my ubuntu machine [on hold]

I need to check how many concurrent clients can connect on my laptop having ubuntu OS. Can Jmeter be used for this? i downloaded it and was playing with it. But i am not sure about those input fields. ...
11
votes
5answers
21k views

Unknown/unsupported storage engine: InnoDB | MySQL Ubuntu

I recently upgraded from the previous LTS Ubuntu to Precise and now mysql refuses to start. It complains of the following when I attempt to start it: ╰$ sudo service mysql restart stop: Unknown ...
0
votes
0answers
8 views

Ubuntu 14.04 and SADMS in Windows domain. Domain user password for sudo

I'm installed Ubuntu 14.04 and joined it to Windows domain with SADMS. All works good, but when I'm using something that need "root" rights (sudo for example) I need to enter domain user password, but ...
0
votes
1answer
766 views

iptables: No chain/target/match by that name.

I am using this command to attempt to block this vulnerability scanner based on it's string, which is returning an error. # iptables -I INPUT -j DROP -d xxx.xxx.xxx.xxx -p tcp --dport 80 -m string ...