Hi,
I have installed Tango 8, well running, on Xubuntu.
I have installed ArchivingRoot 15.4.2, HDB and TDB, well running also.
To install the snap archiving and create the ‘snap’ data base, i execute the script $ARCHIVING_ROOT/db/create-SNAPDB-MyISAM.sql
No sample script for installation of snap DS furnished, so i have exported, from an existing and well running data base tango,
the selected properties from the ‘device’ ‘property_device’ and ‘property_class’ tables.
I precise that the snap archiving is well running on this another host..
While executing SnapArchiver, i have the following messages (see bellow 1-DS 2-Atkpanel) containing errors.
[i]For information :
- SnapExtractor and SnapManager are running ok
- i tried with different values : 127.0.0.1 (or localhost) , 127.0.1.1 (or pc-planck15 my hostname)..
- i can only connect to the my sql server with host=localhost
access authorized with «mysql -h localhost -u snapbrowser -p»
access denied with «mysql -h pc-planck15 -u snapbrowser -p» whatever user is root, snapbrowser, snapmanager, snaparchiver…[/i]
Any idea, any help will be appreciated.
Thanks
JCM
1-execution of the DS
SnapArchiver() create archiving/snap/snaparchiver.1
################
Snapshot
################
Host from Device Properties : pc-planck15
Name from Device Properties : snap
Schema from Device Properties : snap
User from Device Properties : snaparchiver
Password from Device Properties : snaparchiver
Is Rac from Default : false
############################
DataBaseApi.connect_auto oracle: snaparchiver@pc-planck15
connection to oracle KO
DataBaseApi.connect_auto MySQL: snaparchiver@pc-planck15
mysql URL jdbc:mysql://pc-planck15/snap?autoReconnect=true
connection to MySQL KO
log4j:WARN No appenders could be found for logger (archiving/snap/snaparchiver.1).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for more info.
Ready to accept request
2-AtkPanel
Status dans ATKpanel de archiving/snap/snaparchiver.1 :
Message : ARCHIVING ERROR : : CONNECTION FAILED !
[1] :
Reason : Erreur d’E/S: The Network Adapter could not establish the connection
Severity : WARNING
Description : Erreur d’E/S: The Network Adapter could not establish the connection
Origin : java.sql.SQLRecoverableException
[2] :
Reason : Failed while executing DataBaseApi.connect_oracle() method…
Severity : PANIC
Description : The loggin parameters (host, database name, user, password) seem to be wrong…
- URL: jdbc:oracle:thin:@pc-planck15:1521:snap
- user: snaparchiver
- password: snaparchiver
Origin : java.sql.SQLRecoverableException
[3] :
Reason : Failed while executing DataBaseApi.connect_auto() method…
Severity : PANIC
Description : Failed while connecting to the Oracle archiving database
Origin : fr.soleil.archiving.snap.api.tools.SnapshotingException
[4] :
Reason : Failed while executing DataBaseApi.connect_auto() method…
Severity : PANIC
Description : Failed while connecting to the archiving database
Origin : fr.soleil.archiving.snap.api.tools.SnapshotingException
[5] :
Reason : Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Severity : WARNING
Description : Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Origin : com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException
[6] :
Reason : Failed while executing DataBaseApi.connect_mysql() method…
Severity : PANIC
Description : The loggin parameters (host, database name, user, password) seem to be wrong…
Origin : com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException
[7] :
Reason : Failed while executing DataBaseApi.connect_auto() method…
Severity : PANIC
Description : Failed while connecting to the MySQL archiving database
Origin : fr.soleil.archiving.snap.api.tools.SnapshotingException
[8] :
Reason : Failed while executing DataBaseApi.connect_auto() method…
Severity : PANIC
Description : Failed while connecting to the archiving database
Origin : fr.soleil.archiving.snap.api.tools.SnapshotingException