Jmap executable not found in linux
I have installed jdk 1.6 in linux long time before, now I want to use jmap to get heap dump, looking under the bin folder there is no jmap,
lrwxrwxrwx 1 root root 10 May 21 2012 ControlPanel -> ./jcontrol
-rwxr-xr-x 1 root root 50794 Jan 20 2012 java
-rwxr-xr-x 1 root root 26534 Jan 20 2012 java_vm
-rwxr-xr-x 1 root root 105148 Jan 20 2012 javaws
-rwxr-xr-x 1 root root 6407 Jan 20 2012 jcontrol
-rwxr-xr-x 1 root root 51979 Jan 20 2012 keytool
-rwxr-xr-x 1 root root 52235 Jan 20 2012 orbd
-rwxr-xr-x 1 root root 52059 Jan 20 2012 pack200
-rwxr-xr-x 1 root root 52347 Jan 20 2012 policytool
-rwxr-xr-x 1 root root 51979 Jan 20 2012 rmid
-rwxr-xr-x 1 root root 51979 Jan 20 2012 rmiregistry
-rwxr-xr-x 1 root root 51979 Jan 20 2012 servertool
-rwxr-xr-x 1 root root 52235 Jan 20 2012 tnameserv
-rwxr-xr-x 1 root root 186301 Jan 20 2012 unpack200this is all I have under bin of my jdk, please why jmap is not included this is my prod server how can I get heap dump without jmap please advice.
You need to uninstall the RPM for the original Java implementaion you had installed. I believe it's probably kaffe, so you'd run the command "rpm -e kaffe". The java -version should then work as intended.
Bhav
Similar Messages
-
9360: Uncaught exception: Failed to start UMP:(9) executable not found
Hi all,
When i open the browser im getting the exception
Uncaught exception: Failed to start UMP9) executable not found.
Not only the browser almost all app showing error. When i open games and try to open word mole getting exception
java.lang.RuntimeException. failed to intialise game resources. Missing graphics module: net_rim_device_appa_games_worldmole_graphics_480x360.
When i open BrickBreaker getting exception
java.lang.Error
and i also checked software updates, but the device is already updated. Device OS 6.1 Bundle 298Hey SumiGhosh,
I would suggest to do a clean reload of the BlackBerry® device software as shown here: http://btsc.webapps.blackberry.com/btsc/KB11320, please test before restoring any data to the device.
If this resolves the issue do a selective restore of essential data (Address Book, Calendar, Task, Memos, BBM contacts etc.)
How to use BlackBerry Desktop Software to restore data to a BlackBerry smartphone from a backup file
http://btsc.webapps.blackberry.com/btsc/KB10339
If the issue still persists after the reload, further investigation might be required. To help further diagnose the cause, contact your wireless service provider or BlackBerry® Technical Support Services for further review and support.
Thank you
-HB
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)! -
i am unavailable to open inbox as well browser. message displayed on screen : shared webkit instance unavailable. failed to start UMP: (9) executable not found. as well it has start rebooting itself once till now. kindly help out me.
Thanksjawediqbal wrote:
i am unavailable to open inbox as well browser. message displayed on screen : shared webkit instance unavailable. failed to start UMP: (9) executable not found. as well it has start rebooting itself once till now. kindly help out me.
Thanks
I suggest you do a clean Reload or Update of your Operating Sysytem. Go here for instructions: How To Reload Your Operating System
Goodluck!
Click if you want to Thank someone. If Problem is resolved, so that others can make use of it. -
LSNRCTL command not found - Ubuntu Linux 9.10
Good day, everyone! So, I've been searching all over the place to find an answer for this, but have not been successful. Hopefully I can get this resolved.
So I have the Oracle 10g XE database installed on my Ubuntu 9.10 Linux server, and it works perfectly fine. However, when trying to tie the data source to my website via Visual Web Developer, it states that the listener is not running. After reading some documentation, I go to run a terminal session and log into the oracle user on my Linux box and try running "LSNRCTL start", but I get a "command not found" error. I've tried multiple things: using root to run it, going to the actual oracle xe installation folder to run it, nothing. Anyone got any thoughts on how I can fix this? Thanks!Hi,
I have the same issue:- lsnrctl command not found,
And when I echo oracle host & path I got:-
[oracle@ddcdevws02 etc]$ echo $ORACLE_HOST
[oracle@ddcdevws02 etc]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/u02/oracle/bin
Now I know that my environment is not set, but could please tell me how I can set the environmernt ??? I mean commands or detailed instruction step as to what needs to be set where & how, I mean the SID, port, Path ???, I am new to Linux as well as database .
Also In the host file under /etc/ directory I have these settings
127.0.0.1 localhost.localdomain localhost
10.201.60.21 ddcdevws02.hddev.healthdialog.com ddcdevws02
I don't know if this is correct or not ? But I doubt make any change in the host file, please suggest me.
Thanks
Sam -
Executables not found after copying oracle home
Hi,
I am cloning E-Business 11.5.10.2 on newly installed Red Had Linux 4.4. After copying oracle hoem frpm production server to test, i did not find executables in oracle_home/bin directory including sqlplus. I tried copying sqlplus from production server and then run sqlplus and found that their are libraraies missing from oracle_home/lib direcotyr.
please help resolving this problem.
RegardsHi hussein,
recieved below error while relinking
[oracle@ebiztest4dr scripts]$ cd $ORACLE_HOME/rdbms/lib
[oracle@ebiztest4dr lib]$ make -f ins_rdbms.mk install
/usr/bin/ld: skipping incompatible /san/apps/oracle/drtestdb/10.2.0/lib//libirc.a when searching for -lirc
/usr/bin/ld: skipping incompatible /san/apps/oracle/drtestdb/10.2.0/lib/libirc.a when searching for -lirc
/usr/bin/ld: cannot find -lirc
collect2: ld returned 1 exit status
thanks for your help. -
PCI-GPIB card not found in linux 2.4.22-1.2115.nptl Fedora Core 1
I am trying to install the nigpib driver on a Fedora Core 1 installation of linux (kernel 2.4.22-1.2115.nptl.) The installation script reports the following errors:
Your kernel appears to be configured properly to build NI-GPIB for Linux.
Do you want to proceed? [yn] y
make: `nigpib.o' is up to date.
Copied nigpib.o driver to modules directory /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/char
Devices created.
Probing for PCI-GPIB.
No PCI-GPIB boards detected.
Do you have an AT-GPIB/TNT board installed? [ny] n
/etc/modules.conf is up to date.
Warning: loading /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/char/nigpib.o will taint the kernel: no license
See http://www.tux.org/lkm
l/#export-tainted for information about tainted modules
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/char/nigpib.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/char/nigpib.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/char/nigpib.o failed
I have moved the PCI-GPIB card to the first PCI slot with no differences in the error messages I recieve. When I run dmesg I recieve the following information:
unable to get major 31 for gpib
unable to get major 31 for gpib
unable to get major 31 for gpib
unable to get major 31 for gpib
unable to get major 31 for gpib
Any help would be appreciated.I have this same exact problem. I'd rather not disable USB 2.0, because I use it to transfer files to my MP3 player when in Windows.
I find it hard to "blame the BIOS" when it was working fine under kernel 2.6.7. Anyone know of another solution?
EDIT: Well it isn't the same "exact" problem. When I first boot into Arch, the usb mouse and keyboard don't work. I press and hold the power button on the machine to restart. The second time I boot into Arch, the usb devices do work. If I do a standard soft reboot and go back into Arch, the usb devices again don't work. I guess this is a hotplugging issue, but enabling it in rc.conf does nothing. The only permanent solution I can find is disabling USB 2.0 in the BIOS. -
Java 1.4 not found in Linux Mandrake 8.2
I installed the java1.4 rpm file. When I run java -version it gives me version 1.1 originally
bundled with mandrake 8.2. This is my /etc/profile file:
# /etc/profile -- Mode: shell-script --
# (c) MandrakeSoft, Chmouel Boudjnah <[email protected]>
# Users generally won't see annoyng core files
[ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1
if ! echo ${PATH} |grep -q /usr/X11R6/bin ; then
PATH="$PATH:/usr/X11R6/bin:/usr/java/j2sdk1.4.0/bin/"
fi
if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then
export PATH=$PATH:/usr/games:/usr/java/j2sdk1.4.0/bin/
fi
umask 022
USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
HISTCONTROL=ignoredups
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi
# some old programs still use it (eg: "man"), and it is also
# required for level1 compliance for LI18NUX2000
NLSPATH=/usr/share/locale/%l/%N
export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH
export HISTCONTROL HISTSIZE
for i in /etc/profile.d/*.sh ; do
if [ -x $i ]; then
. $i
fi
done
unset i
I don't know what else to do. Please help.You need to uninstall the RPM for the original Java implementaion you had installed. I believe it's probably kaffe, so you'd run the command "rpm -e kaffe". The java -version should then work as intended.
Bhav -
[SOLVED] GRUB 2 - "error: file not found" after Clonezilla Restore
Hello,
I backed up my Arch Install which is one root partition covering the entire SDD with Clonezilla, to play around with Gentoo and FreeBSD on my Laptop.
Now I restored the image and when GRUB 2 loads I see "error: file not found" three times for a short momemt before I'm in the GRUB 2 menu.
When I boot my I also see these 3 messages (probably the once from the early loading process) and "Loading Linux ck kernel...." "Loading initrafms...." "Press any key to continue..." When I wait for a short time or press enter it boots like expected (fsck message appears for a short time since I'm using quite boot and I'm in KDM after that).
Grub loading...
error: file not found
error: file not found
error: file not found
Loading Linux ck kernel...
Loading initramfs...
Press any key to continue...
I did not have this when I backed it up. It booted into the menu and when I booted the menu entry it would go black to show me the fsck message and seconds later I was in KDM.
I tried $ sudo grub-mkconfig but it did not change anything.
This is my current /boot/grub/grub.cfg
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
else
search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux ck kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
else
search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
fi
echo 'Loading Linux ck kernel ...'
linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-ck.img
menuentry 'Arch GNU/Linux, with Linux ck kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
else
search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
fi
echo 'Loading Linux ck kernel ...'
linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-ck-fallback.img
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
else
search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
else
search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Anyone has a clue what files it is looking for? And why it doesn't boot straight away, when there is nothing that keeps it from booting up normal anyway?
Last edited by blackout23 (2013-03-21 16:16:59)the.ridikulus.rat wrote:Upgrade to grub 2.00, that will give info on which file is actually missing. And then recreate /boot/grub/grub.cfg and check whether that error is gone.
I think I'm already on Grub 2.0.0 otherwise I wouldn't have this cryptic menu configuration file.
local/grub-bios 2.00-1
GNU GRand Unified Bootloader - i386 PC BIOS Modules
local/grub-common 2.00-1
GNU GRand Unified Bootloader - Utilities and Common Files -
Command not found error while executing a shell script
Hello,
I am a newbie to linux.I am attaching the code which gives me following errors..
error list:
1. no such file or directory enviornemnt
2. command not found
3. ambiguous redirectline
Script
cd $HOME/wkdir
rm /tmp/*.log
# source environment
. ./env
# Run the install script to setup the database
# Configure SH account
sqlplus "/ as sysdba" <<! > /tmp/perflab_install.log 2>&1
grant connect, resource, dba to SH;
alter user sh account unlock;
# create the fetch_n_rows procedure
sqlplus "$PERFLAB_USER" <<! >> /tmp/perflab_install.log 2>&1
drop index sales_time_bix;
drop index sales_time_idx;
create index sales_time_idx on sales(time_id) compute statistics;
-- fetch_n_rows: fetches 'n' rows from the specified statement --
CREATE OR REPLACE PROCEDURE fetch_n_rows(
stmt VARCHAR,
name VARCHAR,
nexec NUMBER := 1,
nrows NUMBER := 0,
debug BOOLEAN := FALSE)
IS
-- Local variables
curs INTEGER := null;
rc INTEGER;
nexec_it INTEGER := 0;
nrows_it INTEGER;
BEGIN
dbms_application_info.set_module('DEMO', name);
WHILE (nexec_it < nexec)
LOOP
curs := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(curs, stmt, DBMS_SQL.NATIVE);
rc := DBMS_SQL.EXECUTE(curs);
nrows_it := 0;
LOOP
IF (dbms_sql.fetch_rows(curs) <= 0 OR (nrows <> 0 AND nrows_it = nrows
THEN
EXIT;
ELSE IF (debug = TRUE)
THEN
DBMS_OUTPUT.PUT_LINE(nrows_it);
END IF;
END IF;
nrows_it := nrows_it + 1;
END LOOP;
DBMS_SQL.CLOSE_CURSOR(curs);
nexec_it := nexec_it + 1;
END LOOP;
dbms_application_info.set_module(null, null);
END fetch_n_rows;
show errors
# Start the workload
. ./start_workload.sh > /tmp/setup_perflab.log 2>&1
# Wait two minutes for workload to get going
sleep 120
# Modify snapshot interval
sqlplus -s /NOLOG <<EOF >> /tmp/setup_perflab.log 2>&1
connect / as sysdba
set head on
set feedback on;
set pagesize 40
rem -- event to allow setting very short Flushing interval
alter session set events '13508 trace name context forever, level 1';
rem -- change INTERVAL setting to 2 minutes
rem -- change RETENTION setting to 6 hours (total of 180 snapshots)
execute dbms_workload_repository.modify_snapshot_settings(interval => 2,-
retention => 360);
EOF
Note : start_workload.sh is also in the same directory..
Any help would be greatly appreciated.Please put your script between "code" format delimiters.
http://wiki.oracle.com/page/Oracle+Discussion+Forums+FAQ
You can add the line "set -x" at the beginning of your script to see at which line it fails? I suspect the . ./env line. -
[solved] 'ERROR: file not found:' when running 'mkinitcpio -p linux'
$ sudo mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.13.5-1-ARCH
-> Running build hook: [systemd]
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
-> Running build hook: [consolefont]
-> Running build hook: [keymap]
==> Generating module dependencies
==> Creating cat initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.13.5-1-ARCH
-> Running build hook: [systemd]
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
==> ERROR: file not found: `'
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
-> Running build hook: [consolefont]
-> Running build hook: [keymap]
==> Generating module dependencies
==> Creating cat initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
Things seems to work, but I'm a bit worried.
It has just started. PS/2 atkbd stuff went fine.
journalctl shows
Feb 26 22:36:09 localhost systemd-udevd[62]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
Feb 26 22:36:09 localhost systemd-udevd[63]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
Feb 26 22:36:09 localhost systemd-udevd[64]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
Feb 26 22:36:09 localhost systemd-udevd[65]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
Feb 26 22:36:09 localhost kernel: sda: sda1 sda2 sda3 sda4
Feb 26 22:36:09 localhost kernel: sd 0:0:0:0: [sda] Attached SCSI disk
Feb 26 22:36:09 localhost systemd-udevd[66]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
Feb 26 22:36:09 localhost systemd-udevd[67]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export
I'm using [testing] but I don't know if it matters.
What should I post?
Last edited by karol (2014-03-15 15:03:56)The systemd build hook looks like this:
build() {
local rules unit
# from base
add_binary /bin/mount
add_binary /usr/bin/kmod /usr/bin/modprobe
# systemd
add_binary /usr/lib/systemd/systemd /init
add_binary /usr/bin/systemd-tmpfiles
# generate sysroot.mount and sysroot-usr.mount
add_file "/usr/lib/systemd/system-generators/systemd-fstab-generator"
# udev rules and systemd units
map add_udev_rule "$rules" \
50-udev-default.rules \
60-persistent-storage.rules \
64-btrfs.rules \
80-drivers.rules \
99-systemd.rules \
map add_systemd_unit \
ctrl-alt-del.target \
initrd-cleanup.service \
initrd-fs.target \
initrd-parse-etc.service \
initrd-root-fs.target \
initrd-switch-root.service \
initrd-switch-root.target \
initrd-udevadm-cleanup-db.service \
initrd.target \
kmod-static-nodes.service \
sockets.target \
[email protected] \
systemd-journald.service \
systemd-tmpfiles-setup-dev.service \
systemd-udev-trigger.service \
systemd-udevd-control.socket \
systemd-udevd-kernel.socket \
systemd-udevd.service
add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
# libdbus needs the passwd info of the root user
# TODO: make sure this is no longer necessary when systemctl moves to sd-bus
add_file "/etc/nsswitch.conf"
add_file "/etc/passwd"
add_binary "$(readlink -f /usr/lib/libnss_files.so)"
# udev wants /etc/group since it doesn't launch with --resolve-names=never
add_file "/etc/group"
Do all of those files exist on your sytemd? I'm not running testing nor systemd in my initrd, so I can't do much checking.
Edit: You're not the only one. Bug report: https://bugs.archlinux.org/task/39059
Last edited by Scimmia (2014-02-27 06:59:55) -
Command not found error in Linux
Hi all,
While login into Linux server using terminal i am getting following error.
-bash: /usr/bin/id: No such file or directory
-bash: [: =: unary operator expected
While execute these commands getting following errors
# clear
-bash: clear: command not found
# du -sh *
-bash: du: command not found
Help on these issues.
Linux 32bit OS.
Red Hat Enterprise Linux Server release 4.0 (Tikanga)Likely a flaky environment.
What is the contents of .bash_profile in your $HOME?
Any btw, why RHEL4? It is ancient. -
i have installed java according to the instructions given to me in my linux os .
but when i compile i get
bash: javac: command not found.
i have installed in /usr/java/j2sdk1.4.2_06.
i have compiled the program in /usr/java folder.
how do i solve it .After you've installed the rpm for the java sdk, you will want to add the bin directory of the sdk to the PATH variable. One suggestion that has been given is to edit the file ".bash_profile" in your home directory. You can see the file by listing hidden files ls -all.
You may see something like the following within the file.
PATH=$PATH:$HOME/bin
export PATHTo add the bin directory to the path, simply add a colon, followed by the directory. I've written <whatever> to indicate that you must fill in the specifics, like version etc, of your jdk. The updated file becomes...
PATH=$PATH:$HOME/bin:/usr/java/jdk*<whatever>/bin/
export PATHThis will allow you, and you alone, to run the javac command in the terminal without specifying the entire file path. If you are unfamiliar with Linux and you are the only user on the machine, then I suggest doing it that way.
If on the other hand you have a better understanding of Linux, and the machine and the sdk are to be shared by other users, you will want to make the bin directory available to the System PATH variable. Here's how I did that. Create a file "java.sh" inside the directory "/etc/profile.d". This directory is where some application specific startup scripts are found. The script that you will place here is run by /etc/profile and will set up the PATH variable to include the bin directory of the sdk. Note that you must be logged in as root to create a file within the directory. Also, be careful when creating script files for this directory. The file "java.sh" will contain a single line of text.
export PATH=$PATH:/usr/java/jdk*<whatever>/bin/Once the file is created, be sure that permissions are such that all users can execute the file.
I've found information about setting up a Java development environment on a Linux OS here.
http://home.bredband.no/gaulyk/java/tutorial/javaredhat.html -
I am trying to execute a VI running on Linux from Teststand running on windows 2000 prof ,both running on two different machines.I used TCP/IP for the interface using the following steps on Labview VI:tools>options>VIserver>TCP/IP and gave the ip address of both the machines.When I gave the file path as c:\home\test.vi in Edit labview Vi call window(the Vi in linux is stored in /home/test.vi)and also in remote vi path:/home/test.vi,I get a file not found error.The teststand version is 3.0 and labview is 7.0.Any idea why this is happening and any solutions?
priya guru,
Here is a knowledge base that addresses your question: �How do I call test VIs that reside on a non-Windows platform from TestStand?�
You also need to set TCP/IP Access found in Tools->Options->'VI Server: TCP/IP Access'. Make sure that you list the IP address in the Access List to allow TCP/IP access to that machine. Finally you need to specify which VIs are accessible to remote applications. Open up Tools->Options->'VI Server: Exported VIs' and provide paths to the VIs you wish to be remotely accessible.
I have attached an example VI that demonstrates VI Server in action. Please post back if you are still having problems. Good luck!
Cr
aig H.
National Instruments
Attachments:
Remote_Run_--_VI_Server.zip 88 KB -
Hi !
I have installed Java 2( j2se 1.4.1_02) and when i execute java it gives
Error: realpath ("//java") not found
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment
I have been trying for the past 3 days to get this setup working, but no success. Have made the LD_LIBRARY_PATH and PATH to have the required values. Is there anything else that need to be done.
Can anyone help please?
Thanks
RajiWhich platform is it? Java version "1.4.1_02" works fine for me on my Linux. Maybe these pieces of information are of some help.
$ uname -a
Linux bijpc 2.4.19-4GB #1 Wed Sep 25 18:58:10 UTC 2002 i686 unknown
$ java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
$ type java
java is hashed (/usr/lib/jdk1.4.1_02/bin/java)
$ file /usr/lib/jdk1.4.1_02/bin/java
/usr/lib/jdk1.4.1_02/bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
$ ldd /usr/lib/jdk1.4.1_02/bin/java
libpthread.so.0 => /lib/libpthread.so.0 (0x40025000)
libdl.so.2 => /lib/libdl.so.2 (0x4003a000)
libc.so.6 => /lib/libc.so.6 (0x4003d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
$ find /usr/lib/jdk1.4.1_02 -name 'libjava*so'
/usr/lib/jdk1.4.1_02/jre/lib/i386/libjava.so
/usr/lib/jdk1.4.1_02/jre/lib/i386/libjavaplugin_jni.so
/usr/lib/jdk1.4.1_02/jre/plugin/i386/ns600/libjavaplugin_oji.so
/usr/lib/jdk1.4.1_02/jre/plugin/i386/ns610/libjavaplugin_oji.so -
OMWB under Linux redhat AS 3 : Java 1.4 not found
Hi,
I have already used the oracle migration workbench under Windows with a total sucess.
But passing to Linux Redhat AS 3; Trying to launch the migration workbench by the ./omwb.sh ... the stressing error follows :
Java 1.4 not found. Java 1.4 requiered
I installed the j2re and j2sdk rpms without any changes
please help ! thinksHello All,
I solved the problem by executing the following commands :
$ java -version
... placeholder message ...
$ su -
# alternatives --remove java /usr/share/java/libgcj-java-placeholder.sh
# alternatives --remove javac /usr/share/java/libgcj-javac-placeholder.sh
# alternatives --remove jar /usr/bin/fastjar
# alternatives --remove jar.1.gz /usr/share/man/man1/fastjar.1.gz
# cd /usr/bin
# ln -s /usr/java/jre1.5.0/bin/java java
... also set the links for javac etc ...
# exit
$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
$
Procedure of JDK is similar to J2RE...
It seems that it wasn't a difficult problem
sorry and thinks
Tchao
Maybe you are looking for
-
ITunes 10.6.1.7 keeps crashing
I've just updated to the latest and greatest iTunes 10.6.1.17 on Windows 7. Whenever I start iTunes, I get a message stating "iTunes has stopped working" and the problem details are as follows: Problem signature: Problem Event Name: BEX
-
Where can I find information about developing for apple tv? I work for a company that is interesting in developing an app, but I only see iOS and mac development. I am a member of apple developer program but don't see any information relating to ap
-
Hi, Is the iBookStore for iBooks Author-made books open and ready worldwide? Or just for the US? I am meaning paid ibooks, not just free ones. Thanks. Ignacio
-
Date formatt problems..
when i retreive a date value from oracle it is displaying in yyyy-mm-dd formatt in my date.. but i want it to dispaly in dd-mm-yyyy formatt. how to convert it..in java .. plz asap reply me regards
-
Safari 6 on Mac opens new tabs in iPhone user agent?
Hello, Just upgraded to Safari 6 on Mac OS X Lion and every new tab I open changes the user agent (under the develop menu) to Mozilla iPhone (Causing websites to display mobile versions)? Can anybody explain why this happens and how I can fix it? Its