From: Alexander Bokovoy <ab@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] поламалась samba
Date: Wed, 23 May 2007 14:23:46 +0400
Message-ID: <46541632.6010807@altlinux.org> (raw)
In-Reply-To: <46541014.50203@eva.dp.ua>
Тимощенков Павел Васильевич пишет:
>> Так а что же в /var/lib/samba?
>>
>>
>
> Для чистоты эксперимента сделал следующее: - apt-get remove ^samba; -
> руками удалил все оставшиеся конфиги и каталоги; - apt-get install
> samba; - root@piton /var/lib # ls /var/lib/samba messages.tdb
> netlogon profiles winbindd_privileged - root@piton /var/lib #
> service smb restart Shutting down CIFS services: Samba server,
> NetBIOS over TCP/IP server [FAILED] Starting CIFS
> services: NetBIOS over TCP/IP server, Samba server
> [FAILED] - tdb(/var/lib/samba/ntforms.tdb): tdb_reopen: open failed
> (No such file or directory) :(
>
На x86_64, прямо сейчас (самба не была установлена, это пустой
виртуальный сервер):
[root@vab64 ~]# apt-get install samba
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libkrb5 libldap2.3 libsasl2 samba-common
The following NEW packages will be installed:
libkrb5 libldap2.3 libsasl2 samba samba-common
0 upgraded, 5 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/12.9MB of archives.
After unpacking 30.7MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Committing changes...
Preparing... ###########################################
[100%]
1: libkrb5 ###########################################
[ 20%]
2: libsasl2 ###########################################
[ 40%]
3: libldap2.3 ###########################################
[ 60%]
4: samba-common ###########################################
[ 80%]
5: samba ###########################################
[100%]
Done.
[root@vab64 ~]# ls -l /var/lib/samba
total 0
drwxrwxr-x 2 root root 6 May 14 17:45 netlogon
drwxrwxr-x 2 root root 6 May 14 17:45 profiles
drwxr-x--- 2 root winbind 6 May 14 17:45 winbindd_privileged
[root@vab64 ~]# service smb start
Starting CIFS services: NetBIOS over TCP/IP server, Samba server
[ DONE ]
[root@vab64 ~]# ps axf
PID TTY STAT TIME COMMAND
1 ? S 0:00 init [3]
18295 ? Ss 0:00 /sbin/minilogd
18304 ? Ss 0:00 /usr/sbin/sshd
8673 ? Ss 0:00 \_ sshd: ab [priv]
8677 ? S 0:00 \_ sshd: ab@pts/10
8678 pts/10 Ss 0:00 \_ -bash
8685 pts/10 S 0:00 \_ su -
8688 pts/10 S 0:00 \_ -bash
9754 pts/10 R+ 0:00 \_ ps axf
9741 ? Ss 0:00 /usr/sbin/nmbd -D
9743 ? Ss 0:00 /usr/sbin/smbd -D
9745 ? S 0:00 \_ /usr/sbin/smbd -D
[root@vab64 ~]# apt-get install samba-client
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libsmbclient samba-client-control
The following NEW packages will be installed:
libsmbclient samba-client samba-client-control
0 upgraded, 3 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/6424kB of archives.
After unpacking 15.6MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Committing changes...
Preparing...
############################################################################
[100%]
1: libsmbclient
############################################################################
[ 33%]
2: samba-client-control
############################################################################
[ 66%]
3: samba-client
############################################################################
[100%]
Done.
[root@vab64 ~]# smbclient -L localhost -U%
Domain=[ALTDOMAIN] OS=[Unix] Server=[Samba 3.0.25]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba server on vab64 (v.
3.0.25))
Domain=[ALTDOMAIN] OS=[Unix] Server=[Samba 3.0.25]
Server Comment
--------- -------
VAB64 Samba server on vab64 (v. 3.0.25)
Workgroup Master
--------- -------
ALTDOMAIN
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
next prev parent reply other threads:[~2007-05-23 10:23 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-23 8:42 Тимощенков Павел Васильевич
2007-05-23 9:21 ` Dmitriy Shadrinov
2007-05-23 9:33 ` Alexander Bokovoy
2007-05-23 9:57 ` Тимощенков Павел Васильевич
2007-05-23 10:23 ` Alexander Bokovoy [this message]
2007-05-23 11:33 ` Тимощенков Павел Васильевич
2007-05-23 11:55 ` Epiphanov Sergei
2007-05-23 12:10 ` Alexander Bokovoy
2007-05-23 12:16 ` Тимощенков Павел Васильевич
2007-05-23 12:24 ` Epiphanov Sergei
2007-05-23 12:24 ` Genix
2007-05-23 12:27 ` Epiphanov Sergei
2007-05-23 12:31 ` Genix
2007-05-23 12:42 ` Epiphanov Sergei
2007-05-23 12:33 ` Alexander Bokovoy
2007-05-23 13:47 ` Genix
2007-05-23 13:57 ` Genix
2007-05-23 14:13 ` Alexander Bokovoy
2007-05-23 16:47 ` [sisyphus] Re[solved :]: " Genix
2007-06-20 7:05 ` [sisyphus] " Alexander Volkov
2007-06-20 7:28 ` Dmitriy Shadrinov
2007-06-20 7:57 ` Alexander Bokovoy
2007-06-20 8:29 ` Alexander Volkov
2007-06-20 9:08 ` Alexander Bokovoy
2007-06-20 10:54 ` Alexander Volkov
2007-06-21 5:58 ` Alexander Volkov
2007-06-21 7:29 ` Alexander Volkov
2007-06-21 8:06 ` Alexander Bokovoy
2007-06-21 9:03 ` Alexander Volkov
2007-05-23 12:41 ` Тимощенков Павел Васильевич
2007-05-24 9:37 ` Alexey Shabalin
2007-05-24 9:46 ` Epiphanov Sergei
2007-05-24 7:50 ` Тимощенков Павел Васильевич
2007-05-24 7:54 ` Alexander Bokovoy
2007-05-24 8:02 ` Тимощенков Павел Васильевич
2007-05-24 8:47 ` Sergey Vlasov
2007-05-24 8:51 ` Тимощенков Павел Васильевич
2007-05-24 11:31 ` Michael Shigorin
2007-05-24 8:55 ` Alexander Bokovoy
2007-05-24 12:43 ` Alexey Sidorov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46541632.6010807@altlinux.org \
--to=ab@altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git