Returned 5 Results for "linux" Ordered By Relevance
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
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
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:
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:./
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)
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
caused by: java.lang.RuntimeException: Exception creating identity: domainName
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