Samba was working until 12/22/13. I am not sure what happened them. Now when it tries to start, it cannot write its pid. There is no /var/run/samba directory for the pids. I made one as root, but am not sure which owner:group should access it.
[2013/12/22 11:46:49, 0] ../source3/nmbd/nmbd.c:57(terminate)
Got SIGTERM: going down...
[2013/12/22 11:48:22, 0] ../source3/nmbd/nmbd.c:902(main)
nmbd version 4.1.3-3.12.1-3127-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2013/12/22 11:48:22, 0] ../source3/nmbd/nmbd.c:941(main)
standard input is not a socket, assuming -D option
[2013/12/22 11:48:22, 0] ../source3/nmbd/asyncdns.c:157(start_async_dns)
started asyncdns process 2843
[2013/12/22 11:48:22, 0] ../lib/util/util.c:216(directory_create_or_exist)
mkdir failed on directory /var/run/samba: Permission denied
[2013/12/22 11:48:22, 0] ../source3/nmbd/nmbd.c:977(main)
Failed to create directory /var/run/samba for pid files - Permission denied
and
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2013/11/29 15:38:38, 0] ../source3/smbd/server.c:1198(main)
smbd version 4.1.0-3.8.1-3113-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2013/12/22 11:46:49.069475, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
[2013/12/22 11:49:51, 0] ../source3/smbd/server.c:1198(main)
smbd version 4.1.3-3.12.1-3127-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2013/12/22 11:49:51.869976, 0] ../source3/smbd/server.c:1278(main)
standard input is not a socket, assuming -D option
[2013/12/22 11:49:51.870612, 0] ../lib/util/pidfile.c:117(pidfile_create)
ERROR: can't open /var/run/samba/smbd.pid: Error was No such file or directory
[2013/12/22 11:59:06, 0] ../source3/smbd/server.c:1198(main)
smbd version 4.1.3-3.12.1-3127-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2013/12/22 11:59:06.964404, 0] ../source3/smbd/server.c:1278(main)
standard input is not a socket, assuming -D option
[2013/12/22 11:59:06.965145, 0] ../lib/util/pidfile.c:117(pidfile_create)
ERROR: can't open /var/run/samba/smbd.pid: Error was No such file or directory
[2013/12/22 12:11:59, 0] ../source3/smbd/server.c:1198(main)
smbd version 4.1.3-3.12.1-3127-SUSE-oS13.1-x86_64 started.
Also, I think there should be scripts for smbd and nmbd in /etc/init.d, but there are none. Without SWAT, how do I tell the status of the servers or start/stop/restart them?
Also, each time I go into the Samba settings in YaST, it keeps wanting to set up the root account for samba. But I have already done that, so something is rotten.