1828485 Members
3833 Online
109978 Solutions
New Discussion

Samba crash

 
Antoniov.
Honored Contributor

Samba crash

My Samba 2.2.8 is strange. If I start Advanced Server, then stop it and start Samba, it works (quite) fine.
If I don't start Advanced Server before, Samba starts and after a short time crashes.
I don't read nothig on various log.

Any idea?

Antonio
Antonio Maria Vigliotti
8 REPLIES 8
Ian Miller.
Honored Contributor

Re: Samba crash

I guess samba must be using a resource which it shares with Advanced Server and does not properly initialise. Network resources (they must use the same TCP/UDP ports) or memory resources (n page pool, global sections, pages?) or locks.

Just some gueses
____________________
Purely Personal Opinion
Karl Rohwedder
Honored Contributor

Re: Samba crash

Anything in accounting?

regards Kalle
Volker Halle
Honored Contributor

Re: Samba crash

Antonio,

SAMBA writes it's log file to SAMBA_ROOT:[VAR]LOG.SMBD - not a filename you would have suspected as someone used to OpenVMS ;-)

You could add a

log level = n ! n = 1 ... 10

into samba_root:smb.conf into the [global] section to get more information in the above log file.

Volker.
Antoniov.
Honored Contributor

Re: Samba crash

Hi to all,
sorry for late, I went out of my office for some days.

Ian,
I don't know exactly resource used by both software. I have source of Samba but not of A/S.

Karl,
in time of crash I found 2 processes ended with error. First error was %X10F48009 and second error was %X1035A00A. If retry to start Samba I se again process crashed with
%X1035A00A error. Lex f$message() can't help me.

Volker,
documentation of Samba says debug level 0..3 and I set it to 3. No message can help me. I guess process crashes and can't write into log.
Volker, off topic, I can't write to John M. about new version of Samba. May you courtesly ask him to contact me at antoniov(at)shs-av.it?
Volker, I'm creating a local italian vms comunity. Would you add some your link in Friend of VMS section? Also other fellows can do it!

Today, samba started without Advanced Server is never started.
I changed role of server. It was PDC while now is BDC and PDC is another server. I guess other PC in network tried to send message ot PDC while was off and Samba received them. Actually Samba is configurated as Workgroup.

Antonio
Antonio Maria Vigliotti
Karl Rohwedder
Honored Contributor

Re: Samba crash

%X1035A00A:
Error 1035A00A (%D271949834) located in SYS$COMMON:[SYSMSG]DECC$MSG.EXE;1
%C-E-EXIT1, exit value 1

%X10F48009:
Error 10F48009 (%D284459017) located in SYS$COMMON:[SYSMSG]PRGDEVMSG.EXE;1
%SDA-S-SUCCESS, success

Not very helpful, I fear

regards Kalle
Volker Halle
Honored Contributor

Re: Samba crash

Antonio,

the SMBD_ process has it's startup log file written to SYS$MANAGER:SMBD_STARTUP.LOG, so if it 'crashes', you should get a traceback log in that file.

Volker.
Willem Grooters
Honored Contributor

Re: Samba crash


Not surprisingly ;-). It's Unix....

Just deducting, since I'm not familiar with the internal details of either of them.

One thing they share are TCPIP ports. It might be that AS does some initialization that Samba can use (connections?).

That may be the source of useless status.
If you installed the binaries, it might be you're missing something (missed an optional image, missed installation of something?). If you build it from scratch, it might be you omitted required switches, or have used switches that should not be used.

Have you checked accounting for clues?

Try to RUN/DUMP the package, it may lead to clues as well
Willem Grooters
OpenVMS Developer & System Manager
Antoniov.
Honored Contributor

Re: Samba crash

Karl,
agree.

Volker,
nothing in log. I also deleted all log files but I don't see nothing can help me.

Willem,
Samab is unix application but it seems to be a good software for VMS too.

Hence I changed role of Advanced Server, Samba is not more crashed. I still use Samba.

Antonio Vigliotti

Antonio Maria Vigliotti