I have a problem here with Debian 12

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

I have a problem here with Debian 12

#1 Post by fahadmehar »

Hello

I have a problem here with Debian 12. I am trying to use command "sudo apt-get install oidentd" But I got some long Error , I need a Solution please :x




Job for oidentd.service failed because the control process exited with error cod e.
See "systemctl status oidentd.service" and "journalctl -xeu oidentd.service" for details.
invoke-rc.d: initscript oidentd, action "start" failed.

Code: Select all

systemctl status oidentd.service
● oidentd.service - RFC 1413 compliant ident daemon
     Loaded: loaded (/lib/systemd/system/oidentd.service; enabled; preset: enabl                                                                                                             ed)
     Active: activating (auto-restart) (Result: exit-code) since Mon 2024-10-07                                                                                                              17:10:21 EDT; 12ms ago
    Process: 13510 ExecStart=/bin/sh -c exec /usr/sbin/oidentd -S ${OIDENT_OPTIO                                                                                                             NS} -u "${OIDENT_USER}" -g "${OIDENT_GROUP}"   `[ "${OIDENT_BEHIND_PROXY}" = "ye                                                                                                             s" ] && ip route show to exact 0/0 | awk '{print "-P " $3}'` (code=exited, statu                                                                                                             s=1/FAILURE)

Code: Select all

journalctl -xeu oidentd.service
Oct 07 17:10:21 dalnetchatworld.com systemd[1]: oidentd.service: Failed with res                                                                                                             ult 'exit-code'.
Oct 07 17:10:21 dalnetchatworld.com systemd[1]: Failed to start oidentd.service                                                                                                              - RFC 1413 compliant ident daemon.
dpkg: error processing package oidentd (--configure):
 installed oidentd package post-installation script subprocess returned error ex

User avatar
sunrat
Site admin
Site admin
Posts: 7450
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 134 times
Been thanked: 662 times

Re: I have a problem here with Debian 12

#2 Post by sunrat »

Please use code tags for terminal text output, and include the commands. Fixed it for you this time.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: [Solved] How can I update to Debian 12.2 from Debian 12?

#3 Post by fahadmehar »

How To Fix This oidentd?



Code: Select all

Job for oidentd.service failed because the control process exited with error code.
See "systemctl status oidentd.service" and "journalctl -xeu oidentd.service" for details.
invoke-rc.d: initscript oidentd, action "start" failed.

Code: Select all

● oidentd.service - RFC 1413 compliant ident daemon
     Loaded: loaded (/lib/systemd/system/oidentd.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Mon 2024-10-07 17:10:21 EDT; 12ms ago
    Process: 13510 ExecStart=/bin/sh -c exec /usr/sbin/oidentd -S ${OIDENT_OPTIONS} -u "${OIDENT_USER}" -g "${OIDENT_GROUP}"   `[ "${OIDENT_BEHIND_PROXY}" = "yes" ] && ip route show to exact 0/0 | awk '{print "-P " $3}'` (code=exited, status=1/FAILURE)

Oct 07 17:10:21 dalnetchatworld.com systemd[1]: oidentd.service: Failed with result 'exit-code'.
Oct 07 17:10:21 dalnetchatworld.com systemd[1]: Failed to start oidentd.service - RFC 1413 compliant ident daemon.
dpkg: error processing package oidentd (--configure):
 installed oidentd package post-installation script subprocess returned error ex

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2126
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 169 times
Been thanked: 230 times

Re: [Solved] How can I update to Debian 12.2 from Debian 12?

#4 Post by Hallvor »

Please post the output of "systemctl status oidentd.service" and "journalctl -xeu oidentd.service".
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: I have a problem here with Debian 12

#5 Post by fabien »

I moved your last post to your original topic @fahadmehar. Please do not crosspost. Also please use code tags as already requested, I fixed it for you.
I installed oidentd in a virtual machine without problem.
In addition to Hallvor request, can you post (using code tags please) the output of

Code: Select all

#> sh -x /etc/init.d/oidentd start
and also

Code: Select all

$> ip route show to exact 0/0
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#6 Post by fahadmehar »

I Have Use this Command as you mention, I Get this Results.

Code: Select all

+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ OIDENTD=/usr/sbin/oidentd
+ test -f /usr/sbin/oidentd
+ OIDENT_OPTIONS=
+ OIDENT_USER=nobody
+ OIDENT_GROUP=nogroup
+ test -f /etc/default/oidentd
+ . /etc/default/oidentd
+ OIDENT_OPTIONS=-mf -l 10
+ OIDENT_USER=oident
+ OIDENT_GROUP=oident
+ OIDENT_BEHIND_PROXY=yes
+ . /lib/lsb/init-functions
+ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
+ [ -r /lib/lsb/init-functions.d/00-verbose ]
+ . /lib/lsb/init-functions.d/00-verbose
+ [ -r /lib/lsb/init-functions.d/40-systemd ]
+ . /lib/lsb/init-functions.d/40-systemd
+ _use_systemctl=0
+ [ -d /run/systemd/system ]
+ [ -n  ]
+ [ oidentd = init-d-script ]
+ [ oidentd = start ]
+ executable=/etc/init.d/oidentd
+ argument=start
+ prog=oidentd
+ service=oidentd.service
+ systemctl -p LoadState --value show oidentd.service
+ state=loaded
+ [ loaded = masked ]
+ [ 74511 -ne 1 ]
+ [ -z  ]
+ readlink -f /etc/init.d/oidentd
+ [ loaded != not-found ]
+ _use_systemctl=1
+ systemctl -p CanReload --value show oidentd.service
+ [ yes = no ]
+ [ 1 = 1 ]
+ set +e
+ set +u
+ systemctl_redirect /etc/init.d/oidentd start
+ local s
+ local rc
+ local prog=oidentd
+ local command=start
+ s=Starting oidentd (via systemctl)
+ service=oidentd.service
+ systemctl --quiet is-system-running
+ [ start = reload ]
+ [ start = status ]
+ log_daemon_msg Starting oidentd (via systemctl) oidentd.service
+ [ -z Starting oidentd (via systemctl) ]
+ log_daemon_msg_pre Starting oidentd (via systemctl) oidentd.service
+ :
+ [ -z oidentd.service ]
+ echo -n Starting oidentd (via systemctl): oidentd.service
Starting oidentd (via systemctl): oidentd.service+ log_daemon_msg_post Starting oidentd (via systemctl) oidentd.service
+ :
+ systemctl --no-pager start oidentd.service
Job for oidentd.service failed because the control process exited with error code.
See "systemctl status oidentd.service" and "journalctl -xeu oidentd.service" for details.
+ rc=1
+ [ start = status ]
+ log_end_msg 1
+ [ -z 1 ]
+ log_end_msg_pre 1
+ :
+ log_use_fancy_output
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -z ]
+ return 0
+ esc=
ed=
+ yellow=
+ normal=
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ echo  failed!
 failed!
+ log_end_msg_post 1
+ :
+ return 1
+ return 1
+ exit 1

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: I have a problem here with Debian 12

#7 Post by fabien »

Thanks. So what give

Code: Select all

$> ip route show to exact 0/0
and

Code: Select all

#> systemctl status oidentd.service
and

Code: Select all

#> journalctl -xeu oidentd.service
?

Consider changing the title of your first post to make it more specific so people know what it's about, for example:
oidentd fails to start
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#8 Post by fahadmehar »

fabien wrote: 2024-10-10 22:07 Thanks. So what give

Code: Select all

$> ip route show to exact 0/0
and

Code: Select all

#> systemctl status oidentd.service
and

Code: Select all

#> journalctl -xeu oidentd.service
?

Consider changing the title of your first post to make it more specific so people know what it's about, for example:
oidentd fails to start

Code: Select all

× oidentd.service - RFC 1413 compliant ident daemon
     Loaded: loaded (/lib/systemd/system/oidentd.service; enabled; preset: enab>
     Active: failed (Result: exit-code) since Thu 2024-10-10 16:36:50 EDT; 12h >
    Process: 74776 ExecStart=/bin/sh -c exec /usr/sbin/oidentd -S ${OIDENT_OPTI>

Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Control proces>
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Failed with re>
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Failed to start oidentd.service>
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Scheduled rest>
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Stopped oidentd.service - RFC 1>
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Start request >
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Failed with re>
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Failed to start oidentd.service>
lines 1-13/13 (END)

Code: Select all

root@dalnetchatworld:~# journalctl -xeu oidentd.service
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Stopped oidentd.service - RFC 1>
░░ Subject: A stop job for unit oidentd.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit oidentd.service has finished.
░░
░░ The job identifier is 7336 and the job result is done.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Start request >
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Failed with re>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit oidentd.service has entered the 'failed' state with result 'exit-co>
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Failed to start oidentd.service>
░░ Subject: A start job for unit oidentd.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit oidentd.service has finished with a failure.
░░
░░ The job identifier is 7336 and the job result is failed.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: I have a problem here with Debian 12

#9 Post by fabien »

Hello,

Your output is truncated, probably because your terminal is too small. Please use:

Code: Select all

#> systemctl --full --no-pager status oidentd.service

Code: Select all

#> journalctl --full --no-pager -xeu oidentd.service
also, you forgot

Code: Select all

$> ip route show to exact 0/0
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#10 Post by fahadmehar »

fabien wrote: 2024-10-11 10:51 Hello,

Your output is truncated, probably because your terminal is too small. Please use:

Code: Select all

#> systemctl --full --no-pager status oidentd.service

Code: Select all

#> journalctl --full --no-pager -xeu oidentd.service
also, you forgot

Code: Select all

$> ip route show to exact 0/0

Code: Select all

root@dalnetchatworld:~# ip route show to exact 0/0
default dev venet0 scope link
root@dalnetchatworld:~# systemctl --full --no-pager status oidentd.service
× oidentd.service - RFC 1413 compliant ident daemon
     Loaded: loaded (/lib/systemd/system/oidentd.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-10-10 16:36:50 EDT; 14h ago
    Process: 74776 ExecStart=/bin/sh -c exec /usr/sbin/oidentd -S ${OIDENT_OPTIONS} -u "${OIDENT_USER}" -g "${OIDENT_GROUP}"   `[ "${OIDENT_BEHIND_PROXY}" = "yes" ] && ip route show to exact 0/0 | awk '{print "-P " $3}'` (code=exited, status=1/FAILURE)

Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Control process exited, code=exited, status=1/FAILURE
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Failed with result 'exit-code'.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Failed to start oidentd.service - RFC 1413 compliant ident daemon.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Scheduled restart job, restart counter is at 5.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Stopped oidentd.service - RFC 1413 compliant ident daemon.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Start request repeated too quickly.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Failed with result 'exit-code'.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Failed to start oidentd.service - RFC 1413 compliant ident daemon.

Code: Select all

The job identifier is 7336 and the job result is done.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Start request repeated too quickly.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: oidentd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit oidentd.service has entered the 'failed' state with result 'exit-code'.
Oct 10 16:36:50 dalnetchatworld.com systemd[1]: Failed to start oidentd.service - RFC 1413 compliant ident daemon.
░░ Subject: A start job for unit oidentd.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit oidentd.service has finished with a failure.
░░
░░ The job identifier is 7336 and the job result is failed.

Hoow I FIX This ERROR ?

Aki
Global Moderator
Global Moderator
Posts: 4036
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 112 times
Been thanked: 532 times

Re: I have a problem here with Debian 12

#11 Post by Aki »

Hello

Perhaps there are some messages from oidentd in /var/log/syslog : You can try the following commands (root password is required):

Code: Select all

script log.txt
su -l -c "zgrep oident /var/log/syslog*"
exit
The output will be in the file named log.txt

--
[1] closelog, openlog, syslog, vsyslog - send messages to the system logger
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: I have a problem here with Debian 12

#12 Post by fabien »

fahadmehar wrote: 2024-10-11 11:07

Code: Select all

root@dalnetchatworld:~# ip route show to exact 0/0
default dev venet0 scope link
According to oidentd manual:
-P, --proxy=ORIGIN
Allow the specified host to forward queries to this instance using the --forward option. If --reply is not specified, this option must be enabled for oidentd to correctly handle forwarded
connections.
On a simple network configuration:

Code: Select all

$> ip route show to exact 0/0
default via 192.168.0.254 dev enp3s0 proto dhcp src 192.168.0.11 metric 1002
which gives:

Code: Select all

$> ip route show to exact 0/0 | awk '{print "-P " $3}'
-P 192.168.0.254
On your system:

Code: Select all

$> awk '{print "-P " $3}' <<<"default dev venet0 scope link"
-P venet0
which is not a host but an interface name (hence the error).
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#13 Post by fahadmehar »

How I Fix the Problem?





fabien wrote: 2024-10-11 20:35
fahadmehar wrote: 2024-10-11 11:07

Code: Select all

root@dalnetchatworld:~# ip route show to exact 0/0
default dev venet0 scope link
According to oidentd manual:
-P, --proxy=ORIGIN
Allow the specified host to forward queries to this instance using the --forward option. If --reply is not specified, this option must be enabled for oidentd to correctly handle forwarded
connections.
On a simple network configuration:

Code: Select all

$> ip route show to exact 0/0
default via 192.168.0.254 dev enp3s0 proto dhcp src 192.168.0.11 metric 1002
which gives:

Code: Select all

$> ip route show to exact 0/0 | awk '{print "-P " $3}'
-P 192.168.0.254
On your system:

Code: Select all

$> awk '{print "-P " $3}' <<<"default dev venet0 scope link"
-P venet0
which is not a host but an interface name (hence the error).

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#14 Post by fahadmehar »

How I FIX This Problem? Now I show you everything. Now I Want Solution for it.

User avatar
sunrat
Site admin
Site admin
Posts: 7450
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 134 times
Been thanked: 662 times

Re: I have a problem here with Debian 12

#15 Post by sunrat »

fahadmehar wrote: 2024-10-12 10:40 How I FIX This Problem? Now I show you everything. Now I Want Solution for it.
In case you didn't notice, the name of this forum is Debian User Forums. Everyone here is a user who volunteers their time to help people with their problems. If you have a problem which no-one has experience with or no-one is able to help with, that's unfortunate but it happens and you may have to look to other means to solve it yourself. Being impatient and making demands will possibly lessen your chance of getting anyone to try to help.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#16 Post by fahadmehar »

it's strange none is discussing this topic and this is most important topic and its a serious error. I Reinstall OS still not solve :( I don't understand what problem is it? Debian 8 was working fine when I shift to Debian 12 I got problems.

User avatar
blackbird
Posts: 90
Joined: 2023-08-17 04:42
Has thanked: 3 times
Been thanked: 19 times

Re: I have a problem here with Debian 12

#17 Post by blackbird »

As Fabien found out, you have no gateway configured on your installation but oidend expects a gateway ip address. Did you install Debian with OpenVZ? Then you could change the name of the thread to something like "oidentd, missing gateway on Debian 12 installed with OpenVZ".
Maybe someone knows about this problem. I have no experience with OpenVZ and can't help you.

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#18 Post by fahadmehar »

blackbird wrote: 2024-10-13 07:13 As Fabien found out, you have no gateway configured on your installation but oidend expects a gateway ip address. Did you install Debian with OpenVZ? Then you could change the name of the thread to something like "oidentd, missing gateway on Debian 12 installed with OpenVZ".
Maybe someone knows about this problem. I have no experience with OpenVZ and can't help you.
Ubuntu 18 is working fine but not the only newer versions has problem not the old one. Debian 8 was working fine.

fahadmehar
Posts: 10
Joined: 2024-10-08 08:57

Re: I have a problem here with Debian 12

#19 Post by fahadmehar »

fahadmehar wrote: 2024-10-13 11:49
blackbird wrote: 2024-10-13 07:13 As Fabien found out, you have no gateway configured on your installation but oidend expects a gateway ip address. Did you install Debian with OpenVZ? Then you could change the name of the thread to something like "oidentd, missing gateway on Debian 12 installed with OpenVZ".
Maybe someone knows about this problem. I have no experience with OpenVZ and can't help you.
Ubuntu 18 is working fine but not the only newer versions has problem not the old one. Debian 8 was working fine.
It is only in newer version of Debian 12 not on older version like Debian 8 . I try to Install on Ubuntu 18 and was working fine but when I try to upgrade Ubuntu 22 it start giving this error same in Debian. It is problem in newer version of Debian 12. Problem In Debian I Guess. If its my VPS . Server problem none should be working.

Post Reply