Linux - javac: file not found
So after wrestling with setting the links and path up, I finally got it recognizing javac all over the place. I made a simple text file to see if it worked, and "javac blah.java" brings up a file not found error. I tried creating it first in the main folder, it didn't work there. I then tried creating it in the actual java/bin/ folder, and running javac from there, and same error. I made the text in nano, and saved in java/bin/ , so how do I get javac to realize the file is actually there?
I know JACK about Linux, but this sounds like a CLASSPATH issue.
http://java.sun.com/javase/6/docs/technotes/tools/solaris/classpath.html
It?s explained there right on Top.
Edited by: AikmanAgain on Feb 10, 2008 1:38 AM
Similar Messages
-
I recently downloaded NetBeans 1.6 Java SE and i'm trying to learn programming. I set my path variable to C:\Program Files\Java\jdk1.6.0_03\bin as it said somewere on Javas website. In NetBeans 1.6 this is the code i typed
class HelloWorld {
public static void main (String args[]) {
System.out.println("Hello World!");
I saved it as HelloWorld.java
When i went in to command promt to try it i type: javac HelloWorld.java
and i get this error messege: javac: file not found: HelloWorld.java
What did i do wrong?codyman7023 wrote:
flounder wrote:
Is that the same as any of the suggestions provided above?what?Not sure what your problem is here but I am at the point of giving up on you.
Numerous people made suggestions in this thread. You responded asking if X was okay when X does not look like ANY of the suggestions given to you.
So no. X is no good and I have no idea why you think resorting to random guessing is going to solve your problem. Why don't you tell us which reply you are attempting to use to solve your request so that we can make suggestions to you on how to fix the broken guesswork you posted in your previous reply? -
[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) -
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 -
Booting 'Arch Linux' Error 15: File not found
Booting 'Arch Linux'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/sda3 ro vga=792
Error 15: File not found
Press any key to continue...
It's the message that Grub send me choose any option.
Can I solve or I need to format and reinstall?donniezazen,
Note that you responded to a three year old thread. I cannot tell if you are having a problem, but I doubt this thread has any bearing on it.
Closing. If you are having an issue, please open a new thread. Our policy
Thanks -
[EDIT] A much simpler way to deal with this is to explicitly ignore the kernel update during a full system update:
pacman -Syu --ignore linux
Then explicitly update the kernel alone:
pacman -S linux
[EDIT] First, after a full system update I had to move the STUB kernel image from the UEFI directory back to /boot, them recreate the images a second time. The systemd service moved it back to the UEFI directory.
[EDIT] The use of 'mdadm_udev' in HOOKS= also seems to be no longer just 'preferred' to the 'mdadm' hook but instead is now mandatory.
I've read the news item...
Changes to LVM
2013-02-12 - Thomas Bächler
With lvm2 2.02.98-3, we now utilize lvmetad to activate LVM volumes automatically. This implies the following changes:
The lvm2 initramfs hook now requires the udev hook.
The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
You can restrict the volumes that are activated automatically by setting the auto_activation_volume_list in /etc/lvm/lvm.conf. If in doubt, leave this option commented out.
If you need monitoring (needed for snapshots), run systemctl enable lvm-monitoring.service.
The lvmwait kernel command line option is no longer needed and has no effect.
If you run pacman -Syu and update device-mapper, linux and lvm2 at the same time, you will get an error message that /sbin/dmsetup is missing. Run mkinitcpio -p linux again after the update to avoid any problems.
...and I do get the message...
==> ERROR: file not found: `/sbin/dmsetup'
...but after a full system update with...
pacman -Syu
...when I execute...
mkinitcpio -p linux
...this is what I get...
Building image from preset: 'default'
/boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
ERROR:specified kernel image does not exist: `/boot/vmlinuz-linux'
Building image from preset: 'fallback'
/boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
ERROR:specified kernel image does not exist: `/boot/vmlinuz-linux'
So of course if I reboot I get the dreaded 'No volume groups found' message.
I should mention that I use the systemd path and service to move the kennel after it has been updated.
Last edited by KairiTech (2013-04-07 02:45:12)With lvm2 2.02.98-3, we now utilize lvmetad to activate LVM volumes automatically. This implies the following changes:
The lvm2 initramfs hook now requires the udev hook.
The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
You can restrict the volumes that are activated automatically by setting the auto_activation_volume_list in /etc/lvm/lvm.conf. If in doubt, leave this option commented out.
If you need monitoring (needed for snapshots), run systemctl enable lvm-monitoring.service.
The lvmwait kernel command line option is no longer needed and has no effect.
Just to confirm. You did all these steps, right?
EDIT: I just noticed something:
KairiTech wrote:HOOKS="base udev autodetect sata mdadm usbinput keymap encrypt lvm2 filesystems timestamp shutdown"
Replace
mdadm
with
mdadm_udev
. Maybe this is nothing, but it is recommended to use this one instead of the other.
NEW EDIT: Expecially this one
The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
Last edited by s1ln7m4s7r (2013-03-24 20:42:55) -
Error 7 Build Error - File not found
I am trying to build my software to another computer over the network. I am able to access the directory I am installing to and the program is not indicating any build errors(all VI's are not broken). This error only occurs when building. Any suggestions would be great.
Thanks,
Nate
The Build was unsuccessful
Possible Reasons: An included VI or one of its dependencies does not exist. Open all Startup/Exported/Dynamically called VIs, recompile them (Ctrl-Shift Click the run arrow), and save them to update their dependencies.
\\PAINESTORAGE\Engineering\Test & Manufacturing Software\AutoTest Software\Current Version\AutoTest ...
Extended Details: Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 7 occurred at ABAPI Dist Report Read Link Info Error.vi -> ABAPI Dist Cmp Settings to Disk Hier.vi -> ABAPI Get Settings From File2.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Rule_Editor.vi -> EBUIP_Item_OnDoProperties.vi -> EBUIP_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Non-existent board.
-Nate
Solved!
Go to Solution.Is there a way to see a report of the dynamically called VI's? I inherited this software and am relatively new to LabView...
-Nate -
FILE NOT FOUND ERROR WHILE INSTALLING ORACLE EM GRID CONTROL 10.2.0.1
FILE NOT FOUND ERROR ON FILES: generalstup, seedstup during the setup phase and when i click ignore from a list of cancel, retry and ignore it moves to the configuration phase and rapidly moves from 63% to 100% and gives the error OUI-10133 invalid staging area. i have tried the install 3 times and dont know what the problem is. i am doing the oracle EM GC INSTALL WITH NEW DATABASE OPTION. i downloaded the full version disks 1-3 from the website:http://www.oracle.com/technology/software/products/oem/index.html
Enterprise Manager 10g Grid Control Release 2 (v10.2.x)
Full Installers (Agent, Repository, OMS, and Management Packs)
Oracle Enterprise Manager 10g Grid Control Release 2 (10.2.0.1) for Linux x86
when this is extracted it leaves me with Disk1, 2, and 3
install started from 1, then it later asks for two whick happens to instead be but under Dist 3-but there are two disk2's under Disk 3- one under oms and one under rdbms folder. i have tried both and alas same errors
i even triwd the same download from edelivery.oracle.com and gives the same madness
am stuck.i followed the link and all the instructions things seemed to go well: it still asked for two files i did not have or could not locate: first its asked for generalstub, then it asked for seedstup and then generalstup again. at this point the installation was at 67% and had passed the link succesful stage and was at the setup succeful stage. when i clicked ignore on generalstub, seedstup and then generalstup again it quicly moved to 100% and never took me to the stage for me to run oraInstroot.sh and allroot.sh
the configuration assistant stage never cameup and it skipped to the page Specify Repository Database Configuration
where it asked for repository database hostname port, service/sid and SYSMAN password and also manament service security password. whe i input all the infor mation it will give errors. i have tries deleting all oracle 3 or 4 times and all files that oracle has and repeated the process and am always stuck here.
error reads :
-error cheching the existence of the SYSMAN user in Management repository
-exception occured while connecting to database . please check the connection details you specified and retry
-io exception connection refused: (DESCRIPTION=(TMP=)(VSNUMM=168821760)(ERR=12514)(ERRO_STACK=(ERROR=(CODE=12514)(EMFI=4))))
REP DB HOSTNAME:SA-OMS-01
PORT:1521
SERVICE/SID:OMSDB01
SYSMAN PASSWORD:PASS
THE REST I PUT PASS AS PASSWORD
NOT SURE WHAT TO DO NEXT. -
[Solved] grub2: file not found but booting fine
I just ran grub-mkconfig to update my grub.cfg because I installed E4rat. But now I have a problem: Every entry in grub2 can be booted and E4rat really boosted my boot process so actually everything is fine. But while grub2 is loading it says something like:
Grub 2 is loading...
Welcome to Grub 2!
error: file not found.
error: file not found.
error: file not found.
Now grub shows up and everything is as it should be. When I select Arch it again says "error: file not found." three times and continues with a normal boot process. So basically it's nothing that would brake my system but something seems not right and that's just a huge annoyance.
Here's my grub.cfg just in case:
# 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
set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1440x900x32
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_GB
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
insmod png
background_image -m stretch /boot/grub/archlinux.png
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-f7960d1a-77ab-4230-ab43-ff931f0b2175' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=f7960d1a-77ab-4230-ab43-ff931f0b2175 ro init=/sbin/e4rat-preload quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-black
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry 'Arch Linux 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-f7960d1a-77ab-4230-ab43-ff931f0b2175' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=f7960d1a-77ab-4230-ab43-ff931f0b2175 ro init=/sbin/e4rat-preload quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-black
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### 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.
menuentry 'Windows 7' {
set root='(hd0,1)'; set legacy_hdbias='0'
parttool "$root" boot+
chainloader '+1'
### END /etc/grub.d/40_custom ###
And my /etc/default/grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch Linux"
# Default:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
# Splashy boot:
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-black"
GRUB_CMDLINE_LINUX="init=/sbin/e4rat-preload"
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
# GRUB_GFXMODE=auto
GRUB_GFXMODE=1440x900x32
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_BACKGROUND="/boot/grub/archlinux.png"
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-blue/black"
GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
I haven't updated my grub.cfg in a while because there was no need to.
Thanks in advance for advices.
Last edited by retzu (2012-04-16 14:16:02)I have the same error message as in the first post. "error: file not found" listed three times when I first choose Arch from the Grub2 menu. The solution linked to by the.ridikulus.rat would not seem to apply as I do not have the locales en* in /boot/grub/locale BTW, I am in the US. The system does boot though.
I just fixed this a few seconds ago and was going to post how, basically I just did "cp /boot/grub/locale/[email protected] /boot/grub/locale/en_US.mo" which seem to do the trick, the reason I didn't fix this sooner is the error only stays up for a very small fraction of a second making it hard to read.
# ls /boot/grub/locale
ast.mo da.mo fi.mo hu.mo it.mo nl.mo ru.mo uk.mo zh_CN.mo
ca.mo de.mo fr.mo id.mo ko.mo pl.mo sv.mo vi.mo
EDIT: I get the same three "error: file not found" messages when I boot Fedora (a multiboot system). This is with grub2 installed from Arch Linux.
Last edited by David Batson (2012-05-02 20:03:41) -
Error 15 file not found.
I was able to install arch linux on a 2 GB flash drive. But I cannot boot into arch linux from the grub menu. I greeted by a message like "error 15 file not found"
my menu.lst file looks like
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
# Linux Grub
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
# (0) Arch Linux
title Arch Linux
root (hd1,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/9157e8a3-c1bd-499a-95fe-524cd9c07d0e ro
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd1,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/9157e8a3-c1bd-499a-95fe-524cd9c07d0e ro
initrd /initramfs-linux-fallback.img
# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
/etc/fstab file looks like
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
#UUID=15eb5a8a-dddc-4b28-8183-f81d450b78d5 swap swap defaults 0 0
#UUID=9157e8a3-c1bd-499a-95fe-524cd9c07d0e / ext3 defaults 0 1
#UUID=aae9fb61-b5ec-40b5-a3dd-232c9a77f29b /boot ext2 defaults 0 1
#UUID=f1a9a9ad-8344-4eb5-be91-1af155c756e4 /home ext3 defaults 0 1
UUID=15eb5a8a-dddc-4b28-8183-f81d450b78d5 swap swap defaults 0 0
UUID=9157e8a3-c1bd-499a-95fe-524cd9c07d0e / ext3 defaults 0 1
UUID=aae9fb61-b5ec-40b5-a3dd-232c9a77f29b /boot ext2 defaults 0 1
UUID=f1a9a9ad-8344-4eb5-be91-1af155c756e4 /home ext3 defaults 0 1
and result of #blikd is
/dev/sda1: UUID="edc30674-5e24-46ae-865c-647b5af6a1ca" TYPE="ext4"
/dev/sda5: UUID="8045e664-17ad-4bfd-8b5e-56d7f17fbcdd" TYPE="swap"
/dev/sdb1: UUID="aae9fb61-b5ec-40b5-a3dd-232c9a77f29b" TYPE="ext2"
/dev/sdb2: UUID="15eb5a8a-dddc-4b28-8183-f81d450b78d5" TYPE="swap"
/dev/sdb3: UUID="9157e8a3-c1bd-499a-95fe-524cd9c07d0e" TYPE="ext3"
/dev/sdb4: UUID="f1a9a9ad-8344-4eb5-be91-1af155c756e4" TYPE="ext3"Here is the result of my fdisk -l /dev/sdb
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 100 102384 83 Linux
/dev/sdb2 101 356 262144 82 Linux swap / Solaris
/dev/sdb3 357 1533 1205248 83 Linux
/dev/sdb4 1534 1926 402432 83 Linux
Last edited by manish411 (2012-01-14 05:24:14) -
Can someone help me please? I am receiving this error everytime I attempt to execute my application:
LabView: File not found. The file might have been moved or deleted, or the file path might be incorrectly formated for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
VI "Mobile Display.vi" was stopped at unknown " " at a call to "Mobile Display.vi"
Attachments:
labview error.jpg 176 KBWe cannot help without additional information:
Are you running your code
...in the development system?
...as a standalone application?
...deployed to an embedded target?
If it is a built application, do you explicitly include dynamically called VIs in the build specification?
Who wrote the program? Do you have access to the code?
How is this VI called? Is there sufficient error handling?
Do you manipulate paths as strings or as proper path datatypes with the strip path/build path primitives etc.?
Is it running on the same OS used to develop it ...
LabVIEW Champion . Do more with less code and in less time . -
Error initializing ejb-module; Exception javac.exe not found under
Dear all,
I got followings error after i had tried to doing some lab.I had checked the folder "C:\Program Files\Oracle\jre\1.3.1" exists but missed but missing javac.exe. Could anyone can advice me what is going wrong?
04/04/14 16:44:20 Auto-deploying - web/WEB-INF/classes (No previous deployment found)...
04/04/14 16:44:20 Error instantiating application 'lab04' at file:/C:/share/oc4j
/labs/lab04/: Error initializing ejb-module; Exception javac.exe not found under
C:\Program Files\Oracle\jre\1.3.1, please use a valid jdk or specify the locati
on of your java compiler in server.xml using the <java-compiler .../> tag
Thanks in advance!
Best Regards,
Chris CHIUDear Chris,
The answer lies in the error message you got, namely:
please use a valid jdkAccording to your post, you don't have a JDK, you only have a JRE. The javac compiler is part of the JDK, it is not part of the JRE.
You can download the JDK from the J2SE Download Web page. Look for the Download J2SE SDK link -- do not choose the Download J2SE JRE link!
Good Luck,
Avi. -
Hi, I have installed Oracle Linux 6.5 64 bits and I want to connect with MSSQL Server using ODBC.
I have installed unixODBC and then Driver Manager and I didnt have any problem.
I created a DNS in odbc.ini file, and I have setup my odbcinst.ini
SUCCESFULL MESSAGE AFTER INSTALL DRIVER MANAGER
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# odbcinst -q -d -n "SQL Server Native Client 11.0"
[SQL Server Native Client 11.0]
Description=Microsoft SQL Server ODBC Driver V1.0 for Linux
Driver=/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0
UsageCount=4
Threading=1
FIRST ERROR
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# isql -v msPreflex userbd grup0r0c10
[01000][unixODBC][Driver Manager]Can't open lib '/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0' : file not found
[ISQL]ERROR: Could not SQLConnect
SECOND ERROR
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# sqlcmd -$172.16.1.141 -userbd -grup0r0c10
sqlcmd: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory
ODBC.INI
[msPreflex]
Driver=SQL Server Native Client 11.0
Description=Prueba Preflex
Trace=Yes
Server=172.16.1.141
Port=1433
Database=Preflex
ODBCINST.INI
[SQL Server Native Client 11.0]
Description=Microsoft SQL Server ODBC Driver V1.0 for Linux
Driver=/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0
UsageCount=4
Threading=1
ENVIROMENT VARIABLES
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# env
ORBIT_SOCKETDIR=/tmp/orbit-root
HOSTNAME=MV-OBI-LINUX
GIO_LAUNCHED_DESKTOP_FILE_PID=3168
IMSETTINGS_INTEGRATE_DESKTOP=yes
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
XDG_SESSION_COOKIE=d020d502ea288dbe070bc5c00000002d-1423846295.554191-1437283619
CPPFLAGS=-DSIZEOF_LONG_INT=8
GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
WINDOWID=39845891
OLDPWD=/root/Documentos/ODBCdriver
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
IMSETTINGS_MODULE=none
USER=root
LD_LIBRARY_PATH=/usr/lib:/usr/lib64:/lib64
GNOME_KEYRING_SOCKET=/tmp/keyring-A7hSJq/socket
SSH_AUTH_SOCK=/tmp/keyring-A7hSJq/socket.ssh
ODBC=/etc/odbc.ini
USERNAME=root
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2515,unix/unix:/tmp/.ICE-unix/2515
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gnome-terminal.desktop
PATH=/usr/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin
MAIL=/var/spool/mail/root
DESKTOP_SESSION=gnome
QT_IM_MODULE=xim
PWD=/root/Documentos/ODBCdriver/sqlncli-11.0.1790.0
XMODIFIERS=@im=none
GDM_KEYBOARD_LAYOUT=es
GNOME_KEYRING_PID=2505
LANG=es_ES.UTF-8
GDM_LANG=es_ES.UTF-8
GDMSESSION=gnome
ODBCSYSINI=/etc
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
HOME=/root
SHLVL=2
CFLAGS=-DBUILD_LEGACY_64_BIT_MODE=1
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=root
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VogE1CY9Xk,guid=4815e509079ed1f0ced76e150000002f
LESSOPEN=|/usr/bin/lesspipe.sh %s
WINDOWPATH=1
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
COLORTERM=gnome-terminal
XAUTHORITY=/var/run/gdm/auth-for-root-N946Cy/database
_=/usr/bin/envI had the same confusing (because file is clearly here) error with isql:
mymachine:/ # isql -v ServerDSN User Password
[01000][unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2260.0' : file not found
[ISQL]ERROR: Could not SQLConnect
Using bcp gave me a hint as to what the real problem is:
mymachine:/ # bcp master.INFORMATION_SCHEMA.TABLES out OutFile.dat -S ServerName-U User -P Password
bcp: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
Oopsie my bad: the package is clearly listed in the
system requirements page.
Running "zypper install libopenssl0_9_8" fixed my issue. -
using linux 5.7 (32bit) and oracle 11g relase 2
SQL> select name,value from v$diag_info;
NAME
VALUE
Diag Enabled
TRUE
ADR Base
/home/oracle/u01/app/oracle
ADR Home
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4
NAME
VALUE
Diag Trace
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace
Diag Alert
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/alert
Diag Incident
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/incident
NAME
VALUE
Diag Cdump
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/cdump
Health Monitor
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/hm
Default Trace File
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace/looking4_ora_4327
.trc
NAME
VALUE
Active Problem Count
0
Active Incident Count
0
11 rows selected.
now when i check
ls -al looking4_ora_43*
-rwxrwxr-x 1 oracle oinstall 2960 Aug 22 09:59 looking4_ora_4300.trc
-rwxrwxr-x 1 oracle oinstall 182 Aug 22 09:59 looking4_ora_4300.trm
-rwxrwxr-x 1 oracle oinstall 2957 Aug 17 10:29 looking4_ora_4306.trc
-rwxrwxr-x 1 oracle oinstall 180 Aug 17 10:29 looking4_ora_4306.trm
-rw-r----- 1 oracle oinstall 2957 Aug 30 10:38 looking4_ora_4325.trc
-rw-r----- 1 oracle oinstall 181 Aug 30 10:38 looking4_ora_4325.trm
-rw-r----- 1 oracle oinstall 2956 Aug 24 15:56 looking4_ora_4380.trc
-rw-r----- 1 oracle oinstall 181 Aug 24 15:56 looking4_ora_4380.trm
-rwxrwxr-x 1 oracle oinstall 2942 Aug 14 10:18 looking4_ora_4394.trc
-rwxrwxr-x 1 oracle oinstall 178 Aug 14 10:18 looking4_ora_4394.trm
[oracle@unknown485b39d0b515 trace]$ pwd
/home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace
so where is
looking4_ora_4327??
thanks in advanceThere is no trace file at your /home/oracle/u01/app/oracle/diag/rdbms/looking4/looking4/trace/looking4_ora_4327, because your current user's session is not being under tracing. See example below :
I logged in as scott user and below is the output :
SQL> column value for a50;
SQL> /
NAME VALUE
Diag Enabled TRUE
ADR Base e:\app\serverroom
ADR Home e:\app\serverroom\diag\rdbms\orcl\orcl
Diag Trace e:\app\serverroom\diag\rdbms\orcl\orcl\trace
Diag Alert e:\app\serverroom\diag\rdbms\orcl\orcl\alert
Diag Incident e:\app\serverroom\diag\rdbms\orcl\orcl\incident
Diag Cdump e:\app\serverroom\diag\rdbms\orcl\orcl\cdump
Health Monitor e:\app\serverroom\diag\rdbms\orcl\orcl\hm
Default Trace File e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_
ora_8056.trcIt means, if my session is being trace, then I have to check e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8056.trc file for this session right? Ok, what if I log out and re-connect :
NAME VALUE
Diag Enabled TRUE
ADR Base e:\app\serverroom
ADR Home e:\app\serverroom\diag\rdbms\orcl\orcl
Diag Trace e:\app\serverroom\diag\rdbms\orcl\orcl\trace
Diag Alert e:\app\serverroom\diag\rdbms\orcl\orcl\alert
Diag Incident e:\app\serverroom\diag\rdbms\orcl\orcl\incident
Diag Cdump e:\app\serverroom\diag\rdbms\orcl\orcl\cdump
Health Monitor e:\app\serverroom\diag\rdbms\orcl\orcl\hm
Default Trace File e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_
ora_8752.trcIt means, now I shall look into e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc for any tracing info; only if it is being trace see :
SQL> host dir e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc;
Volume in drive E is HCL_DISK3
Volume Serial Number is A62A-F491
Directory of e:\app\serverroom\diag\rdbms\orcl\orcl\trace
File Not Found
SQL> alter session set events '10046 trace name context forever,level 12';
Session altered.
SQL> host dir e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc;
Volume in drive E is HCL_DISK3
Volume Serial Number is A62A-F491
Directory of e:\app\serverroom\diag\rdbms\orcl\orcl\trace
30-08-2012 13:39 0 orcl_ora_8752.trc
1 File(s) 0 bytes
0 Dir(s) 121,181,003,776 bytes free
SQL> alter session set events '10046 trace name context off';
Session altered.
SQL> host dir e:\app\serverroom\diag\rdbms\orcl\orcl\trace\orcl_ora_8752.trc;
Volume in drive E is HCL_DISK3
Volume Serial Number is A62A-F491
Directory of e:\app\serverroom\diag\rdbms\orcl\orcl\trace
30-08-2012 13:39 0 orcl_ora_8752.trc
1 File(s) 0 bytes
0 Dir(s) 121,181,003,776 bytes free
SQL>So, in short, you will only get the trace file, if the current session is under tracing.
Regards
Girish Sharma -
Public yum - wrong links - file not found
Hi,
I'm having some trouble with Oracle Linux 6.5 and the UEK3 kernel in VirtualBox, which might be due to hibernation, and wanted to try some older kernel, like UEK1 or UEK2, to see if I can reproduce the issue. More on the problem later. However, I can't even list or install any of the previous kernels.
The first thing I was wondering about is that /etc/repos.d/public-yum-ol6.repo had some strange entries for the uek channels, which I have not seen before:
enabled=$uek
enabled=$uek3
What is this?
Anway, I connected to Oracle Public Yum Server to browse an download the latest repository, which no longer has these entries. It would still not list any kernels other than the 2.6.32 and 3.18.13. So I thought I check what's inside the repositories in a browser.
I copy and paste the URL's shown in the repository configuration file into my web browser, such as:
http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest
and click on "x86_64", I receive:
File not found."
From what I can tell, the problem is, that link locations are incorrect,
such as "x86_64" pointing to http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/x86_64/,
which is missing "latest" in the path.
But the strange thing is, if I click on "Parent Directory" and open "latest" and then "x86_64", it works.
I think I have seen that issue before, several month ago, and the probelm, if I remember correctly, was with public yum.
Thanks.Given the command you're running, yes it's normal. Yum is very weird with versioning of the same package name. If you want to see all the 2.6 kernels that are available:
# yum list --showduplicates "kernel-uek-2.6*"
Loaded plugins: changelog, fs-snapshot, protectbase, rhnplugin, security
This system is receiving updates from RHN Classic or Red Hat Satellite.
0 packages excluded due to repository protections
Available Packages
kernel-uek.x86_64 2.6.32-100.28.5.el6 oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.28.9.el6 oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.28.11.el6 oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.28.15.el6 oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.28.17.el6 oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.34.1.el6uek oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.35.1.el6uek oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.36.1.el6uek oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-100.37.1.el6uek oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-200.16.1.el6uek oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-200.19.1.el6uek oraclelinux6-x86_64
kernel-uek.x86_64 2.6.32-200.20.1.el6uek oraclelinux6-x86_64
Essentially, the --showduplicates parameter is the one you want for list.
Maybe you are looking for
-
Error in Custom Function Module
Hi, I am working on implementing General Ledger Business content in financial Accounting. We had a requirement of creating a Custom Virtual cube similar to 0FIGL_V10. Hence, we had copied the standard function module RS_BCT_FIGL_DATA_GET_VC10 and cre
-
I am trying to save a picture from my facebook page to my ipad and the message i am getting is "To save this photo to your camera roll, please allow photo access in your iPad settings" I have looked everywhere for this setting and can not locate
-
I live out in the sticks and am unable to get any type of high speed internet. I have two telephone lines, one is connected to my iBook and the other is connected to my windows machine. I would like to know if I can use the dial-up connection on my w
-
Links needed for portal devlopment on oracle 10g appserver using jdeveloper
hi, i'm relatively new to portals so wud like to hav sum knowledge of doing basing request & response stuff using jsp's as my UI while developing portlets using Jdeveloper. If anyone could come up with tutorials about portal development on Jdeveloper
-
Unchecked or unsafe operations
I am trying to compile code and I am receiving the error message unchecked or unsafe operations. I tried compiling it with the -Xlint:unchecked and it pointed towards a portion on the code I placed below. The code is too long to put the whole thing i