Mac Mini Boots to Unix command line
I've used my Mac Mini for almost two years with no problem. Normally I can figure out what I've done wrong...but not this time. I need some help from the OS X community.
This morning when I toggled to my Mac Mini from Windows (via a KVM switch - not dual booting) I had my OS X login screen with my username and one other username (Guest, I think). It wouldn't accept my password for my account, and I've never had a "Guest" (or whatever the other name was). In addition three other user accounts were missing (my wife, daughter, and one other). All I knew to do was restart (by turning off the Mac and turning it back on because it wouldn't accept my password).
When it booted up I had a black screen with the following two lines:
-sh: /etc/profile: is a directory
-sh-2.05b#
The only unusual thing I can think of is that last night I downloaded and installed a 'free' version of DivX (from their web site). I've never had a problem like this before.
Suggestions? I'm already having withdrawal symptoms from my Mac. Thanks in advance...
Mac Mini Mac OS X (10.4.8) 1.42GHz/1GB/80G HD/SD/Bluetooth +AP/56K MDM
Then, I suspect that the profile file is corrupt. Boot with the install disk, select your language, and, when the menu bar pops up, select Utilities->Terminal. When the Terminal window pops up, type in the following command, and hit the return key:
cat /Volumes/"name of HD"/etc/profile
The result should look like this:
# System-wide .profile for sh(1)
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
If it isn't, then my only suggestion is to reinstall the OS, using the Archive & Install option, saving user and network settings.
G4 450 MP Gigabit Mac OS X (10.4.9)
Similar Messages
-
Running Mac apps from the Unix command line
I hope I don't offend Mac lovers with this question, but as a total Mac newbie, I find Finder cumbersome. This may change as I learn all the features and keyboard shortcuts. but I don't think so. I've been playing with computers for 40 years and Unix for 30 and I know what I like. I like a command line interface, and prefer to avoid the point and squint interface to the extent possible.
I'd prefer to run everything from the shell, and not finder. So to run safari, I'd like to do something intuitive (to me, at least) like type ...
bash# safari
... instead of marching around in Finder or using the dock and the mouse.
Can any of you Mac hackers give an old Unix hacker a pointer to a clue?Yes, I'm way too cheap to buy the book. I can't imagine how much I've saved over the years, always being way too cheap to buy the book. Easily enough to pay for the spiffy new computer.
No Windoze experience? You may think you do, but really, you don't know how lucky you are. My Vaxen ran 4.1 BSD though 4.3 BSD. I've played with a lot of flavors of unix. My favorite flavor in recent years has been FreeBSD, so I began paying close attention to the Mac since OS X.
X11 and Xcode were the first things I installed. I've been poking around, reading the docs, and getting a better handle on it all. I've only scratched the surface of the stuff on your pages, and it's been most helpful. There's good stuff there for unix newbies too.
If it were not for Jerry Garcia, I probably never would have had the stones to open my mouth in front of a microphone. -
Mac Mini boots very slow with Mavericks (after security update)
Hi,
my Mac Mini boots very slow after I've installed Maveriks. I did two clean installs by now, seemed to work OK after the second one but after the latest safety update (2014-002) the boot time is up to 5+ minutes. Starting Safari or other software takes addtional time. See below for system specs, Etrecheck and log. Any ideas what could cause this? According to the update history I did install the security update 2014-002 twice on the same day although I cannot remember doing such a thing.
Thanks Joerg
Hardware Information:
Mac mini (Late 2009)
Mac mini - model: Macmini3,1
1 2.53 GHz Intel Core 2 Duo CPU: 2 cores
8 GB RAM
Video Information:
NVIDIA GeForce 9400 - VRAM: 256 MB
System Software:
OS X 10.9.2 (13C1021) - Uptime: 0 days 0:42:32
Disk Information:
Hitachi HTS545032B9SA02 disk0 : (320,07 GB)
EFI (disk0s1) <not mounted>: 209,7 MB
Macintosh HD (disk0s2) / [Startup]: 319,21 GB (225 GB free)
OPTIARC DVD RW AD-5670S
USB Information:
Mitsumi Electric Hub in Apple Extended USB Keyboard
Mitsumi Electric Apple Optical USB Mouse
Mitsumi Electric Apple Extended USB Keyboard
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Thunderbolt Information:
Gatekeeper:
Mac App Store and identified developers
User Login Items:
iTunesHelper
Internet Plug-ins:
FlashPlayer-10.6: Version: 13.0.0.201 - SDK 10.6 Support
Flash Player: Version: 13.0.0.201 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
Default Browser: Version: 537 - SDK 10.9
Safari Extensions:
AdBlock: Version: 2.6.28
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
3rd Party Preference Panes:
None
Time Machine:
Time Machine not configured!
Top Processes by CPU:
3% WindowServer
1% fontd
0% Console
0% coreservicesd
0% imagent
Top Processes by Memory:
213 MB Safari
90 MB com.apple.IconServicesAgent
90 MB com.apple.WebKit.WebContent
82 MB mds_stores
49 MB Console
Virtual Memory Information:
5.33 GB Free RAM
1.60 GB Active RAM
211 MB Inactive RAM
627 MB Wired RAM
230 MB Page-ins
0 B Page-outs
28.04.14 09:48:09,000 bootlog[0]: BOOT_TIME 1398671289 0
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.appstore" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl".
Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.authd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.bookstore" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.eventmonitor" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.install" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.iokit.power" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.mail" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.MessageTracer" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.performance" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.securityd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.securityd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.securityd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.securityd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.securityd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.securityd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 syslogd[19]: Configuration Notice:
ASL Module "com.apple.securityd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
28.04.14 09:55:31,000 kernel[0]: Longterm timer threshold: 1000 ms
28.04.14 09:55:31,000 kernel[0]: Darwin Kernel Version 13.1.0: Wed Apr 2 23:52:02 PDT 2014; root:xnu-2422.92.1~2/RELEASE_X86_64
28.04.14 09:55:31,000 kernel[0]: vm_page_bootstrap: 1867682 free pages and 147550 wired pages
28.04.14 09:55:31,000 kernel[0]: kext submap [0xffffff7f807a5000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff80007a5000]
28.04.14 09:55:31,000 kernel[0]: zone leak detection enabled
28.04.14 09:55:31,000 kernel[0]: "vm_compressor_mode" is 4
28.04.14 09:55:31,000 kernel[0]: standard timeslicing quantum is 10000 us
28.04.14 09:55:31,000 kernel[0]: standard background quantum is 2500 us
28.04.14 09:55:31,000 kernel[0]: mig_table_max_displ = 74
28.04.14 09:55:31,000 kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
28.04.14 09:55:31,000 kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
28.04.14 09:55:31,000 kernel[0]: calling mpo_policy_init for TMSafetyNet
28.04.14 09:55:31,000 kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
28.04.14 09:55:31,000 kernel[0]: calling mpo_policy_init for Sandbox
28.04.14 09:55:31,000 kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
28.04.14 09:55:31,000 kernel[0]: calling mpo_policy_init for Quarantine
28.04.14 09:55:31,000 kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
28.04.14 09:55:31,000 kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
28.04.14 09:55:31,000 kernel[0]: The Regents of the University of California. All rights reserved.
28.04.14 09:55:31,000 kernel[0]: MAC Framework successfully initialized
28.04.14 09:55:31,000 kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers
28.04.14 09:55:31,000 kernel[0]: AppleKeyStore starting (BUILT: Sep 19 2013 22:20:34)
28.04.14 09:55:31,000 kernel[0]: IOAPIC: Version 0x11 Vectors 64:87
28.04.14 09:55:31,000 kernel[0]: ACPI: sleep states S3 S4 S5
28.04.14 09:55:31,000 kernel[0]: pci (build 20:00:24 Jan 16 2014), flags 0x63008, pfm64 (36 cpu) 0xf80000000, 0x80000000
28.04.14 09:55:31,000 kernel[0]: [ PCI configuration begin ]
28.04.14 09:55:31,000 kernel[0]: console relocated to 0xf80010000
28.04.14 09:55:31,000 kernel[0]: [ PCI configuration end, bridges 5, devices 18 ]
28.04.14 09:55:31,000 kernel[0]: AppleIntelCPUPowerManagement: (built 19:46:50 Jan 16 2014) initialization complete
28.04.14 09:55:31,000 kernel[0]: NVEthernet::start - Built Sep 19 2013 22:20:06
28.04.14 09:55:31,000 kernel[0]: mcache: 2 CPU(s), 64 bytes CPU cache line size
28.04.14 09:55:31,000 kernel[0]: mbinit: done [64 MB total pool size, (42/21) split]
28.04.14 09:55:31,000 kernel[0]: Pthread support ABORTS when sync kernel primitives misused
28.04.14 09:55:31,000 kernel[0]: FireWire (OHCI) Lucent ID 5901 built-in now active, GUID 34159efffe270ccc; max speed s800.
28.04.14 09:55:31,000 kernel[0]: rooting via boot-uuid from /chosen: 289A3125-09B8-376B-ACE3-38D61384202E
28.04.14 09:55:31,000 kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
28.04.14 09:55:31,000 kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
28.04.14 09:55:31,000 kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start
28.04.14 09:55:31,000 kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
28.04.14 09:55:31,000 kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
28.04.14 09:55:31,000 kernel[0]: AppleIntelCPUPowerManagementClient: ready
28.04.14 09:55:31,000 kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@B/AppleMCP79AHCI/PR T0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageD river/Hitachi HTS545032B9SA02 Media/IOGUIDPartitionScheme/Customer@2
28.04.14 09:55:31,000 kernel[0]: BSD root: disk0s2, major 1, minor 2
28.04.14 09:55:31,000 kernel[0]: BTCOEXIST off
28.04.14 09:55:31,000 kernel[0]: wl0: Broadcom BCM4328 802.11 Wireless Controller
28.04.14 09:55:31,000 kernel[0]: 5.10.131.36
28.04.14 09:55:31,000 kernel[0]: hfs: mounted Macintosh HD on device root_device
28.04.14 09:48:39,817 com.apple.launchd[1]: *** launchd[1] has started up. ***
28.04.14 09:48:39,817 com.apple.launchd[1]: *** Shutdown logging is enabled. ***
28.04.14 09:55:30,438 hidd[43]: void __IOHIDPlugInLoadBundles(): Loaded 0 HID plugins
28.04.14 09:55:30,439 hidd[43]: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
28.04.14 09:55:30,602 com.apple.SecurityServer[25]: Session 100000 created
28.04.14 09:55:31,684 fseventsd[44]: event logs in /.fseventsd out of sync with volume. destroying old logs. (3 442 34362)
28.04.14 09:55:31,738 fseventsd[44]: log dir: /.fseventsd getting new uuid: 4D96DE92-DF6A-4074-A734-C058ACC67177
28.04.14 09:55:33,000 kernel[0]: VM Swap Subsystem is ON
28.04.14 09:55:33,000 kernel[0]: Waiting for DSMOS...
28.04.14 09:55:36,000 kernel[0]: IO80211Controller::dataLinkLayerAttachComplete(): adding AppleEFINVRAM notification
28.04.14 09:55:36,000 kernel[0]: IO80211Interface::efiNVRAMPublished():
28.04.14 09:55:36,000 kernel[0]: NVDAStartup: Official
28.04.14 09:55:36,000 kernel[0]: init
28.04.14 09:55:36,000 kernel[0]: probe
28.04.14 09:55:36,000 kernel[0]: start
28.04.14 09:55:36,000 kernel[0]: [IOBluetoothHCIController][start] -- completed
28.04.14 09:55:36,000 kernel[0]: IOBluetoothUSBDFU::probe
28.04.14 09:55:36,000 kernel[0]: IOBluetoothUSBDFU::probe ProductID - 0x8216 FirmwareVersion - 0x0207
28.04.14 09:55:36,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0xe000 ****
28.04.14 09:55:36,000 kernel[0]: **** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed -- 0xe000 ****
28.04.14 09:55:36,000 kernel[0]: [IOBluetoothHCIController][staticBluetoothHCIControllerTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0xe000
28.04.14 09:55:36,000 kernel[0]: NVDANV50HAL loaded and registered
28.04.14 09:55:36,000 kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key LsNM (kSMCKeyNotFound)
28.04.14 09:55:36,000 kernel[0]: SMC::smcReadKeyAction ERROR LsNM kSMCKeyNotFound(0x84) fKeyHashTable=0x0
28.04.14 09:55:36,000 kernel[0]: SMC::smcGetLightshowVers ERROR: smcReadKey LsNM failed (kSMCKeyNotFound)
28.04.14 09:55:36,000 kernel[0]: SMC::smcPublishLightshowVersion ERROR: smcGetLightshowVers failed (kSMCKeyNotFound)
28.04.14 09:55:36,000 kernel[0]: SMC::smcInitHelper ERROR: smcPublishLightshowVersion failed (kSMCKeyNotFound)
28.04.14 09:55:36,000 kernel[0]: Previous Shutdown Cause: 5
28.04.14 09:55:36,000 kernel[0]: SMC::smcInitHelper ERROR: MMIO regMap == NULL - fall back to old SMC mode
28.04.14 09:55:36,000 kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
28.04.14 09:55:36,000 kernel[0]: **** [IOBluetoothHCIController][protectedBluetoothHCIControllerTransportShowsUp] -- Connected to the transport successfully -- 0x6280 -- 0x3800 -- 0xe000 ****
28.04.14 09:55:36,000 kernel[0]: DSMOS has arrived
28.04.14 09:55:37,000 kernel[0]: 00000000 00000020 NVEthernet::setLinkStatus - not Active
28.04.14 09:55:38,000 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
28.04.14 09:55:38,142 configd[54]: setting hostname to "Susannes-Mac-mini.local"
28.04.14 09:55:38,147 configd[54]: network changed.
28.04.14 09:55:38,368 com.apple.SecurityServer[25]: Entering service
28.04.14 09:55:38,000 kernel[0]: Ethernet [nvenet]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [796d,0000,0de1,0005,45e1,0000]
28.04.14 09:55:38,000 kernel[0]: 05f5e100 00500026 NVEthernet::setLinkStatus - Active
28.04.14 09:55:39,000 kernel[0]: Ethernet [nvenet]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [796d,0000,0de1,0005,45e1,0000]
28.04.14 09:55:39,000 kernel[0]: 05f5e100 00500026 NVEthernet::setLinkStatus - Active
28.04.14 09:55:41,920 digest-service[63]: label: default
28.04.14 09:55:41,921 digest-service[63]: dbname: od:/Local/Default
28.04.14 09:55:41,921 digest-service[63]: mkey_file: /var/db/krb5kdc/m-key
28.04.14 09:55:41,921 digest-service[63]: acl_file: /var/db/krb5kdc/kadmind.acl
28.04.14 09:55:42,335 mDNSResponder[35]: mDNSResponder mDNSResponder-522.90.2 (Nov 3 2013 18:51:09) starting OSXVers 13
28.04.14 09:55:42,768 loginwindow[38]: Login Window Application Started
28.04.14 09:55:43,026 UserEventAgent[11]: Captive: CNPluginHandler en1: Inactive
28.04.14 09:55:43,278 airportd[61]: sandbox cache error 3850
28.04.14 09:55:43,423 digest-service[63]: sandbox cache error 11: database disk image is malformed
28.04.14 09:55:43,851 UserEventAgent[11]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
28.04.14 09:55:44,005 com.apple.usbmuxd[17]: usbmuxd-327.4 on Feb 12 2014 at 14:54:33, running 64 bit
28.04.14 09:55:44,942 digest-service[63]: digest-request: uid=0
28.04.14 09:55:45,441 airportd[61]: airportdProcessDLILEvent: en1 attached (up)
28.04.14 09:55:45,729 awacsd[57]: Starting awacsd connectivity_executables-97 (Aug 24 2013 23:49:23)
28.04.14 09:55:46,356 awacsd[57]: InnerStore CopyAllZones: no info in Dynamic Store
28.04.14 09:55:46,370 stackshot[21]: Timed out waiting for IOKit to finish matching.
28.04.14 09:55:47,289 configd[54]: network changed.
28.04.14 09:55:47,291 configd[54]: network changed: DNS*
28.04.14 09:55:47,318 systemkeychain[82]: done file: /var/run/systemkeychaincheck.done
28.04.14 09:55:47,593 apsd[59]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
28.04.14 09:55:47,723 mDNSResponder[35]: D2D_IPC: Loaded
28.04.14 09:55:47,723 mDNSResponder[35]: D2DInitialize succeeded
28.04.14 09:55:47,727 mDNSResponder[35]: 4: Listening for incoming Unix Domain Socket client requests
28.04.14 09:55:48,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xe000 ****
28.04.14 09:55:48,846 networkd[98]: networkd.98 built Aug 24 2013 22:08:46
28.04.14 09:55:48,926 digest-service[63]: digest-request: netr probe 0
28.04.14 09:55:48,927 digest-service[63]: digest-request: init request
28.04.14 09:55:49,050 digest-service[63]: digest-request: init return domain: BUILTIN server: SUSANNES-MAC-MINI indomain was: <NULL>
28.04.14 09:55:49,000 kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key BEMB (kSMCKeyNotFound)
28.04.14 09:55:55,000 kernel[0]: flow_divert_kctl_disconnect (0): disconnecting group 1
28.04.14 09:55:55,395 WindowServer[80]: Server is starting up
28.04.14 09:55:55,554 WindowServer[80]: Session 256 retained (2 references)
28.04.14 09:55:55,554 WindowServer[80]: Session 256 released (1 references)
28.04.14 09:55:55,619 WindowServer[80]: Session 256 retained (2 references)
28.04.14 09:55:55,689 WindowServer[80]: init_page_flip: page flip mode is on
28.04.14 09:55:56,015 mds[34]: (Normal) FMW: FMW 0 0
28.04.14 09:55:56,075 locationd[40]: NBB-Could not get UDID for stable refill timing, falling back on random
28.04.14 09:55:56,238 WindowServer[80]: Found 27 modes for display 0x00000000 [24, 3]
28.04.14 09:55:56,569 WindowServer[80]: Found 1 modes for display 0x00000000 [1, 0]
28.04.14 09:55:56,571 WindowServer[80]: mux_initialize: Couldn't find any matches
28.04.14 09:55:56,572 WindowServer[80]: Found 27 modes for display 0x00000000 [24, 3]
28.04.14 09:55:56,778 locationd[40]: Location icon should now be in state 'Inactive'
28.04.14 09:55:56,964 WindowServer[80]: Found 1 modes for display 0x00000000 [1, 0]
28.04.14 09:55:56,995 WindowServer[80]: WSMachineUsesNewStyleMirroring: false
28.04.14 09:55:56,997 WindowServer[80]: Display 0x764bdc00: GL mask 0x1; bounds (0, 0)[1280 x 1024], 27 modes available
Main, Active, on-line, enabled, boot, Vendor 4dd9, Model 2f70, S/N 0, Unit 0, Rotation 0
UUID 0x6077c6f135c4c44ddc359cba2050401d
28.04.14 09:55:56,997 WindowServer[80]: Display 0x003f003d: GL mask 0x2; bounds (0, 0)[0 x 0], 1 modes available
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
28.04.14 09:55:56,998 WindowServer[80]: WSSetWindowTransform: Singular matrix
28.04.14 09:55:57,421 WindowServer[80]: Display 0x764bdc00: GL mask 0x1; bounds (0, 0)[1280 x 1024], 27 modes available
Main, Active, on-line, enabled, boot, Vendor 4dd9, Model 2f70, S/N 0, Unit 0, Rotation 0
UUID 0x6077c6f135c4c44ddc359cba2050401d
28.04.14 09:55:57,421 WindowServer[80]: Display 0x003f003d: GL mask 0x2; bounds (2304, 0)[1 x 1], 1 modes available
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
28.04.14 09:55:57,421 WindowServer[80]: CGXPerformInitialDisplayConfiguration
28.04.14 09:55:57,421 WindowServer[80]: Display 0x764bdc00: Unit 0; Vendor 0x4dd9 Model 0x2f70 S/N 0 Dimensions 13.31 x 10.63; online enabled, Bounds (0,0)[1280 x 1024], Rotation 0, Resolution 1
28.04.14 09:55:57,422 WindowServer[80]: Display 0x003f003d: Unit 1; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2304,0)[1 x 1], Rotation 0, Resolution 1
28.04.14 09:55:57,592 apsd[59]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
28.04.14 09:55:58,874 mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007F931180C560 Susannes-Mac-mini.local. (AAAA) that's already in the list
28.04.14 09:55:58,874 mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007F931180C9F0 C.C.C.0.7.2.E.F.F.F.E.9.5.1.6.3.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. (PTR) that's already in the list
28.04.14 09:55:58,874 mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007F931180E160 Susannes-Mac-mini.local. (Addr) that's already in the list
28.04.14 09:55:58,874 mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007F931180E5F0 1.0.0.127.in-addr.arpa. (PTR) that's already in the list
28.04.14 09:55:59,615 WindowServer[80]: GLCompositor: GL renderer id 0x0102260e, GL mask 0x00000003, accelerator 0x0000428b, unit 0, caps QEX|MIPMAP, vram 256 MB
28.04.14 09:55:59,715 WindowServer[80]: GLCompositor: GL renderer id 0x0102260e, GL mask 0x00000003, texture max 8192, viewport max {8192, 8192}, extensions FPRG|NPOT|GLSL|FLOAT
28.04.14 09:55:59,716 WindowServer[80]: GLCompositor enabled for tile size [256 x 256]
28.04.14 09:55:59,716 WindowServer[80]: CGXGLInitMipMap: mip map mode is on
28.04.14 09:55:59,726 WindowServer[80]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
28.04.14 09:55:59,801 loginwindow[38]: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
28.04.14 09:56:00,154 configd[54]: network changed: v4(en0+:192.168.178.24) DNS+ Proxy+ SMB
28.04.14 09:56:00,166 configd[54]: setting hostname to "susannes-mini.fritz.box"
28.04.14 09:56:01,357 awacsd[57]: Exiting
28.04.14 09:56:02,738 WindowServer[80]: _CGXGLDisplayContextForDisplayDevice: acquired display context (0x7fc9bb513090) - enabling OpenGL
28.04.14 09:56:03,337 WindowServer[80]: Display 0x764bdc00: Unit 0; ColorProfile { 2, "SDM-HS74"}; TransferFormula (1.000000, 1.000000, 1.000000)
28.04.14 09:56:03,383 WindowServer[80]: Display 0x764bdc00: Unit 0; ColorProfile { 2, "SDM-HS74"}; TransferFormula (1.000000, 1.000000, 1.000000)
28.04.14 09:56:03,397 WindowServer[80]: Display 0x764bdc00: Unit 0; ColorProfile { 2, "SDM-HS74"}; TransferFormula (1.000000, 1.000000, 1.000000)
28.04.14 09:56:03,448 ntpd[106]: proto: precision = 1.000 usec
28.04.14 09:56:03,489 launchctl[126]: com.apple.findmymacmessenger: Already loaded
28.04.14 09:56:03,785 com.apple.SecurityServer[25]: Session 100004 created
28.04.14 09:56:04,311 digest-service[63]: digest-request: uid=0
28.04.14 09:56:04,312 digest-service[63]: digest-request: init request
28.04.14 09:56:04,316 digest-service[63]: digest-request: init return domain: MACMINI-270CCC server: SUSANNES-MINI indomain was: <NULL>
28.04.14 09:56:04,363 digest-service[63]: digest-request: uid=0
28.04.14 09:56:04,364 digest-service[63]: digest-request: init request
28.04.14 09:56:04,368 digest-service[63]: digest-request: init return domain: SUSANNES-MINI server: SUSANNES-MINI indomain was: <NULL>
28.04.14 09:56:04,370 UserEventAgent[127]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
28.04.14 09:56:05,219 loginwindow[38]: Login Window Started Security Agent
28.04.14 09:56:05,648 SecurityAgent[142]: This is the first run
28.04.14 09:56:05,649 SecurityAgent[142]: MacBuddy was run = 0
28.04.14 09:56:05,672 SecurityAgent[142]: User info context values set for susannescherwinski
28.04.14 09:56:06,399 loginwindow[38]: Login Window - Returned from Security Agent
28.04.14 09:56:06,427 loginwindow[38]: USER_PROCESS: 38 console
28.04.14 09:56:06,000 kernel[0]: AppleKeyStore:Sending lock change 0
28.04.14 09:56:06,970 com.apple.launchd.peruser.501[145]: Background: Aqua: Registering new GUI session.
28.04.14 09:56:06,996 com.apple.launchd.peruser.501[145]: (com.apple.EscrowSecurityAlert) Unknown key: seatbelt-profiles
28.04.14 09:56:06,998 com.apple.launchd.peruser.501[145]: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
28.04.14 09:56:07,002 launchctl[147]: com.apple.pluginkit.pkd: Already loaded
28.04.14 09:56:07,002 launchctl[147]: com.apple.sbd: Already loaded
28.04.14 09:56:07,029 distnoted[149]: # distnote server agent absolute time: 479.663146784 civil time: Mon Apr 28 09:56:07 2014 pid: 149 uid: 501 root: no
28.04.14 09:56:07,530 UserEventAgent[148]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
28.04.14 09:56:07,569 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDRadeonX4000_AMDAccelDevice.
28.04.14 09:56:07,569 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDRadeonX4000_AMDAccelSharedUserClient.
28.04.14 09:56:07,569 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDSIVideoContext.
28.04.14 09:56:07,569 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class Gen6DVDContext.
28.04.14 09:56:07,569 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelDevice.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelSharedUserClient.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMedia.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextVEBox.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOBluetoothDeviceUserClient.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOHIDParamUserClient.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOSurfaceRootUserClient.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the mach service named com.apple.AirPlayXPCHelper.
28.04.14 09:56:07,570 com.apple.audio.DriverHelper[161]: The plug-in named AirPlay.driver requires extending the sandbox for the mach service named com.apple.blued.
28.04.14 09:56:07,608 com.apple.audio.DriverHelper[161]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the IOKit user-client class IOBluetoothDeviceUserClient.
28.04.14 09:56:07,608 com.apple.audio.DriverHelper[161]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the mach service named com.apple.blued.
28.04.14 09:56:07,608 com.apple.audio.DriverHelper[161]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the mach service named com.apple.bluetoothaudiod.
28.04.14 09:56:07,732 com.apple.SecurityServer[25]: Session 100006 created
28.04.14 09:56:07,760 mds[34]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputerIndexed"
28.04.14 09:56:07,793 mds[34]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
28.04.14 09:56:07,820 sharingd[170]: Starting Up...
28.04.14 09:56:07,954 WindowServer[80]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
28.04.14 09:56:08,649 WindowServer[80]: Display 0x764bdc00: Unit 0; ColorProfile { 2, "SDM-HS74"}; TransferFormula (1.000000, 1.000000, 1.000000)
28.04.14 09:56:09,364 com.apple.IconServicesAgent[201]: IconServicesAgent launched.
28.04.14 09:56:09,577 accountsd[202]: assertion failed: 13C1021: liblaunch.dylib + 25164 [38D1AB2C-A476-385F-8EA8-7AB604CA1F89]: 0x25
28.04.14 09:56:09,719 com.apple.SecurityServer[25]: Session 100009 created
28.04.14 09:56:10,587 WiFiKeychainProxy[182]: [NO client logger] <Nov 10 2013 18:30:13> WIFICLOUDSYNC WiFiCloudSyncEngineCreate: created...
28.04.14 09:56:10,588 WiFiKeychainProxy[182]: [NO client logger] <Nov 10 2013 18:30:13> WIFICLOUDSYNC WiFiCloudSyncEngineRegisterCallbacks: WiFiCloudSyncEngineCallbacks version - 0, bundle id - com.apple.wifi.WiFiKeychainProxy
28.04.14 09:56:10,847 SystemUIServer[156]: Cannot find executable for CFBundle 0x7fb68855c320 </System/Library/CoreServices/Menu Extras/Clock.menu> (not loaded)
28.04.14 09:56:10,864 SystemUIServer[156]: Cannot find executable for CFBundle 0x7fb68847aab0 </System/Library/CoreServices/Menu Extras/Volume.menu> (not loaded)
28.04.14 09:56:12,097 imagent[189]: [Warning] Services all disappeared, removing all dependent devices
28.04.14 09:56:12,122 imagent[189]: [Warning] Creating empty account: PlaceholderAccount for service: IMDService (iMessage)
28.04.14 09:56:12,123 imagent[189]: [Warning] Creating empty account: PlaceholderAccount for service: IMDService (iMessage)
28.04.14 09:56:12,163 soagent[184]: [Warning] Services all disappeared, removing all dependent devices
28.04.14 09:56:12,181 soagent[184]: No active accounts, killing soagent in 10 seconds
28.04.14 09:56:12,184 soagent[184]: No active accounts, killing soagent in 10 seconds
28.04.14 09:56:12,417 secd[207]: __EnsureFreshParameters_block_invoke_2 SOSCloudKeychainSynchronizeAndWait: The operation couldn’t be completed. (SyncedDefaults error 1025 - Remote error : No valid account for KVS)
28.04.14 09:56:12,417 secd[207]: __talkWithKVS_block_invoke callback error: The operation couldn’t be completed. (SyncedDefaults error 1025 - Remote error : No valid account for KVS)
28.04.14 09:56:12,639 secd[207]: SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
28.04.14 09:56:12,639 secd[207]: securityd_xpc_dictionary_handler WiFiKeychainProx[182] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
28.04.14 09:56:12,944 com.apple.time[148]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
28.04.14 09:56:22,465 mds[34]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
28.04.14 09:56:23,038 mds[34]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
28.04.14 09:56:23,156 soagent[184]: Killing soagent.
28.04.14 09:56:23,156 NotificationCenter[181]: SOHelperCenter main connection interrupted
28.04.14 09:56:23,159 NotificationCenter[181]: SOHelperCenter main connection interrupted
28.04.14 09:56:23,160 imagent[189]: [Warning] Denying xpc connection, task does not have entitlement: com.apple.private.icfcallserver (soagent:184)
28.04.14 09:56:23,160 imagent[189]: [Warning] Denying xpc connection, task does not have entitlement: com.apple.private.icfcallserver (soagent:184)
28.04.14 09:56:23,314 mds[34]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
28.04.14 09:56:23,316 mds[34]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
28.04.14 09:56:24,403 parentalcontrolsd[216]: StartObservingFSEvents [849:] -- *** StartObservingFSEvents started event stream
28.04.14 09:56:33,245 com.apple.time[148]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
28.04.14 09:56:33,310 soagent[217]: [Warning] Services all disappeared, removing all dependent devices
28.04.14 09:56:33,318 soagent[217]: No active accounts, killing soagent in 10 seconds
28.04.14 09:56:33,467 com.apple.dock.extra[212]: No endpoint returned trying to load UnreadCountController.bundle, suspending
28.04.14 09:56:33,493 soagent[217]: No active accounts, killing soagent in 10 seconds
28.04.14 09:56:33,494 soagent[217]: No active accounts, killing soagent in 10 seconds
28.04.14 09:56:44,319 soagent[217]: Killing soagent.
28.04.14 09:56:44,320 com.apple.dock.extra[212]: SOHelperCenter main connection interrupted
28.04.14 09:56:44,322 com.apple.dock.extra[212]: SOHelperCenter main connection interrupted
28.04.14 09:56:44,324 imagent[189]: [Warning] Denying xpc connection, task does not have entitlement: com.apple.private.icfcallserver (soagent:217)
28.04.14 09:56:44,324 imagent[189]: [Warning] Denying xpc connection, task does not have entitlement: com.apple.private.icfcallserver (soagent:217)
28.04.14 10:00:56,532 WindowServer[80]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
28.04.14 10:00:57,256 WindowServer[80]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 1.72 seconds (server forcibly re-enabled them after 1.00 seconds)
28.04.14 10:00:59,103 com.apple.IconServicesAgent[201]: main Failed to composit image for binding VariantBinding [0x42d] flags: 0x8 binding: FileInfoBinding [0x1f3] - extension: docx, UTI: org.openxmlformats.wordprocessingml.document, fileType: WXBN.
28.04.14 10:00:59,104 quicklookd[227]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x203] flags: 0x8 binding: FileInfoBinding [0x103] - extension: docx, UTI: org.openxmlformats.wordprocessingml.document, fileType: WXBN request size:64 scale: 1
28.04.14 10:00:59,143 com.apple.IconServicesAgent[201]: main Failed to composit image for binding VariantBinding [0x3df] flags: 0x8 binding: FileInfoBinding [0x2e5] - extension: pdf, UTI: com.adobe.pdf, fileType: ????.
28.04.14 10:00:59,144 quicklookd[227]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x403] flags: 0x8 binding: FileInfoBinding [0x303] - extension: pdf, UTI: com.adobe.pdf, fileType: ???? request size:64 scale: 1
28.04.14 10:00:59,208 com.apple.IconServicesAgent[201]: main Failed to composit image for binding VariantBinding [0x1f5] flags: 0x8 binding: FileInfoBinding [0x42f] - extension: mp3, UTI: public.mp3, fileType: MPG3.
28.04.14 10:00:59,208 quicklookd[227]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x603] flags: 0x8 binding: FileInfoBinding [0x503] - extension: mp3, UTI: public.mp3, fileType: MPG3 request size:64 scale: 1
28.04.14 10:01:03,377 mds[34]: (Normal) Volume: volume:0x7f9c5c863000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/firmwaresyncd.S2FNIL
28.04.14 10:01:17,708 System Events[269]: .sdef warning for part of complex type 'any | number | boolean | date | list | record | text | data' used in suite 'Property List Suite': 'data' is not a valid type name.
28.04.14 10:01:17,709 System Events[269]: .sdef warning for type 'text | missing value | any' attribute 'uniqueID' of class 'XML element' in suite 'XML Suite': AppleScript ID references may not work for this property because its type is not NSNumber- or NSString-derived.
28.04.14 10:01:24,175 Safari[219]: ERROR: ForceShrinkPersistentStore_NoLock -delete- We do not have a BLOB or TEXT column type. Instead, we have 5.Anybody?
Did I something wrong? Too many lines of log? Wrong category? Enlighten me. Thx. -
Using Unix Command Line to force logoff of other users
Hello - I am the administrator for my family's Mac (OS X - 10.4.8). Four of us in the family share the system. Frequently, my family members forget to logoff. I would like to be able to force them off via the Unix command line. Can't I sign on as root and execute a "forced logoff" type of command?
Thanks to Mihalis and Jarik for the additional info.
I'm back now with a question. I have a user named "visitor" logged on. I issued a killall command which killed all the users processes except one. Using /Applications/Activity Monitor.app, I can see the process is "loginwindow" and it is owned by visitor.
However,
ps -u visitor
reveals no running processes. Assuming I only had command-line access (no GUI to use Activity Monitor.app) and had multiple users logged in, how can I discover which loginwindow PID belongs to visitor?
msq
EDIT: I went ahead and sudo kill PID the loginwindow process owned by visitor and realized that
ps -axj | grep visitor
worked to reveal the loginwindow process owned by visitor. But when I logged visitor in (Fast User Switching) and ran sudo killall the Activity Monitor.app identifies the loginwindow as being owned by root but ps -axj | grep visitor shows the process belonging to visitor.
Something weird in the depths of Leopard's UNIX land, but I think I can find my way around now.
Thanks, everyone.
Message was edited by: mistersquid -
How to execute unix command line from cocoa?
how to execute unix command line from cocoa?
for example, if I want to call "ping" from cocoa, how should I do it? and how can I obtain the return value?
thank you.
Power G5 Quad Mac OS X (10.4.3)The following article may also help:
http://cocoadevcentral.com/articles/000025.php
Mihalis.
Dual G5 @ 2GHz Mac OS X (10.4.6) -
Can Mac mini boot into 64-bit kernel
http://macperformanceguide.com/SnowLeopard-64bit.html says:
To determine if your Mac has 32-bit or 64-bit firmware, copy/paste the following command into Terminal:
ioreg -l -p IODeviceTree | grep firmware-abi
...output:
| | "firmware-abi" = <EFI64>
As shown above, the firmware-abi has the value EFI64, indicating that my Mac Pro is 64-bit capable. If it reads EFI32, then your Mac cannot be booted into a 64-bit kernel.
...well, my Mac mini displays that EFI64 64-bit info, but when booting with the "64" keys down it nevertheless uses the 32-bit kernel.
So can the Mac mini boot into 64-bit kernel?What you are missing is that Apple has written into the boot ROM for certain Macs which meet the criteria to not be able to boot with the 64-bit kernel. The Mac mini is not allowed to boot into 64-bit mode by Apple. There is a list of non-pro Macs hard coded into the EFI boot firmware that tells it not to allow these Macs to boot into 64-bit mode. The Mac mini is on the list! Try as you may the Mac mini will not do it without a hack.
If you google this issue you can find a hack to rewrite the boot firmware and allow the mini to boot into 64-bit mode. It can be dangerous to your mini if you make a mistake!
Here is one hack;
http://www.osxbook.com/blog/2009/08/31/is-your-machine-good-enough-for-snow-leop ard-k64/
Dah•veed -
Command to compile a form in Unix command line
What is the command to compile a report in Unix command line for Oracle Developer Suite 10g Form version 9.0.4.0.19? Thanks.
I am not quite sure but as I remember it is something like:
rgen10*.exe something on oracle_home/bin directory
Hope this helps
Ghulam -
How to change the account name in Mac OS X via a command line. When I created the account I mistyped the name. I have a management suite where I can execute remote scripts. I would like to run a script that changes the name from oldname to newname.
None of these Macs have been used currently.
Thank you,
BrianIf user account shortname, see Changing user account shortname
-
Help Please: How to invoke unix command lines from java?
I have read past topics. Those are really helpful, but I still haven't got my job done. I tried the following:
String command1 = "ls -la > ls1.txt";
Runtime.getRuntime().exec(command1);
String command2 = "tcsh -c ls -la > ls2.txt";
Runtime.getRuntime().exec(command2);
String command4 = "cp keywords.txt copyversion1.txt";
Runtime.getRuntime().exec(command4);
String command5 = "tcsh -c cp keywords.txt copyversion2.txt";
Runtime.getRuntime().exec(command5);
String command6 = "tcsh -c 'cp keywords.txt copyversion3.txt'";
Runtime.getRuntime().exec(command6);
Only "command4" works. Any input will be greatly appreciated.Thank you very much Gautam. Your solution certainly works. If you don't mind, I would like to ask you (or anybody who is willing to answer) something else. I am trying to run other types of unix command lines as well. I thought that the format you gave would work for everything. But it doesn't seem so:
String command1[] = {"tcsh", "-c", "ls -la > ls1.txt "}; // this works as you suggested
Runtime.getRuntime().exec(command1);
String command12[] = {"tcsh", "-c", "lynx -dump http://www.yahoo.com > webpage.txt"}; //working fine.
Runtime.getRuntime().exec(command12);
String command10[] = {"tcsh", "-c", "ngram-count -text keywords.txt -lm LM10 &"}; //doesn't work
Runtime.getRuntime().exec(command10);
String command[] = {"tcsh", "-c", "/u/drspeech/sun4/bin/ngram-count -text keywords.txt -lm LM0 &"}; // doesn't work
Runtime.getRuntime().exec(command);
String command13[] = {"tcsh", "-c", "ngc -text keywords.txt -lm LM13"}; // doesn't work
Runtime.getRuntime().exec(command13);
String command8 = "ngram-count -text keywords.txt -lm LM8 &"; //doesn't work
Runtime.getRuntime().exec(command8);
String command9 = "/u/drspeech/sun4/bin/ngram-count -text keywords.txt -lm LM9 &"; //doesn't work
Runtime.getRuntime().exec(command9);
I tried "commandd1" and "command12". Those worked fine. No problemo. However, there's someting else I need to get done for my job; that is "command10". But it just didn't work. I thought maybe, it's because "ngram-count" is not part of the standard UNIX commands. So, I thought I might just add another alias for it in the ".cshrc" file and call it "ngc" instead. Then I tried to call the alias "ngc" instead. But it didn't work also. Then I thought, maybe, I should call it by referencing it from its original directory "/u/drspeech/sun4/bin/ngram-count". That didn't work either. I tried a couple of other combinations. None worked. I would really like to see how to solve this. -
How to run Discoverer 10g report from unix command line
Hello Experts,
I am aware that discoverer report can run through command line using "dis51usr.exe /connect username/passward@connection_string /opendb "DISCOVERER.<<report name>> /export xls"".
Can we run discoverer 10g report (stored in database) from server location / unix command line? Is there any command?
Please assist. Thank you.Hi Tamir,
Can you please mention from where we have to execute/run these commands? After setting enviornmental variable, are these commands run from any location or we have to go to particular server location and then execute (ex. from directory BI or else).
Thank you. -
Method to restart Oracle Apps 11i OPP via Unix command line
Hi All,
Does any one knows if there any way to restart Oracle Apps 11i Output Post Processor (OPP) via the UNIX command line?
ThanksOracle-User wrote:
Do you recommend that I set the profile option Concurrent: OPP Response Timeout to a higher value instead of increasing OPP Processes from 1 to 2? Yes.
I'm thinking that increasing OPP Response Timeout to a higher value will not solve our issue as it seems that once we get our first OPP Timeout error, all of the requests that need the OPP fail. We've had this occur on a Saturday, which is a day where the volume of jobs that need the OPP is very low. The error you are getting is related to the timeout and it has nothing to do with the number of OPP processes you are running on. Please set this profile option and check then (after you bounce the OPP).
Thanks,
Hussein -
Mac Mini boots to flashing folder
I experience a hdd failure of my mac mini, about a week ago. Ordered a new SSD and replaced it. I then went to a buddies house and put OSX Lion on a thumb drive. Tested it, and it booted on his machine. Now, my mac mini boots to a flashing folder, and I hold the option button upon boot (same sequence I used to test the thumb drive and successfully booted to it) and nothing happens. I just get the same flashing folder and no ability to reference to it. After so long, the system times out and shuts down.
So to conclude,
Mac mini hdd crash. New BLANK ssd installed. Mac mini does not give the option to boot to usb, only flashes gray folder with question mark. Holding option to get boot menu does not work.
Suggestions? I was originally going to burn the OS to a disc, but his machine spit out my blanks.ownerizer wrote:
I experience a hdd failure of my mac mini, about a week ago. Ordered a new SSD and replaced it. I then went to a buddies house and put OSX Lion on a thumb drive.
If you are refering to something created using Recovery Disk Assistant,
it will only work on the machine it was created on. If not, how was it
created? In most cases, it may not work on machines or show up
on a machine that did not have Lion installed natively. -
Can Mac Mini boot XP from an External HD ? ? ? ?
Hi All,
Just a quick question.
I have a recently deceased PC. RIP.
I was able to salvage my boot drive with much of my media content.
I would very much like to buy a Mac Mini to use as a PC / Media Center.
Can a Mac Mini boot Windows XP from an external drive?????
thanks to any who can answer this question,
or possibly point me to more info .
best regardsHi,
without the preperations to be made, that are outlined in the link I gave, Windows always tries to read and write certain files during bootup, which it can't find when you 'only' have a Windows on an external HD.
I only know of these instructions to get Windows on external HDs to work.
If it weren't for games you like to play, I would suggest to have a look at the 'Virtualization' apps like Parallels or VMWare Fusion.
But these aren't good for playing games.
Sorry
Stefan -
Mac Mini boot up problem.
Recently, I started to come across a rather annoying problem. Whenever I start my mac mini, boot menu comes up as if "alt" key was pressed. I choose HD and then mac mini boots normally. I suspected an imminent HD failure and checked the HD for errors with OSX built in disk utility and third party SMART utility. Nothing seems to be wrong with volume and smart tests are OK. While the OSX is running, I don't see any unusual problems like stalls, beach ball or so. Any ideas appreciated.
Mac mini 3,1 OSX SL 10.6.8.No, I doubt it's a hard drive failure although that cannot be ruled out yet. I would first consider doing a reinstallation of OS X:
Reinstall OS X without erasing the drive
Do the following:
1. Repair the Hard Drive and Permissions
Boot from your Snow 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 Utilities menu. 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 click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
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.
2. Reinstall Snow Leopard
If the drive is OK then quit DU and return to the installer. Proceed with reinstalling OS X. Note that the Snow Leopard installer will not erase your drive or disturb your files. After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.
Let's see if that fixes the problem. Any chance you have another keyboard you can try? In case this doesn't help.
BTW, are you really a physicist? If so what specialty? -
Is it possible to fire an ibot from unix command line?
Hi,
Is it possible to fire an ibot from unix command line?
I am looking to setup a setp in a job in grid control which runs a report in order to create a cached file on the obiee server once a prior step has completed. Is this possible?Hi,
Did you check this?
is it possible to execute ibot..
Rgds,
Dpka
Maybe you are looking for
-
Message: This application does not support this browser
After pressing 'New Analysis' in the Web Analyzer I am getting the message: This application does not support this browser: Microsoft Internet Explorer 4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) This is for a ne
-
is there a way to convert heavy weight component to light weight component? example Component to JComponent
-
CRM b2b IC_CRM gives communication error
Hi Guys, CRM_IC tcode on crm 2007 gives the below error,have configured fully qualified hostname , and J2EE service is running. i have checke dthe settings in smicm . the too look fine. Appreciate Any help . Error when processing your request What ha
-
Hey guys, I am new here and was hoping someone might be able to help me understand what's going on with this JNLP hocus pocus. Basically, I'm just trying to deploy a very simple applet using a .jnlp file. I created the applet in Eclipse and it runs f
-
Hi all, Two questions! hope both wil be answered. 1) Does someone know if it's possible to change template based on what system is calling the application. I have to build a desktop and a Handheld application. When the app is called using an IE short