Skip to content

Perforce Error in Project /& Git Repo #4571

@dkr91

Description

@dkr91

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions