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.
15
votes
2answers
827 views
Can upstart handle symbolic links to config files?
I have all of my upstart config files under version control. My ideal way to use upstart is to create soft links from my version control repository (mercurial - not that it matters) into /etc/init but ...
13
votes
2answers
5k views
Configuring Jetty to accept connections from all hosts on Ubuntu Lucid
I want Jetty to serve connections from any host on port 8080. My /etc/default/jetty file has: -
NO_START=0
JETTY_HOST=
JETTY_PORT=8080
The server is an EC2 small instance based on a Lucid Lynx 32 ...
12
votes
4answers
5k views
How to get HTTP preseed to work correctly on Ubuntu 10.04 LTS (Lucid)?
Installation media: ubuntu-10.04-desktop-i386.iso
I tried a lot of different boot parameters, but either the installer ignored the preseed configuration, or it boot itself directly as LiveCD.
An ...
12
votes
4answers
10k 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 ...
12
votes
2answers
831 views
Has my Linux server been compromised? How do I tell?
Running (X)Ubuntu 10.04.2 LTS behind a router.
I just received an email from my root account on that machine, with subject: *** SECURITY information for <hostname> ***
<hostname> : jun ...
9
votes
5answers
447 views
How do I find the cause for a huge difference in performance between two identical Ubuntu servers?
I am running two Dell R410 servers in the same rack of a data center (behind a load balancer). Both have the same hardware configuration, run Ubuntu 10.4, have the same packages installed and run the ...
8
votes
8answers
12k views
How to repair/restore ubuntu 10.04 after 'sudo chmod / 777' [duplicate]
Possible Duplicate:
Why is “chmod -R 777 /” destructive?
I changed file permissions recursively on the root directory '/'(sudo chmod / 777 -R) and after that i run "save mode" ...
8
votes
6answers
672 views
Linux I/O bottleneck with data-movers
I have a 24 core machine with 94.6GiB RAM running Ubuntu server 10.04. The box is experiencing high %iowait, unlike another server we have (4 cores) running the same types and amounts of processes. ...
8
votes
6answers
7k views
How can I start nginx via upstart?
Background:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
I've built nginx, and I'd like to use upstart to start it:
nginx upstart script ...
7
votes
1answer
18k views
Correctly changing default locale in ubuntu server 10.04 LTS?
I got a new server but unfortunately the hoster only installs me Ubuntu 8.04 in german.
So the upgrade worked smoothly, but now I am trying to change the system to english.
I adapted ...
7
votes
1answer
3k 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: ...
6
votes
4answers
4k 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 ...
6
votes
1answer
5k views
Where is php.ini-development on Ubuntu LAMP?
On my development machine I run Ubuntu 10.04.1 LTS. Following the official documentation, I used the following command to install Apache, MySQL and PHP in one go:
sudo tasksel install lamp-server
...
6
votes
3answers
4k views
apt-get through NTLM authenticated proxy
I must be missing something... I could swear I've done this before but I've torched the VM's that I was using previously.
How do you get apt-get to authenticate through a proxy that only supports ...
6
votes
2answers
5k 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 ...
6
votes
2answers
1k 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 ...
6
votes
6answers
2k views
Ubuntu not letting me download using anything but apt-get
I'm simply trying to clone a repository from github, but I think my problem spans greater than git or github. I've tried the following methods:
sudo wget ...
6
votes
4answers
554 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 ...
6
votes
1answer
1k views
Tomcat7 PPA for Ubuntu LTS 10.04.2
Does anyone know of a ppa / repo that will install tomcat7. I know I can install from source but I'd rather if possible use a PPA/Repo.
I found a nice one for sun*cough*oracle-java but there does ...
5
votes
8answers
11k views
Ubuntu 10.04 Server on Hyper-V Server R2 has sluggish install and command line
I've installed Ubuntu Server 10.04 (64 bit) on a Hyper-V Server R2. I've encountered two issues that I think are related:
Very slow install
Very slow command prompt
The text-mode installer goes ...
5
votes
4answers
2k views
How to do an automated installation of Ubuntu on 100 Remote machines?
Help! I desperately need some advice / help...
I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration ...
5
votes
2answers
354 views
Is Webmin recommended for recent releases of Ubuntu?
About Webmin, Wikipedia mentions that:
"The best supported systems at the moment are Solaris, Linux (Red Hat
in particular) and FreeBSD"
My question is, does anyone have experience with webmin ...
5
votes
2answers
2k views
CRON: Module is unknown
I just upgraded our server to Ubuntu 10.04 and cron just stopped working. I tried to restart the server, restart cron but nothing worked for me. It just reports in /var/log/syslog:
May 12 16:32:01 ...
5
votes
6answers
988 views
Ubuntu 10.04 LTS - good enough to jump on it?
I'm currently planning to get a VPS from VPS.net for a PHP project. I personally haven't used CentOS (which is recommended all the time) and this is not a good time for me to start learning it, so I ...
5
votes
1answer
2k 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 ...
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 ...
5
votes
1answer
1k views
Select locales on ubuntu 10.04 after installation
When I activate a new rackspace ubuntu 10.04 instance I keep getting these messages:
perl: warning: Please check that your
locale settings: LANGUAGE = (unset),
LC_ALL = (unset), LANG =
...
5
votes
4answers
1k views
IPvsadm not equally balancing on wlc scheduler
For some reason, ipvsadm does not seem to be equally balancing the connections between my real servers when using the wlc or lc schedulers. One real server gets absolutely hammered with requests while ...
4
votes
1answer
8k views
Accessing a windows shared folder from Linux?
I am trying to copy a (.html) file from a Windows XP Professional shared folder onto a server running Ubuntu Linux 10.04 LTS.
As it's a shared folder the usual 'wget' doesn't seem to work. I suspect ...
4
votes
2answers
8k 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
...
4
votes
4answers
3k 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 ...
4
votes
4answers
3k 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 ...
4
votes
2answers
1k views
How do I enable swap file on my server?
I've followed this
but when I run:-
#swapon /swapfile1
I get::-
swapon: /swapfile1: swapon failed: Operation not permitted
The system is extremely slow with 1GB of RAM trying to run ...
4
votes
2answers
197 views
Mongodb ubdate on Ubuntu 10.04 LTS
I installed MongoDB on live VPS to write logs. The server is running on Ubuntu 10.04 LTS and Mongodb version is 2.0.3. I want to upgrade to latest version (2.0.5) but I want to upgrade only MongoDB. I ...
4
votes
2answers
330 views
static web server: 32 or 64 bits?
For a webserver serving just static files (lighttpd or nginx) which is better, 32 or 64 bits?
Which OS is preferable? Centos 5 or Ubuntu 10.04?
4
votes
1answer
334 views
Sendmail process failed with error code 67
Everything was worked fine but someday sendmail stop working on me.
I'am trying the following command line:
echo "Body text" | mail -s "Some subject" example@somemail.com
And got:
...
4
votes
2answers
460 views
Can we install Natty package into Lucid?
I'm using Ubuntu Lucid. Due to some reasons, I'm not allowed to upgrade the OS.
I need to use the latest version of a software, with version number > 2.5.x. However, when I check the software repo ...
4
votes
1answer
492 views
Where do I set administrator password for phpmyadmin?
I'm trying to install phpMyAdmin on my Ubuntu 10.04 server, by doing 'apt-get install phpmyadmin'. Installer asks me for MySQL administrator password and for phpMyAdmin database user password, but not ...
4
votes
3answers
9k views
Where is syslog.conf file on ubuntu 10
i want to LOG my droppped packets in firewall.
The tutorial told me write some lines in /etc/syslog.conf
I have searched but could not foound anything named syslog.conf
There was the file called ...
4
votes
2answers
2k views
How do I redirect the kernel console output on Ubuntu 10.04
When I reboot my Ubuntu 10.04 nodes, I'd like to be able to see the kernel boot messages when connecting to the IPMI interfaces using Serial Over LAN mode (ttyS0). What do I need to do to be able to ...
4
votes
4answers
384 views
Apache LAMP permisson issues on Ubuntu server
I have been trawling the internet for a few days now and think I've tried almost everything to get some virtual hosts set up on my Ubuntu server but everything short of chmod 777 on the webroot fails.
...
4
votes
3answers
6k views
Yet another (13)Permission denied error on Apache2 server
I just can't figure it out. I'm running apache2 on a Ubuntu 10.04 i386 server. Whenever I visit my server (has an IP address, and is connected to internet with static IP xxx.xxx.xxx.xxx) so that's not ...
4
votes
1answer
712 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 ...
4
votes
1answer
290 views
Managing services started on boot (rc0.d, rc1.d, etc)
What is the best way of managing which services start when?
service --status-all lists all services, but does a poor job of the service status (most are "unknown") and does not provide any method of ...
4
votes
1answer
420 views
EC2 disk goes to 100% util, but fine after reboot
We've been running some production services on Amazon EC2 for a while, using mainly t1.large and t1.xlarge instances (non-EBS). Every so often one of the attached (ephemeral disks) will get into a ...
3
votes
2answers
158 views
How does the shutdown/start sequence differ between a controlled shutdown and a power loss in Linux server?
What is the difference in the shutdown (and possibly startup) between a power loss and a controlled shutdown (such as a reboot or literal shutdown) in Linux, and in particular, Ubuntu server 10.04 ...
3
votes
5answers
4k 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 ...
3
votes
2answers
935 views
Automate proftpd-basic install on ubuntu using apt-get
I'm trying to build a shell script to automate the installation of several packages onto an Ubuntu 10.04 server, and I'm having problems with proftpd-basic.
I'm using the command line
apt-get -qy ...
3
votes
2answers
1k views
3
votes
2answers
654 views
What to do with suddenly unreachable non-logging EC2 instance?
I have an EC2 "micro instance" running Canonical's Ubuntu 10.04 LTS.
Has been running for 6-9 months now, infrequently rebooted (once every few weeks at the most).
I just did what I thought was a ...
