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
280 views

ubuntu change default files and folders permission

i have ubuntu 10.04 on my server. when i was create a file by ftp, php and ... files permission is 600 and folders is 700. how can i change default files permission into 644 and folders to 755? ...
0
votes
1answer
101 views

Multiple domains in apache

having difficulties setting multiple domains when I sudo a2ensite example2, it doesn't load regardless of whether exampe1 is enabled or disabled...and of course takes down example1 with itself . ...
2
votes
0answers
202 views

How to add SSL for localhost in RAILS

I want to test my application which needs to work both with and without SSL. If it is possible to set up SSL for a local application (http://localhost:3000), please let me know some suggestions, my OS ...
2
votes
3answers
1k views

How can I log user activity on SSH [duplicate]

Possible Duplicate: How do I log every command executed by a user? How can I log SSH activity on 10.04 Ubuntu Server? This includes all commands he issued and output he got.
0
votes
1answer
333 views

Blank screen when setting console resolution on Ubuntu 10.04 Server

I've tried 3 different systems including VMWare with very same Ubuntu 10.04 (Server Edition) basic installation. Phisical computer VirtualBox VMWare On first two, I am able to easily change ...
-2
votes
3answers
95 views

How to allow just a specific ips from connect to my server? [closed]

I own a vps with Ubuntu 10.04 and i want to make it just accessible to me and one friend mine through dyndns hosts. It's possible block all others ips?
1
vote
1answer
801 views

Only serve requests to a specific domain?

I'd like to only server requests that are made to a specific domain and just drop everything else or give it 404. Would prefer to see it done through nginx but would of course like the best solution.
0
votes
1answer
507 views

Ubuntu 10.04 Port 3306

I am trying to open port 3306 in Lucid, but when I do netstat -tan|grep 3306 it just shows me tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN What I am going for is: ...
1
vote
2answers
86 views

Network interface on ubuntu with only 0.12MB/ s on a new root server

---- edit: Problem solved. Somehow my provider seems to block tests to the internet. Tests from a remote machine succeeded with 1k r/s --- I am running a fresh compiled version of Apache 2.2.1 on ...
0
votes
1answer
887 views

wget wont work on ubuntu 10.04

i just get my new web server (Ubuntu 10.04) at Leaseweb and when i try to install Virtualmin i get this error : wget http://software.virtualmin.com/gpl/scripts/install.sh --2012-02-11 ...
3
votes
1answer
1k views

Setting up a Linux client for OpenLDAP over SSL

I'm trying to set up SSL with a server running OpenLDAP (and using OpenSSL, not GnuTLS). The server seems to be working fine: I can authenticate using ldap:// and can also use ldaps:// from Apache ...
0
votes
1answer
575 views

Apache proxypass virtual hosting for backend redirection

I have a apache proxy load balancer running. I have a domain wiki.mydomain.com registered to this lb. I am trying to make proxy redirect from wiki.mydomain.com to the backend ...
0
votes
1answer
250 views

Ubuntu Server SSH does not autostart

I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create ...
1
vote
0answers
334 views

Vsftpd virtual users hidden quota?

I have a problem with vsftpd on Ubuntu 10.04 LTS. I have configured vsftpd enabling virtual users, everything works fine until the size of the specific virtual users home dir reaches 40GB then I get ...
1
vote
3answers
678 views

Unable to use FQDN when using local network (Ubuntu Server 10.04, dd-wrt)

Networking newb here... I seem to be having an odd networking issue. When I am using a PC/laptop/Smart phone on my local network I am unable to access web pages (or email) on my network server using ...
1
vote
1answer
129 views

Files disappeared from server, old ones shown instead

Recently I ran into a very strange phenomenon with one of the servers I manage used to serve samba shares over the local network. It was running Ubuntu Server 8.04 and I decided to upgrade the ...
1
vote
2answers
729 views

How do I do IP Failover for my Public IP address with Linux HA

I did a lot of experiment with heartbeat, corosync and pacemaker for IP FailOver which I have to do with Public IP. I did more than one ip failover(VIPs) with two nodes, also with three nodes BUT ...
-1
votes
2answers
397 views

setting server hostname

I'm using ubuntu 10.04 on my server and I'm looking to set the hostname. Looking around it seems I have to set this in the /etc/hostname file, but on my system I do not have one. Typing hostname ...
1
vote
2answers
291 views

Server not available after abandoned upgrade

I am running a headless install of Ubuntu 10.0.4 LTS on a PVS. I was carrying out an OS upgrade earlier on today. I SSH'd into the sever and typed the following commands: sudo aptitude update sudo ...
1
vote
2answers
423 views

passenger-memory-stats - root privileges

When I run 'passenger-memory-stats' on my ubuntu server as root I get the following error : -bash: passenger-memory-stats: command not found If I run this command as a user ('deploy' in my case) I ...
0
votes
1answer
535 views

Reset Linode root password

I've recently been put in charge of a Ubuntu server in the Linode platform. This webserver is running a production Rails application with a MySQL database. I need to ssh into it to download a copy ...
0
votes
4answers
225 views

How to determine the cause of high resource usage for two hours last week?

I know there are several tools I can use to find out what's causing heavy network and CPU usage right now, but every so often on my server I'll check the logs and notice that there were periods of ...
0
votes
1answer
101 views

Linux/Apache: Give FTP User ability to write to folders

I am pretty sure this there is an easy solution to this problem but I just can't seem to find the answer. Here is my issue. I have installed vsftpd on my ubuntu 10.04. I created a group and a user ...
4
votes
4answers
4k views

Haproxy mysql failover load balancing

I have setup mysql master-master replication and now I am trying to load balance mysql servers with Haproxy. Load balancer: 192.168.1.5 mysql1: 192.168.1.7 mysql2: 192.168.1.8 The below haproxy ...
0
votes
1answer
458 views

SAN Boot CHAP'd iSCSI Target?

I have a few computers on my network that boot via iSCSI (due to dead HDDs) using chainloaded iPXE over DHCP. I wanted to enable CHAP for my iSCSI target to increase security (and learn). However, ...
2
votes
2answers
432 views

Meraki's Accounting-Requests to RADIUS server

I'm running a RADIUS server with some Meraki APs, the process of Authentications is fine... But it seems that the Meraki Cloud Controller is just sending the authentication packets and not the ...
0
votes
1answer
246 views

Installing nagios plugins

I have worked my way through installing Ubuntu and getting nagios up and running and now monitoring about 60 windows clients with NSCleint. This is working great but now I want to add UPS monitoring ...
1
vote
0answers
179 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 ...
1
vote
2answers
3k 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 ...
3
votes
2answers
109 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?
0
votes
1answer
541 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 ...
0
votes
1answer
125 views

Adding SquashFS support to Ubuntu 10.04 EC2 AMI

I am using Ubuntu provided EC2 AMI for Ubuntu Lucid 10.04 LTS 64-bit and it doesn't come with support for SquashFS built in. Is there a way to add support, so I can mount a SquashFS filesystem?
0
votes
1answer
94 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 ...
6
votes
2answers
2k views

How to define different stop/restart signals with upstart

I am starting to convert all of our systems to using upstart to manage our various application processes. One thing that I am constantly missing is the ability to send a different signal to the ...
0
votes
2answers
580 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. ...
1
vote
1answer
722 views

Unable to compile thrift on ubuntu

I am trying to install cassandra and thrift in my PC. I have successfully installed cassandra. But while making (using "make" command) thrift I am getting the error below: ............... ...
0
votes
2answers
284 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. ...
1
vote
2answers
3k views

TIME+ column in top command is inaccurate

I just ran the top command to observe the following process chown -r me:me allMyMusic And it's been running for about 5 minutes, however the TIME+ column in the top command has reported it as ...
1
vote
1answer
183 views

Why is the munin apache_activity plugin checking /server-status on a different server?

I have two web servers at different locations (let's call them WEB1 and WEB2) being monitored by the same Munin server. Today, I noticed the following error in the apache logs for WEB1: [error] ...
6
votes
4answers
739 views

postgresql on Ubuntu 10.4 doesn't start on boot

I'm trying to have postgresql 8.4 start on boot on Ubuntu server 10.04 (64bit). First, I tried putting: su -c 'pg_ctl start -D /home/postgres -l /home/postgres/serverlog' --preserve-environment ...
2
votes
3answers
5k views

Connection refused. Why can't I send email from one server but I can from another?

I'm trying to send email from PHP using mail(). I have complete access to both servers. No unusual iptables rules on either (nothing blocking a default install of sendmail) I installed sendmail on ...
0
votes
2answers
192 views

Command not found

I downloaded the AWS CloudWatch command line api and I have also set the env_path variable that is AWS_CLOUDWATCH_HOME=local/usr/CloudWatch. But when I run mon-cmd, I get command not found error in ...
0
votes
1answer
786 views

Tomcat access control exceptions (binding to RMI) with no Security Manager running (Ubuntu)

I'm encountering some strange access control exceptions from a Tomcat servlet (when it tries to bind to an RMI server). I'm running without a Security Manager, and this whole application worked fine ...
0
votes
1answer
374 views

Strip down ubuntu server for performance on virtual machine

We use a ubuntu virtual machine for a local development setup which provides a consistent development environment for all developers and lets them use an OS/IDE of their choice for other work. The ...
0
votes
0answers
325 views

Likewise-open delays Ubuntu Logon when Domain Controller is Down

I previously joined a domain using likewise-open 5.4 on Ubuntu 10.04. Then I left the domain using likewise-open, and switched to using samba to join the domain. Now when I lock the computer and try ...
2
votes
1answer
595 views

virt-install kept on adding --no-reboot - even though I don't want it to

I have a bit of a problem getting my guests to reboot after the OS installation using virt-install. For whatever reason, virt-install insists on inserting "--no-reboot" when you create a VM: ...
2
votes
2answers
748 views

Can't login to Redmine after fresh install on Ubuntu

I did a fresh install of Redmine on Ubuntu 10.04, following the instructions here After the installation, I visited http://localhost/redmine, and the site came up successfully. I then registered a ...
0
votes
1answer
741 views

Ubuntu 10.04 (LTS) DomU on Debian Wheezy Dom0 Xen 4

I have been forced to move from a Centos Dom0 xen 3 Centos + Ubuntu Lucid DomUs To Debian Wheezy Dom0 Xen 4 Ubuntu Lucid DomUs However although I can create new DomUs on wheezy I cannot ...
1
vote
2answers
401 views

Old nginx on ubuntu server?

I have Ubuntu Server 10.04 with all packages updated. When I type nginx -v I get nginx version: nginx/0.7.65. When I go to nginx.org I see that the latest stable version is 1.0.10 Is it different ...
2
votes
3answers
784 views

How to block all root login attempts using denyhosts and or fail2ban?

I currently block all ssh logins using root. But I wanted to go the extra mile and block the ip address of the client who tried to login as root. I currently have denyhosts and fail2ban setup and ...