RE: nelze spustit sambu - vyřešeno
Stanyjol
stanyjol na centrum.cz
Úterý Listopad 15 13:34:09 CET 2011
Verze samby v Opensuse 11.4 neakceptuje v nastaveni smb.conf komentáře za
přikazem
Př.
log level = 1 # SPATNY TYP KOMENTARE
po teto uprave OK:
log level = 1
# OK TYP KOMENTARE
-----Original Message-----
From: linux-bounces na linux.cz [mailto:linux-bounces na linux.cz] On Behalf Of
Stanyjol
Sent: Monday, November 14, 2011 11:59 AM
To: 'Diskuse o Linuxu v cestine'
Subject: RE: nelze spustit sambu
Zkoušel jsem dle rady "czechtony" z jednoho fora - nasledujici
----------------------------------------------------------------------------
Hello, my name is Ronaldo
I installed samba em my opensusse and i have fallows error:
------- Unable to setup corepath for smbd: Permission denied ----------
Help me please
Thanks
----------------------------------------------------------------------------
Rather than disabling the whole of AppArmor, I wonder if a better compromise
(which seems to work) is to do:
Yast -> Novell AppArmor -> AppArmor Control Panel,
Click on Set profile modes (Configure) button,
Highlight the entries 'usr.sbin.nmbd' and 'usr.sbin.smbd' in turn and, for
each, click the Toggle Mode button to set the mode from 'enforce' to
'complain'.
Click Done, OK etc etc.
----------------------------------------------------------------------------
ALE stale nelze sambu spustit. V logu se ale neobjevuje chybova hlaska
--- Unable to setup corepath for nmbd: Permission denied ---
Ale stale nemuze otevrit konfiguracni soubor (viz log). Proto jsem pro
otestovani dal prava smb.conf 666 a nedrazenemu adresari 777, ale nic to
nepomohlo stale pise "error opening config file" (viz log)
Vypnul jsem i apparmor
V systemovem spoustecim scriptu /etc/init.d/smb je cesta ke konfigu
nastavena spravne. Zkousel jsem spustit i smbd -s /etc/samba/smb.conf
Tavri se jako spusteny, ale ps aux |grep smb mi ho nevypise.
Prikladam strace smbd
log.smbd
[2011/11/14 10:35:40, 0] smbd/server.c:1134(main)
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/11/14 10:35:40.796204, 0] lib/debug.c:449(debug_parse_params)
debug_parse_params: unrecognized debug class name or format [#]
[2011/11/14 10:35:40.799124, 0] smbd/server.c:1149(main)
error opening config file
[2011/11/14 11:01:40, 0] smbd/server.c:1134(main)
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/11/14 11:01:40.115871, 0] lib/debug.c:449(debug_parse_params)
debug_parse_params: unrecognized debug class name or format [#]
[2011/11/14 11:01:40.118627, 0] smbd/server.c:1149(main)
error opening config file
[2011/11/14 11:26:40, 0] smbd/server.c:1134(main)
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/11/14 11:26:40.359102, 0] lib/debug.c:449(debug_parse_params)
debug_parse_params: unrecognized debug class name or format [#]
[2011/11/14 11:26:40.361785, 0] smbd/server.c:1149(main)
error opening config file
1Pomoc 2Nezal. 3Konec 4Hex 5JdiNa 6 7Hledat 8Hrubě
9Formát10Konec
-----Original Message-----
From: linux-bounces na linux.cz [mailto:linux-bounces na linux.cz] On Behalf Of
Jan Marek
Sent: Monday, November 14, 2011 9:07 AM
To: Diskuse o Linuxu v cestine
Subject: Re: nelze spustit sambu
Dd,
On Mon, Nov 14, 2011 at 09:02:17AM +0100, Stanyjol wrote:
> Dobrý den,
> Upgradoval jsem opensuse 11.1 na 11.4
> A nedaří se mi spustit sambu.
> Z logu nechapu co se "mu" nedari nastavit - nema pristup kam? V
/etc/samba/*
> jsou prava 755
a do toho adresáře se dostane? Co poví strace smbd?
Zkus se kdyžtak přepnout na uživatele samba (nebo na uživatele,
pod kterým ty procesy běží, pokud by to nešlo, tak mu dej na
chvíli shell) a zkus si dát cd /etc/samba, cat
/etc/samba/smb.conf apod.
Zdraví
Honza Marek
> Viz log
>
> SMB LOG
> serversceav:/var/log/samba # tail -n 20 log.smbd
> [2011/11/14 07:54:52.655340, 0] smbd/server.c:1149(main)
> error opening config file
> [2011/11/14 07:56:11, 0] lib/fault.c:250(dump_core_setup)
> Unable to setup corepath for smbd: Permission denied
> [2011/11/14 07:56:11, 0] smbd/server.c:1134(main)
> smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2010
> [2011/11/14 07:56:11.532639, 0] lib/debug.c:449(debug_parse_params)
> debug_parse_params: unrecognized debug class name or format [#]
> [2011/11/14 07:56:11.535513, 0] smbd/server.c:1149(main)
> error opening config file
> [2011/11/14 08:15:51, 0] lib/fault.c:250(dump_core_setup)
> Unable to setup corepath for smbd: Permission denied
> [2011/11/14 08:15:51, 0] smbd/server.c:1134(main)
> smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2010
> [2011/11/14 08:15:51.727880, 0] lib/debug.c:449(debug_parse_params)
> debug_parse_params: unrecognized debug class name or format [#]
> [2011/11/14 08:15:51.730687, 0] smbd/server.c:1149(main)
> error opening config file
> serversceav:/var/log/samba #
>
>
> NMBD LOG
> serversceav:/var/log/samba # tail -n 18 log.nmbd
> [2011/11/14 07:54:52, 0] lib/fault.c:250(dump_core_setup)
> Unable to setup corepath for nmbd: Permission denied
> [2011/11/14 07:54:52, 0] nmbd/nmbd.c:857(main)
> nmbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2010
> [2011/11/14 07:54:52.470498, 0] lib/debug.c:449(debug_parse_params)
> debug_parse_params: unrecognized debug class name or format [#]
> [2011/11/14 07:54:52.472224, 0] nmbd/nmbd.c:861(main)
> error opening config file
> [2011/11/14 08:16:12, 0] lib/fault.c:250(dump_core_setup)
> Unable to setup corepath for nmbd: Permission denied
> [2011/11/14 08:16:12, 0] nmbd/nmbd.c:857(main)
> nmbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2010
> [2011/11/14 08:16:12.532499, 0] lib/debug.c:449(debug_parse_params)
> debug_parse_params: unrecognized debug class name or format [#]
> [2011/11/14 08:16:12.533860, 0] nmbd/nmbd.c:861(main)
> error opening config file
> serversceav:/var/log/samba #
>
>
>
> _______________________________________________
> Linux mailing list
> Linux na linux.cz
> http://www.linux.cz/mailman/listinfo/linux
--
Ing. Jan Marek | Nez mi poslete prilohu .doc, .xls
University of South Bohemia | nebo .ppt, prectete si, prosim,
Academic Computer Centre | WWW stranku uvedenou na poslednim
Phone: +420-38-9032080 | radku signatury...
http://www.gnu.org/philosophy/no-word-attachments.cs.html
_______________________________________________
Linux mailing list
Linux na linux.cz
http://www.linux.cz/mailman/listinfo/linux
Další informace o konferenci Linux