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

9
votes
9answers
30k 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 boot (...
2
votes
5answers
6k views

TeamViewer VPN Linux-to-Windows equivalent

I have a Linux Computer that I want to connect via VPN to a Windows Computer, but I need it to be easy to connect like TeamViewer is. I need it to be real simple because I'm setting this up for ...
22
votes
4answers
24k 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 ...
17
votes
4answers
8k 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 apt-...
8
votes
6answers
14k 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 ...
8
votes
1answer
4k 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 ...
3
votes
4answers
5k 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 ...
2
votes
1answer
379 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 ...
9
votes
1answer
9k 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: './mysql/...
4
votes
5answers
7k 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 ...
15
votes
6answers
26k views

What should mysqld.sock contain, why don't I have it?

Does anyone know why my /var/run/mysqld/mysqld.sock socket file would not be on my computer when I install (or reinstall) MySQL 5.1? Right now, when I try to start up a server with mysqld, I get ...
13
votes
3answers
39k 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
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?
6
votes
4answers
5k 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 ...
5
votes
2answers
11k 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 ...
1
vote
3answers
3k 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 10.04....
1
vote
1answer
193 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
232 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 ...
12
votes
3answers
2k views

Has my Linux server been compromised? How do I tell? [duplicate]

Running (X)Ubuntu 10.04.2 LTS behind a router. I just received an email from my root account on that machine, with the following subject: *** SECURITY information for <hostname>: The ...
4
votes
1answer
1k views

ubuntu server: SSH banner telling to update packages but nothing to update

When I connect to my Ubuntu 10.04.2 LTS server I get the following banner: 25 packages can be updated. 15 updates are security updates. However if I run package upgrades/updates nothing comes up: ...
3
votes
2answers
4k 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 ...
3
votes
1answer
22k views

how to fix “no free leases” issue in dhcp3?

I am facing no free leases issue. I am building a new server. I have successfully installed ltsp. Then, I configured the dhcp. This is my dhcpd.conf file. option subnet-mask 255.255.255.0; option ...
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 ...
2
votes
2answers
3k 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 ...
2
votes
1answer
3k 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. ...
2
votes
2answers
3k 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 ...
1
vote
1answer
326 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
1answer
2k views

KVM guests lose connectivity after networking restart

we're setting up an ubuntu server 10.04 host with kvm. The host is setup with a bond and bridged interfaces to allow the guests access to the network without natting. Our current configuration is ...
1
vote
1answer
6k 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
2k 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
3answers
13k views

ldap_add: Constraint violation (19)

I'm having issues importing users with ldapadd and ldif files. The error I'm getting is: ldap_add: Constraint violation (19) additional info: structuralObjectClass: no user modification allowed The ...
1
vote
2answers
934 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 ...
0
votes
2answers
78 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
2answers
3k views

Have to dhclient each restart to access internet

So each time I restart my ubuntu server (virtual 10.04, via Xencenter), I have to call dhclient before I can access the internet: http://img813.imageshack.us/i/dhclient.png/ What do I need to change ...
0
votes
4answers
727 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
618 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 ...
0
votes
1answer
149 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 ...