Replies: 1 comment 2 replies
-
|
The hint for the error is in the last line: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am new to irrd and i have installed the irrd mentioned as per the document in link "https://irrd.readthedocs.io/en/stable/"
now while starting the irrd using command "irrd --foreground" i am getting below error error messages. But i can see the irrd daemon is running.
Process irrd-http-server-listener:
Traceback (most recent call last):
File "/usr/lib64/python3.6/logging/config.py", line 565, in configure
handler = self.configure_handler(handlers[name])
File "/usr/lib64/python3.6/logging/config.py", line 738, in configure_handler
result = factory(**kwargs)
File "/usr/lib64/python3.6/logging/handlers.py", line 437, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File "/usr/lib64/python3.6/logging/init.py", line 1032, in init
StreamHandler.init(self, self._open())
File "/usr/lib64/python3.6/logging/init.py", line 1061, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/var/log/irrd/irrd.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/irrd/lib64/python3.6/site-packages/irrd/utils/process_support.py", line 21, in run
super().run()
File "/usr/lib64/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/irrd/lib64/python3.6/site-packages/irrd/server/http/server.py", line 33, in run_http_server
log_config=configuration.logging_config,
File "/irrd/lib64/python3.6/site-packages/uvicorn/main.py", line 429, in run
config = Config(app, **kwargs)
File "/irrd/lib64/python3.6/site-packages/uvicorn/config.py", line 278, in init
self.configure_logging()
File "/irrd/lib64/python3.6/site-packages/uvicorn/config.py", line 378, in configure_logging
logging.config.dictConfig(self.log_config)
File "/usr/lib64/python3.6/logging/config.py", line 802, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib64/python3.6/logging/config.py", line 573, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: '/var/log/irrd/irrd.log'
Also evenif the irrd daemon is running i am unable to use the v1/status and v1/submit command.
Can anyone please help me to understand the above error and i was looking on internet for the above error from more than 15 days
Beta Was this translation helpful? Give feedback.
All reactions