※ Calendar Server + MySQL のインストール sw-79# pwd /var/tmp/Comm7/CommsInstaller7 sw-79# ls Legal_Folder README SunOS_sparc commpkg sw-79# ./commpkg install -- LOGFILE: /tmp/CommsInstaller_20091027004855.log NOTICE: Although it is okay to apply OS patches in a whole root zone They really should be applied in the global zone CommsInstaller version 7.0-0.02 built on Wed Sep 9 13:47:08 PDT 2009 Welcome to the Communications Services Products Installer This program will install Communications Services Products on your computer. Do note that the installer lays down the bits, but does not do configuration. Separate configuration steps for each individual product will be required. Copyright 2007-2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Before you install this product, you must read and accept the entire Software License Agreement under which this product is licensed for your use. The Software License Agreement will now be displayed. Do you want to continue ? [yes] : Sun Microsystems, Inc. ("Sun") SOFTWARE LICENSE AGREEMENT ("SLA") and ENTITLEMENT for SOFTWARE A. ENTITLEMENT for SOFTWARE. Capitalized terms not defined in this Entitlement have the meanings ascribed to them in the SLA (attached below as Section B). These terms will supersede any inconsistent or conflicting terms in the SLA. Licensee ("You"): The entity receiving the Software from Sun. Effective Date: Date You receive the Software. Enter s to skip, or Enter c to continue [c] : s Do you agree to the license terms ? [No] : Yes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Specify Install Location This program will extract the server files and install them into a directory you specify. That directory is called the INSTALLROOT in the product documentation and will contain the server programs. To accept the default shown in brackets, press the Enter key. Install location [/opt/sun/comms]: -- /opt/sun/comms already exists, existing data may be overwritten Accept Anyway? [yes] : =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Detecting Installed Products... NOTICE: Service Tags is present with a different pkg VERSION. NOTICE: Message Queue is present with a different pkg VERSION. NOTICE: Message Queue is partially present (missing some packages). NOTICE: Message Queue Localization is present with a different pkg VERSION. NOTICE: Message Queue Localization is partially present (missing some packages). Detecting Installed Patches... NOTICE: The OS Recommended Patch Cluster (as of 2009.08.25) has not been applied. Specifically the following patches are missing: 120272-24 141414-09 NOTICE: It is highly recommended that you apply the latest OS Recommended Patch Cluster. commpkg will not do this automatically. Do you want to continue ? [yes] : =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Product Selection: Shared Components (not shown) will be installed as required. you will be prompted later if Shared Components need to be upgraded. OS patches (not shown) will be installed as required. Communication Services Products: Item Description ---- ----------- 1 Messaging Server (64bit) 7u3 (7.3-11.01) 2 Comms DSsetup 6.4 (6.4-5.05) == Installed Version at /opt/sun/comms/dssetup : 6.4-5.05 3 Calendar Server 7 (7.0-0.26) 4 Instant Messaging 8u2 (8.2-02.04) 5 Convergence 1u3 (1.0-10.01) 6 Indexing and Search Service 1 (1.0-32.01) 7 Comms Delegated Administrator 7 (7.0-1.00) == Installed Version at /opt/sun/comms/da : 7.0-1.00 8 Messaging Server Sun Cluster HA agent 7.0 (7.0-0.03) 9 Instant Messaging Sun Cluster HA agent 7.3 (7.3-01.02) 10 Calendar Server 6.3 (6.3-19.01) 11 Calendar Server Sun Cluster HA agent 6.3 (6.3-1.01) == - indicates the product is already installed Enter the items you wish to install. Enter q to quit. Prefix an item with ~ to indicate you only want to install shared component dependencies of that product You can enter multiple items using commas to separate them. For example: 1,2 Please select the products you wish to install [1, 3, 4, 5, 6, 8, 9, 10, 11]: 3 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Generating list of things to install... Checking for Shared Component Upgrade Requirements... Service Tags has a different pkg version installed Description: Service Tags Current pkg Version (SUNWservicetagr): 1.0,REV=2007.05.21.20.36 To be installed pkg version (SUNWservicetagr): 1.1.4,REV=2008.03.21.07.54 Product Version: 1.1.4 Note that changing pkg versions is irreversible Do you wish to change pkg versions for Service Tags [n] : =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= WILL INSTALL: MySQL 5.1.36 WILL INSTALL: Calendar Server 7 (7.0-0.26) to /opt/sun/comms/davserver WARNING: Service Tags will NOT be upgraded... Products may not work properly. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Ready to install Do you want to continue ? [yes] : ========================================================== Installing MySQL 5.1.36... ------ Executing Task 1 of 2 ... ========================================================== Installing Calendar Server 7 (7.0-0.26)... ------ Executing Task 2 of 2 ... =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= SUMMARY: -- Output of Task 1: generic /var/tmp/Comm7/CommsInstaller7/SunOS_sparc/MYSQL/CI/installer --pkgcmd '-a /var/tmp/Comm7/CommsInstaller7/.install/Tools/admin.quiet' -- LOGFILE: /tmp/ci-mysql-installer_20091027004927.log -- Adding User mysql -- Adding Group mysql pkgadd -n -r /dev/null -d /var/tmp/Comm7/CommsInstaller7/SunOS_sparc/MYSQL/CI/../Packages -a /var/tmp/Comm7/CommsInstaller7/.install/Tools/admin.quiet mysql Installation of was successful. Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 091027 0:49:53 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 091027 0:49:54 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 091027 0:49:54 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 091027 0:49:54 InnoDB: Started; log sequence number 0 0 091027 0:49:55 InnoDB: Starting shutdown... 091027 0:49:56 InnoDB: Shutdown completed; log sequence number 0 46409 091027 0:49:56 [Warning] Forcing shutdown of 1 plugins 091027 0:49:56 InnoDB: Started; log sequence number 0 46409 091027 0:49:57 InnoDB: Starting shutdown... 091027 0:49:58 InnoDB: Shutdown completed; log sequence number 0 46409 091027 0:49:58 [Warning] Forcing shutdown of 1 plugins PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /opt/mysql/mysql/bin/mysqladmin -u root password 'new-password' /opt/mysql/mysql/bin/mysqladmin -u root -h sw-79 password 'new-password' Alternatively you can run: /opt/mysql/mysql/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. Please report any problems with the /opt/mysql/mysql/scripts/mysqlbug script! The latest information about MySQL is available at http://www.mysql.com/ Support MySQL by buying support/licenses from http://shop.mysql.com/ pkgadd -n -d /var/tmp/Comm7/CommsInstaller7/SunOS_sparc/MYSQL/CI/../../MYSQL_MARKER/Packages -a /var/tmp/Comm7/CommsInstaller7/.install/Tools/admin.quiet SUNWcomms-mysql-marker Installation of was successful. Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. -- End of command output-- All tasks PASSED Checking JES java symlink... INFO: no update to /etc/softlist.xml required Hit Return to Continue: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= NOTICE: To undo the installation, run the commands in: /var/opt/CommsInstaller/logs/undoCommsInstall_20091027004855 NOTICE: silent file created in: /var/opt/CommsInstaller/logs/silent_CommsInstaller_20091027004855 NOTICE: LOGFILE created in: /var/opt/CommsInstaller/logs/CommsInstaller_20091027004855.log There were 1 Warning(s). Please consult the log file sw-79#