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)

1
vote
1answer
957 views

ModRails for Apache2 Setup: Failing to load?

I'm trying to perform a fresh install of Ruby on Rails running with Apache2/Passenger on Ubuntu. I was able to successfully install apache2, rvm, ruby, rails and passenger, the latter part following ...
0
votes
1answer
229 views

Ubuntu server 11.10 - create nameservers

i don't know much about this, so i will need you to give directions in order to better understand whole this thing. I have dedicated server, which i configured to use as web server. When i type in my ...
9
votes
2answers
17k views

nginx without server_name and using only static ip address?

this is my first web app deployment and am running into all sorts of issues. I am currently going for a nginx + gunicorn implementation for the Django app, but mostly this question relates to nginx ...
1
vote
1answer
7k views

Can't get the L2TP IPSEC up and running

i have an Ubuntu 11.10 (oneiric) server running on a ReadyNAS. Im planning to use this to accept ipsec+l2tp connections through a router. However, the connection is failing somewhere half through. ...
-1
votes
1answer
1k 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 postfix/...
0
votes
1answer
2k views

Ubuntu server dhcp - duplicate leases

So we have an ubuntu server running DHCP & DNS managed through webmin (because it's less effort ) Nothing is BROKEN, but I noticed duplicate leases showing. Anyone know why and how I can prevent ...
1
vote
1answer
220 views

Using wordpress as a subdirectory of a drupal installation?

I'm running Ubuntu 10.04 with NginX 0.7.65. I have Drupal installed in the root directory and it works perfectly with an appropriately configured vhost file, but now I would like to install Wordpress ...
0
votes
1answer
410 views

Crontab have permission issues on file of its owner? Permission denied

I have a very simple cron job written in shell script, which scp a file from another server to local. e.g, #!/bin/bash scp $REMOTE:/$FILE ./ Of course, the server need a private key to login, ...
11
votes
2answers
2k views

Anyway to get GRUB failsafe to timeout?

I've got a bunch of headless servers installed in random (remote) locations all running Ubuntu 11.04. Sometimes the boxes go down and never come back up, eventually someone goes out to check on them ...
1
vote
2answers
5k views

Is it possible to block users from leaving their home directory?

I'm creating a webserver, and I will have many users ssh/sftp into it. All they need to do is within their home directory, for example, /home/user/. Many people have told me to use chroot, but it ...
0
votes
2answers
172 views

What did i do wrong in bind settings?

I have a machine on my network that I am using as a DNS server / file server and it is running webmin. its ip is 192.168.0.223 and when i try to connect to it without ssl on the webmin port (http://...
0
votes
3answers
2k views

Installing MySQL 5.6 on Ubuntu

I need to install mysql 5.6 on my ubuntu machine for development reasons (the newest version contains features that I need to incorporate into some web projects). But I am having some issues. I've ...
0
votes
3answers
360 views

Is the httpd port open or something

I just setup a new amazon ec2 instance and installed apache and setup the configs and everything but when i visit the url there is nothing....do i have the proper ports open and asscociated to apache.....
6
votes
2answers
12k views

OpenLDAP - where is my slapd.conf?

I have installed OpenLDAP on Unbuntu 10.04. I wanted to configure my ldap but I can't find slapd.conf in /etc/ldap/ In this directory there is a ldap.conf but seems not to be the same. How can I ...
3
votes
2answers
127 views

How to create a link outside of the jail, but accessable within the jail?

I have created a chroot jail, but now I want to be able to create a link within the jail which links outside of the jail. Is this possible?
7
votes
3answers
2k views

What does a Ubuntu Server admin need to know about CentOS

I've been on Ubuntu Server for the past several (5-ish) years, but I am seeing a lot of jobs that are looking for RHEL or CentOS experience. What differences, aside from package managers (dpkg/apt/....
1
vote
1answer
1k views

setlocale error with chroot

I have created a chroot jail and when I log in I get a bash warning bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) I tried to google the error, but wasn't able to find a ...
2
votes
1answer
662 views

How to implement and modify policies for Role-based access control on Ubuntu Linux?

Selinux is currently installed on the machine but there's no simple way to enable and modify RBAC for users. Seedit is available for Fedora and CentOS but it is not working on Ubuntu distros. Are ...
0
votes
3answers
1k views

CPU context switch per/second increasing with network traffic increasing

I have server with ubuntu server operation system, i have some applications on it which works with network. With an increase in network traffic, CPU context swithching and interrupts are also ...
15
votes
3answers
16k views

Do I need to refresh or restart anything after I add/update a crontab in Ubuntu Server 8.04?

When you change something in Apache you need to reload or restart apache. Does anything need to be refreshed or restarted in Ubuntu Server 8.04 after I add/update the crontab? Thanks a bunch for your ...
1
vote
2answers
441 views

Interupts and context switching

I have server with Linux ubuntu 3.0.0-12-server #20-Ubuntu x86_64x operation system. I run erlang/otp application on it. Under high load i see that i server has very high context switches and ...
0
votes
1answer
102 views

Permission changes of home directory of first user created are not being applied to other users

When I first installed ubuntu server 10.04 I created my first user 'bonzo'. When I'm logged in as bonzo the permissions on directory /home/bonzo are 755. However when I'm logged in as any other ...
1
vote
0answers
382 views

SFP port mirror on 5548 - not working

For the sake of monitoring my internet connection I have set up a port mirror on my Dell powerconnect 5548 from the SFP port to a 1Gb port on the switch, connected to my monitoring interface. The SFP ...
5
votes
4answers
12k views

How to setup Apache NameVirtualHost on SSL?

I would like to set the A record of two DNS to point to my Ubuntu intance. Apache should then read the domain name accordingly and point the incoming request to the right physical path. I have set ...
3
votes
1answer
158 views

What is the way to update /lib/modules after copying disk to a different system?

I have transferred the disk of a a Hardyvirtual machine to another virtual machine with a different kernel but there is no equivalent of /lib/modules// on disk. How can the /lib/modules of the new ...
0
votes
1answer
1k views

Getting a 503 error but there's nothing in the Apache error log

I'm getting a 503 error whenever I try to request any page. I really don't know how to go about fixing this problem. I've checked the error.log and this is what it contains: [Fri Jan 13 19:03:41 2012]...
3
votes
2answers
2k views

How to backup ubuntu server and restore on a new computer

I have a dedicated (virtual) server, to which I have only SSH access to. I would like to backup/clone the server to my local virtual machine. I tried to backup with tar all the essential files, but ...
2
votes
1answer
2k views

Ubuntu Upstart job - “stop” is not recognized command

I need some help with this; endless upon endless scripts look exactly the same -- yet I can't seem to stop the job associated with an upstart script. I'm using any of the newest Ubuntu Elestic AMIs ...
0
votes
2answers
915 views

How to setup VirtualBox with static IP?

Host OS has one nic with 4 static IP address x.x.x.250-x.x.x.254 I have installed Ubuntu as a Guest OS with bridged networking. I would like it to have static ip x.x.x.255 As I mentioned earlier, ...
1
vote
1answer
396 views

Nginx daemon doesn't want to stop on Ubuntu

I've got an Ubuntu 11.04 i386 server with Nginx 1.0.11. I'm also using this init.d script - the only one I've found. The server starts up well, but each time I'm trying to stop or restart it, the ...
4
votes
2answers
3k views

Gearman Job Server / Ubuntu

I have Gearman installed, running and passing jobs around perfectly fine but only when I manually start up the job queue with this command: /usr/sbin/gearmand -p 4730 -vvvv -u gearman If I do this ...
3
votes
1answer
538 views

Installed 2TB disk in ubuntu server, dmesg reports it as 9444732965540666 MB

I've have an ageing Linux server running on Dell PowerEdge hardware, with a SAS 5IR RAID controller. It has a pair of SAS 146Gb disks in a RAID 1 configuration that has the OS and other software. I ...
1
vote
2answers
574 views

Is HP p212 raid controller supported on Ubuntu 8.04 server LTS?

sorry for my simple question, however I can't find any useful resources on the internet. Except the official HP page about my p212 here. From this I understand that HP doesn't support Ubuntu 8.04. But ...
0
votes
1answer
335 views

loading testing from a one ec2 linux/ubuntu instance to another ec2 linux/ubuntu instance

I wanna run a load/stress testing on ubuntu ec2 small instance. I could have done it using Jmeter from my laptop itself, but that would actually consume lot of bandwidth and also I feel I cant get the ...
1
vote
2answers
345 views

What dangers (and should I be worried) are there from attempted break-ins? (reported by OSSEC)

I've installed OSSEC on my server and I've been getting reports similar to the following: Jan 11 19:27:03 Daddy sshd[14459]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=...
0
votes
1answer
882 views

Ubuntu 11.10 on VMware Player - No network behind proxy

I have VMWare Ubuntu 11.10 guest hosted on Win7. When behind a proxy, I am able to browse with chrome / firefox but all other network activity does not work (i.e. curl, system update, apt-get, etc.) ...
2
votes
2answers
4k views

Auto scaling AWS EC2 instnaces based on memory utilization

I am setting up auto scaling based on memory consumed by the particular instance. I went through the link posted at awsforums. I was able to set my metrics and using the bash script given and with the ...
0
votes
1answer
202 views

Ubuntu juju and Eucalyptus?

Has anyone used juju (ensemble) to deploy softwares on Eucalyptus' instances successfully ? Although the official FAQ says that juju is only support EC2 ( currently ), but I've found someone (ex.) ...
-1
votes
1answer
73 views

Old ubuntu password

I know how to set new password of root in ubuntu 10.04 if I don't know root pasword and grub has no password . I want to know that whether I could get the old password which was set before I changed ...
0
votes
2answers
811 views

Is it safe to use Bitbucket as a remote for an /etc Git repo?

I'm worried about SSH private keys and such. I'm not quite sure what else is a security hazard but I'm sure there are many config files which should probably not be uploaded to a third-party website. ...
0
votes
3answers
174 views

How do I make nginx start (user install with passenger) on boot?

I have installed nginx on my Ubuntu 10.04 box. With passenger 3. Now I've got everything setup correctly; how do I ensure that nginx will start on boot everytime?
6
votes
4answers
9k views

How to change libcurl SSL backend from gnutls to openssl on Ubuntu server

I am getting gnutls specific errors in my Tornado webserver while processing Google OpenID SSL responses. One of the suggestions I got from Tornado mailing list is to try OpenSSL backend instead of ...
0
votes
1answer
198 views

Is uploading a 500mb file to s3 an expensive operation? Any way to limit cpu usage etc?

On a production server, I'm planning on uploading a single file or a set of files that may be 500 megs in size. I havent' test it just yet, but just want some opinions on whether you think this will ...
0
votes
2answers
311 views

Is there a way to automatically forward ports over SSH upon a user successfully logging in?

I've looked around Google for a solution to this problem and I may be horribly over-complicating it. All I'm looking for is a way to automatically forward certain ports as soon as a user logs in. ...
0
votes
1answer
554 views

Ubuntu - execute batch script after finishing ftp copy

I have a process that starts with an end user copying picture files to a Ubuntu folder over ftp using filezilla software. On the other hand I have a batch file that gets executed using CRON it is ...
1
vote
2answers
5k views

How to uninstall ubersvn in Ubuntu?

I cannot find a good/official way to do this in Ubuntu. The best one I got from googling is this post. So how can we completely remove UberSVN after installing it?
0
votes
2answers
2k views

find the path of jdk and set JAVAHOME

I've got java installed on my Ubuntu VirtualBox, and I am trying to run sunspot, but sunspot can't find java. typing 'java' from the command line return The program 'java' can be found in the ...
0
votes
2answers
2k views

NFS support in iptables (or other firewall)

How do I enable NFS mounts/shares with iptables with DROP policy? NFS uses dynamically assigned ports, thus it is difficult to use with firewalls. I have an NFS server and a few clients. I would ...
-1
votes
1answer
1k views

Ubuntu: How to change Dovecot POP3 default port to 110?

I was trying to log in to my email from Gmail POP3 feature and I had to try every single port to connect to my mail server. What's the command on terminal or what file I have to change the Dovecot ...
1
vote
2answers
1k views

How to set the auto scaling policy based upon memory

I was able to set the auto scaling policy and also tested works fine, I am using EC2 small instance to run Ruby on Rails app, since Rails is more of Memory Intense platform I wanna scale the EC2 ...