-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run program ".../mysqld" #45
Comments
@dmarkov please assign @longtimeago to this problem |
I'll find a developer for the task soon... |
thank you for the ticket reported, I topped your account for 15 mins, transaction |
@yegor256 OK @longtimeago please start, the task is yours |
@yegor256 First of all, I can't reproduce the issue. The problem was very funny: looks like content of When I rename |
here is PR for review #46 |
@yegor256 I'm sorry but I can't figure out what's the problem. Looks like |
@longtimeago you can't reproduce or you can't fix? |
@yegor256 Can't reproduce the issue on my local PC |
@dmarkov please assign someone else |
Any update on this? I can't use this plugin unless there is a previous version that works. [ERROR] JSR-303 validator failed to initialize: Unable to instantiate Configuration. (see http://www.jcabi.com/jcabi-aspects/jsr-303.html) |
@mfulton26 for now you can use mysql-dist version 5.6.14, it works without problems (with the latest version of the plugin) |
@yegor256 I see the same with version 5.6.14 with mysql.classifier mac-x86_64. |
hm.. works fine for me with 5.6.14 on Mac. Can you show your pom.xml and your Maven/Java versions? |
@yegor256 As requested see below. pom.xml<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
...
<properties>
...
<mysql.port>3306</mysql.port>
</properties>
<build>
...
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.jcabi</groupId>
<artifactId>mysql-dist</artifactId>
<version>5.6.14</version>
<!--suppress MavenModelInspection -->
<classifier>${mysql.classifier}</classifier>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/mysql-dist</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-mysql-maven-plugin</artifactId>
<version>0.9</version>
<executions>
<execution>
<id>mysql-test</id>
<goals>
<goal>classify</goal>
<goal>start</goal>
<goal>stop</goal>
</goals>
<configuration>
<port>${mysql.port}</port>
<data>${project.build.directory}/mysql-data</data>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<mysql.port>${mysql.port}</mysql.port>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<executions>
<execution>
<id>start-container</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-container</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
<configuration>
<deployables>
<deployable>
<properties>
<context>ROOT</context>
</properties>
</deployable>
<deployable>
...
</deployable>
</deployables>
</configuration>
</plugin>
</plugins>
</build>
...
</project> Maven
Java
|
@mfulton26 can you please post a full error log you're getting? well, the tail of it, to understand the root cause of the issue |
|
It seems that I got it. What is the problem?jcab plugin downloads packaged zip archive with mysql. Yep, it correct resolve version and os name, but an mysql from archive need some libraries which are not present in linux (it can depends on x64 or x32 OS version). I am very sorry that I can not provide you full build log. because it was deleted, but I can share some parts from it. Consider:
Pay attention on line How to solve?Search for warnings and install these libraries manually (with NoteAfter installing these libraries About log provided in issue requestThe log provided on first message seem do not contains any |
Also I have spot for MySql version
It happens both on centOS 6.6 and Ubuntu 15.10. Could you please test you plugin |
Seeing this error - I believe that the incorrect binary is being packaged.
However I get this error trying to run:
The file does exist though:
It is a 32-bit file though!!
It looks like this is what was uploaded:
Previous version is fine:
|
got same problem, 2 years later: the mysql-dist-5.6.21-linux-amd64.zip has 32bit binaries. |
It would be nice to also upgrade to the latest stable version of mysql 5.6.x. Needless to say I can help testing it. |
The build is broken for a very strange reason, see http://www.rultor.com/t/934-60200725 (for example).
Let's investigate and fix
The text was updated successfully, but these errors were encountered: