Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Issue in Maddash-server

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Issue in Maddash-server


Chronological Thread 
  • From: HADJALI Mehdi <>
  • To: "" <>
  • Subject: [perfsonar-user] Issue in Maddash-server
  • Date: Wed, 17 Jun 2020 06:54:49 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=soprasteria.com; dmarc=pass action=none header.from=soprasteria.com; dkim=pass header.d=soprasteria.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5lx+YoXlMsHq6uFePznwXyj6y5ifAIunTFZ4RS7FkPs=; b=SUqnXaIwWMuwJq2aebQ1rkPQkp7ZORhrAVFkzGAneNwdulJ+SYpyqXisO4Qwfl34H8BbayALRzlcTNse2SpsrWY1evqXsroQ6bts/EEuJeF1U+jNZg+rs9b5OPHMX8Qm43FMMbgYbw/9k5Ry5jRpsOPG3/5HW5ncQnthHHyczkSDBWaj8g2ZftrN9ZswBs3QgzrQjl6eV0ELsCfT1dT4zOPEr7gV1nA6k7lb3ZLtU5QpXbaX6qQyBjv6VNK6jD/Di8jNnEfUoOlGOrbXUf3avTLNOJN1NUPlYnX+nW5r9YObJzLQynSi6Pe/FZgX99FDtyCkPpaNjc+6qEdJSeORtw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cm/Hqj/Vt475Nk9yvcWl9KioNHuy5hn9fB3FUIpmpHp1i5EHBAyw77NKhmSL9FhMcipsR7TMHjbbaj0t2Bd6Rdn4f8jeT2/xGSm9K7WARdj0ExWqIPiNxLi83WQKERT4J4wIwba+5SPPn+lXOS7Bruk8bo1sV5yqnwFsLgVCmjFiGGllpEq+KqFu6kXcHhdEAMVsnKphRm/AFU8IhhCZ4a4sLt+gXV6VtDXve1AnEKKburkiIGSI2Hm3M2ZlOAoZ8AFfGbGMRhMYhdVJR7BuJlnmy2pQTZNjMZzUlIZqQfPOPO7cMWqF/8if06+cwdjWMc37LaKY6GjI7RZQR1ZKKg==

Hello community,

 

I have a maddash server that at the service level stops after a few seconds after restarting it.

 

I find this error when I run this command : cat /var/log/maddash/maddash-server.out

 

org.apache.derby.shared.common.error.DerbySQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'GRIDSGRIDNAME' defined on 'GRIDS'.

        at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)

        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)

        at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)

        at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)

        at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)

        at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)

        at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)

        at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)

        at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeLargeUpdate(Unknown Source)

        at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)

        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)

        at net.es.maddash.ConfigLoader.load(ConfigLoader.java:381)

        at net.es.maddash.MaDDashGlobals.load(MaDDashGlobals.java:305)

        at net.es.maddash.MaDDashGlobals.<init>(MaDDashGlobals.java:188)

        at net.es.maddash.MaDDashGlobals.getInstance(MaDDashGlobals.java:520)

        at net.es.maddash.Invoker.main(Invoker.java:55)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.simontuffs.onejar.Boot.run(Boot.java:340)

        at com.simontuffs.onejar.Boot.main(Boot.java:166)

Caused by: ERROR 23505: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'GRIDSGRIDNAME' defined on 'GRIDS'.

        at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)

        at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)

        at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source)

        at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source)

        at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source)

        at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source)

        at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source)

        at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source)

        at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)

        at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)

        at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)

        ... 16 more

Initialization error: Error loading database: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'GRIDSGRIDNAME' defined on 'GRIDS'.

java.lang.RuntimeException: Error loading database: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'GRIDSGRIDNAME' defined on 'GRIDS'.

        at net.es.maddash.ConfigLoader.load(ConfigLoader.java:483)

        at net.es.maddash.MaDDashGlobals.load(MaDDashGlobals.java:305)

        at net.es.maddash.MaDDashGlobals.<init>(MaDDashGlobals.java:188)

        at net.es.maddash.MaDDashGlobals.getInstance(MaDDashGlobals.java:520)

        at net.es.maddash.Invoker.main(Invoker.java:55)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.simontuffs.onejar.Boot.run(Boot.java:340)

        at com.simontuffs.onejar.Boot.main(Boot.java:166)

 

I feel like there's a problem with either Apache or the database.

 

Thanks in advance for your help

 

Cordialement / Regards


Mehdi HADJALI

DSI Network & Telecom

Sopra Steria

Sopra Steria

Tour Chantecoq
5, rue Chantecoq

92800 Puteaux Cedex - France
Phone: +33 (0)1 47 17 23 04
- www.soprasteria.com

 




Archive powered by MHonArc 2.6.19.

Top of Page