Rc3.d scripts dont echo messages on console in solaris 10

how can I make the rc3.d scripts messages echo on console?
Problem :
I have a script that is started in the /etc/rc3.d directory. I have verified that they work under Solaris 10. It sends these messages to some logfile and then exits. How would I get it to echo to the screen instead?

how can I make the rc3.d scripts messages echo on
console?Have them write to the console. Although that isn't necessarily a recommended practice now.
Problem :
I have a script that is started in the /etc/rc3.d
directory. I have verified that they work under
Solaris 10. It sends these messages to some logfile
and then exits. How would I get it to echo to the
screen instead?You'd need to have it open the console directly (maybe via sysmsg) and write to it.
Since someone may not be watching the console at boot, Solaris 10 default is to take script ouptut and log it, so it will not be lost if the screen scrolls away.
Darren

Similar Messages

  • I get 3 messages in console every 10 seconds

    A few days ago, i noticed a process running in my task manager. Something along the lines of, "Seagate data manager". The reason it was there is because my friend installed some software that would let us use his Seagate hard drive (it would not work on a mac without it). I was annoyed that this process was running on start-up years later when i did not need it any more. I searched though my Mac and found no apparent way to uninstall it, so i decided to find every file that had the word "seagate" and delete it. Probably not my brightest moment, i know, and technically it worked. I dont see the process running any more, but now i am seeing the fruits of my stupidity as i get these 3 messages in console every 10 seconds from what i think is my Mac trying to launch the process, but cant find the files that i deleted. I deleted 2 files. I cant remember exactly what they were called or where they were from. I think one was from "Macintosh HD > Library" and the other was from "Macintosh HD > System". I know that one of the files had the icon that looks like a little white Lego piece (see attachment called "icon").
    Is there anything i can do?
    here is what console says:
    4/18/12 9:09:01 AM
    com.apple.launchd.peruser.501[97]
    (com.seagate.SeagateStorageGauge.plist[794]) posix_spawn("/Library/Application Support/Seagate/Seagate Storage Gauge.app/Contents/MacOS/Seagate Storage Gauge", ...): No such file or directory
    4/18/12 9:09:01 AM
    com.apple.launchd.peruser.501[97]
    (com.seagate.SeagateStorageGauge.plist[794]) Exited with exit code: 1
    4/18/12 9:09:01 AM
    com.apple.launchd.peruser.501[97]
    (com.seagate.SeagateStorageGauge.plist) Throttling respawn: Will start in 10 seconds

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    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.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” (without the quotes) and press return. You should then get a new line ending in a dollar sign.
    Step 1
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.)
    Step 2
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
    Important: If you synchronize with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.
    You can then quit Terminal.

  • I have an ipod, ipad, and iphone. ilike to use imessage on all of them but i dont want messages to appear on the devices i am not currently using. nor do i want to have to keep a saparate account or id for eCH OF THEM. WHAT IS THE FIX?

    i have an ipod, ipad, and iphone. ilike to use imessage on all of them but i dont want messages to appear on the devices i am not currently using. nor do i want to have to keep a saparate account / id for each device  how do i fix the settings on each so that with the same ID / login I can chech me emails, share contacts etc, be able to use i messenger on each without the whole conversation automatically beiing picked up by my other devices? some conversations just arent intended to be shared!

    Turn it into the local police department with an explanation as to who you tried to contact and what they told you. That's the only safe procedure, as otherwise the owner could report the iPod as stolen, even though you tried to return it, and get you into trouble.
    Regards.

  • Windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....aaahhh

    windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....as itunes does not pick up the phone I have connected anymore. My ipod synchs fine still and thats over 6 years old!

    Hi rubicon7,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If the issue is not resolved, you may need to uninstall iTunes and all of it's components, and reinstall the latest version as explained in this article:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    I hope this information helps ....
    Have a great day!
    - Judy

  • Why I get script nnt working message often and for long time computer hangs and I can't work? Any solution?

    It is common many time I open link or try to attach a file to email I get script not working message. This at times not go away even I stop it and I can't close sites also. I have to close through Ctrl+Alt+Delete route.
    What could be the reason and any solution?

    "SELECT RcptNo FROM RcptTable WHERE ReceiptTime = '"+receipt_time+"'"
    In MS Access, this exception occurs when the column names specified in the query are not correct. Check the table definition and verify the column names.

  • Can someone tell me where this error is generated. I have no backup set of any kind thru time machine. I get this error message in console every Friday.EBEngine[4611:b07] ditto: /System/V2: Permission denied

    Can someone tell me where this error is generated. I have no backup set of any kind thru time machine. I get this error message in console every Friday.   EBEngine[4611:b07] ditto: /System/V2: Permission denied

    Can someone tell me where this error is generated. I have no backup set of any kind thru time machine. I get this error message in console every Friday.   EBEngine[4611:b07] ditto: /System/V2: Permission denied

  • Artwork Not Loading - Error Message in Console

    I am having trouble loading Album Artwork. I have tried fetching it via Advanced option in ITUNES both logged in and logged out of the STORE.
    I noticed following error message in console:
    22/10/2009 20:44:20 [0x0-0x5a05a].com.apple.iTunes[697] Thu Oct 22 20:44:20 Tommy-Gargans-Computer.local iTunes[697] <Error>: doClip: empty path.
    Presume this is significant but I am afraid I don't understand it. Any help appreciated.
    Thanks

    I think I have read somewhere this is a "non issue" but I still get the error message in my console messages. Wish they'd fix that. It's hard enough to diagnose problems using console without having messages appear that don't mean anything.

  • IQ525A - Two Windows Script Host Error messages, plus folders won't close

    How do I get folders to close, when right clicking will not close them? I am running Trend Micro security and also have two Windows Script Host error messages appearing. I need to click OK to proceed each time I use IQ525A/
    assume IQ is running in safe mode, as start menu and bar is white.Any suggestions
    Thanks
    Kitcat 

    Crash report:
    https://crash-stats.mozilla.com/report/index/ab4ee242-57f1-4a84-baef-ca2202150308
    Signature shutdownhang
    Start your '''Computer''' in safe mode with networking. Then start Firefox. Try '''Safe''' web sites.
    '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Starting The Computer In Safe Mode;<br>Free Online Encyclopedia]'''
    Wait a few minutes (don't go anywhere), then close it.
    Is the problem still there?

  • My imessage wont activate and work, and i dont receive messages from people useing imessage? how do i get imessage to work?

    My imessage wont activate and work, and i dont receive messages from people useing imessage? how do i get imessage to work?

    I recently moved back to Australia for school from Canada and signed up for the new iphone 6 plus. After using icloud to save and backup from my previous iphone 4s, all of the apps eventually worked....except for whatsapp. After looking through my phone and numerous chat forums, it appears that my imessage and facetime are stuck in, "waiting for activation".....is anyone else having problems with this?
    I am curious as I am unable to receive the whatsapp code to re-activate my application. This brings me to my second question, is this an iphone/apple problem or a whatsapp third party problem?
    I've had friends send imessages to me and they appear to coming through. I have already rebooted and restarted my phone numerous time. A strong connection to wifi and data stream have all come in loud and clear.
    I have tried all of the directions that were posted and still have no whatsapp and imessage still inconsistent.
    Thank you

  • HT5395 I dont have messages on my macbook how do I get it

    I dont have messages on my macbook how do I get it

    A quick run down for other readers.
    Generally speaking iChat versions have number one less than the OS version they go with.
    So iChat 3 comes in OS  X 10.4.x
    iChat 4 comes in OS X 10.5.x and so on.
    Messages continues the same numbering system Starting at version 7 in OS X 10.8
    Messages 8 comes with Mavericks (OS X 10.9.x)
    iChat Updates come with the OS Updates but not at every occasion.
    In OS X 10.5 for example iChat 4 gets to version 4.0.9
    Messages 7 gets one update during all the OS X 10.8 updates to be version 7.0.1 at the "end"
    However Apple seemed to have stopped this sub numbering in Messages  (it is at build three in OS X 10.9.4)
    Throughout it is important that the iChat or Messages version "matches" the OS X level it is supposed to go with.
    Reinstalling earlier iChat version for Install Disks then requires you run the Combo update of the OS version you are using.
    You cannot do this after Apple use the App Store to Upgrade/Update and you need to Reinstall the whole OS.
    10:17 pm      Tuesday; August 12, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Strange message in console after upgrading to ML

    Hi!
    I recently upgraded my system to ML. The operation went fine and the only issue I had was that VMware fusion stopped working, as it was outdated. Everrithing seems to be working nicely well, indeed much faster than OS X 10.7.4. However I'm getting the following error message in console log and have no idea what the reason could be.
    01/08/12 12:55:30,000 kernel[0]: Sandbox: sandboxd(13627) deny mach-lookup com.apple.coresymbolicationd
    01/08/12 12:55:30,089 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-zqpBqR
    01/08/12 12:55:30,093 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-Zk4lE2
    01/08/12 12:55:30,097 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-3fGKYz
    01/08/12 12:55:30,101 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-lFa9ez
    01/08/12 12:55:30,108 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-qiP0uB
    01/08/12 12:55:30,157 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-pZq2Q9
    01/08/12 12:55:30,164 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-7pYjdP
    01/08/12 12:55:30,169 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-G1ZQuK
    01/08/12 12:55:30,213 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-s0TwOb
    01/08/12 12:55:30,221 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-L0alYc
    01/08/12 12:55:30,226 sandboxd[13627]: ([13626]) mdworker(13626) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-KPYpMt
    01/08/12 13:01:46,306 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-ucLDrp
    01/08/12 13:01:46,000 kernel[0]: Sandbox: sandboxd(13640) deny mach-lookup com.apple.coresymbolicationd
    01/08/12 13:01:46,312 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-uR0hzN
    01/08/12 13:01:46,317 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-12iiGo
    01/08/12 13:01:46,322 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-KEJ4Wk
    01/08/12 13:01:46,328 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-4Vgp9M
    01/08/12 13:01:46,332 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-xrKw6d
    01/08/12 13:01:46,395 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-gGmmEV
    01/08/12 13:01:46,404 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-Sucn0v
    01/08/12 13:01:46,410 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-x4pN2d
    01/08/12 13:01:46,455 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-p3vooS
    01/08/12 13:01:46,464 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-TCTgqY
    01/08/12 13:01:46,469 sandboxd[13640]: ([13639]) mdworker(13639) deny file-write-create /Users/curro/Library/Keychains/login.keychain.sb-0c70fbec-dBYUzY
    The console log is much larger, this messages will repeat ciclically no matter what applications I'm using, numbers between brackets will vary (I can't see them in activity monitor so I'm not sure if they're PIDs)
    Things I've done until now:
    - Looked for corrupted preference files
    - Repaired permissions and searched for wrong preferences files.
    - Cleaned the system from potentially troubling user agents and daemons
    - Removing third party apps from launch at login
    Any clues?
    Thanks.

    Hello:
    Your English is excellent...far better than some who claim it is their mother tongue
    My answer was a bit flippant, sorry
    I looked at my own logs after reading your last post.  I note all sorts of incomprehensible (to me) messages - some indicating errors.  I have no clue what the sandbox messages indicate.
    The other problems could be caused by a number of things - including hardware problems.
    You might try resetting the PRAM and SMC.  Those are not cure alls, but they cannot hurt anything either.
    Barry

  • Has anyone any idea what this message in console mean ? "Finder: WormholeServer::copyMyAppleIdentity returned NULL"

    ? Has anyone any idea what this message in console mean ? "Finder: WormholeServer::copyMyAppleIdentity returned NULL"

    I just responded here, https://discussions.apple.com/thread/3380580?start=0&tstart=0
    Air-drop with wi-fi off

  • Repeating Message in Console.  Can you tell me what this means?

    Hello. I am receiving this repeating message in console every 10 seconds and I think it's the result of a application that I once had that I removed many months ago and apparently I'm being pinged or something. How can I get rid of this?
    I had at one time a wireless Nikon digital camera wireless software installed that I've removed but apparently something somewhere in my mac is trying to communicate with Nikon...in Japan! Does this look right? Any help would be greatly appreciated....
    1/22/08 6:49:37 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[291]) posix_spawnp("/Applications/Nikon Software/Wireless Camera Setup Utility/NikonPtpEnum", ...): No such file or directory
    1/22/08 6:49:37 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[291]) Exited with exit code: 1
    1/22/08 6:49:37 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum) Throttling respawn: Will start in 10 seconds
    1/22/08 6:49:47 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[292]) posix_spawnp("/Applications/Nikon Software/Wireless Camera Setup Utility/NikonPtpEnum", ...): No such file or directory
    1/22/08 6:49:47 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[292]) Exited with exit code: 1
    1/22/08 6:49:47 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum) Throttling respawn: Will start in 10 seconds
    1/22/08 6:49:57 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[294]) posix_spawnp("/Applications/Nikon Software/Wireless Camera Setup Utility/NikonPtpEnum", ...): No such file or directory
    1/22/08 6:49:57 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[294]) Exited with exit code: 1
    1/22/08 6:49:57 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum) Throttling respawn: Will start in 10 seconds
    1/22/08 6:50:07 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[296]) posix_spawnp("/Applications/Nikon Software/Wireless Camera Setup Utility/NikonPtpEnum", ...): No such file or directory
    1/22/08 6:50:07 PM com.apple.launchd[1] (jp.co.nikon.NikonPtpEnum[296]) Exited with exit code: 1

    There is still a piece of the software that is trying to startup, but cannot. launchd is the daemon in charge of starting things and trying to make sure they keep running. It is not trying to contact Japan--certain files are named in reverse domain name format.
    Try looking in a StartupItems folder or the LaunchDaemons folder in you user Library or the main Library folders.

  • Why do I keep getting Java Script address error messages?

    I just installed FF on my Macbook, and am constantly getting java script address error messages popping up.

    Does the below article help resolve the messages?
    * [[Warning Unresponsive script - What it means and how to fix it]] < Click to see article

  • Console app: not logging "all messages" or "console messages".  HELP

    I had a system freeze. After forced shutdown, repairing permissions, repairing disk, cleaning caches etc.
    All running BUT:
    In the console app under "LOG DATABASE QUERIES" the entries all messages and console message are no longer showing entries!!!
    The last ones are up until the crash.
    I don't know what else to do.
    HELP

    you can follow the instructions given on MacFixit:
    http://www.macfixit.com/article.php?story=20090122213555897
    just deleting the asl files within the /var/log/asl directory may be enough to fix the problem; the asl manager will be forced to reinitialize the logs writing that appear in the log database database queries on the console.

Maybe you are looking for

  • T520: Monitor does not turn on after boot or waking from sleep

    I have a pretty standard T520, the only modifications are upgrading to a larger battery and higher screen resolution (1600x1200), and am currently running windows 7 64bit.  Whenever I turn on the machine from a powered off state, or if I try and wake

  • Apple Remote App Doesn't Work

    So I cannot figure this out. For some reason when I use the Remote app it doesn't work right. In iTunes it does not come up under the devices tab. I have tried both with and without my iPod connected and for some reason it just isn't working for me.

  • Menu icon please help (6131)

    Helo, I bought new phone from vodafon (6131), and icon in the menu are from vodafone .... Where I find nokia original animated icons ??? Pls giv me link.... Thanks

  • Adobe acrobat 11 braucht lange fürs einfügen einer kopie

    Hallo zusammen, habe den Versionswechsel zu Adobe Acrobat 11.0.06 von 10 vorgenommen und das Kopieren - Einfügen dauert sehr lange. Problembeschreibung: 1. Adobe Acrobat 11 gestartet. 2. PDF in der Anzeige  aus der eine Seite kopiert wird 3. Ein ande

  • Sudden rubbish sound coming through iTunes

    Now this is a confusing one for me. A CD which in the year since I downloaded it and which sounded fine when played back through iTunes has suddenly started to sound dreadful with distortion, mainly at the bass end. It sounds like (a) the volume cont