[systemd]Unmount error at shutdown + moc

Hi there,
I have recently noticed many errors using journalctl:
systemd[1]: Failed unmounting /home.
It's always the same issue. I tried to reproduce it and I found what's going on.
When I shutdown my computer without starting moc (music on console), I have no message. If I start moc and if I use $(mocp -x) then (this command closes the server), I have no issue.
But when I shutdown my computer, without "killing" moc server before, I have the previous message. I reproduced it several times.
It's strange because I see no difference when the computer halts.
There's a similar message here: https://bbs.archlinux.org/viewtopic.php … 4#p1336594 It might be related.
I'm almost sure it started with systemd-207-5.
My fstab:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
#tmpfs
tmpfs /tmp tmpfs nodev,nosuid,size=1G 0 0
# /dev/sda5
UUID=413f313a-ef11-43c9-b9f9-e75ae0a4c17e / ext4 defaults,noatime,rw 0 1
# /dev/sda6
UUID=7e092eea-334c-484a-a751-592a3007e6f8 none swap defaults 0 0
# /dev/sda7
UUID=ab0248ee-088b-4383-bc7b-de23b4903fed /boot ext2 defaults,rw 0 2
# /dev/sda8
UUID=e4e94f7b-7d74-41bf-8ac7-ff59bb80d46a /home ext4 defaults,noatime,rw 0 2
# /dev/sda9
UUID=dff26b18-2847-409c-9b21-b7f230f17daf /mnt/public ext4 defaults,noatime,rw,data=ordered 0 2
# USB
UUID=138D-6D32 /mnt/USB1 vfat users,noauto,noatime,fmask=133,dmask=022 0 0
My mkinitcpio.conf:
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="ahci"
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect block filesystems"
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev block filesystems"
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev block mdadm encrypt filesystems"
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev block lvm2 filesystems"
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""

king.flasher.dave wrote:okay, pretty nice!
But I'd like it to happen AFTER SIGTERM, because there might be processes still using the containers/devices. How can that be accomplished?
Ok. I don't know what exactly what you mean by SIGTERM (can't find that in my journalctl logs), but I presume you simply mean it to unmount after mpd/any-other-service has been stopped?
The answers I got on the mailing list were hard to understand for me in the first place, but at least I now figured out a new way of doing the (un)mounting of tc volumes with an advantage:
As Matthew pointed out, it may be sensible to use truecrypt for the mapping (to /dev/mapper/truecrypt1) only and let the mounting be done via fstab (thus, fsck's should be more easily possible) via this service & a corresponding entry in fstab:
[Unit]
Description=Truecrypt Setup for /dev/sda4
DefaultDependencies=no
Conflicts=umount.target
Before=umount.target
Before=cryptsetup.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
BindsTo=dev-mapper-truecrypt1.device
[Service]
RemainAfterExit=yes
StandardInput=tty-force
ExecStart=/usr/bin/truecrypt --filesystem=none --slot=1 /dev/sda4
ExecStop=/usr/bin/truecrypt --filesystem=none -d /dev/sda4
[Install]
WantedBy=cryptsetup.target
/etc/fstab:
/dev/mapper/truecrypt1 /home ext4 defaults 0 0
But I think this still means that /home ts unmounted before mpd is shutdown, which I don't understand. OTOH, mpd continues playing the song it was interrupted during shutdown correctly after the reboot… weird

Similar Messages

  • Windows 8.1 error on Shutdown

    Hi,
    I get the "explorer.exe - Application error" message whenever I shutdown my laptop. The full message is:
    "The instruction at 0x7e5a3cd9 referenced memory at 0x00000000. The memory could not be read.
    Click on OK to terminate the program."
    I've already tried the solution provided at (social.technet.microsoft.com/Forums/windows/en-US/ef0a5644-5b92-49d6-91de-338e8e409b99/windows-81-explorerexe-application-error-during-shutdown-process?forums=w8itprogeneral) but that did not help. Image of actual
    error (social.technet.microsoft.com/Forums/getfile/421066).
    My laptop is an HP Pavilion 15 Notebook PC, 2.6GHz Core i5-3230M processor, 4GB ram and running windows 8.1 single language 64-bit. Any help will be highly appreciated.
    Unable to add links so posting links without http://

    Hi,
    For this issue,please check the event viewer to see if some error log appeared when the issue occurred.
    It seems that it was caused by corrupted user profile.
    I suggest you use other account to test it.
    If the issue still persists, please photograph the error message and collect crash dump file, then upload here via skydrive or similar network device and share the link here for further research.
    To collect the crash dump, follow these steps:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing it:
    Windows Registry Editor Version 5.00 
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\explorer.exe]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open a program which may cause the issue. If error appeared, please find the crashdump file under c:\.
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Itunes had error and shutdown while updating. when restoring iphone do you lose pics, texts emails etc?

    Itunes had an error and shutdown while updating my iphone 4.  Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes.  I cannot do anything on my phone now.  It shows icons telling me to connect to itunes.  I want to know if I restore my phone do I lose any photos and that were not backed up yet? or What happens to my contacts and phone numbers?

    Itunes had an error and shutdown while updating my iphone 4.  Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes.  I cannot do anything on my phone now.  It shows icons telling me to connect to itunes.  I want to know if I restore my phone do I lose any photos and that were not backed up yet? or What happens to my contacts and phone numbers?

  • Error when shutdown tomcat

    hi,
    i get the below error when i try to shutdown tomcat 5.5.27
    initially before i install tomcat and sun DS 6.3 on solaris 10,when i was trying to restart the system,i see tomcat not started so i tried to restart i get the below error
    #./shutdown.sh
    Using CATALINA_BASE: /export/sasi/tomcat/apache-tomcat-5.5.27
    Using CATALINA_HOME: /export/sasi/tomcat/apache-tomcat-5.5.27
    Using CATALINA_TMPDIR: /export/sasi/tomcat/apache-tomcat-5.5.27/temp
    Using JRE_HOME: /usr/jdk/instances/jdk1.5.0
    Jul 14, 2009 1:45:39 PM org.apache.catalina.startup.Catalina stopServer
    SEVERE: Catalina.stop:
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:520)
    at java.net.Socket.connect(Socket.java:470)
    at java.net.Socket.<init>(Socket.java:367)
    at java.net.Socket.<init>(Socket.java:180)
    at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

    yes specified http://localhost:8080 and tried a few other ports by changing server.xml.
    I've placed .gifs in a directory and tried to view them by typing out the url but still nothing.
    got a feeling it's something with the classpath.. how can i check when it seems to be running ok on it's own?
    I have IIS but i've stopped it running. and also i've got another web app called Zope but that's also not running.
    cheers

  • Windows 8.1 explorer.exe error, on shutdown

    Hello
    I am experiencing a problem, after I upgrade to Window 8.1, i get "explorer.exe - Application Error" dialog every shutdown.
    Which reads
    The instruction at 0x42e93cd9 referenced memory at 0x00000000. The memory could not be read.
    It then only gives me the option to terminate it. Sometimes it hinders m ability to shut down my computer, other times it closes after a few seconds and
    shuts down.
    My computer is a ASUS X550L
    Thanks

    Check this : http://social.technet.microsoft.com/Forums/windows/en-US/ef0a5644-5b92-49d6-91de-338e8e409b99/windows-81-explorerexe-application-error-during-shutdown-process?forum=w8itprogeneral
    Arnav Sharma | Facebook |
    Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members
    reading the thread.

  • I had formatted external HDD as Mac OS Extended(journaled) earlier, but now i want to format the same as ExFAT so that i can copy files between PC and MAC. But it is giving 'Can't unmount' error while i try to run Erase

    I had formatted external HDD as Mac OS Extended(journaled) earlier, but now i want to format the same as ExFAT so that i can copy files between PC and MAC. But it is giving 'Can't unmount' error while i try to run Erase

    Use the PC to reformat the drive.

  • [NAND] s_cxt_boot:88 sftl: error, unclean shutdown; adopted 23 spans thats what appears in my iPhone 4s when I wake up please Help me

    [NAND] s_cxt_boot:88 sftl: error, unclean shutdown; adopted 23 spans thats what appears in my iPhone 4s when I wake up please Help me

    First try resetting your phone - hold the HOME and SLEEP buttons at the same time until an Apple logo appears.
    If that doesn't work restore the phone using Recovery Mode: http://support.apple.com/kb/HT1808.
    And if that fails it is probably a hardware failure (unless the phone is jailbroken; then that is the problem).

  • Officejet 150 Mobile Error "Printer shutdown before the original was removed...

    Display Error: Printer shutdown before the original was removed. Remove the original to continue
    I've tried everything to get the to go away! Help...anybody! Thank You!

    Hi @moosefood , and welcome to the HP Forums!
    I can see from your post that you're experiencing printer errors.  I'd like to help!
    Before we get started, I need a little info. I am linking a few HP Support documents below that will show you how to find which operating system you are using. Also, if you're using Windows, please include whether your operating system is 32-bit or 64-bit.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    In the meantime, I'd recommend a power reset.  Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar.
    Please let me know what you find.  Thanks for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Why does this script error on shutdown?

    it's the one from this package: http://aur.archlinux.org/packages.php?d … =1&ID=2885
    http://aur.archlinux.org/packages/oss2j … ck/os2jack
    Although it works good it spouts some ugly error on shutdown(although it manages to shutdown correctly)
    Now i just copied the code from some other script so i don't know what could be wrong. So please, all you bash ppl out there!
    /me makes mental note to read the rest of RUTE linux manual to 'get' this stuff more.

    Well, at a first glance, the script backgrounds the kill command and then checks the return status, which I'm pretty sure doesn't work... so it probably does it's job, but looks as if it's failing.

  • NFS server unmount error w/ bind-mount

    Hello, please let me know if I should change the thread title.
    so I'm sharing a folder through NFS between two arch-linux pc's.
    Host1 is my desktop, Host2 is my laptop.
    I boot up my computer, rpcbind is started on boot-up
    I launch the server on Host2
    I launch the client on Host1
    on Host2, I do a bind-mount from some directory to the one I'm exporting
    I then unmount it, and it unmounts w/o error
    then I redo the bind-mount
    then, on the client, I mount the server's NFS share to some directory
    then, on the client, I unmount it w/o error
    then, on the server, I try to unmount the bind-mounted directory, but it won't, says it's "busy"
    if I restart the server, then I can unmount the bind-mount w/o error, but I believe it should work without me having to restart the server every time
    I want to bind a different directory to the exported directory.
    server
    $ systemctl start nfs-server
    client
    $ systemctl start nfs-client.target
    server
    $ mount test/ nfs/ --bind
    client
    $ mount Host1:/srv/nfs /mnt/nfs -t nfs
    $ umount /mnt/nfs
    server
    $ umount /srv/nfs
    umount: /srv/nfs: target is busy
    (In some cases useful info about processes that
    use the device is found by lsof(8) or fuser(1).)
    the output of
    $ lsof | grep /srv/nfs
    $ lsof | grep /srv
    did not show anything that had either the substring "nfs" or "rpc" in it...
    below is the status of both hosts rpcbind @startup (they were identical)
    $ systemctl status rpcbind
    rpcbind.service - RPC bind service
    Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; static)
    Active: active (running) since Sat 2014-12-06 15:51:38 PST; 46s ago
    Process: 262 ExecStart=/usr/bin/rpcbind -w ${RPCBIND_ARGS} (code=exited, status=0/SUCCESS)
    Main PID: 264 (rpcbind)
    CGroup: /system.slice/rpcbind.service
    └─264 /usr/bin/rpcbind -w
    Dec 06 15:51:38 BabaLinux systemd[1]: Started RPC bind service.
    below is the status of the nfs-server @ startup then after it was launched
    $ systemctl status nfs-server
    nfs-server.service - NFS server and services
    Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled)
    Active: inactive (dead)
    $ systemctl status nfs-server
    nfs-server.service - NFS server and services
    Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled)
    Active: active (exited) since Sat 2014-12-06 15:53:44 PST; 21s ago
    Process: 483 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
    Process: 480 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
    Main PID: 483 (code=exited, status=0/SUCCESS)
    CGroup: /system.slice/nfs-server.service
    Dec 06 15:53:44 BabaLinux exportfs[480]: exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "NeoZelux:/srv/nfs".
    Dec 06 15:53:44 BabaLinux exportfs[480]: Assuming default behaviour ('no_subtree_check').
    Dec 06 15:53:44 BabaLinux exportfs[480]: NOTE: this default has changed since nfs-utils version 1.0.x
    Dec 06 15:53:44 BabaLinux systemd[1]: Started NFS server and services.
    below is the status of the nfs-client @ startup then after it was launched
    $ systemctl status nfs-client.target
    nfs-client.target - NFS client services
    Loaded: loaded (/usr/lib/systemd/system/nfs-client.target; disabled)
    Active: inactive (dead)
    $ systemctl status nfs-client.target
    nfs-client.target - NFS client services
    Loaded: loaded (/usr/lib/systemd/system/nfs-client.target; disabled)
    Active: active since Sat 2014-12-06 15:54:18 PST; 4s ago
    Dec 06 15:54:18 NeoZelux systemd[1]: Starting NFS client services.
    Dec 06 15:54:18 NeoZelux systemd[1]: Reached target NFS client services.

    NFSv4 operates in "namespaces" and you're basically messing with it's brain by bind-mounting (and unmounting) within the exported directory while it's live, without using the exportfs command (either via add/remove in /etc/exports or just putting it all on the commandline). You'll want to read up on section 7 of the RFC:
    https://tools.ietf.org/html/rfc5661
    In essence you're confusing it's brain -- when you add a bind mount, re-export and vice versa -- when removing it, deconfigure and re-export. It still might not work but you can try -- like Spider.007 I question your technique and methodology. It just feels like you're trying to do something... "wrong" here that should be designed in a better way.

  • Help to eject or unmount disk upon shutdown

    Hello all,
    Please take pity on a newbie and answer what I hope is a really simple script question. This is my first attempt at Apple Script.
    I have searched for a script that will eject (unmount) a disk upon shutdown, but haven't found anything on this board. Do you have a reference to an archived script or an example of such code?
    Background:
    I have a new FireWire drive (Western Digital MyBook). It is OSX compatible, but not well integrated. For example, it should power off when I shut down the computer. It does so, but only if I unmount it first. If you have a similar drive, I should note that this behavior began when I reformatted it to HFS+ (Journaled) from the OEM FAT32. I would like to autmate the un-mounting upon shut-down via an Apple Script.
    I am running OSX 10.3.9 on an E-Mac. As for my programming skills, I used to program in Fortran on both IBM and Unix mainframes, and do some basic Unix system administration tasks. So, I should be able to manage this scripting task if given the right advice.
    Thanks in advance for your help!
    E-Mac   Mac OS X (10.3.9)  
    E-Mac   Mac OS X (10.3.9)  
    E-Mac   Mac OS X (10.3.9)   Western Digital MyBook Firewire Drive

    The issue isn't how to unmount the disk (that's the easy part), the problem is when to trigger it.
    There is no standard mechanism for launching a script at shutdown, so there's no way to tell your script to run prior to the shutdown.
    The best solution I can think of is a stay-open script that sits around doing nothing all day, until it quits. When it quits it unmounts the drive.
    Under normal circumstances you wouldn't quit the script at all - just leave it running, but when the OS tells it to quit as part of the normal shutdown process it does its thing.
    Here's one way of doing it:
    on run
    -- nothing to do here
    end run
    on idle
    return 3600 -- do nothing, and dont' bother me again for an hour
    end idle
    on quit
    tell application "Finder"
    try
    eject disk "diskName"
    end try
    end tell
    continue quit
    end quit
    The 'run' handler is executed when the script is launched, but there's nothing we need to do there.
    The 'idle' handler is run periodically in the background - again, we don't need to do anything here, either. The return value tells AppleScript how long to wait before re-running the idle handler
    The 'quit' handler does the work - as soon as it's called it unmounts the drive, then continues with the normal quit process.
    Of course, there's no checking here to make sure you really are shutting down (vs. just quitting the script manually), so you might want to add some validation (prompt the user, maybe?). You'll notice I wrapped the eject command in a try block - that way it'll fail silently if the disk isn't mounted, otherwise it would post an error dialog "Can't get disk "diskName"".

  • Startup open ORA_12514 error after Shutdown, just upgraded 9i to 10g

    Hi,
    Noobe here, again! Cheers and happy New Year to all!
    How should I edit script to start db that has been shutdown prior to backup?
    We are having a problem with backups, failure is occurring executing SQL*Plus startup after shutdown. I successfully upgraded our 9i to 10g, 10.2.0.5.0 on Windows server 2003, 32-bit. We have a back_script.bat that runs all this, the only edits that I had to make within this were the names for the new Oracle services, but that is not a problem. When I run through the actions in the batch file, it fails at the sql>startup open; action, throws the error "ORA-12514 TNS:listener does not currently nkow of service requested in connect descriptor" What is different here between 9i and 10g that now this doesn't work? By commenting out the line calling our oracle_stop_start.sql I am getting successful >exp dumps, but there could be processes running 'cause I'm not stopping everything before proceeding with the export.
    I have a complete image of the physical server running in a virtual that I am able to test on. Hopefully I'll not put too much info in here, but here is some background! Both the batch file and little stop_start script predate my involvement.
    Here are the pertinent statements in our backup_script.bat:
    SET NLS_LANG=AMERICAN_AMERICA.UTF8
    SET ORACLE_SID=wind
    net stop Windchill3_MethodServer (the third party application that uses the database wind)
    sqlplus "system/manager@wind as sysdba" @D:\ptc\windchill\backups\oracle_stop_start
    exp system/manager@wind owner=guest file=......\oracle_backup.dmp.....etc, etc, etc
    Here is oracle_stop_start.sql
    shutdown immediate;
    startup open;
    quit
    As stated earlier, this has worked at least since 2007 when the last edits were made to the batch file. Now it fails at the sql>startup open; throwing the error ORA-12514. I can duplicate this executing each statement in a dos shell. The shutdown command closes, dismounts and shuts down the database. I have tried changing the startup statement to sql>STARTUP OPEN wind; but that makes no difference. I have found that if I exit sql*plus and log back in /nolog (in the same shell window) then I can restart the instance, what I do is:
    sqlplus /nologsql>connect sys/* as sysdba;
    sql>startup open wind;
    This does successfully start the Oracle instance, mount and open the database. How else might I do this? I can certainly duplicate these actions, adding the necessary lines to oracle_start_stop.sql, but is there a better & cleaner way to do this? Right now I just want to make these existing scripts work. Once that is done, then I'm going to investigate and learn more about RMAN and datapump export/import and update our backup procedures.
    Any thoughts & suggestions?
    Thank you,
    Tom

    It might be a difference in behaviour between 9i and 10g. It looks like you are connecting through sql*net (sqlplus "system/manager@wind as sysdba), so the ORACLE_SID setting is not part of your connection. When the database is shutdown you are no longer connected to any database. When you issue the startup command the ORACLE_SID is not set so there is no service specified.
    If you are running this on the database server, try setting the ORACLE_SID then running your script like:
    {code}sqlplus "system/manager as sysdba" @D:\ptc\windchill\backups\oracle_stop_start{code}
    and you should still have the service set for your connection.
    John

  • The error while shutdown the server

    I installed the JDK1.3.0 and OC4J standalone Version 9.0.3.0.0. I have no problem to start the server by using oc4j.jar. However, I am not able to shutdown the server by
    java -jar admin.jar ormi://localhost/ admin kzhou -shutdown.
    J2ee_home was set to $oracle_home/j2ee/home. I am using window NT.
    The error is as follows:
    javax.naming.NamingException: Lookup error: java.net.ConnectException:Connection refused: no further information; nested exception is:
    java.net.ConnectException: Connection refused: no further information.
    Could anybody tell me what I can do to fix it?
    Thanks a lot.
    Kathy

    Here is what I did.
    1) Uninstalled the JDK1.3.0
    2) renamed the $oracle_home/jdk to $oracle_home/jdk13
    3) Installed the J2SDK1.3.1 in the oracle home directory as $oracle_home/jdk
    4) copied jar files from jdk13 folder to new jdk folder
    5) started the server from Command line
    6) opened the second Command Prompt and shutdown the server. The server stopped.
    Online notes mentioned in Michael's comment is very helpful. Thanks.
    Kathy

  • Windows 8.1 issue explorer.exe error on shutdown NOT resolved and painfully slow bootup

    Hi,
    I have a brand new HP Pavilion Laptop with Windows 8 64bit. I just downloaded the free update to 8.1. And then problems started. 
    First off, the boot up time has almost doubled. Just before the desktop becomes visible, there is a 10 second period where all you see is a black screen. At times this is more than 10 seconds. Then the desktop wallpaper can be seen.
    Secondly, the most annoying problem-, everytime I shutdown or restart , I get an explorer.exe error saying memory cant be read some instruction referenced memory at 0x00000000. ?! What the h-- is this ? I mean is this what we expect to see after updating to
    Windows 8.1 ? This is ridiculous. There is no offical response from the developers either. This is affecting many people all over the world and there is not even any official patch or announcement ? 
    I have read similar posts here and none of the solutions work. Someone says edit the registry, someone says remove the bluetooth service from startup ?! nothing and stopping a bluetooth service should not be considered a solution. Why should I not be able
    to use bluetooth just to resolve this Windows 8.1 error ??
    Please fix this problem urgently. And DO NOT ask us to re-install windows... I mean come on.. You think people have nothing better to do than installing/reinstalling Windows throughout the day ?? Bandwidth does not come cheap everywhere in the world either.
    Please release a patch or some guidelines on fixing this problem ASAP. 

    Hi, I have checked with that link on HP's site and for my product number it said that my laptop has been tested-Update your System from Windows 8 to Windows 8.1
    HP has tested your Windows 8 PC with Windows 8.1 and has created update instructions.
    This is what they say. And I clicked on the Windows Store Icon >> Then I clicked on the Upgrade to Windows 8.1 Tile >> Then I clicked Download Windows 8.1 Update ( over 3 GB ) waited for a couple of days >> Then clicked next a bunch of
    times >> Selected some options that it asked me >> Then waited some more >> some more waiting >> and in 2 weeks I had upgraded to Windows 8.1 >> Then the above PROBLEMS started...
    So, as a request to the tech team or dev team, pls fix this issue. 

  • Error in shutdown script for bea weblogic

    We have this error in the shutdown script of our bea weblogic:
    ./stopWebLogic.sh[33]: -Xms256m: not found.
    using the Oracle OCI database driver
    Shutdown initiated
    The shutdown sequence has been initiated.the script is as follows:
    echo "using the Oracle OCI database driver"
    export ORACLE_HOME=/opt/oracle/product/8.1.7
    export NLS_LANG=AMERICAN_AMERICA.UTF8
    export ORACLE_CLIENT_VERSION=817
    export ORACLE_API_VERSION=8
    PATH=$PATH:$ORACLE_HOME/bin
    SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
    _HOME/lib
    PATH=$JDK_HOME/bin:$PATH
    export PATH
    # Set application specific variables
    DOMAIN_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    #!/bin/sh
    # Weblogic start script for egovernment
    # Based on Colin Brick's initial version
    # Modified 02/04/03 - Colin Brick
    #       - included settings for Oblix from using SSO Assembly Test as example
    # Set General environment variables (Should normally not be changed)
    #Java settings
    JDK_HOME=/opt/bea/jdk131/
    export JDK_HOME
    JAVACMD=java
    JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
    ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""
    export JAVA_OPTIONS
    WEBLOGIC_PORT=51080
    #Bea settings
    BEA_HOME=/opt/bea
    export BEA_HOME
    WEBLOGIC_HOME=/opt/bea/wlserver6.1
    export WEBLOGIC_HOME
    BEA_SECURITY_POLICY=/opt/bea/wlserver6.1/lib/weblogic.policy
    export  BEA_SECURITY_POLICY
    #Oracle settings
    echo "using the Oracle OCI database driver"
    export ORACLE_HOME=/opt/oracle/product/8.1.7
    export NLS_LANG=AMERICAN_AMERICA.UTF8
    export ORACLE_CLIENT_VERSION=817
    export ORACLE_API_VERSION=8
    PATH=$PATH:$ORACLE_HOME/bin
    SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
    _HOME/lib
    PATH=$JDK_HOME/bin:$PATH
    export PATH
    # Set application specific variables
    DOMAIN_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    domain_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    #Set the shared library path
    if [ -n "$SHLIB_PATH" ]; then
            SHLIB_PATH=$SHLIB_PATH:$SHARED_LIBRARY_PATH
    else
            SHLIB_PATH=$SHARED_LIBRARY_PATH
    fi
    export SHLIB_PATH
    # Start weblogic
    # change to weblogic home
    cd $WEBLOGIC_HOME
    PATH=$WL_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH
    $JAVACMD -classpath $CLASSPATH -Dbea.home=$BEA_HOME -Dweblogic.Domain=$DOMAIN_NAME -Dweblogic.Name=MyServer weblogic.Admin -ur
    l t3://localhost:$WEBLOGIC_PORT -username system -password $WLS_PW SHUTDOWNIt has obviously something to do with the line
    JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
    ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""I googled for this Xms1024m, Xmx1024m and it turns out to be for memory management for the java virtual machine.
    I don't know why it sais it can't find "-Xms256m" since it's not in the script.
    Anyone with some experience in this field who can help me out?

    ./stopWebLogic.sh[33]: -Xms256m: not found.
    this can be produced by something like this:
    javaoptions="-Xms256m" // or other option too
    $javacmd $javaoptions
    Now if javacmd has not been set, then $javacmd will be evaluated to the empty string, and the program to look for is the first part in $javaoptions, -Xms256m in our case.

Maybe you are looking for

  • Can you use home sharing over multiple itunes accounts which all use the same wifi?

    The question says it all

  • MacBook Pro doesn't see my Ipad

    Forgive if this has been posted elsewhere but i looked and could only find Ipod issues. All of a sudden my MacBook doesn't see my Ipad (1st generation). it just worked yesterday and I've done no updates and the cable is in working order. When i plug

  • Attachments sent to customer service are not received.

    CRM Experts , We have a typical issue . The business processes is as mentioned below. There are some customers who send their requests via e-mail with attached files to the client but the customer service agents in the Interaction Center are complain

  • Nokia 5800 screen messing up

    when i unlock my nokia 5800 the screen goes really messy and i can't read any thing. the only way to fix it until i lock it again is to press one of the applications, "watch". it started quite a while ago but i thought it might sort it's self out lik

  • Scanner Plug In

    I have a new MacBook Pro running Mac OS X 10.5.3. I was using a Mac Powerbook G4 running Mac OS X 10.4.11. Photoshop CS3 and all plugins worked fine on the old computer. I had to deactivate Photoshop CS3 on the old computer and reactivate it in order