Stop before shutdown
Hi everybody,
I need to stop a shutoff browser process before close it (like when we shutdown the Operatin System and there is a modified document opened).
Is there anything like this?
Thanks,
Maur�cio S. Mudrik
IT Director
Intercomax - Your Office in Transit
Cybertools - Tools for Cyber Spaces
Aeroshopping.net - The (future) Brazilian Airports Portal Services
55 11 6445-2399 / 2388 / 2622
Yes!
I thinks is this I want.
I gonna test it.
Is there any example?
Thanks.
Maur�cio S. Mudrik
IT Director
Intercomax - Your Office in Transit
Cybertools - Tools for Cyber Spaces
Aeroshopping.net - The (future) Brazilian Airports Portal Services
Similar Messages
-
Apps auto-launch on startup, despite System Prefs and quitting before shutdown.
All apps that were open before shutdown are relaunching themselves upon startup.
This behavior occurs even if I quit each application individually before initiating system shutdown.
This behavior occurs whether I tick or untick the following settings within System Preferences / General:
• Ask to keep changes when closing documents.
• Close windows when quitting an application.
This behavior occurs despite none of the apps being listed within System Prefs / Login Items.
Examples of auto-launching apps (behavior occured just now with these): TextEdit, Dictionary, Calendar, Contacts, Safari, Firefox, Excel, Acrobat.
I am the administrator and only user on this machine.
Early 2011 MacBook Pro 13"
Mac OS X 8.5
Build 12F45
2.7 GHz Intel
8GB RAMBack up all data.
This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
Step 1
If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box markedAllow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
Triple-click anywhere in the following line on this page to select it:
{ sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
Step 2 (optional)
Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
Boot into Recovery. When the OS X Utilities screen appears, select
Utilities ▹ Terminal
from the menu bar. A Terminal window will open.
In the Terminal window, type this:
res
Press the tab key. The partial command you typed will automatically be completed to this:
resetpassword
Press return. A Reset Password window will open. You’re not going to reset a password.
Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select
▹ Restart
from the menu bar. -
I am working with a client who is attempting to backup to a NAS device
The device is a linksys NSS6000 (Cisco device).
It’s a dual 1Gbit LAN device that supports CIFS / FTP and NFS transfers. It has only 1Gbit lan connected.
The device has 4 * 500 gb sata drives in raid 1 attached.
Cables go from cat 5 to fiber back to cat5. (The NAS is located at a neighboring office) The switches are 1gbit.
Server is a win2k8r1 fully up to date.
When backing up to the NAS device, the following error occurs:
Running backup of volume Local Disk(D:), copied (86%).
Running backup of volume Local Disk(D:), copied (90%).
Running backup of volume Local Disk(D:), copied (94%).
Running backup of volume Local Disk(D:), copied (98%).
Backup of volume Local Disk(D:) completed successfully.
Backup stopped before completing.
Summary of backup:
Backup stopped before completing.
The process cannot access the file because it is being used by another process.
If we redirect the backup to a folder on a 2008 share, the backup completes successfully.
Only when backing up to the linksys NSS6000 does the error occur.
No other backup processes are writing to the NAS device so I can't understand why the process thinks the file is
being used by another process.
One thing we did notice that when the backup to the NAS device occurs, throughput is about 150 mbit average
On the 2008 server shares we successfully backup to, the through put is 500 mbit. Not sure if that is important, but
might be worth mentioning.
The following event log entry was noted at the end of the backup.
The description for Event ID '519' in Source 'Microsoft-Windows-Backup' cannot be found.
The local computer may not have the necessary registry information or message DLL files to display the message,
or you may not have permission to access them. The following information is part of the
event:'2009-05-12T10:13:31.617Z', '', '2147942432', '%%2147942432'
Any ideas?
Thanks..MichaelI am also seeing the same problem backing up nightly to a brand new NAS device (WD My Book Live)
All the error codes are the same as those in this thread.
From Windows Event Viewer:
The backup operation that started at '2011-03-25T06:00:19.811302700Z' has failed with following error code '2147942432' (The process cannot access the file because it is being used by another process.). Please review the event details
for a solution, and then rerun the backup operation once the issue is resolved.
Fault bucket 659897467, type 5
Event Name: WindowsBackupFailure
Response: Not available
Cab Id: 0
Problem signature:
P1: Backup
P2: 6.1.7600
P3: 0x80070020
P4: 7
P5:
P6:
P7:
P8:
P9:
P10:
Attached files:
C:\Windows\Logs\WindowsBackup\WindowsBackup.1.etl
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Backup_6957d65de91fc4a853ecc7c78914bf7351fff0d1_14578325
Analysis symbol:
Rechecking for solution: 0
Report Id: dd480bf2-56a6-11e0-ae81-00217099bf56
Report Status: 0
From Report.wer in C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Backup_6957d65de91fc4a853ecc7c78914bf7351fff0d1_14578325
Version=1
EventType=WindowsBackupFailure
EventTime=129455071508181139
Consent=1
UploadTime=129455071508201140
ReportIdentifier=dd480bf2-56a6-11e0-ae81-00217099bf56
Response.BucketId=659897467
Response.BucketTable=5
Response.type=4
Sig[0].Name=Operation
Sig[0].Value=Backup
Sig[1].Name=AppVer
Sig[1].Value=6.1.7600
Sig[2].Name=HRESULT
Sig[2].Value=0x80070020
Sig[3].Name=TargetType
Sig[3].Value=7
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7600.2.0.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
State[0].Key=Transport.DoneStage1
State[0].Value=1
State[1].Key=DataRequest
State[1].Value=Bucket=659897467/nBucketTable=5/nResponse=1/n
FriendlyEventName=WindowsBackupFailure
ConsentKey=WindowsBackupFailure
AppName=Windows host process (Rundll32)
AppPath=C:\Windows\System32\rundll32.exe
ReportDescription=Windows Backup failure -
Itunes and Ipod Classic stop before song ends after transfer to new computer
I purchased a new Windows 7 computer and transferred my library from my XP computer.
I restored my library and all seemed well with the world.
I synched my IPod classic 120GB with over 8000 songs.
I was listening to the IPOD on my docking station when I started noticing that songs would just stop before the end of the song.
I thought my 120GB Ipod was dying, so I purchased a new 160GB.
The problem continued.
I then listened to them on the new computer in Itunes and they did not completely stop, they just skipped to the next track at the same place as it froze on my IPOD.
I listened to the same song on my old computer through Itunes and it played correctly.
I have do not have the Itunes Match and the songs that I currently know that have the problem were purchased on Itunes.
Any suggestions as how to resolve the issue?I would try copying over the tracks from your XP computer again as the files from the first transfer may be corrupted.
B-rock -
Hp j4680 all-in-one printer stops before printing is completed
Ever since windows 8.1 downloaded to my computer I've lost my scanner and have problems printing. It stops before printing is completed and now it won't print at all. I've tried going to H.P. to help but it now says that no printer is found. What can I do?
Hi,
First follow this tool by selecting fix printing:
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-141412-1&cc=us&dlc=en&lc=en...
Be sure to clarify how the printer is connected to your PC, what HP software has been installed and what security program have been installed.
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
Forgot password and wanted to do a recovery. I followed the recommended steps but download of restore/recovery stops before completion,saying it is password protected.
Recovery Mode
1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
Note: Data will be lost. You may have to repeat the above many times. -
Registry writing right before shutdown fails
Hi,
In my NDIS driver code I am trying to write a parameter to the registry (using NdisWriteConfiguration and then I call NdisCloseConfiguration). Usually it works fine, but when I do that just before shutdown the registry is not updated. Can you please help?
Thanks.At some point during shutdown, the registry unmounts itself. This is normal. During an orderly shutdown, the registry flushes its caches, clears the in-use flag, closes the registry. Then the filesystem flushes its caches, clears its in-use
flag, and closes the disk volume. While this is happening, you can't write to the registry, since that would invalidate all the dismounting work.
If you really need to save off state, you can call
IoRegisterShutdownNotification to be notified before this happens. But this is sort of unusual and I don't really encourage it.
Of course, you still need to have a plan for what happens if there shutdown is
not orderly. E.g., what if the power cord gets yanked out? My inclination is to make the "disorderly shutdown" case the every-time case. Then you don't have to worry about special cases, and your recovery code gets tested on every boot. -
Hi,
IS there any proactive before shutdown in oracle 9i/10g?
like JOB_QUEUE_PROCESSES. AQ_TM_PROCESSES(is it deprecated).Press the Power button once. If the Shutdown dialog appears then press RETURN to shut down. If it does not appear then you must do an abnormal shutdown by pressing and holding down the Power button for 5-10 seconds until the computer shuts down.
Before restarting the computer do the following:
Repairing the Hard Drive and Permissions
Boot from your Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer. Now restart normally.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X. -
ITunes downloaded movies, sound stops before end of movie.
Sound stops before end of my downloaded iTunes movies. I must stop the movie and start it again to get all the sound.
I am having the same problem and there does not seem to be an answer. How do we get our money back for the rental? It's not the $4 but the principle ... Don't sell a product that does not work.
-
Shutdown from Lion, Mail stop the shutdown.
Hello,
i have the following problem. If i want to shutdown the iMac with menu - shutdown, i have often the problem, that mail stops the shutdown. Only a hard kill from mail will shutdown the mac. What can i do ? Has someone the some problem ?
ThxiMac, Mac OS X (10.7.3) < your profile
If that is correct, try updating your system software. Click your Apple menu > Software Update.
And try "force quitting" using Activity Monitor (located in HD > Applications > Utilities) instead of Command + Option + E or force quit from the Apple menu. -
I have two question requesting from the Gurus.
1.how can I interpret meaning of TARGET STATE in output of command crsctl stat res -t 2. what exactly is nodeapps and why it need to be stopped before any maintenance activity.I'd tried deleting my user preferences before, and it didn't seem to help. However, I tried again, and also removed the couple of actions I'd had in ~/Library/Automator. Success! Just for good measure, I tried putting the actions back and restoring the old preferences file, and everything still worked. Huh. But that's the nature of these things, I guess. At least it works now, thanks!
-
Network stops before network shares are unmounted (fstab)
Hi,
I use fstab to set up my network shares. In my rc.conf I have "network" then "netfs". When shutting down, the network is stopped before the shares are unmounted so the system never shuts down; it just hangs trying to unmount them.
Is there another/better way to specify network shares or a fix for this issue?
ThanksHi,
I think my solution is better for mobile computers that are not always connecting to the same network: using networkmanager you can make a 'dispatcher'-script that only loads after connecting to a specified network. There are examples on the wiki.
This way, my laptop is not trying to connect to my home NFS-shares when I connect to my parents' network, which could be a security risk. -
Song stops before finishing playing in ITunes and skips to next song
I'm using ITunes on a Windows Vista 64-bit system. Occasionally, when a song is playing, it will stop before it finishes and skip to the next song. It seems to only happen with certain songs though. Very strange. Didn't happen in the past. Is it a bug in Itunes? Any ideas??
This is really getting annoying. I'm on the verge of giving up on iTunes, or at least giving up on iTunes 8. The first rule of business is to make it easy for your customers to give you money. iTunes Store is a classic example of that. The second rule of business is not to p*ss off your customers. Looks like Apple is falling down on this one.
New information since my last rant. I have another computer running iTunes 7.6.0.29. Songs that do not play to completion on iTunes 8, play just fine on this older version of iTunes.
Worse, this problem has infected my wife's iPod. Songs that iTunes 8 does not finish playing also do not finish playing on my wife's iPod Classic (Model MB029LL, Version 1.1.2 PC). The same bug appears to be in newer iPod software.
I have an old 20GB iPod Click Wheel (Version 3.1.1). The same song that fails to play properly on iTunes and the iPod Classic plays just fine on my iPod Click Wheel.
This problem (at least my problem) is obviously a regression. Apple please fix it! -
Whenever i download files, many times it stops before downloading completely and i have to restart the process by visiting the site. Suppose the file is 20 mbs, but it downloads only 2-3 mbs, reports that download is complete, but its just a part of that.
It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.
Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
See "Disable virus scanning in Firefox preferences - Windows"
* http://kb.mozillazine.org/Unable_to_save_or_download_files -
All most downloaded but stops before complete, with wiindows error 206
all most down loaded, but stops before complete windows error 206
Stewart
This forum is for questions regarding the LabVIEW Datalogging and Supervisory Control Module. You will have more luck posting this question in the general LabVIEW forum.
Good luck
Maybe you are looking for
-
When I read image with Read_Image_File procedure i got an error in specified files 'FRM-47100 can not read image c:\abc.jpg' i think it is on high resolution please promply resolve it. its very urgent best regards R E H AN M I R Z A
-
MDP-DVI No Workie, mini DVI-DVI Do! Why?
Just set up my Mini 09. Had stopped by Apple store and picked up MDP-DVI adapter. Plugged it in to my Viewsonic vx 2235, pulled DVI from Mac Pro 2nd display, first time start up, no digital input on display. Swapped MDP with mini DVI adapter (include
-
CSS Load Balancing for MS Winsock Proxy Client
Has anyone load balanced Microsoft Winsock Proxy client? I am trying to load balance internal users using the Winsock client to two MS ISA Servers running Winsock proxy for application access to the internet.
-
LOGO in REUSE_ALV_COMMENTARY_WRITE
Hi all, i use REUSE_ALV_COMMENTARY_WRITE with Logo CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING I_LOGO = 'ENJOYSAP_LOGO' IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE. it works good. I have inserted my
-
Automatic Upload a Mac OS X, Version 10.4.7
I download Dreamweaver 8.1 and 8.2, but when I go to update, I got a massage: "Items remaining to be installed: 111", then it say "No installation was necessary. The files to be installed are already on your disk, or are not needed for your hardware