serwer red 5 - instalacja

0

Czy ktoś może mi pomóc w uruchomieniu serwera red5 ? Ściągam te paczki https://github.com/Red5/installer wydaję polecenie z konsoli ./make_deb.sh 1.0.5 i wyskakuje komunikat:

./make_deb.sh 1.0.5
2015-04-18 1713 - INFO : * check commands this script uses
2015-04-18 1713 - INFO : $ curl --version
curl 7.38.0 (x86_64-pc-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1k zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API SPNEGO NTLM NTLM_WB SSL libz TLS-SRP
2015-04-18 1713 - INFO : * Start make_deb.sh on 2015-04-18 1713
mkdir: nie można utworzyć katalogu „src/tarball”: Plik istnieje
2015-04-18 1713 - INFO : ** change dir to : /home/xxx/Pobrane/installer-master/debian/src/tarball
2015-04-18 1713 - INFO : Tarball exists
2015-04-18 1713 - INFO : ** change dir to : /home/xxx/Pobrane/installer-master/debian
2015-04-18 1713 - INFO : ** making deb ...
2015-04-18 1713 - INFO : $ mvn clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Red5 :: Server
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager getting plugin 'org.apache.maven.plugins:maven-clean-plugin': Plugin 'org.apache.maven.plugins:maven-clean-plugin:2.5' has an invalid descriptor:

  1. Plugin's descriptor contains the wrong group ID: org.vafer
  2. Plugin's descriptor contains the wrong artifact ID: jdeb
  3. Plugin's descriptor contains the wrong version: 1.4
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2 seconds
    [INFO] Finished at: Sat Apr 18 1717 CEST 2015
    [INFO] Final Memory: 10M/106M
    [INFO] ------------------------------------------------------------------------
    2015-04-18 1717 - INFO : * End make_deb.sh on 2015-04-18 1713

System Debian stable.

0

no krzyczy, ze plugin w mavenie nie taki jak czeba :}
sprawdz pom,xml i zerknij czy masz wlasciwe artifactory ustawione

0

A jak ściągnąć taki jak trzeba? pom.xml jest taki jak na gicie, skąd mam wiedzieć jaki mvn posiada? Pierwszy raz się zderzam z javą i mvn.

0

no spoko ;x

<distributionManagement>
    <snapshotRepository>
        <id>snapshots</id>
        <a href="http://localhost:8081/nexus/content/repositories/snapshots">http://localhost:8081/nexus/content/repositories/snapshots</a>
    </snapshotRepository>
</distributionManagement>
0

Czyi co tam mam wpisać?

0

ja bym to wyjebal fhuj ;)

0

Tylko, że to niczego nie zmienia.

0

z ciekawosci sklonowalem sobie to git repo i mi dziala

0

2015-04-18 1850 - INFO : * check commands this script uses
2015-04-18 1850 - INFO : $ curl --version
curl 7.38.0 (x86_64-pc-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API SPNEGO NTLM NTLM_WB SSL libz TLS-SRP
2015-04-18 1850 - INFO : * Start make_deb.sh on 2015-04-18 1850
2015-04-18 1850 - INFO : ** change dir to : /home/anowak/Development/tmp3/installer/debian/src/tarball
2015-04-18 1850 - INFO : ** getting red5 tarball ...
2015-04-18 1850 - INFO : $ curl -# -L https://github.com/Red5/red5-server/releases/download/v1.0.5-RELEASE/red5-server-1.0.5-RELEASE-server.tar.gz -o red5-server-1.0.5-RELEASE-server.tar.gz
####################################### 55,2%

0

I masz paczkę deb? Masz może pomysł jakich paczek mi brakuje w systemie? Poza tym Tobie ściągnęło paczkę tar, a nie zrobiło z tego paczki deb, a o to w tym chodzi.

0

[INFO] Attaching created debian package /home/anowak/Development/tmp3/installer/debian/target/red5-server_1.0.5_all.deb
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.364s
[INFO] Finished at: Sat Apr 18 1956 CEST 2015
[INFO] Final Memory: 10M/212M
[INFO] ------------------------------------------------------------------------

0

Heh to już nie mam pomysłu. Jaki masz system? Jak instalowałeś javę? Bo ja dodałem repo z webu8team

0

ty a wez wpisz po prostu mvn package i pokaz blad

0

mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Red5 :: Server
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager getting plugin 'org.apache.maven.plugins:maven-resources-plugin': Plugin 'org.apache.maven.plugins:maven-resources-plugin:2.3' has an invalid descriptor:

  1. Plugin's descriptor contains the wrong group ID: org.vafer
  2. Plugin's descriptor contains the wrong artifact ID: jdeb
  3. Plugin's descriptor contains the wrong version: 1.4
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2 seconds
    [INFO] Finished at: Sat Apr 18 1914 CEST 2015
    [INFO] Final Memory: 11M/106M
    [INFO] ------------------------------------------------------------------------

Błąd jest ten co na początku.

0

to nie wiem, sciagnij jeszcze raz paczke ;P
a wersja mavena? mvn -v

0

mvn -v
Apache Maven 2.2.1 (rdebian-17)
Java version: 1.8.0_45
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: pl_PL, platform encoding: UTF-8
OS name: "linux" version: "3.19.0-3.slh.4-aptosid-amd64" arch: "amd64" Family: "unix"

ściągałem paczke jeszcze raz i nic... nawet skasowałem całe repo z /home

0

to zainstaluj mavena3 ;) i wysylaj piwo za pomoc xD
czyli apt-get remove maven2 && apt-get install maven

0

Chciałbym... teraz jest tak:

[INFO] No active profiles found
[INFO] Located keyring at /root/.gnupg/secring.gpg
[INFO] Creating debian package: /home/lukasz/Pobrane/installer-master/debian/target/red5-server_1.0.5_all.deb
[WARNING] Signing requested, but no key supplied
[WARNING] Signing requested, but no passphrase supplied
[ERROR] Failed to create debian package /home/lukasz/Pobrane/installer-master/debian/target/red5-server_1.0.5_all.deb
org.vafer.jdeb.PackagingException: Failed to create debian package /home/lukasz/Pobrane/installer-master/debian/target/red5-server_1.0.5_all.deb
at org.vafer.jdeb.DebMaker.makeDeb(DebMaker.java:296)
at org.vafer.jdeb.maven.DebMojo.execute(DebMojo.java:552)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.NullPointerException
at org.vafer.jdeb.signing.PGPSigner.getSecretKey(PGPSigner.java:146)
at org.vafer.jdeb.signing.PGPSigner.<init>(PGPSigner.java:54)
at org.vafer.jdeb.DebMaker.makeDeb(DebMaker.java:280)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.713s
[INFO] Finished at: Sat Apr 18 1940 CEST 2015
[INFO] Final Memory: 16M/173M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.vafer1.4:jdeb (default) on project red5-server: Failed to create debian package /home/lukasz/Pobrane/installer-master/debian/target/red5-server_1.0.5_all.deb: NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
2015-04-18 1941 - INFO : * End make_deb.sh on 2015-04-18 1933

0

w pom.xml
<signPackage>true</signPackage>

na false albo baw sie w podpisywanie paczki, czyli generuj pgp i przepchnij passphase w pomie

teraz to nalezy sie krata browarow

0

Fakt, dzięki wielkie. teraz jeszcze muszę uporać się z zależnościami tej paczki, wymaga jdk - 1.7 :D

0

ehh to jest jakas patologia... caly dzien się męczyłem żeby to zrobić, a okazało się że red5 jest stary nie współpracuje z nowymi wersjami systemu...

0

no to jesli potrzebujesz reda to kupujesz/uruchamiasz system odpowiedni do wersji
ale co moze byc niekompatybilnego w javie? 0.o

0

Zrobiłem to inaczej, rozpakowałem paczkę deb ręcznie... Po prostu wygenerowana paczka przez ten skrypt jest uszkodzona.

1 użytkowników online, w tym zalogowanych: 0, gości: 1