LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-29-2018, 06:05 PM   #1
oddstan
LQ Newbie
 
Registered: Aug 2018
Posts: 1

Rep: Reputation: Disabled
samba red log messages


hello,
started new samba server, and i'm a bit confused with red log messages.
could anyone help to get rid of them or should i just ignore them? give an advice what config options may have impact on performance?

OS Ubuntu 18.04.1 LTS
Linux 4.14.66-147 #1 SMP PREEMPT armv7l
smbd --version Version 4.7.6-Ubuntu

thanks in advance.

smb.conf
Code:
[global]
   workgroup = WORKGROUP
   server string = %h server
   dns proxy = no
   log level = 3
#syslog = 3
   log file = /var/log/samba/log.%m
   max log size = 1000
#syslog only = no
   panic action = /usr/share/samba/panic-action %d
   encrypt passwords = true
   server role = standalone server
   passdb backend = tdbsam
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   security = USER
   map to guest = never
   usershare allow guests = no
   load printers = no
   disable spoolss = yes
   printing = bsd
   printcap name = /dev/null
   unix extensions = no
   wide links = no
   create mask = 0700
   directory mask = 0700
   use sendfile = no
   strict locking = no
   local master = no
   time server = no
   wins support = no
   interfaces = 127.0.0.0/8 eth0
   min receivefile size = 16384
   write cache size = 524288
   getwd cache = yes
   socket options = TCP_NODELAY IPTOS_LOWDELAY
#server multi channel support = yes
   aio read size = 1
   aio write size = 1
   vfs objects = aio_pthread
   server min protocol = SMB3
   client min protocol = SMB3
   client max protocol = SMB3
   hide special files = yes
   follow symlinks = no
   hide dot files = yes
   valid users = xxx
   write list = xxx
#======================= Share Definitions =======================
[FILES]
   comment = FILES
   path = /mnt/FILES
   guest ok = no
   read only = no
   browseable = yes
   inherit acls = yes
   inherit permissions = no
   ea support = no
   store dos attributes = no
   printable = no
   create mask = 0700
   force create mode = 0700
   directory mask = 0700
   force directory mode = 0700
log.
Code:
[2018/08/30 01:35:15.145849,  2] ../source3/lib/tallocmsg.c:56(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2018/08/30 01:35:15.145951,  2] ../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2018/08/30 01:35:15.146017,  3] ../source3/param/loadparm.c:3860(lp_load_ex)
  lp_load_ex: refreshing parameters
[2018/08/30 01:35:15.146147,  3] ../source3/param/loadparm.c:549(init_globals)
  Initialising global parameters
[2018/08/30 01:35:15.146215,  2] ../source3/param/loadparm.c:321(max_open_files)
  rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2018/08/30 01:35:15.146413,  3] ../source3/param/loadparm.c:2774(lp_do_section)
  Processing section "[global]"
[2018/08/30 01:35:15.147268,  3] ../source3/nmbd/nmbd.c:414(reload_nmbd_services)
  services not loaded
log.nmbd
Code:
[2018/08/30 01:35:15.147400,  3] ../source3/nmbd/nmbd.c:953(main)
  standard input is not a socket, assuming -D option
[2018/08/30 01:35:15.147477,  3] ../source3/nmbd/nmbd.c:958(main)
  Becoming a daemon.
[2018/08/30 01:35:15.155669,  3] ../source3/nmbd/nmbd.c:1043(main)
  Opening sockets 137
[2018/08/30 01:35:15.155910,  3] ../source3/nmbd/nmbd.c:766(open_sockets)
  open_sockets: Broadcast sockets opened.
[2018/08/30 01:35:15.156972,  2] ../source3/lib/interface.c:555(interpret_interface)
  interpret_interface: using netmask value 8 from config file on interface lo
[2018/08/30 01:35:15.157039,  2] ../source3/lib/interface.c:345(add_interface)
  added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
[2018/08/30 01:35:15.157103,  2] ../source3/lib/interface.c:345(add_interface)
  added interface eth0 ip=192.168.90.99 bcast=192.168.90.255 netmask=255.255.255.0
[2018/08/30 01:35:15.157339,  2] ../source3/nmbd/nmbd_subnetdb.c:180(make_subnet)
  making subnet name:192.168.90.99 Broadcast address:192.168.90.255 Subnet mask:255.255.255.0
[2018/08/30 01:35:15.157396,  2] ../source3/nmbd/nmbd_subnetdb.c:311(create_subnets)
  create_subnets: Ignoring loopback interface.
[2018/08/30 01:35:15.157438,  2] ../source3/nmbd/nmbd_subnetdb.c:180(make_subnet)
  making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2018/08/30 01:35:15.157485,  2] ../source3/nmbd/nmbd_subnetdb.c:180(make_subnet)
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2018/08/30 01:35:15.157562,  2] ../source3/nmbd/nmbd_lmhosts.c:43(load_lmhosts_file)
  load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
[2018/08/30 01:35:15.157818,  3] ../source3/nmbd/nmbd.c:1064(main)
  Loaded hosts file /etc/samba/lmhosts
[2018/08/30 01:35:15.157918,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet 192.168.90.99
[2018/08/30 01:35:15.158020,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet 192.168.90.99
[2018/08/30 01:35:15.158080,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet 192.168.90.99
[2018/08/30 01:35:15.158137,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet 192.168.90.99
[2018/08/30 01:35:15.158587,  3] ../source3/nmbd/nmbd_serverlistdb.c:134(create_server_on_workgroup)
  create_server_on_workgroup: Created server entry NAS of type 40809a03 (nas server) on workgroup WORKGROUP.
[2018/08/30 01:35:15.158654,  3] ../source3/nmbd/nmbd_workgroupdb.c:259(initiate_myworkgroup_startup)
  initiate_myworkgroup_startup: Added server name entry NAS on subnet 192.168.90.99
[2018/08/30 01:35:15.158721,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.158778,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.158845,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.158904,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.158960,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name NAS<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.159061,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name NAS<03> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.159119,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name NAS<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.159174,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.90.99 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.159231,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.90.99 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
[2018/08/30 01:35:15.159288,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2018/08/30 01:35:15.159341,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2018/08/30 01:35:15.159393,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2018/08/30 01:35:15.159448,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2018/08/30 01:35:15.159852,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2018/08/30 01:35:15.160206,  3] ../source3/nmbd/nmbd_sendannounce.c:212(send_host_announcement)
  send_host_announcement: type 809a03 for host NAS on subnet 192.168.90.99 for workgroup WORKGROUP
[2018/08/30 01:35:19.174144,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name NAS<20> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet 192.168.90.99
[2018/08/30 01:35:19.174236,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name NAS<03> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet 192.168.90.99
[2018/08/30 01:35:19.174285,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name NAS<00> with first IP 192.168.90.99 ttl=0 nb_flags= 0 to subnet 192.168.90.99
[2018/08/30 01:35:19.174332,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.90.99 ttl=0 nb_flags=80 to subnet 192.168.90.99
[2018/08/30 01:35:19.174377,  3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
  add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.90.99 ttl=0 nb_flags=80 to subnet 192.168.90.99
[2018/08/30 01:35:19.174478,  2] ../source3/nmbd/nmbd_elections.c:41(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.90.99
log.smbd
Code:
[2018/08/30 01:35:15.517221,  3] ../source3/param/loadparm.c:3860(lp_load_ex)
  lp_load_ex: refreshing parameters
[2018/08/30 01:35:15.517426,  3] ../source3/param/loadparm.c:549(init_globals)
  Initialising global parameters
[2018/08/30 01:35:15.517664,  3] ../source3/param/loadparm.c:2774(lp_do_section)
  Processing section "[global]"
[2018/08/30 01:35:15.518669,  2] ../source3/param/loadparm.c:2791(lp_do_section)
  Processing section "[VIDEO]"
[2018/08/30 01:35:15.518998,  2] ../source3/param/loadparm.c:2791(lp_do_section)
  Processing section "[backup]"
[2018/08/30 01:35:15.519586,  3] ../source3/param/loadparm.c:1609(lp_add_ipc)
  adding IPC service
[2018/08/30 01:35:15.521070,  2] ../source3/lib/interface.c:555(interpret_interface)
  interpret_interface: using netmask value 8 from config file on interface lo
[2018/08/30 01:35:15.521159,  2] ../source3/lib/interface.c:345(add_interface)
  added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
[2018/08/30 01:35:15.521241,  2] ../source3/lib/interface.c:345(add_interface)
  added interface eth0 ip=192.168.90.99 bcast=192.168.90.255 netmask=255.255.255.0
[2018/08/30 01:35:15.525246,  3] ../source3/smbd/server.c:1822(main)
  loaded services
[2018/08/30 01:35:15.533878,  1] ../source3/profile/profile_dummy.c:30(set_profile_level)
  INFO: Profiling support unavailable in this build.
[2018/08/30 01:35:15.537031,  3] ../source3/smbd/server.c:1842(main)
  Standard input is not a socket, assuming -D option
[2018/08/30 01:35:15.537098,  3] ../source3/smbd/server.c:1854(main)
  Becoming a daemon.
[2018/08/30 01:35:15.561871,  3] ../source3/lib/util_procid.c:54(pid_to_procid)
  pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
[2018/08/30 01:35:15.594140,  3] ../source3/auth/token_util.c:559(finalize_local_nt_token)
  Failed to fetch domain sid for WORKGROUP
[2018/08/30 01:35:15.594242,  3] ../source3/auth/token_util.c:591(finalize_local_nt_token)
  Failed to fetch domain sid for WORKGROUP
[2018/08/30 01:35:15.630323,  3] ../source3/rpc_server/svcctl/srv_svcctl_reg.c:565(svcctl_init_winreg)
  Initialise the svcctl registry keys if needed.
[2018/08/30 01:35:15.655674,  3] ../source3/rpc_server/eventlog/srv_eventlog_reg.c:59(eventlog_init_winreg)
  Initialise the eventlog registry keys if needed.
[2018/08/30 01:35:15.657680,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2018/08/30 01:35:15.662996,  2] ../source3/smbd/server.c:1395(smbd_parent_loop)
  waiting for connections
 
Old 08-30-2018, 01:31 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i'd say red should be reserved for critical errors, but your output seems to include all sorts of messages, even simple information.

basically, it's simple:
errors shouldn't be ignored
warnings warrant a closer look (and a decision whether it is ok to ignore them)
everything else are informative messages.
 
1 members found this post helpful.
  


Reply

Tags
linux, samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Central log server aggregating all messages to /var/log/messages lhiggie1 CentOS 6 01-20-2015 04:44 PM
using grep to output error messages in /var/log/messages and using a loop? Billy_6052 Linux - Server 4 12-14-2014 11:01 AM
[SOLVED] Samba log files with strange messages tar1827 Linux - Server 2 12-28-2012 08:46 AM
logging messages from my program doesn't reach /var/log/messages rajas Programming 4 09-18-2011 12:38 AM
Error messages in /var/log/samba dvbuser Linux - Newbie 1 11-13-2007 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration