Displaying 5 results from an estimated 5 matches for "reopen_logs_internal".
2014 Mar 19
2
Issue on DEBUG statement
Hi,
I was running samba-4.1.4 successfully on my fedora till the below issue occurs.
I had put some simple DEBUG statements in "lib/util/debug.c" (reopen_logs_internal() and some other funcs) file to understand the logging mechanism.
And the same is compiled fine without any issues. And I started my samba service(both nmbd and smbd), I got "(core dumped) segmentation fault" error with PID of the daemons(both smbd and nmbd). The logged errors are below....
2012 Sep 29
4
Why smbd (version 4.1.0) uses source3/smbd/server.c not source4/smbd/server.c
...on? Does the code of samba 3 and samba 4 mix
together in the master branch.
How can I let smbd be compiled from source4/smbd/server.c?
Thanks and Have a good weekend
Jun
The following is what I got from the command line:
junyij-2.desktop$ ./smbd
[2012/09/28 17:36:18, 0] ../lib/util/debug.c:592(reopen_logs_internal)
Unable to open new log file '/usr/local/samba/var/log.smbd': Permission
denied
[2012/09/28 17:36:18, 0] ../source3/lib/dumpcore.c:249(dump_core_setup)
Unable to setup corepath for smbd: Operation not permitted
[2012/09/28 17:36:18, 0] ../lib/util/debug.c:592(reopen_logs_internal)
U...
2014 Apr 15
1
too many open files
...ix this
Problem our customer reboots the machine.
The logfile says:
"Apr 15 02:48:37 s4ad samba[3058]: [2014/04/15 02:48:37.495691, 0]
../source4/smbd/process_single.c:57(single_accept_conn
ection)
Apr 15 02:48:37 s4ad samba[3058]: [2014/04/15 02:48:37.495905, 0]
../lib/util/debug.c:595(reopen_logs_internal)
Apr 15 02:48:37 s4ad samba[3058]: Unable to open new log file
'/var/log/samba/log.samba': Too many open files
Apr 15 02:48:37 s4ad samba[3058]: single_accept_connection: accept:
NT_STATUS_TOO_MANY_OPENED_FILES
Apr 15 02:48:38 s4ad samba[3058]: [2014/04/15 02:48:38.496541, 0]
../sou...
2020 Mar 19
0
smbclient(samba-4.10.4) cannot log data in log.smbclient while samba-3.6.23 can
...??????? }
> ??????? if (prog_name) {
> ??????????????? const char *p = strrchr(prog_name, '/');
>
> ??????????????? if (p) {
> ??????????????????????? prog_name = p + 1;
> ??????????????? }
>
> ??????????????? state.prog_name = prog_name;
> ??????? }
> ??????? reopen_logs_internal();
> ?+ ????? if (state.logtype == DEBUG_FILE) {
> +#ifdef WITH_SYSLOG
> + ???????????? //const char *p = strrchr_m( prog_name,'/' );
> + ?????????? const char *p = "/log.smbclient";
> +??????????????? if (p)
> + ????????????????????? prog_name = p + 1;
> +#if...
2011 Aug 03
1
Samba4 on CentOS6 make quicktest failed
...ailures=./st/knownfail | tee ./st/subunit | /usr/bin/python
-u /root/download/samba-4.0.0alpha16/selftest/format-subunit
--prefix=./st --immediate
You don't have Time::Hires installed !
SOCKET_WRAPPER_DIR=/root/download/samba-4.0.0alpha16/st/w
[2011/08/03 16:17:44, 0] ../lib/util/debug.c:572(reopen_logs_internal)
Unable to open new log file '/usr/local/samba/var/log.smbd': No such
file or directory
Can't locate Test/More.pm in @INC (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at...