Question

1
Replies
186
Views
Kenneth Foo (KennethF9987)
Avensys Ltd

Avensys Ltd
SG
KennethF9987 Member since 2021 1 post
Avensys Ltd
Posted: February 24, 2021
Last activity: February 25, 2021
Posted: 24 Feb 2021 22:00 EST
Last activity: 25 Feb 2021 7:16 EST

PRPC personal edition 8.5.1 is not starting

I'm getting this error, please help:

I'm getting this error, please help:

2021-02-25 11:01:14,855 [StreamServer.Default] [  STANDARD] [                    ] [                    ] (               dsm.kafka.Kafka) ERROR   - Failed to start Kafka on 1 attempt, kafka log ERROR StatusLogger Unable to access file:/C:/PRPCPersonalEdition/tomcat/kafka-1.1.0.4/bin/file:C:/PRPCPersonalEdition/tomcat/kafka-1.1.0.4/config/log4j2.xml java.io.FileNotFoundException: C:\PRPCPersonalEdition\tomcat\kafka-1.1.0.4\bin\file:C:\PRPCPersonalEdition\tomcat\kafka-1.1.0.4\config\log4j2.xml (The filename, directory name, or volume label syntax is incorrect)     at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195)       at java.io.FileInputStream.<init>(FileInputStream.java:138)  at java.io.FileInputStream.<init>(FileInputStream.java:93)      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)       at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)    at java.net.URL.openStream(URL.java:1045)       at org.apache.logging.log4j.core.config.ConfigurationSource.fromUri(ConfigurationSource.java:247)       at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:404) at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:346)    at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:260) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:615)      at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:636)         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231)    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)      at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)    at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)  at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:121)        at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)        at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46)  at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)    at com.typesafe.scalalogging.Logger$.apply(Logger.scala:42)     at kafka.utils.Log4jControllerRegistration$.<init>(Logging.scala:25)    at kafka.utils.Log4jControllerRegistration$.<clinit>(Logging.scala)  at kafka.utils.Logging$class.$init$(Logging.scala:47)   at kafka.Kafka$.<init>(Kafka.scala:30)  at kafka.Kafka$.<clinit>(Kafka.scala)   at kafka.Kafka.main(Kafka.scala)[2021-02-25 10:57:11,660] ERROR Failed to clean up log for df_run_metrics-13 in dir C:\PRPCPersonalEdition\tomcat\kafka-data due to IOException (kafka.server.LogDirFailureChannel)java.nio.file.FileSystemException: C:\PRPCPersonalEdition\tomcat\kafka-data\df_run_metrics-13\00000000000000000000.log.cleaned -> C:\PRPCPersonalEdition\tomcat\kafka-data\df_run_metrics-13\00000000000000000000.log.swap: The process cannot access the file because it is being used by another process.         at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[?:1.8.0_121]  at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_121]    at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:387) ~[?:1.8.0_121]  at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287) ~[?:1.8.0_121] at java.nio.file.Files.move(Files.java:1395) ~[?:1.8.0_121]     at org.apache.kafka.common.utils.Utils.atomicMoveWithFallback(Utils.java:697) ~[kafka-clients-1.1.0.4.jar:?] at org.apache.kafka.common.record.FileRecords.renameTo(FileRecords.java:212) ~[kafka-clients-1.1.0.4.jar:?]     at kafka.log.LogSegment.changeFileSuffixes(LogSegment.scala:415) ~[kafka_2.11-1.1.0.4.jar:?] at kafka.log.Log.replaceSegments(Log.scala:1651) ~[kafka_2.11-1.1.0.4.jar:?]    at kafka.log.Cleaner.cleanSegments(LogCleaner.scala:535) ~[kafka_2.11-1.1.0.4.jar:?]    at kafka.log.Cleaner$$anonfun$doClean$4.apply(LogCleaner.scala:462) ~[kafka_2.11-1.1.0.4.jar:?]      at kafka.log.Cleaner$$anonfun$doClean$4.apply(LogCleaner.scala:461) ~[kafka_2.11-1.1.0.4.jar:?] at scala.collection.immutable.List.foreach(List.scala:392) ~[scala-library-2.11.12.jar:?]    at kafka.log.Cleaner.doClean(LogCleaner.scala:461) ~[kafka_2.11-1.1.0.4.jar:?]  at kafka.log.Cleaner.clean(LogCleaner.scala:438) ~[kafka_2.11-1.1.0.4.jar:?]    at kafka.log.LogCleaner$CleanerThread.cleanOrSleep(LogCleaner.scala:305) [kafka_2.11-1.1.0.4.jar:?]  at kafka.log.LogCleaner$CleanerThread.doWork(LogCleaner.scala:291) [kafka_2.11-1.1.0.4.jar:?]   at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:82) [kafka_2.11-1.1.0.4.jar:?]        Suppressed: java.nio.file.FileSystemException: C:\PRPCPersonalEdition\tomcat\kafka-data\df_run_metrics-13\00000000000000000000.log.cleaned -> C:\PRPCPersonalEdition\tomcat\kafka-data\df_run_metrics-13\00000000000000000000.log.swap: The process cannot access the file because it is being used by another process.              at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[?:1.8.0_121]          at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_121]         at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:301) ~[?:1.8.0_121]             at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287) ~[?:1.8.0_121]              at java.nio.file.Files.move(Files.java:1395) ~[?:1.8.0_121]             at org.apache.kafka.common.utils.Utils.atomicMoveWithFallback(Utils.java:694) ~[kafka-clients-1.1.0.4.jar:?]            at org.apache.kafka.common.record.FileRecords.renameTo(FileRecords.java:212) ~[kafka-clients-1.1.0.4.jar:?]          at kafka.log.LogSegment.changeFileSuffixes(LogSegment.scala:415) ~[kafka_2.11-1.1.0.4.jar:?]            at kafka.log.Log.replaceSegments(Log.scala:1651) ~[kafka_2.11-1.1.0.4.jar:?]         at kafka.log.Cleaner.cleanSegments(LogCleaner.scala:535) ~[kafka_2.11-1.1.0.4.jar:?]            at kafka.log.Cleaner$$anonfun$doClean$4.apply(LogCleaner.scala:462) ~[kafka_2.11-1.1.0.4.jar:?]              at kafka.log.Cleaner$$anonfun$doClean$4.apply(LogCleaner.scala:461) ~[kafka_2.11-1.1.0.4.jar:?]         at scala.collection.immutable.List.foreach(List.scala:392) ~[scala-library-2.11.12.jar:?]               at kafka.log.Cleaner.doClean(LogCleaner.scala:461) ~[kafka_2.11-1.1.0.4.jar:?]               at kafka.log.Cleaner.clean(LogCleaner.scala:438) ~[kafka_2.11-1.1.0.4.jar:?]            at kafka.log.LogCleaner$CleanerThread.cleanOrSleep(LogCleaner.scala:305) [kafka_2.11-1.1.0.4.jar:?]          at kafka.log.LogCleaner$CleanerThread.doWork(LogCleaner.scala:291) [kafka_2.11-1.1.0.4.jar:?]           at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:82) [kafka_2.11-1.1.0.4.jar:?][2021-02-25 10:57:11,685] ERROR Shutdown broker because all log dirs in C:\PRPCPersonalEdition\tomcat\kafka-data have failed (kafka.log.LogManager)

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.5.1 System Administration