Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
060830 11:06:10  mysqld started
060830 11:06:10  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060830 11:06:10  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
060830 11:06:10  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20\
  21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50\
  51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80\
  81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
InnoDB: Apply batch completed
060830 11:06:10  InnoDB: Started; log sequence number 0 43655
060830 11:06:10 [ERROR] /opt/mysql/current/bin/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 13)
060830 11:06:10 [ERROR] Can't start server: can't create PID file: Permission denied
060830 11:06:10  mysqld ended

...

Code Block
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ ant -f build-sqlma.xml configure-sqlma
Buildfile: build-sqlma.xml

configure-sqlma:

copy-initconfig-for-sqlma:
     [copy] Copying 1 file to \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/ant
     [copy] Copying 1 file to \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf

copy-properties:
     [copy] Copying 1 file to \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/ant
     [copy] Warning: Could not find file \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf/service.properties to copy.
     [copy] Copying 1 file to \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf

get-message-1:
     [echo] Start creating ant/const.properties file
     [echo] -----------------------------------------------------------

_get-java-path:

get-java-path:
    [input] Enter the path of Java [/usr/local/java/current]:

     [echo] Accepted Java path: /usr/local/java/current

get-axis-path:
    [input] Enter the path of Axis location \
[/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/../apache-tomcat-5.5.17/webapps/axis]:
/opt/axis/current
     [echo] Accepted Axis path: /opt/axis/current

get-server-address:
    [input] Enter the address of host (perfSONAR service location) [localhost]:
net-desk1.slac.stanford.edu
     [echo] Accepted server address: net-desk1.slac.stanford.edu

get-server-port:
    [input] Enter the port of server [8080]:
80
     [echo] Accepted server port: 80

set-const-properties-for-sqlma:
[propertyfile] Updating property file: \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/ant/const.properties
     [echo] const.properties file created
    [input] Press Return key ...


get-message-2:
     [echo] Start creating conf/service.properties file
     [echo] -----------------------------------------------------------

get-server-address:
    [input] Enter the address of host (perfSONAR service location) [localhost]:
net-desk1.slac.stanford.edu
     [echo] Accepted server address: net-desk1.slac.stanford.edu

get-xmldb-address:
    [input] Enter the address of xmldb eXist [localhost]:
net-desk1.slac.stanford.edu
    [input] Enter the port of xmldb eXist [8090]:
8680
    [input] Enter the type of access to xmldb eXist [xmlrpc]:

     [echo] Accepted xmldb server is xmldb:exist://net-desk1.slac.stanford.edu:8680/exist/xmlrpc/db/sqlmaconfig

__get-sql-config-file:
    [input] Enter the path of sql metadata config file \
[/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf/sql-database_TEST.xml]: \
/opt/perfSONAR/current-SQL_MA/perfsonar/conf/sql-database_TEST.xml

_get-sql-config-file_1:
     [echo] Accepted sql metadata config file: \
/opt/perfSONAR/current-SQL_MA/perfsonar/conf/sql-database_TEST.xml

_get-sql-config-file_2:

get-sql-config-file:

set-service-properties-for-sqlma:
[propertyfile] Creating new property file: \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf/service.properties
     [echo] service.properties file created
    [input] Press Return key ...


get-message-3:
     [echo] Start creating conf/log4j.properties file
     [echo] -----------------------------------------------------------

set-log4j-properties:
[propertyfile] Updating property file: \
/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf/log4j.properties
     [echo] log4j.properties file created
    [input] Press Return key ...


get-message-4:
     [echo] Start adding properties to Tomcat catalina.properties file
     [echo] -----------------------------------------------------------

set-tomcat-properties:
    [input] Enter the path of Tomcat location \
[/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/../apache-tomcat-5.5.17]:
/opt/tomcat/current/
    [input] Enter the path of service.properties file \
[/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf/service.properties]:
/opt/perfSONAR/current-SQL_MA/perfsonar/conf/service.properties
    [input] Enter the path of components.properties file \
[/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf/components.properties]:
/opt/perfSONAR/current-SQL_MA/perfsonar/conf/components.properties
[propertyfile] Updating property file: /opt/tomcat/current/conf/catalina.properties

BUILD SUCCESSFUL
Total time: 2 minutes 27 seconds
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ 

...

Code Block
titleperfsonar/conf/service.properties
#This file was created by the Ant configuration script.
#Wed Aug 30 11:43:23 PDT 2006
service.r.service_type=SQL MA
component.ma.xmldb.db_uri=xmldb\:exist\://net-desk1.slac.stanford.edu\:8680/exist/xmlrpc/db/sqlmaconfig
component.ma.xmldb.db_password=sqlmaservice
service.r.service_description=Java SQL MA, perfSONAR project
component.ma.xmldb.db_status=on
component.ma.xmldb.db_uri.xmlrpc=xmldb\:exist\://net-desk1.slac.stanford.edu\:8680/exist/xmlrpc/db/sqlmaconfig
service.log.log4j.config=/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/conf/log4j.properties
service.r.ls_url=
service.r.type=ma
service.r.access_point=http\://net-desk1.slac.stanford.edu\:8080/axis/services/MeasurementArchiveService
component.registrator.scheduler_component=ma_scheduler
service.ma.xmldb.db_store=off
component.registrator.interval=30000
service.ma.class_name=org.perfsonar.service.measurementArchive.sqlType.SQLTypeMAServiceEngine
service.ma.message_types=MetadataKeyRequest,SetupDataRequest,MeasurementArchiveStoreRequest
service.sax_parser.config=\
  /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060828/\
  perfSONAR-SQL_MA-src-snapshot-20060828/perfsonar/src/objects.config
component.ma.xmldb.db_username=sqlmaservice
component.ma.xmldb.db_access=xmlrpc
service.r.service_name=Java SQL MA
service.ma.conf_file=/opt/perfSONAR/current-SQL_MA/perfsonar/conf/sql-database_TEST.xml

...