oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.29k stars 739 forks source link

Perforce Error in Project /& Git Repo #4571

Closed dkr91 closed 2 months ago

dkr91 commented 2 months ago

Describe the bug

WARNING [OpenGrok-index-db-000] org.opengrok.indexer.util.Executor.exec Non-zero exit status 1 from command [/usr/bin/p4 dirs $'*'] in directory '/opengrok/src/release-2x': Perforce client error:
        Connect to server failed; check $P4PORT.
        TCP connect to perforce:1666 failed.
        Name or service not known

If you provide the exact version of OpenGrok, JDK used, OS(and its version) used and Tomcat(or your webapp server) used it can help figuring out an environment issue. For performance problem OS and JDK tunables might be needed. For SCM problems also version of SCM is helpfull (e.g. some mercurial versions have issues, some not).

Opengrok Docker 1.13.4/7 Indexer Options:

depth 10 --reduceSegmentCount --leadingWildCards on -G -S --renamedHistory on -p release-2x -i d:LanguageFiles -i d:versioncache -i d:work-cache -i *.a -i *.bz2 -i *.class -i *.dll -i *.exe -i *.gz -i *.jar -i *.lib -i *.obj -i *.pdb -i *.so -i *.tar -i *.war -i *.xz -i *.zip

To Reproduce Steps to reproduce the behavior: run Opengrok container.

Expected behavior Perforce TCP not even trying because there are no Perforce Projects configured