Solaris 10 startup scripts

how to replace the startup scripts from Solaris 9 or 8 to Solaris 10?

how to replace the startup scripts from Solaris 9 or
8 to Solaris 10?Why would you in the first place ?
Solaris 10 is fully backwards compatible so there is no need to replace anything. You can easily put them in their regular directories (/etc/init.d for starters) and thats that. So the SMF difference really doesn't stand in the way of an upgrade from an older Solaris version to 10.
When you're all settled you can always look into SMF, it is worth the effort.

Similar Messages

  • BUG in Solaris startup scripts

    If you try to define either "PRE_CLASSPATH" or "POST_CLASSPATH" in startWebLogic.sh or startPetStor.sh, the script concatenates them with the undefined variable "WEBLOGICCLASSPATH", effectively nulling out the BEA part of the CLASSPATH.
    So WebLogic doesn't start as the main classes are not in the path.
    Workaround:
    Replace "WEBLOGICCLASSPATH" with "CLASSPATH".

    Thanks Rafi,
    This has already been fixed in the next release.
    Jim Rivera
    "Rafi Jacoby" <[email protected]> wrote in message
    news:3a0c6cd9$[email protected]..
    >
    If you try to define either "PRE_CLASSPATH" or "POST_CLASSPATH" instartWebLogic.sh or startPetStor.sh, the script concatenates them with the
    undefined variable "WEBLOGICCLASSPATH", effectively nulling out the BEA part
    of the CLASSPATH.
    So WebLogic doesn't start as the main classes are not in the path.
    Workaround:
    Replace "WEBLOGICCLASSPATH" with "CLASSPATH".

  • How to setup startup script in Solaris 10

    Could anyone point me out how to setup a startup script at run level 3 or 2 in solaris 10 ?
    Any previous solaris such as 9, 8, I just write a script and put in /etc/init.d/, then link it to run level 3 or 2. But in solaris 10 is different now.
    I could not find any in the manual.
    Thanks.

    Could anyone point me out how to setup a startup
    script at run level 3 or 2 in solaris 10 ?
    Any previous solaris such as 9, 8, I just write a
    script and put in /etc/init.d/, then link it to run
    level 3 or 2. You can do the same thing in Solaris 10.
    But in solaris 10 is different now.There are alternative methods that are recommended (creating a service via a manifest file), but the old startup stuff still works just fine. You don't get the benefits of monitoring and fine-grained dependencies with the legacy startup scripts.
    I could not find any in the manual.An older doc is http://mediacast.sun.com/share/bobn/SMF-migrate.pdf. You might also check the SMF FAQ.
    http://opensolaris.org/os/community/smf/faq/ Section 4 is on manifest development.
    Darren

  • Ssh install on solaris core group installation - startup scripts?

    hi all,
    i have a fresh "core group" installation of solaris 11/06 now up and running.
    I have added the following pkg to get ssh running.
    bash-3.00# pkginfo |grep ssh
    system SUNWsshcu SSH Common, (Usr)
    system SUNWsshdr SSH Server, (Root)
    system SUNWsshdu SSH Server, (Usr)
    system SUNWsshr SSH Client and utilities, (Root)
    system SUNWsshu SSH Client and utilities, (Usr)
    so it is installed. I have manually created ssh_host_keys and I can start and use sshd/sftp -server. However I'm in need to find the best way of starting this up at boot. I have followed a link to Sun Blueprints for open ssh startup scripts.
    http://www.sun.com/blueprints/tools/ > secureshell-tools.tar.Z
    however this relies on prng (psuedo random number generator). my "default installation" of solaris 10 11/06 does not have this installed and ssh works fine, so I am reluctant to go down prng path.
    furthermore searching my "default installation" of solaris 10 11/06 i can not see any ssh startup scripts that I could heist
    please advise best practice

    fixed for now
    http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.html > Enabling and disabling services
    since solaris 10, use "svcadm"
    ie
    mybox86# svcadm enable network/ssh:default
    very nice.

  • GPO with a startup script is not working.

    I have a GPO that I have added a ".bat" script to the "Computer Configuration\Windows Settings\scripts\startup/shutdown" section. The batch file is located in the netlogon folder. This script was part of another Old GPO
    that I want to consolidate into this new GPO. So I am taking the exact settings from the old GPO and  applying it to the new GPO.
    The script does not run at startup and when I go into Group Policy Management, highlight the GPO then on the right pane click the settings tab it doesn't display the startup script as being set. It's just not there. If I select edit and go to the
    "Computer Configuration\Windows Settings\scripts\startup/shutdown\startup" section the .bat script is present though.
    Also if I do a gpresult it also shows that it isn't running the script but all other settings in the GPO are being applied.
    This GPO has the User Config. side disabled
    Why isn't the GPO applying the script or even acknowledging that it is present in the settings tab?

    Hi,
    I could not see any report in the above link. I would like to know that did you follow the below path:
    http://technet.microsoft.com/en-us/magazine/dd630947.aspx
    In addition, logon script could only be applied to users. If want to apply to computers, we should use startup script.
    Regards,
    Yan Li
    If you have any feedback on our support, please click
    here
    Cataleya Li
    TechNet Community Support

  • Dont work startup script after update windows7 of wsus

    hi
    i have a domain controller 2008
    my clients is windows7 ultimate
    i have a file .exe and  i create a policy and this file .exe in start up script
    this policy is correct
    but when update clients. this policy not work .and in task manager, this file .exe  with username system show
    what happend
    please help me

    hi
    i test a way,
    i install a windows 7
    then in gpedit.msc, in startup script, add this file, when restart windows , this policy ok
    now ,i update this windows7, and about get 160 update of microsoft, now when restart windows, this policy not work and in task manager, this file .exe  with username system show
    this error not happend to my domain
    please help me

  • How to specify the webLogic server startup script to use different config.xml  file ??

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    I guess you're using Weblogic 6.1 with WLCS 3.5. I think you're supposed to work with one config.xml for the same domain, and not have a different config.xml.
    To start up different applications or EJBs, use the "target" property to control which applications to start up for the particular instance.
    YY

  • Check for libraries with a startup script

    Is it possible to check for open libraries with a startup script?  Currently, i'm trying like this:
    try{
         app.libraries.item("Marks.indl").name
    catch(e){
         app.open(File("/Support/InDesign/Lib/Marks.indl"))
    If InDesign is already open, this code works correctly (that is, if the library is open, nothing happens, otherwise it opens the library).  However, if I place this in the startup script folder, it will open a second (third, fourth, etc.) copy of the library, even if the library is already open.
    I think this happens because the library files are opened later in the startup sequence then the startup scripts are run.  Is there any way to work around this?
    Thanks,
    /dan

    Is your script supposed to work in ID CS3, or later?
    Anyway, InDesign CS4 seems to reopen the libraries before launching startup scripts, so the following code works for me:
    // Startup Script
    const libName = "Marks.indl",
      libPath = "/Support/InDesign/Lib/";
    var libFile = libPath + libName;
    if( !app.libraries.itemByName(libName).isValid )
      try {app.open(File(libFile))}
      catch(_){alert("Unable to open the library:\r"+libFile);}
    @+
    Marc

  • Need to write a startup script for TunTap

    Dear community,
    I am using 10.10.1, 13" MBPr Late 2013 and I need to be able to access my Work VPN. From what i have been told, the OS X client can't work and that I have been advised to use Shrew Soft VPN. (We initially tried to get the WatchGuard Firewall to build a Mac .dmg and that didn't work). To get ShrewSoft to work, I have had to follow these steps:
    http://ulaptech.blogspot.co.uk/2012/11/shrew-soft-vpn-client-for-mac-os-x.html
    ·         Install the qt-mac-opensource-4.7.1.dmg file first
    ·         Install the tuntap20111101.tar.gz file second
    ·         Install the shrew soft client.
    But the TunTap download that is above will not work as it is unsigned and Yosemite has now killed off unsigned kexts.I tried turning off the requirement for OS X for signed kexts by using this command:
    sudo nvram boot-args="kext-dev-mode=1"
    Then rebooting, but it didnt work.
    I can get the VPN to work if I open up terminal and enter these two commands:
    sudo kextload /library/extensions/tap.kext
    sudo kextload /library/extensions/tun.kext
    But I have to do this everytime i turn my Mac on.
    Could somebody please help me write those two lines into a startup script? As I really have no idea how to do it.
    Your help and guidance would be appreciated

    Choose Utilities from the Finder’s Go menu, open the AppleScript Editor, and paste in the following:
    set thepassword to text returned of (display dialog "Your administrator password is required." default answer "" with hidden answer)
    do shell script "kextload /Library/Extensions/tap.kext" with administrator privileges password thepassword
    do shell script "kextload /Library/Extensions/tun.kext" with administrator privileges password thepassword
    Save it as an application and set it as a login item.
    (120186)

  • Office 2010 setup thru computer startup script

    I am trying to install Office 2010 (sp2 seperate in the updates folder) thru group policy startup script and configured with OCT .msp file. Also try to start Access Runtime 2010 with SP2 update in the updates folder.
    In group policy set run scripts asynchronisely disabled and run scripts visible enabled otherwise i could not see what the system was doiing also not when configiguring OCT with full display. The gpo settings lets the screens show during install so the user
    can see what happens.
    There is another problem that rises however: I have made 2 batchfiles and both are starting as a computer startup script in seperate gpo's (that is in another post). First the Accessruntime is installing, after that Office 2010 is running. Both are installed
    after login but only one of the 2 have SP2 installed (7015) in this case Accessruntime has it. When i run only the Office 2010 install and not the Accesruntime 2010 then Office 2010 standard has also SP2 installed (version 7015). When running both only Runtime
    has this sp2 and Office has 4763 this is without sp2 i believe.
    In both folders (Office en Runtime) are the update files .msp in the updates folder of the installation, so thats ok.
    Why is only 1 of the 2 installing the SP2 when running both?
    A second thing is when restarting the system and before the login screen appears a message: Upgradepatch cannot be installed by Windows installer becasue the upgraded program does not excist of the upgradepatch is not suitable for this program?
    Here is part of the batchfile:
    IF EXIST "c:\program files\Microsoft Office\Office14\WINWORD.EXE" (goto mkfile) ELSE (goto DeployOffice)
    :mkfile
    ECHO Office 2010 is reeds geinstalleerd>c:\temp\office.txt
    goto end
    :DeployOffice
    call cscript \\sharename\office2010\Offscrub03.vbs ALL /bypass 1 /q /s /NoCancel
    start /wait %DeployServer%\setup.exe /adminfile %DeployServer%\officeconfig.msp
    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    Another batchfile
    start \\sharename\accessruntime2010\setup.exe /config \\share\accessruntime2010\config.xml
    REM echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    freddie
    after installing both runtime and office both have SP2 in updates folder:
    runtime 4763
    Office 2010: 7015
    So in this example runtme is installed without the SP2. installing runtime alone gives with SP2...
    The message is gone. There was a other policy inherited from above that caused the message. The only problem now is that when installing both, runtime 2010 with SP2 files and Office 2010 with SP2 files, then one of the two don't get the Sp2 installed, why
    is that?

    > In the bat file, I have a line that records if the install completes
    > successfully or failed.  I don't have any other logging in my
    > script.  Are you referring to something like GPO logging? I know that
    > the script runs because when I am looking at one of the PCs, I can
    So it is NOT GP related but rather your script fails?!? Put some "echo
    %~n0 %date% %time%>>Log-File-Of-Your-Choice.txt" in it to check what's
    going on. And put ">>Log-File-Of-Your-Choice.txt 2>&1" at the end of
    critical commands to capture their output.
    > I ran the gpresult /h command which shows all User Configuration
    > policies, but NOTHING appears under the Computer Configuration section.
    Admin commandline? If not, you don't see computer settings :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))
    Martin,
    I still did not figure out why the installation script did not work for some of the PCs, even though the PCs have the same image.  For the ones that don't work, I will install manually.  Can you please look at the screenshots of the GPO
    settings I am using, and let me know if there is any settings that I need to remove or add?
      Thanks

  • Missing startup script in bridge cc

    I have photoshop cc and bridge cc loaded on my computer. I also had CS6 on the same computer.  I deleted photoshop CS6 from my computer. When I try to open a file in bridge cc I get an errer message that cs6 cannot be found.  I checked my bridge cc startup scripts folder file and it is empty.  Has anyone had the same problem?

    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Photoshop CS6 Startup Script Missing from Bridge CC

    Hi. After downloading a Photoshop CS6 update, Camera Raw unlinked from Bridge CS6. I have a full CC subscription so I downloaded Bridge CC and that solved the problem. Now Photoshop does not appear in the 'tools' menu. It is missing from the Startup Script list in preferences as well. Where can I find or download the photoshop script?
    On a mac, using Mavericks.
    Thank you!

    Bump. Any solutions yet?
    restart Bridge holding down option (Mac) or ctrl (Win) key ad from the menu choose reset references. Try again. BTW, the start up scripts from the needed applications for Bridge Tool menu are in Bridge preferences / Start up scripts, they should show and have a checkmark in front of them.

  • Bridge CS5.1 Tools are missing and there are no startup scripts available.

    Brand new MBP with Creative Suite CS5. Not sure what happened to the Bridge Image Processing Tools that where readily available in CS4. I looked for the Startup Scripts mentioned in other forum posts but this folder is empty: Library > Application Support > Adobe > Bridge CS5.1.
    Why make us hunt for Startup Scripts?

    I think you may be misunderstanding me.
    With many advantages with using mail for this forum the disadvantage sometimes is you don't have oversight in the whole thread.
    I was merely reacting on Curt with the CS5 and CS5.5 solution that solved some problems earlier this year but reading the thread again that seems not related to yours.
    Shortly before Curt his post I read your post about renaming the default folder name (which to me sounds bad). Hence my reference to a solution of an older problem that was solved by creating a new folder with the 5.1 addition and copy the scripts in there
    However I still don't understand why you are not able to have a normal setup after clean install.
    Without having experience with Lion I really would try the Recovery Disk for resetting your user account. With Pre Lion you could do an Archive and Install and it seems Lion also has such an option.

  • Startup Script folder empty - no Bridge CS5 Output to Web?

    Something must have gone wrong installing CS5 Photoshop over CS4 Indesign!
    Even after net-updating to Bridge 4.0.2 the startup script folder (Preferences > Startup Scripts) is empty. When selecting the Output Workspace in Bridge, there is no pane that let one output to Web Gallery or Contact Sheet.
    I'm doing this meanwhile in CS4 Bridge, where it works fine. This Bridge version was coming with CS4 InDesign.
    I downloaded CS5 Photoshop in April (I guess it's an International English upgrade) running it on OSX 10.6.4 on a new 17" Book.
    Is there an upgrade coming, how can I achieve full functionality of Bridge CS5?
    Than you in advance for your input,
    Bernd Rummel

    Hi Omke,
    I did download and install the Photoshop CS5 upgrade by April. Since the Output to Web Gallery pane was not there at the Output workspace as well as all Sartup Scripts are missing at Bridge Preferences, I completely reformatted (actually changed the partitions) and reinstalled OSX 10.6.3, my 17" Book came with. Than I upgraded to OSX 10.6.4.
    Now, before doing (screwing up) anything else, I installed Acrobat 9 and run the rather lengthy process of installing each and every upgrade to the latest version. Than I installed InDesign CS4 (version 6) and upgraded this. Finally I installed Photioshop CS5, only to still have the Startup Scripts and subsequently the output to web gallery pane missing. Of course, also the Twitter and Facebook stuff is not there. However, this is not my concern since I do not use them.
    The upgrade to Bridge 4.0.2 didn't change anything, so didn't todays upgrade to Photoshop 12.0.1.
    Please note that I do not use the CS Suite but upgrade Adobe Acrobat, InDesign and Photoshop individually, which used to work fine for many years. And so I have Bridge CS4 and Bridge CS5 installed side by side. At the CS4 version the Startup Scripts and Output to Web Gallery does work as expected the CS5 version of Bridge is short of both. This shouldn't happen, since I installed CS5 Photoshop over Bridge CS4.
    Actually two weeks back I tied to un-install both the CS4 Bridge as well as the CS5 Photoshop, and than to just install Photoshop CS5 without InDesign with Bridge CS4 being installed. The Startup Scripts and Output to Web Gallery wasn't there either.
    Do you think I can get an other Photoshop CS5 softcopy somewhere that makes my serial number as well as the output to web gallery work? This would turn me back to be a happy photoshopper that I am since version 2.5... when I switched from Cibachrome in darkroom to Photoshop on Mac now about 16 years back.
    I look forward to your input.
    Bernd

  • How to create multiple users in solaris using script

    hi
    how i can create multiple users (2000 users) using shell script with a common password .
    useradd is creating one user at a time.
    thanks

    I m new to solaris and scripting also.
    how i can write a script for this .

Maybe you are looking for

  • My ipad was stolen last night and how can i disable the device?

    my Ipad was stolen last night and how can i disable the device?

  • STO clearing account between two company codes

    Hi, every body, when trying to do STO between two company codes, I am getting error to configure the *clearing account between that two company codes, please guide me in resolving the issue, if anybody gives me perfect step by step explanation regadi

  • "Additional Text" set for messageTextInput fields in Classic Table

    i have set "Additional Text" for messageTextInput fields in Classic Table and am expecting that to display when the mouse is hovering on that field. however, that is not happening... what am i doing wrong ? and what can i do to achieve that (NOTE - i

  • Stacking openvpn connections with systemd

    I have many openvpn servers,I am trying to stack multiple openvpn connections one though the other, that is I want tun1 to go through tun0. If I enter the commands in order and wait for the interfaces to come up before proceeding, it works. I switch

  • How to receive calls?

    Since I go to business trip around the world quite ofter, I was looking for the best way for me to make and receive calls. Since most of my business partners are not skype users AND I may not have internet connection, I would like to know how can I m