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
2answers
197 views

DNS Setup for mail to two different servers

I have a stage.domainX.com and domainX.com. How do I adjust the MX records accordingly to where all mail sent to stage.domainX.com goes to one server (IP1 66.xx.xx.xx) and all other mail sent to ...
5
votes
5answers
4k views

How to determine what's causing my server's load average to jump to 90

Alrighty, I'm at a complete loss here. I've had this Ubuntu server running for about three years now. In the last couple months it started behaving oddly and it's only getting worse. It's a ...
0
votes
1answer
1k views

mdadm on ubuntu 10.04 - raid5 of 4 disks, one disk missing after reboot

I'm having a problem with the raid array in a server (Ubuntu 10.04). I've got a raid5 array of 4 disks - sd[cdef], created like this: # partition disks parted /dev/sdc mklabel gpt parted /dev/sdc ...
7
votes
3answers
2k views

Can I limit the runtime of a cronjob

I've got a cronjob which runs hourly that is occasionally taking too long to run, is there any way I can set a maximum runtime and the job gets killed if it exceeds that? This is on an Ubuntu 10.04 ...
1
vote
1answer
2k views

How would I move a standalone Ubuntu Server to an virtual server (ESXi)

I need to move an ubuntu server to a virtual server and everything on it with users, etc. The most logical way would be to move the entire HDD to an virtual disk on VMWare ESXi but how would I do ...
3
votes
2answers
714 views

Why can I listen on an IP not listed by ifconfig?

I'm putting my hands on a legacy system (a Xen cluster) and I'm trying to understand its architecture. It seems that there are services listening on an IP (say, 1.2.3.4) that doesn't show up in ...
0
votes
2answers
578 views

Downgrading Tomcat on Ubuntu?

I installed Tomcat 7 and it is giving me all sorts of fits :) .jar files are missing and I have many error messages coming at me from different directions :) As I understand it, deleting tomcat is ...
1
vote
1answer
2k views

Tomcat7 comes without the logs directory? Where to see Tomcat7 logs?

I recently installed Tomcat7 and it doesn't seem to come with a logs directory. Does anyone know where to see the logs for Tomcat7? Thanks, Alex
0
votes
2answers
565 views

Why would localhost:8080 give a 404 error?

Does the 404 error localhost:8080 mean that Tomcat can't find the index.html or that it is down completely? In my case the netstat command shows there is something listening on port 8080 $ netstat ...
1
vote
3answers
280 views

How to give user permissions on ubuntu server?

i have an ubuntu server and i give hosting to some users and i use the next command to create users and their ftp accounts: sudo adduser nameofthepage This command creates a directory with the name ...
0
votes
2answers
4k views

startup.sh generates “Command not found” in Tomcat [duplicate]

Possible Duplicate: Trouble getting Tomcat to start up during install Hello, I have a tomcat installation and a bunch of start/stop scripts in the bin directory as there should be. When I ...
0
votes
1answer
95 views

Best way to install Tomcat on Ubuntu

Is apt-get the generally recommended way to install things on Ubuntu? I tried to install manually, and now having some configuration issues with it. I'd un-install it and use the apt get command to ...
0
votes
1answer
175 views

dpkg -get-selections command not working on Ubuntu

I am trying to use the gpkg -get-selections command on Ubuntu. I am kind of new to Ubuntu and really just following a tutorial on how to properly install Tomcat :)\ The tutorial is here: ...
1
vote
1answer
708 views

Should I encrypt my home directory (Ubuntu Server)? Case scenarios: Dev Server, Production Server, Desktop, etc

I did some searching and found that the biggest downfall is performance. How big is the difference between encrypted vs non-encrypted? What types of setups would you use it for and which wouldn't? ...
0
votes
1answer
261 views

How many cron jobs can Ubuntu server handle?

I will setup a server which have 14400 website in it. I will use Ubuntu server 10.10 32-bit. (this is for my learning purposes) Every website needs cron. So I need 14400 lines of cron. Can the ...
4
votes
1answer
3k views

Advantages and disadvantages of Logical Volume Manager (LVM)? And LVM vs encrypted LVM?

In my situation, it's for a local build/staging server running ubuntu server. Things I'd like to know are: Why I should/shouldn't use LVM? What problems might it cause in terms of either regular ...
1
vote
1answer
313 views

What are some common reasons mysql stops responding?

I have to admin a mysql server, and was hoping people could give a few of the top reasons a mysql server might stop responding? Vague question I know, but I'm looking to read up on preventative ...
1
vote
3answers
2k views

postfix smtps issue

Im currently experiencing the following issue with postfix over ssl (smtps) Apr 7 13:43:55 server88-208-248-147 postfix/smtpd[5777]: connect from xxxxxxxxxxxxxxx[xxx.xxx.xxx.xxx] Apr 7 13:45:09 ...
5
votes
4answers
8k views

Sharing a linux desktop server for multiple users: remote desktop or virtualization?

We are a small web software company (~ 10 people). At present, every dev works on his local machine (some windows, some ubuntu) using a local apache. We have a samba share for shared files and central ...
1
vote
4answers
5k views

How to disable cron job mailing to root user

I have the following line in my /etc/cron.d/apache2watch file * * * * * root /bin/apache2-restart.sh &> /dev/null I am currently receiving hundreds of mails to root because of this. I don't ...
1
vote
2answers
399 views

Setting up local IP based filtering with OpenSSH on Ubuntu

Greetings, the server admin for our company suddenly left, and left the rest of us IT folk somewhat clueless about Linux and setting up servers and such. The setup is as follows: Our local server, ...
0
votes
1answer
63 views

Help Upgrading Apache2 using apt-get

I have an old Ubuntu server (dapper) running apache 2.0.x that I need to upgrade. I want to upgrade apache to the latest version of 2.0 and not upgrade to apache 2.2. If I do an sudo apt-get install ...
6
votes
4answers
5k views

ssh_exchange_identification: Connection closed by remote host

Firstly, I know that this question has been asked a million times, and I have read everything I can find and still cannot fix the problem. i am encountering this issue when ssh'ing in from my mac to ...
0
votes
1answer
948 views

Starting tomcat on ubuntu

I am trying to run the startup.sh command in ubuntu right from the /usr/local/tomcat/bin directory, but it tells me that "command not found" Why would that be the case? If I do an ls -l command it ...
0
votes
2answers
488 views

PHP not working on Ubuntu 10.10

I just recently installed an Ubuntu Server 10.10 but php doesn't seem to work. I created a file to show phpinfo() to make sure php works but it doesn't show anything. I looked for php.ini and I found ...
0
votes
3answers
321 views

Server with only private IP has no Internet access

I have two servers (VPS at Linode) of which one (db) has only one static private IP, so I need to access it via the other one (web). Now that works fine, but I discovered that I cannot access anything ...
1
vote
5answers
1k views

mysql server doesn't startup

The mysql server is running on a newly installed ubuntu 8.04. (I wanted to move the mysql server into KVM. KVM itself is running on ubuntu 10.04. ) /mysql belongs to mysql:mysql and is accessible. ...
1
vote
1answer
699 views

Problem moving zimbra to a new disk

I've a Zimbra Release 6.0.8_GA_2661.DEBIAN5 DEBIAN5 FOSS edition installed on a Debian 5.0. My main disk was running low on space, so I've mounted an additional disk, shutted down zimbra, rsync-ed ...
0
votes
3answers
164 views

where is cakephp installed ubuntu10.10

I just did apt-get install cakephp and it installed cake php but I have no idea where the root directory is. How can I find that? I'm using ubuntu 10.10
2
votes
1answer
441 views

Ubuntu KVM Should I used 32 or 64bit guest on 64bit host

I have a Ubuntu 10.04 x64 Server as my KVM host. Does it matter if my guest instances are x86 or x64 kernels if I plan to allocate less than 1gb of ram per instance? Also, does it matter if I use a ...
5
votes
1answer
4k views

Ubuntu Connect To SSTP VPN

Does anyone have any experience with connecting an Ubuntu 10.10 machine to a SSTP VPN server? I haven't found anything too great of information on how to do it.
0
votes
2answers
5k views

How to cron run every 1 hour on ubuntu 9+? [duplicate]

How to start a script using cron every hour?
0
votes
1answer
1k views

Get Squid3 to cache .zip, .rar, .iso files for 2 weeks

Is there away to get Squid3 to cache certain file extensions for an extended period of time? For example, I'd like to have .zip, .rar, and .iso files cached for 2 weeks by default. Thanks.
0
votes
3answers
429 views

Remote application in ubuntu?

I am using ubuntu for development. And I want to test my application on IE. So, instead of remote desktop I want to access IE as remote application from other windows machine. So the other guy whose ...
0
votes
1answer
896 views

Trouble getting Tomcat to start up during install

I installed Java and now added Tomcat. I configured Tomcat, but it is not running. What I did was add the line: export JAVA_HOME=/usr/lib/jvm/java-6-sun as the first non-comment line in the ...
2
votes
3answers
648 views

netstat issue: cannot pipe output from 'netstat -c' to an nfs mount

Short version: Netstat works fine except when I redirect output to a file in NFS. doesn't work: netstat -c > /nfs/mount/file works: netstat > /nfs/mount/file works: netstat -c works: ...
0
votes
7answers
3k views

Cannot SFTP into my Ubuntu server on Virtualbox, SSH works fine

I have a Ubuntu 10.10 server running in VirtualBox with OpenSSH installed. I have forwarded port 8888 on the host to 80 on the guest, and 2222 on the host to 22 on the guest. For some reason, I can ...
3
votes
2answers
806 views

Where to set JAVA_HOME in Ubuntu

I am trying to configure Tomcat to know where JAVA_HOME is. I am used to Windows :) ...which file should I edit to add the Java info, and where is it located?
0
votes
1answer
95 views

Requirements to run own mail server

I have the idea of setting up "MS Exchange mail server" in windows and "Squirrel/sendmail/postfix mail server" or something in linux. I have some domain names publicly registered. I am using google ...
1
vote
3answers
195 views

Data Storage & Design Using Multiple Machines?

I need to build a system to store & maintain a huge amount (20 [TB]) of time-series data (for many different instruments), so that it would support the following requirements: (1) fast appends of ...
1
vote
1answer
3k views

ive got dkim=neutral (bad version) header.i with gmail and dkim=fail (unknown key type) with yahoo

I'm having external ip and ubuntu server with exim4.71 and bind9. I'm trying to set valid dkim entry to send mail for gmail Here are my configuration files: bind9: _domainkey.example.com. IN ...
0
votes
2answers
241 views

Doubts on /etc/fstab vs /dev content (under Ubuntu 10.10)

I've a question: When I open /etc/fstab file, I see the following content: proc /proc proc nodev,noexec,nosuid 0 0 /dev/sdb1 / ext4 errors=remount-ro ...
0
votes
1answer
4k views

Ubuntu 10.10 Live CD - How to copy files to external USB drive (no permissions?)

I booted up an Ubuntu 10.10 live CD and plugged in an external USB hard drive. It brings up the drive contents and shows all the files, but it won't let me copy files to the external USB drive. It ...
0
votes
1answer
1k views

“Access denied for user 'root'@'localhost' (using password: NO)” when running the mysql command [duplicate]

Possible Duplicate: How should I diagnose ERROR 1045 during MySQL installation? The server runs on Ubuntu 9.10 64b. I have installed mysql-server from source. The installation has ...
1
vote
3answers
352 views

Send mail error Ubuntu VPS

I am experiencing an error when trying to send mail to certain hosts from my VPS. Here is an example: SMTP error from remote mail server after MAIL FROM:<someone@mysite.com.com> SIZE=1409: host ...
5
votes
4answers
3k views

OpenSSH on Ubuntu 10.10 (Maverick): should ~/.ssh/authorized_keys file be generated automatically?

I'm setting up public key authentication using this guide: https://help.ubuntu.com/community/SSH/OpenSSH/Keys. The documentation talks about the ~/.ssh/authorized_keys file, but there is no ...
0
votes
1answer
112 views

How can I check the emails that EC2 has blocked me from sending?

I just got a notification that I'm not allowed to send any more emails from my EC2 instance. Which is a bit perplexing since I wasn't aware that I was sending any. Is there some way for me to have a ...
0
votes
1answer
782 views

Server running on guest virtualbox is not visible from host?

I'm using virtualbox to run an Ubuntu server from os x. I have NAT and bridged connections set up and I am able to ping back and forth, ssh into the guest box, transfer files with scp, etc. However, ...
0
votes
1answer
696 views

rsync ubuntu to windows under cygwin - way to avoid 'invalid argument 22' error?

I'm doing a backup from a ubuntu server to a windows machine running cygwin. I'm using the following command: rsync -avx --timeout=30 --delete-excluded --exclude '.git' ...
2
votes
1answer
445 views

Logwatch without MTA/Postfix?

Is it possible to have Logwatch send daily emails without actually installing Postfix? I want to keep my server light and installing an MTA just because of Logwatch seems overkill. Or will I need ...