Returned 5 Results for "linux" Ordered By Relevance

Set Date Linux [relevance: 2.21]


2007-12-12 Digg! icurtain Delcious icurtain Technorati icurtain


Setting the date in linux

# date 121210312007

in the format - DDMMhhmmYYYY

# date

returns: Wed Dec 12 10:31:00 GMT 2007

type to commit to the hardware clock

# hwclock --utc --systohc


Nvidia MCP61 noapic linux network card bug [relevance: 2.2]


2007-12-07 Digg! icurtain Delcious icurtain Technorati icurtain


When using any board that utilises the Nvidia NForce 6100 (MCP61) chipset with Linux you will probably have to add the boot option of noapic as due to all the funky energy saving features on the board the chipset speed is all screwed up and Linux can't interface with any of the board management features.. that fixes the not being able to boot bug but can lead to others - with some kernel releases Linux disables IRQ11 and doesn't initialise a whole load of drivers properly.

On an Asus M2N-MX board running Centos 5.0 (kernal 2.6.18-8.el5) this can affect the network card causing it to erase all of the static settings and boot with DHCP every time you reboot

NForce APIC FIX

Upgrade to Centos 5.1 (kernel 2.6.18-53.el5PAE) which will boot with noapic enabled and initiate the network card correctly keeping the static settings or... apparently you can go into your bios and turn off all the power saving settings and then set static values for the memory speeds etc which might just make Linux boot with APIC enabled - but sounds like way too much hassle

You can get your current linux version by typing either of the following:


Installing Java on Linux [relevance: 1.98]


2007-08-31 Digg! icurtain Delcious icurtain Technorati icurtain


Install:

chmod +x jdk-6u2-linux-i586-rpm.bin

./jdk-6u2-linux-i586-rpm.bin

Follow prompts [yes]/[no] etc

If it gives the error message

error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Then you have to download

compat-libstdc++-33-3.2.3-47.fc4.i386.rpm

which can be found

ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/

or by googling it

rpm -i compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
or # yum install libstdc++.so.5

The SDK installed in /usr/java/jdk/

add path to $HOME/.bash_profile

PATH=/usr/java/jdk/bin:$PATH:$HOME/bin:./

export PATH

export JAVA_HOME=/usr/java/jdk

export CLASSPATH=/usr/java/jdk/lib/tools.jar:/usr/java/jdk/jre/lib/rt.jar:./

Possible Issues

When installing Jboss 4.2.1.GA it throws a fit if you have anything less than Java 1.6 JRE and the 1.5 JDK installed - Centos installs it's own version of Java 1.4 to fulfil install dependencies and this seems to conflict with the Sun versions - make sure you uninstall GNU Java 1.4 from the package manager or any other way you fancy and then install first the 1.6 JRE followed by the 1.5 JDK. After that you can just drag a copy of Jboss onto the linux box and start it with /bin/./run.sh & (to spawn a process)


autostart with chkconfig in linux [relevance: 1.9]


2007-09-07 Digg! icurtain Delcious icurtain Technorati icurtain


in order to allow chkconfig to run a file in etc/init.d or wherever as a start up service the file must have a descriptor header that tells chkconfig what its
run level - startup - shutdown
are - this is set in the following way

#!/bin/sh
#
# chkconfig: 3 87 20
# description: Description of executed protram

then type
chkconfig serviceName --add
chkconfig jboss on
this will then allow init.d to auto run the service next time you reboot linux


Exception creating identity: domainName [relevance: 1.9]


2008-02-13 Digg! icurtain Delcious icurtain Technorati icurtain


caused by: java.lang.RuntimeException: Exception creating identity: domainName

Solution

your computer can't find itself

go to:

etc/hosts
make sure the loopback address refers to the name of the box you are running on ie
127.0.0.1 documentationServerBox localhost.localdomain localhost

for other information on linux network configs look at the redhat linux network guide