iamseth / oracledb_exporter

Prometheus Oracle database exporter.
MIT License
479 stars 236 forks source link

level=error errorpingingoracle:="missing port in address" #417

Open pratikpm10 opened 7 months ago

pratikpm10 commented 7 months ago

I'm submitting a ...

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Version: X.Y.Z

pratikpm10 commented 7 months ago

Getting this error - level=error errorpingingoracle:="missing port in address"

pratikpm10 commented 7 months ago

We are getting error while starting the oracle exporter via the pipeline- Below is the error details

[itmsys02@clrv0000286405 oracledb_exporter]$ /opt/oracledb_exporter/oracledb_exporter --web.listen-address=:10071 --web.config.file=/opt/oracledb_exporter/tls_config.yml --default.metrics /opt/oracledb_exporter/config.yml ts=2024-02-19T10:45:00.921Z caller=collector.go:262 level=error errorpingingoracle:="missing port in address" ts=2024-02-19T10:45:00.921Z caller=main.go:89 level=info msg="Starting oracledb_exporter" version="(version=, branch=, revision=3416bc8d2c11f352b4555a8205dc960cf46033c4-modified)"

saurabh-m-w commented 7 months ago

Hi @pratikpm10 did you found any solution or workaround, I am also facing same issue observed it is on RHEL8 OS only in my case, which Linux version you are running this? I have added comment here as well comment And dup issues #371 #363 #345

stef609 commented 7 months ago

Hello, I face same error, also on a RHEL 8 server. Did you find any solution for it?

saurabh-m-w commented 6 months ago

No, I didn't found any soution for it yet

anch665 commented 5 months ago

@stef609 @saurabh-m-w

change % to %% exaple password: 12@34 encoded passwod 12%%4034, where % - escape and %40 - code @

https://askubuntu.com/questions/1028898/systemd-service-startup-script-worked-in-16-04-but-throws-an-error-in-18-04

Cuijian66 commented 5 months ago

I encountered the same problem errorpingingoracle:="missing port in address" Is there any solution?

amunoz-vendavo commented 2 months ago

Same problem here on AlmaLinux8 after upgrading to v0.6.0. Had to revert back to 0.4.4.

rizkyyud commented 1 month ago

using this format: export DATA_SOURCE_NAME=oracle://user:password@IP_address:port/service

and run: ./oracledb_exporter --web.listen-address=":9161"

its work in v0.6.0 and linux