Ubuntu - Log files and Moving HDD to another box - wrapping head around differences with Windows Server

bmsjeff
bmsjeff used Ask the Experts™
on
Currently in place - Ubuntu 8.04.1, as a Currently in place - Ubuntu 8.04.1, as a File Server (Samba)/Web/Mail/Users
Looking to upgrade to Ubuntu 10.4LTS
I have no Ubuntu experience, less installing it on a desktop.  
I have good knowledge of Microsoft
Looking to upgrade to Ubuntu 10.4LTS
I have no Ubuntu experience, less installing it on a desktop.  
I have good knowledge of Microsoft

Is there a central depository for error messages or are they stored in each programs directory?
i.e.
Something wrong at boot, where do you go for troubleshooting info.
and
Something wrong with individual module, File Server/Web/Mail, where do you go for troubleshooting info.

Also,
When moving a drive in Windows, you can change the HDD drivers in the registry so that you can move the drive to another box with different chipset.  How would this work in Ubuntu?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Commented:
Log Files of Linux are usually located in /var/log, Syslog and messages are the main log files and they are pure text files. Most errors at boot should be listed there. Older versions are archived into gz files. Many applications have their own log files, often within sub-directories of /var/log, and you should see which applications they are from via their name. Usually errors are also mailed to the administrator's local mail.

Ubuntu like most other Linux distro's use vanilla kernels with all possible modules available, so most of the time you can just move the HD's to the new server and it'll run properly without much intervention. The only thing that could sometimes cause issues is that the drives are addressed differently, and to correct that you would sometimes have to do some small adjustments within 1 or 2 configuration files. These files are also pure text files so that is also very easy to do.

Top Expert 2011
Commented:
> Something wrong at boot, where do you go for troubleshooting info.
/var/log/messages
Which is the default system log file.

> Something wrong with individual module, File Server/Web/Mail, where do you go for troubleshooting info.
The log files for those three server modules are defined in their configuration files.
So check their configuration file for the location of log files.
You have ask the configuration file location on other question, I've answered in that question.
http://www.experts-exchange.com/OS/Linux/Q_27038244.html#a35760688

> change the HDD drivers in the registry so that you can move the drive to another box with different chipset.
The presumption is that Windows version have the driver for the new hardware/chipset.first. Otherwise, you still need to install the driver.
Ubuntu is similar. If the kernel have the driver built-in for the new hardware, then it is plug-and-play. Well except for the network device that you need some tweak.
So I recommended that you clone the disk, then upgrade on the clone disk to 10.04LST first. Then move the 10.04 disk to the new server. This will have better chance has the drivers built-in in the newer version of kernel/OS.
Besides, buy the server with Ubuntu 10.04 certified will also make your migration smoother.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial