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
2answers
91 views

(Ubuntu) How to ensure that webserver has been started before the desktop environment is shown?

I'm trying to create my own Linux distro in LiveCD format. I have put a webserver in my Linux LiveCD, and make it automatically startup during boot time. I have made the LiveCD to auto-login to ...
5
votes
1answer
23k views

Loggin in ssh server: Permission denied, please try again

I'm trying to login to my ssh server using a username and password, but I get this error after entering the correct password: Permission denied, please try again. I can login using a pubkey on ...
0
votes
3answers
129 views

Virtualising my Ubuntu server

H. I have Ubuntu running on a server and I use this for all development needs. I'd like to isolate my production and development environments and therefore I thought that it would be good to ...
0
votes
3answers
574 views

mysql access denied for

I'm having some difficulties with MySQL on my Ubuntu box. Just installed Apache, MySQL, PHP and phpMyAdmin. phpMyAdmin gives: #1045 Cannot log in to the MySQL server on every login attempt. I've ...
0
votes
1answer
456 views

(Ubuntu Server 11.04) Proftpd permission denied with USB HDDs

I have an external HDD mounted in my server. It's on /dev/sdb1 (or /media/usb0). I have a proftpd user which home directory is set to /media/usb0. The problem is that the ownership of /media/usb0 is ...
1
vote
4answers
206 views

Diff for a locally modified package in Ubuntu

If I modify the source code of some package that I've installed with apt-get in Ubuntu, is there some package tool that will let me see the diff between what was the original installation and my ...
7
votes
3answers
3k views

How to get the number of available updates on an Ubuntu system as a normal user

I need this for a simple monitoring script which i don't want to run as root...
3
votes
4answers
3k views

Couldn't find package gitolite on Ubuntu 10.04

I've been following this tutorial and I'm stuck on sudo apt-get install gitolite with the error Couldn't find package gitolite I've been Googling around for a while now, no one else seems to ...
3
votes
1answer
9k views

BIND9 forwarders not working. Internal DNS resolves but doesn't forward requests it can't process

I have BIND9 set up with proper recorders for my domain example.com, something.example.com is actually working... When I have my DHCP server pointing at this DNS server I can get to webmin ...
0
votes
2answers
267 views

Questions on DHCP server setup

I'm fairly new to networking of this so I have a lot of questions... any help is appreciated. I'm setting up a DHCP server and I've run into a few problems... Here is my current setup: Router IP: ...
3
votes
2answers
844 views

What is an easy way to setup authenticated HTTP or SOCKS proxy?

What is an easy way to setup authenticated HTTP or SOCKS proxy on Ubuntu Natty? None of the simple proxy servers (e.g. tinyproxy) support authentication and I could not seem to get dante working.
1
vote
2answers
122 views

Fast, reliable, open source encryption for large logs

I intend to use cloud storage for some of my application logs. These logs might contain confidential business data, so I would like to encrypt them prior to upload. For security reasons, I prefer ...
2
votes
1answer
768 views

Configuration of NameVirtualHosts

Hi, this is my first post, hope you have patience about my novice skills :P I try to configure my apache2 server (ubuntu) using NameVirtualHost. At this moment i have 3 domains pointing at my static ...
0
votes
3answers
2k views

Ubuntu: Cannot apt-get upgrade server, dpkg permission denied even when root?

I've ran a general audit of the system and found that a few packages were aging, such as OpenSSH and related so I went to apt-get update then upgrade. Unfortunately it seems to get the packages ...
2
votes
2answers
724 views

Ubuntu Daemon Best Practices?

I have a RingoJS webserver (runs atop Jetty) that is part a an Apache reverse proxy setup. I would like multiple Ringo processes to run autonomously in the background, startup automatically on ...
1
vote
1answer
218 views

Erratic Seconds_Behind_Master

One of my MySQL slaves will at one moment, report 57 seconds behind master, and the next will show 0. I am also monitoring with mk-heartbeat which shows an average of less than 1 second. MySQL and ...
0
votes
2answers
143 views

When is it appropriate for a server to handle multiple functions and when should servers be dedicated to a single task?

I have one fairly powerful server running VMware ESXi to allow for multiple virtual machines to handle different purposes. Currently I have 7 set up: PHP Development PHP Staging RoR Development RoR ...
0
votes
1answer
471 views

Internal DNS Server's Interactions with Local Client Computers… How do they work?

I'm setting up Split Horizon DNS. I have an internal DNS server, running Ubuntu Server 10.04. Everything has been set up properly as per this article's instructions. (I know that it is a mail server ...
0
votes
2answers
799 views

Error 403 with XAMPP on Ubuntu with created files and folders

I'm used to work with XAMPP on Mac without problems, using it on Ubuntu probably giving me some user permission problem. I've set the XAMPP security as the guide too. I've installed and tested ...
1
vote
1answer
684 views

grub rescue prompt

Had win7 and ubuntu installed on laptop and inadvertently selected the recovery option in boot menu - exited and now all I get is error: no such partition grub rescue> set returns: ...
1
vote
2answers
316 views

Best way to enable an user account to run supervisorctl?

I've just finished setting up supervisor to run my gunicorn instances and I was wondering if there is a default way to let a regular user run supervisorctl to start/stop the websites. I was thinking ...
1
vote
3answers
903 views

Break-in attempts on Ubuntu VPS box [duplicate]

Possible Duplicates: Is it normal to get hundreds of break-in attempts per day? What should I do if I find someone is brute forcing my server password? I have an Ubuntu 10.04 VPS box. ...
0
votes
1answer
792 views

Firewall on a KVM host, prevent access to VM:s

I have a Linux machine running KVM with several VM:s, all have public IP:s. For the time being I have everything routed through a bridge (br0) and this works well. I also need a firewall on the host ...
0
votes
1answer
590 views

Ubuntu, www-data user cannot write to owned file

Help, I have a mission critical VPS runing Ubuntu 10.04 , which I am using for django. the web-app has been running fine for a month and then suddenly I can't write to the sqlite database anymore, ...
0
votes
2answers
355 views

Special characters in bash prompt not working (colored username)

I am using: red=$(tput setaf 1) green=$(tput setaf 2) blue=$(tput setaf 4) reset=$(tput sgr0) export PS1="\[$red\]\u\[$reset\]@\[$green\]\h\[$reset\]:\[$blue\]\w\[$reset\]\$ " export EDITOR=nano ...
0
votes
1answer
286 views

Timezonesetting not honored, system keeps sitting on timezone

whatever I try, my system (Ubuntu) stays at BRT time instead of CET. I have tried: sudo dpkg-reconfigure tzdata and set the timezone to "Europe/Berlin". date still shows BRT instead of CET or ...
0
votes
1answer
236 views

Set alternate log file for iptables with syslog-ng

Does anyone know how to set an alternate logging file for iptables with syslog-ng on Ubuntu Server?
0
votes
2answers
1k views

mySQL on Ubuntu connecting from outside

Right now I have an ubuntu server that has mySQL. I am able to connect to it using the command mysql -u root -p (password) I've been looking online and cannot find a solution that has worked. What ...
2
votes
5answers
2k views

Is there any way to automatically prevent running out of memory?

I am often running out of memory on my VPS ubuntu server. I wish there was a way to simply restart apache2 when it starts running out of memory, as that seems to solve the problem. Or am I just too ...
1
vote
2answers
108 views

Virtual Machine and IP addresses

I am using VirtualBox to run a Ubuntu 11.04 Server as a guest OS. However, using NAT the VM get's a private IP. I want my guest oses to get their own IP on the network the host is on. I.E., my host's ...
1
vote
1answer
2k views

nginx won't start at boot

I have just installed Ubuntu Server 11.04 (Natty Narwhal) 64 bit. Then installed nginx via: sudo apt-get install nginx I configured it properly and ran it with: sudo service nginx start At this ...
3
votes
1answer
5k views

How do I change HOSTNAME on an Ubuntu server?

I'm attempting to change the hostname on my shared server with Slicehost so I can setup Postfix as a null client. I edited /etc/hosts and after reboot, the hostname is still incorrect. What am I ...
0
votes
1answer
758 views

Ubuntu server 11 showing weird characters on console

I've installed Ubuntu server 11 after my last hard drive failed to perform. The install process and GRUB screen are OK but I have a problem with the console. I attached two photos because it's ...
2
votes
1answer
90 views

Server not repsonding after Ubuntu upgrade

I have a server that was running Ubuntu 8.04. I upgraded Ubuntu via the command-line and got no warning messages. After it was done the server restarted but now I am unable to SSH back in. My site is ...
19
votes
7answers
42k views

Is there a proper way to clear logs?

I was wondering if there was a proper way to clear logs in general? I'm new to Ubuntu and I'm trying to set up Postfix. The log in question is /var/log/mail.log. I was wondering if there was a ...
4
votes
2answers
747 views

Hot-swap drive got new name, can I change it on-the-fly?

One of the HDDs in my server's RAID config failed, so I took it out of the array and had the data center hot-swap it. They've done that, but now the new drive is /dev/sdc rather than /dev/sda. I ...
1
vote
1answer
160 views

Should I clone a physical server to create a vm for a staging server?

I have an Ubuntu 9.04 physical server in place and need to create a staging server for our software development efforts to push releases out to so we can evaluate if the software is ready for ...
0
votes
1answer
199 views

Which objectClasses are compatible for Ubuntu Ldap Authentication

I have an Ubuntu server running slapd. I've configured the same box as an ldap client. Logging into Ubuntu via LDAP works great as long as I follow these steps: Create group named 'testgroup1' ...
0
votes
2answers
579 views

I have to restart nfs service every time after I boot Ubuntu Server 11.04

After a reboot of my Ubuntu server, the nfs shares and not accessible. I have to do sudo /etc/init.d/nfs-kernel-server restart and then clients can mount the nfs shares just fine. The service is ...
2
votes
1answer
214 views

How to prevent a global svn update?

I'm taking steps to prevent someone (i.e. me) accidentally wiping the production server out. I'm currently looking at SVN. I'm concerned that someone could accidentally issue the svn update command ...
0
votes
2answers
638 views

Port Forwarding failing only to Ubuntu servers from Draytek router

I know this is a kinda unusal question, but Draytek support (..which is very eager to solve the issue) seems to reach its limits. Scenario: Draytek Vigor Multiwan router with current firmware. ...
4
votes
2answers
6k views

.pgpass with postgreSQL not working

I have put a .pgpass file in /folder/.pgpass and it looks like this *:*:*:postgres:password_for_postgres I have a bash script where I backup the database from postgreSQL: #!/bin/bash export ...
2
votes
2answers
399 views

How to upgrade from Ubuntu 9.04 to 10.04 LTS

I (erroneously) setup a corporate Ubuntu server nearly three years ago with Ubuntu 9.04, instead of the 8.x LTS. What's the best path for me to take now in order to get this server to an LTS based ...
2
votes
4answers
3k views

How does an internal DNS server work in relation to our local servers and domain names?

How can an internal DNS server work in relation to a domain name we currently own? If my company's website is example.com and it currently points to a DNS server elsewhere that points to the ...
0
votes
2answers
389 views

Uploads fail with shorewall enabled

I have an Ubuntu 8.04 server with shorewall 4.0.6 installed. When I try to upload files using FTP, SCP, or cURL the file upload stalls almost immediatly and eventually times out. If I turn off ...
3
votes
2answers
538 views

Scripting installation of a virtual package provider on Debian/Ubuntu

First, what's the simplest way to get a list of (real) packages that provide a particular virtual package? 'aptitude show' seems to include it in the output for a virtual package, but 'apt-cache show' ...
0
votes
1answer
2k views

/usr/bin/env: ruby1.8: No such file or directory

Problem Trying to setup CI Joe (https://github.com/defunkt/cijoe) and I get the following error: /usr/bin/env: ruby1.8: No such file or directory What I'm doing CI Joe is run as www-data, and the ...
1
vote
1answer
295 views

ubuntu ec2 instance - apply security updates

Currently, my company has several ubuntu-based instances running on Amazon EC2, being released, in the meanwhile, multiple updates, including security related. Once all instances are ebs-based (for ...
2
votes
1answer
1k views

How do I turn off etckeeper. It's preventing me from upgrading Ubuntu

I'm trying to upgrade from Ubuntu Karmic to Lucid, but it fails because etckeeper detects changes which happen during sudo do-release-upgrade and prevents the running of apt. How do I temporarily turn ...
1
vote
1answer
1k views

Gitosis installation of public key not working

I've been following this tutorial to install and setup git on Ubuntu Server 10.04 using Windows 7 as a client. However, after finally figuring out how it works (executed gitosis-init a bunch of times ...