Forum Discussion
ielgho
Jun 30, 2022Nimbostratus
SMB Health Monitor failed "can't load /etc/samba/smb.conf"
Hello Community, Working with a BIG-IP 16.1.2 I am trying to configure a SMB health monitor based on the SMB parent with an user (Domain/login) and a password but it did't work The standard ic...
ielgho
Nimbostratus
Hello JRahm
Thank you for your return.
I already activated the debug on the monitor and tested a "smbclient" on the server, in both case, i got the error in the attached screen.
Kupauw
Aug 03, 2022Nimbostratus
I'm getting the exact same error after configuring a simple SMB monitor. We are running version 14.1.2.1.
A snippit of my logs. (replaced real IP/Hostname with defaul values)
********** Debugging session beginning at: Wed Aug 3 11:26:35 2022
Arguments 1-4:
::ffff:10.x.x.x
445
log
/var/log/monitors/AG-2_hm_hostname.domain.com-AG-2_hostname.domain.com-445.log
Environment variables:
GET=
MON_INST_LOG_NAME=/var/log/monitors/AG-2_hm_hostname.domain.com-AG-2_hostname.domain.com-445.log
MON_TMPL_NAME=/AG-2/hm_hostname.domain.com
NODE_IP=::ffff:10.x.x.x
NODE_PORT=445
PASSWORD=<sensitive data redacted>
SERVER=hostname
SERVICE=
USERNAME=
--
/usr/bin/smbclient -N -L hostname -p 445
Listing services on hostname
WARNING: Ignoring invalid value 'cups' for parameter 'printing'
/usr/bin/smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Recvd: 'protocol negotiation failed: NT_STATUS_CONNECTION_RESET
'
[1][14210] 2022-08-03 11:26:36.944599: ID 980 :(adjust_deadline): from [1659518796.448626][2022-08-03 11:26:36] to [1659518806.944568][2022-08-03 11:26:46] [ addr=::ffff:10.x.x.x:445 mon=/AG-2/hm_hostname.domain.com fd=13 pend=0 #conn=0 up_intvl=10 dn_intvl=10 timeout=31 time_until_up=0 immed=0 next_ping=[1659518805.651335][2022-08-03 11:26:45] last_ping=[1659518795.681333][2022-08-03 11:26:35] deadline=[1659518806.944568][2022-08-03 11:26:46] on_service_list=True snd_cnt=6 rcv_cnt=0 ]
[1][14210] 2022-08-03 11:26:36.944654: ID 980 :(_analyze_pings): visit DOWN, now=[1659518796.944568][2022-08-03 11:26:36] [ addr=::ffff:10.x.x.x:445 mon=/AG-2/hm_hostname.domain.com fd=13 pend=0 #conn=0 up_intvl=10 dn_intvl=10 timeout=31 time_until_up=0 immed=0 next_ping=[1659518805.651335][2022-08-03 11:26:45] last_ping=[1659518795.681333][2022-08-03 11:26:35] deadline=[1659518806.944568][2022-08-03 11:26:46] on_service_list=True snd_cnt=6 rcv_cnt=0 ]
read error on pipe: Interrupted system call
Failed to connect...
[1][14210] 2022-08-03 11:26:40.774046: ID 980 :(_main_loop): Service ready for read, now=[1659518800.772911][2022-08-03 11:26:40] [ addr=::ffff:10.x.x.x:445 srcaddr=::%0:0 fd=13 pend=0 #conn=0 ]
[1][14210] 2022-08-03 11:26:40.774817: ID 980 :(_recv_external_node_ping): reading [ addr=::ffff:10.x.x.x:445 ]
[1][14210] 2022-08-03 11:26:40.774841: ID 980 :(recv_external_node_ping): EAV failed [ addr=::ffff:10.x.x.x:445 ]
[1][14210] 2022-08-03 11:26:40.774857: ID 980 :(_kill_external_pinger): killing pid=751 [ addr=::ffff:10.x.x.x:445 fd=13 ]
[1][14210] 2022-08-03 11:26:40.774882: ID 980 :(_kill_external_pinger): kill returned -1 [ errno=3 ], kill-pg returned -1 [ errno=3 ]
[1][14210] 2022-08-03 11:26:40.774905: ID 980 :(shutdown_service) Closing logging file /var/log/monitors/AG-2_hm_hostname.domain.com-AG-2_hostname.domain.com-445.log
[1][14210] 2022-08-03 11:26:45.681147: ID 980 :(_do_ping): time to ping, now=[1659518805.680647][2022-08-03 11:26:45], status=DOWN [ addr=::ffff:10.x.x.x:445 mon=/AG-2/hm_hostname.domain.com fd=-1 pend=0 #conn=0 up_intvl=10 dn_intvl=10 timeout=31 time_until_up=0 immed=0 next_ping=[1659518805.651335][2022-08-03 11:26:45] last_ping=[1659518795.681333][2022-08-03 11:26:35] deadline=[1659518806.944568][2022-08-03 11:26:46] on_service_list=True snd_cnt=6 rcv_cnt=0 ]
[1][14210] 2022-08-03 11:26:45.681217: ID 980 :(_spawn_external_pinger): /usr/share/monitors/SMB_monitor [ addr=::ffff:10.x.x.x:445 ]
[1][14210] 2022-08-03 11:26:45.681819: ID 980 :(_spawn_external_pinger): spawned EAV pid=805 [ addr=::ffff:10.x.x.x:445 fd=13 ]
[1][14210] 2022-08-03 11:26:45.681876: ID 980 :(_do_ping): post ping, status=DOWN [ addr=::ffff:10.x.x.x:445 mon=/AG-2/hm_hostname.domain.com fd=13 pend=0 #conn=0 up_intvl=10 dn_intvl=10 timeout=31 time_until_up=0 immed=0 next_ping=[1659518815.651335][2022-08-03 11:26:55] last_ping=[1659518805.680647][2022-08-03 11:26:45] deadline=[1659518806.944568][2022-08-03 11:26:46] on_service_list=True snd_cnt=7 rcv_cnt=0 ]
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects