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)

8
votes
8answers
16k views

How to repair/restore ubuntu 10.04 after 'sudo chmod / 777'

See Also: Why is “chmod -R 777 /” destructive? I changed file permissions recursively on the root directory / by executing sudo chmod -R / 777, and after that my system won't ...
13
votes
4answers
13k views

upstart scripts: run a task after networking goes up

I'm working on moving my current server setup to newer hardware, and migrating from ubuntu karmic koala to lucid lynx. Currently i'm using gw6c (compiled from the gogo6 website, as opposed to the ...
8
votes
1answer
5k views

Changing MySQL data directory in Ubuntu Server 10.04

I was getting the following error when trying to change the data directory in ubuntu server 10.04. 100809 19:33:00 [Note] Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld: Can't find file: ...
5
votes
4answers
3k views

Setting up vsftpd, hangs on list command

I installed vsftpd and configured it. When I try to connect to the ftp server using Transmit, it manages to connect but hangs on Listing "/" Then, I get a message stating: Could not retrieve file ...
6
votes
2answers
2k views

updates in amazon-ec2 ubuntu 10.04 server

I keep getting this message when I logged into my server in ec2 via ssh think this is called MOTD 43 packages can be updated. 22 updates are security updates. but I have already done sudo ...
5
votes
1answer
3k views

Using Upstart to Manage AutoSSH Reverse Tunnel

I'm using upstart to manage a reverse SSH tunnel via autossh. When I do a "sudo start tunnel" the connection comes up just fine; however the command is not being automatically run when the networking ...
4
votes
4answers
6k views

apache server-status not found. check if mod_status is enabled

I've enabled the apache_ plugins on a munin node: ln -sv /usr/share/munin/plugins/apache_* /etc/munin/plugins/ After restarting the node with service munin-node restart here are the errors I'm ...
0
votes
1answer
206 views

Amazon Instance Hung Up (Any Hope?)

I have very, very few users. I was scrapping some data today but that's usually not a problem. I've attached a screenshot of my instance stats. Everything has normalized and the instance is still ...
1
vote
2answers
689 views

Trying to set up OpenVPN server on a vps

I'm trying to set up an OpenVPN server on my VPS for myself when I'm in public places, using this tutorial, http://tipupdate.com/how-to-install-openvpn-on-ubuntu-vps/ However whenever I try to start ...
4
votes
5answers
5k views

Updating Dell PowerEdge firmware on Ubuntu?

The company I work for recently got hands on a batch of second hand PowerEdge SC1425 machines. We'd like to put these to good use. Our operating system of choice is Ubuntu Server 10.04 64-bit, which ...
8
votes
2answers
13k views

Run nginx as a non-root user

I followed this process to installing nginx on my Ubuntu 10.04 Lucid Server http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid I got lost after the point of creating an init ...
3
votes
2answers
104 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?
4
votes
2answers
9k views

How do I upgrade the kernel in Ubuntu Server 10.04?

I'm running Ubuntu Server 10.04 LTS. When I login I see the message: 39 packages can be updated. 18 updates are security updates. The usual formula of sudo apt-get update sudo apt-get upgrade ...
3
votes
3answers
2k views

Allow X Client Display through TCP on Lucid

On Karmic, to allow other PCs to open and X-Window on a station, one had to edit /etc/gdm.conf and change DisallowTCP to false. That file no longer exists on Lucid. I tried changing an entry in ...
2
votes
3answers
895 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.
1
vote
1answer
6k views

add-apt-repository: command not found in Ubuntu 10.04

I installed my VPS with Ubuntu 10.04 64 bit and I even checked with cat /etc/lsb-release and I got DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu ...
1
vote
1answer
191 views

What do I need to do to prevent exploitation of my postfix server?

I have a a web server that needs to send emails, but not recieve them. I have installed postfix (it came with nagios, also installed on this server) and now I need to make sure that my server does ...
0
votes
1answer
4k views

How to upgrade Apache 2 from 2.2 to 2.4 for Ubuntu 10.04

I was in the process of doing a test upgrade from Apache 2.2 to 2.4.3. I'm using Ubuntu 10.04. I would have upgraded to 12.04 for this to see if the upgrade would go a lot smoother. Unfortunately, I ...
2
votes
4answers
2k 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 ...
2
votes
2answers
992 views

Multiple OpenVPN clients on the same host

I'm trying to run two openvpn clients on the same host (let's call this the dual client box), connecting to two different openvpn servers. My dual client box is running Ubuntu 10.04, and I've got two ...
2
votes
1answer
259 views

How do I regain access to root after accidental chsh command that went bad?

I did a silly silly thing. While attempting to change the shell for user 'x' I was in a rush and did not type the users name at the end of the command, so I ended up running this: chsh /sbin/nologin ...
1
vote
3answers
2k views

mysql my.cnf ignored

The Issue I'm trying to modify a my.cnf value on my production server but the changes aren't taking effect after a sudo service mysql restart, using an exact copy of the my.cnf (downloaded and ...
1
vote
2answers
1k views

How do I enable mod_security in Ubuntu 10.04?

A quick run through of what I've done: apt-get install libapache-mod-security a2enmod mod-security create /etc/apache2/mod_security_rules/ with base_rules and optional_rules from the latest core ...
1
vote
1answer
4k views

How do I configure multiple IPs on an Ubuntu server with two Ethernet ports?

I am trying to set up four IPs on two Ethernet ports. I figured I will assign one to each and then create aliases for the remaining two. This is what I did with my limited networking knowledge: # ...
1
vote
2answers
812 views

Internal SFTP Settings

Goal: to limit user access to home directory and symlinked directories in home. I tried the following configuration in sshd_config # Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp ...
1
vote
1answer
2k views

Why can't I get Apache2 mod_dumpio working under Lucid Lynx Ubuntu?

I'm trying to capture all of the traffic to and from an Apache2 web server for troubleshooting purposes, so I did the following to try to set mod_dumpio up properly: Used a2enmod to enable ...
0
votes
1answer
25 views

Where can I find the file to set SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS

Title says the question. I am having difficulty finding the file (and am aware that it is disabled by default with SSL_OP_ALL). I am aware that the location will vary from server to server, but it ...
0
votes
1answer
401 views

apache2 not starting at boot. Even if set up in runlevels

On my Ubuntu 10.04.4 server apache2 2.2.14 is installed. A few months ago starting apache2 at boot worked fine. Now I've found out that after a reboot apache2 doesn't start automatically anymore. ...
0
votes
1answer
241 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 ...
0
votes
1answer
566 views

Dansguardian - Allowing some user to view some websites

I have configured squid+ldap with dansguardian. Now the requirement is all the users should not get all the websites opened. Can I configure dansguardian in a such a way that it should allow only ...
0
votes
3answers
1k views

Lighttpd not starting - no error

I recently installed Lighttpd on Ubuntu Server 10.04 x86_64 and created several websites. What I do is include /etc/lighttpd/vhost.d/*.conf and put a configuration file for each website in that ...
0
votes
1answer
2k views

bind9 DNS Ubuntu names pingible on server, but not on Windows Machines?

I setup a DNS server today on Ubuntu, following this tutorial. My intent was to setup my network for dns-name resolving on the private LAN within a single zone (nothing fancy I just want name ...
0
votes
2answers
76 views

Web application in a network environment

I have a web application running on an apache web server on Ubuntu 10.04. The web application can be accessed via a web browser on the server's computer by typing http://localhost/webapp. I want to ...
0
votes
3answers
224 views

Does this top look healthy to you?

I run a server with the following specs: Intel i7 920 8 GB RAM Linux 2.6.32-25-server #44-Ubuntu 10.04 SMP Fri Sep 17 21:13:39 UTC 2010 x86_64 GNU/Linux 75 Apache processes Low-end hardware RAID-1 ...
0
votes
4answers
609 views

Ubuntu is showing weird HWAddress for eth0 after a power failure

Recently, my ubuntu box encountered a power failure. After rebooting, the HWAddress of eth0 is showing a very weird number: 00:00:00:00:00:30. I have tried sudo ifconfig eth0 down & sudo ifconfig ...
0
votes
1answer
607 views

Configuring Sun server JRE for Ubuntu 10.04 on Amazon EC2

I've just created a brand new Ubuntu 10.04 Amazon EC2 image that I plan to use as a java application server. I can log in successfully by SSH. I want to install the Sun server JRE but have a couple ...