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
1answer
116 views

Ignoring ServerName in Apache2

Just a quick note: I'm pretty new with Apache and my local network may be a bit screwy. I may be completely off-base. I recently setup an internal network Ruby application running on a virtual host ...
0
votes
3answers
354 views

Can I have a list of software to run a two nodes HA Ubuntu (server) cluster?

This is only for experimental purpose :-) I want to learn how to create a High-Availability Ubuntu (server) cluster. What are the basic software requirements? I heard about Beowoulf, heartbeat and ...
0
votes
2answers
126 views

Rails: missing gem roxml

I'm trying to setup a Rails app on an Ubuntu machine, but the app always fails with the error: Missing these required gems: roxml the gem is installed, and appears in gem list. The app requires a ...
3
votes
2answers
1k views

Setup PHP/MYSQL for chrooted jail (jailkit)

I'm running Ubuntu, with PHP5-FPM, mysql & Nginx I've just setup a chrooted jail with jailkit. Now I need to work out how to setup my php and mysql to work within the jail. Google search doesn't ...
1
vote
2answers
476 views

How can I tell if Mercurial is Installed?

I am using another developer's Ubuntu box and trying to tell if Mercurial is installed and working. As @stew pointed out, I did the 'dpkg -l mercurial' command and got this: ...
-2
votes
1answer
1k views

404 page when accessing http://localhost:1111/ [closed]

Is the port 1111 reserved as a default port for the ODBC connection? When I try to point my browser to http://localhost:1111/ it gives a 404 and not a page not found. What is the best way to ...
0
votes
1answer
935 views

Error in Apache: /var/run/apache2 not found

This is more self-answered question but since it drove me crazy I would like to share with the community and maybe someone can tell me why it happened or what it caused. The thing is I wanted to ...
0
votes
1answer
2k views

Ubuntu - PostgreSQL failing with no error message

I've installed PostgreSQL 9.0 on Ubuntu 10.04 using this guide. However, when I try to start the service, I get this back, with no error or message shown. root@srv1:/etc/init.d# ./postgresql start * ...
-1
votes
2answers
657 views

File not found error on ec2 ubuntu 10.10 instance official instance

I created an official ubuntu 64 bit instance 10.10 and I following the instructions given in https://help.ubuntu.com/community/EC2StartersGuide but I execute this command ec2-describe-images -o self ...
1
vote
3answers
751 views

Why, when everything is working properly, an apache restart writes into error.log?

This is just a minor nitpic, but I wonder if anyone can tell me the reason - when I restart apache, these lines get written into /var/log/apache2/error.log [Thu Mar 24 10:20:56 2011] [warn] mod_wsgi: ...
0
votes
2answers
333 views

Installing digital certificates on Ubuntu 10.10

I need to access a clients https website.The client has provided two digital certificates which are required for accessing the website. The certificate names are ...
6
votes
1answer
7k views

Repair a broken sudoers file [duplicate]

Possible Duplicate: Ubuntu : borked my sudoers file, how can I fix it? Problem description: I have broken my /etc/sudoers file by making a typo in it. Now I can no longer use any sudo ...
0
votes
1answer
2k views

What are the ups and downs of CentOS and Ubuntu Server? [duplicate]

Possible Duplicate: CentOS vs. Ubuntu I'm setting up a new dedicated server, and, though I'm mainly familiar with Ubuntu, I'm thinking of trying other systems. I've played a little with ...
0
votes
1answer
142 views

Cronjob problem executing php script

I have a hourly cronjob script that curls a php script. The php script isn't being executed. In crontab -e I have: 1 * * * * /var/www/path/to/script.sh Doing grep ...
-2
votes
2answers
1k views

Have Apache Parse PHP in .html Files on Ubuntu [closed]

I installed Apache and PHP by: sudo apt-get install apache2 sudo apt-get install php5 Then I created a .htaccess file in /var/www with: AddHandler application/x-httpd-php5 .html It parses PHP in ...
1
vote
5answers
85 views

Finding where something is installed on Ubuntu

I am trying to find where someone has installed a software package, and I can not. Is there a good way of finding that other than running a grep on the entire file system? I am running Ubuntu and ...
6
votes
4answers
12k views

Deleting All Partitions From the Command Line

How do you delete all partitions on a device from the command line on Linux (specifically Ubuntu)? I tried looking at fdisk, but it presents an interactive prompt. I'm looking for a single command, ...
5
votes
3answers
3k views

Why does mdadm write unusably slow when mounted synchronously?

I have a 6 disk raid6 mdadm array I'd like to benchmark writes to: root@ubuntu:~# cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid6 sda[0] sdf[5] sde[4] sdd[3] sdc[2] ...
0
votes
1answer
133 views

Get page blank in submit form in php after changed server

I have moved my server data PHP + Wordpress and database(mysql) from one server to another server... All things working fine... but some time i got page blank in click submit button.. This problem ...
1
vote
1answer
1k views

Tomcat 7: editing port on linux

Sorry for the possibly dumb question, but I can't seem to find the answer via google.. I just installed tomcat7 on my Linux computer. When I try to run the server, it says "port 80 required is ...
0
votes
3answers
685 views

Can't do Chmod on Apache error logs in Ubuntu

I am trying to clear the logs and I do not have permission since the file permissions on Apache error logs are like this: -rw-r----- When I tried to do something like chmod 777 error.log I got this ...
3
votes
2answers
3k views

Cron runs my script but script doesn't do anything, something to do with mail error??? “got status 0x004b#012” [duplicate]

I have a seriously weird problem with one of the Ubuntu 10.10 web servers I administer. I wrote a script using ruby and rake to run some tar commands and do a mysqldump of the databases. I've ...
0
votes
1answer
613 views

Nginx can't be accessed from outside?

I got a server set up. It's perfect from 127.0.0.1, but if I try from my "real" ip it loads forever, and then chrome says "Can't connect." Basically it does not allow external access. I'm behind a ...
25
votes
9answers
44k views

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs ...
3
votes
3answers
2k views

Running multiple versions of PostgreSQL on the same Ubuntu server

I have PostgreSQL 8.4 and 9.0 running on the same server (Ubuntu Lucid). I installed them both via apt-get (8.4 with the default package sources, and 9.0 after adding the ppa from ...
0
votes
3answers
546 views

When installing supervisord, how to get it to start on reboots?

I'm on a ubuntu server, once I install supervisord will it start on reboots? How can I find this out?
3
votes
3answers
215 views

Ubuntu in an enterprise: recommendations?

I'm going to move a small office to Ubuntu. Typical tasks: VoIP, E-Mail, documents, RDP access, ERP, printing, file-sharing. What stack of technologies & solutions can you suggest to use for ...
1
vote
1answer
634 views

vsftpd: setting up new user for FTP server in Ubuntu Linux

Cannot setup a new user for vsftpd FTP server. My http server's root directory is in /var/www/someuser Main user has it's home directory in /home/mainuser When I login with this user, it's Okay, but I ...
0
votes
1answer
1k views

Getting “Insecure world writable dir /home/chance ” in PATH, mode 040777 for Rails and Gem on Ubuntu 10.10

I've tried this but it didn't work and seemed to be for osx. I have a fresh Ubuntu 10.10 (x64) install with rvm, rails 3 and ruby 1.9.2. I have a new rails app but using either gem or rails results in ...
2
votes
2answers
660 views

Ubuntu: Compressed, but not encrypted, tunnel for TCP?

How can I set up a tunnel for TCP connections between two hosts so that I can test a few different compression algorithms? I'm aware of stunnel & SSH, but want to avoid the overhead of ...
2
votes
1answer
2k views

Postfix: How to configure Postfix with virtual Dovecot mailboxes?

I have configured a Postfix mail server for two domains: domain1.com and domain2.com. In my configuration domain1 has both virtual users with Maildirs and aliases to forward mail to local users (eg. ...
0
votes
1answer
690 views

Where is the EC2 Ubuntu RSA Certificate and private key located for use with SFTP?

I've installed vsftpd on an Ubuntu EC2 instance but I'm not sure where the certificate files are to enter into vsftpd. The documentation says I need to add the following lines: ...
0
votes
3answers
1k views

Script (bash) to automatically start/restart nginx (if it fails)

Can someone help me to setup nginx on my box? I have compiled it (i'm using it to run Django app using uwsgi_rs). Its running OK but i have to start it manually. How can i setup it to autorun? And ...
1
vote
1answer
243 views

How to change switch to a different root partition

I am using AWS EC2 instance with Ubuntu 10.04 installed on it. I start with the instace which has its root partition at /dev/sda1. Later I want to attch a new EBS volume at /dev/sdb1 and want to get ...
1
vote
1answer
331 views

Unattended upgrades on Ubuntu, for *all* packages (from any repository)

I'd like to have my Ubuntu system automatically upgrade all packages. I added to my /etc/apt/apt.conf.d/10periodic: APT::Periodic::Unattended-Upgrade "1"; However, I still need to maintain the list ...
1
vote
1answer
388 views

Permission problems with Clamfs

been trying to get clamfs working on Ubuntu 10.4. It seems like everything is working, clamfs locates infected files and prevents me from opening these. But I am having permission troubles with a ...
0
votes
1answer
528 views

Intermittent MySQL database connection errors on Ubuntu server

We have a small 768mb RAM VPS running Ubuntu 10.04 server, hosting a few low-traffic websites and an Etherpad instance. We've been running this setup for more than 6 months, and very recently have ...
0
votes
1answer
396 views

How to access remotly to a mysql server?

I'm trying to access my remote mysql server from my own computer. I uncommented: bind-address = 80.10.65.45 I added 80.10.65.45 as a server in privilege root 80.10.65.45 yes ...
6
votes
1answer
987 views

Install problems with XSendFile on Ubuntu

I installed the apache dev headers: sudo apt-get install apache2-prefork-dev Downloaded and compiled the module as outlined here: http://tn123.ath.cx/mod_xsendfile/ Added the following line to ...
1
vote
1answer
983 views

nginx virtual hosts are not working, all vhosts goes to the default one

I just did a clean install of nginx + php-fpm on a VPS running Ubuntu 10.10, nginx is serving and PHP is working fine, but I'm not able to add vhosts to it. Well, I can add them, but only one works, ...
1
vote
1answer
181 views

Gitosis, created testproject, but can't create more projects?

I followed this tutorial to install gitosis on my homeserver(ubuntu 10.10 server edition): https://help.ubuntu.com/community/Git . After a lot of fiddling around because it didn't work(something with ...
2
votes
2answers
1k views

Ubuntu 10.10 / Debian preseed keyboard origin seed

Using a preseed file for Ubuntu 10.10 alternate, I am unable to skip pass the "Origin of keyboard" question. Any ideas why? My preseed file is as below Reference link here #### Contents of the ...
0
votes
2answers
459 views

Need help with local network printing while using VPN on Ubuntu 10.10 desktop

I can print to my HP printer via the LAN when I'm not connected to the VPN. When connected to the VPN, printing fails. OpenVPN 2.1.0 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] ...
0
votes
1answer
474 views

which permission should be for client svn folder?(Ubuntu)

which permission should be for client svn folder?(Ubuntu) the case: I should download files from svn server to my computer and able to do all svn action as programmer that doing change in the ...
3
votes
2answers
15k views

Install openssl-dev on Ubuntu server

In order to compile NGinx in need to install openssl and openssl-dev (I'am following a book guide). So i'am doing this : sudo apt-get install openssl openssl-dev But i get an error telling me that ...
2
votes
2answers
836 views

mysqldump is not dumping my data

I am running mysqldump on Ubuntu Linux (10.0.4 LTS) my mySQL version info is: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1 I used the following command: mysql -u ...
3
votes
1answer
2k views

Installing Glassfish 3.1 on Ubuntu 10.10 Server

I've used the directions here to successfully install Glassfish 3.0.1 on an virtualized (VirtualBox and VMWare) Ubuntu 10.10 Server instance without any real difficulty not resolved by more closely ...
6
votes
2answers
2k views

Good/Better config for MySQL on an EC2 Large Instance

I have an EC2 Large instance dedicated to MySQL. It will be serving a Joomla/Magento combo so it has a blend of InnoDB and MyISAM tables. I have only worked with MyISAM in the past and am therefore ...
4
votes
3answers
5k views

How do you check the health of individual hard drives in a RAID array?

I'm running a simple 1 TB RAID 1 array with mdadm on Ubuntu Server 10.10. I would like to simply check the status of each hard drive to make sure their both functional before it is too late. How ...
0
votes
1answer
779 views

Raising Exim4 smtp_accept_max on Debian / Ubuntu

Debian/Ubuntu seem to have very complex Exim4 configuration files: Understanding exim configuration files What would be the recommendation if I want to raise the value of smtp_accept_max value? Is ...