[Case 194241] The “p0f-cpanelsync” service is not a known service

jazz1611

Well-Known Member
Jun 5, 2012
82
0
56
cPanel Access Level
Root Administrator
I have enabled "Passive OS Fingerprinting Daemon" in Service Manager (with stick Enabled vs Monitor) then i save it and restart service. And i got this error when finished restart.

The “p0f-cpanelsync” service is not a known service. at /usr/local/cpanel/Cpanel/Exception.pm line 151. Cpanel::Exception::new("Cpanel::Exception::Services::Unknown", HASH(0xfef750)) called at /usr/local/cpanel/Cpanel/Exception.pm line 57 Cpanel::Exception::create("Services::Unknown", HASH(0xfef750)) called at /usr/local/cpanel/scripts/restartsrv line 434 Scripts::restartsrv::_lookup_service_restart_info(Scripts::restartsrv=HASH(0x8bdd50), "p0f-cpanelsync") called at /usr/local/cpanel/scripts/restartsrv line 67 Scripts::restartsrv::script("Scripts::restartsrv", "--html", "--wait", "--verbose", "p0f-cpanelsync") called at /usr/local/cpanel/scripts/restartsrv line 44 Waiting for “dovecot” to restart ………waiting for “dovecot” to initialize ……
…finished.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello :)

It's possible that update syncing failed and a file named "p0f-cpanelsync" was left in the /etc/chkserv.d/ directory. Please remove that file if it exists and update cPanel via:

Code:
/scripts/upcp --force
Thank you.
 

jrxpress

Member
Sep 26, 2014
18
1
53
New York, United States
cPanel Access Level
Root Administrator
also i got Additional Services with the option "p0f-cpanelsync" enabled ...

just checked /etc/chkserv.d/ as cPanelMichael suggested and noticed two folders:

"p0f" and "p0f-cpanelsync" i just download it and i see:

----------------
service[p0f]=x,x,x,/usr/local/cpanel/scripts/restartsrv_p0f,p0f,cpanelconnecttrack
----------------

the same for both ... can i remove it ? i see this is kind of merged with all the other services when i disabled it on Service Manager
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Yes, please remove the "p0f-cpanelsync" file.

Thank you.