|
|
|
|
||||||
| linux.debian.user.french Forum sur Linux Debian. Debian-user-french@lists.debian.org |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
>
> > ----- Message transféré ---- > De : anne sophie lantz <annesophielantz@yahoo.fr> > À : Debianfr List <debian-user-french@lists.debian.org> > Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s > Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC > > # ps -ax > Warning: bad ps syntax, perhaps a bogus '-'? See > http://procps.sf.net/faq.html > PID TTY STAT TIME COMMAND > 1 ? Ss 0:01 init [2] > 2 ? S 0:00 [migration/0] > 3 ? SN 0:00 [ksoftirqd/0] > 4 ? S< 0:00 [events/0] > 5 ? S< 0:00 [ker] > 6 ? S< 0:00 [kthread] > 9 ? S< 0:00 [kblockd/0] > 10 ? S< 0:00 [kacpid] > 92 ? S< 0:00 [kseriod] > 128 ? S 0:00 [pdflush] > 129 ? S 0:00 [pdflush] > 130 ? S< 0:00 [kswapd0] > 131 ? S< 0:00 [aio/0] > 572 ? S< 0:00 [khubd] > 966 ? S< 0:00 [kjournald] > 1143 ? S<s 0:00 udevd --daemon > 1488 ? S< 0:00 [kpsmoused] > 1679 ? S< 0:00 [kmirrord] > 1716 ? S< 0:00 [kjournald] > 1718 ? S< 0:00 [kjournald] > 1720 ? S< 0:00 [kjournald] > 1722 ? S< 0:00 [kjournald] > 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf > /var/lib > 1909 ? Ss 0:00 /sbin/portmap > 2146 ? Ss 0:00 /sbin/syslogd > 2152 ? Ss 0:00 /sbin/klogd -x > 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s > /var/run/acpid > 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > 2279 ? Ss 0:00 /usr/sbin/inetd > 2286 ? Ss 0:00 /usr/sbin/nmbd -D > 2310 ? Ss 0:00 /usr/sbin/sshd > 2332 ? Ss 0:00 /sbin/rpc.statd > 2342 ? Ss 0:00 /usr/sbin/atd > 2349 ? Ss 0:00 /usr/sbin/cron > 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 > 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 > 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 > 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 > 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 > 2394 ? Ss 0:00 sshd: root@pts/0 > 2396 pts/0 Ss 0:00 -bash > 2512 pts/0 R+ 0:00 ps -ax > > > ----- Message d'origine ---- > De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> > À : anne sophie lantz <annesophielantz@yahoo.fr> > Cc : Debianfr List <debian-user-french@lists.debian.org> > Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s > Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC > >> SRVBG:/mnt# smbclient -L localhost >> Error connecting to 127.0.0.1 (Connexion refusée) >> Connection to localhost failed >> > > Le serveur Samba ne tourne pas ! > >> # nmap localhost >> >> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35 >> CET >> Interesting ports on localhost (127.0.0.1): >> Not shown: 1676 closed ports >> PORT STATE SERVICE >> 22/tcp open ssh >> 25/tcp open smtp >> 111/tcp open rpcbind >> 113/tcp open auth >> >> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >> >> > > nmap comfirme la remarque précédente. Vous devriez avoir les lignes > suivantes : > > 139/tcp open netbios-ssn > 445/tcp open microsoft-ds > > Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. > > >> >> Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a donc des erreurs dans votre fichier de configuration. testparm peut vous aider à les réduire. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Jean-Michel Caricand a écrit :
>> ----- Message transféré ---- >> De : anne sophie lantz <annesophielantz@yahoo.fr> >> À : Debianfr List <debian-user-french@lists.debian.org> >> Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s >> Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC >> >> # ps -ax >> Warning: bad ps syntax, perhaps a bogus '-'? See >> http://procps.sf.net/faq.html >> PID TTY STAT TIME COMMAND >> 1 ? Ss 0:01 init [2] >> 2 ? S 0:00 [migration/0] >> 3 ? SN 0:00 [ksoftirqd/0] >> 4 ? S< 0:00 [events/0] >> 5 ? S< 0:00 [ker] >> 6 ? S< 0:00 [kthread] >> 9 ? S< 0:00 [kblockd/0] >> 10 ? S< 0:00 [kacpid] >> 92 ? S< 0:00 [kseriod] >> 128 ? S 0:00 [pdflush] >> 129 ? S 0:00 [pdflush] >> 130 ? S< 0:00 [kswapd0] >> 131 ? S< 0:00 [aio/0] >> 572 ? S< 0:00 [khubd] >> 966 ? S< 0:00 [kjournald] >> 1143 ? S<s 0:00 udevd --daemon >> 1488 ? S< 0:00 [kpsmoused] >> 1679 ? S< 0:00 [kmirrord] >> 1716 ? S< 0:00 [kjournald] >> 1718 ? S< 0:00 [kjournald] >> 1720 ? S< 0:00 [kjournald] >> 1722 ? S< 0:00 [kjournald] >> 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf >> /var/lib >> 1909 ? Ss 0:00 /sbin/portmap >> 2146 ? Ss 0:00 /sbin/syslogd >> 2152 ? Ss 0:00 /sbin/klogd -x >> 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s >> /var/run/acpid >> 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >> 2279 ? Ss 0:00 /usr/sbin/inetd >> 2286 ? Ss 0:00 /usr/sbin/nmbd -D >> 2310 ? Ss 0:00 /usr/sbin/sshd >> 2332 ? Ss 0:00 /sbin/rpc.statd >> 2342 ? Ss 0:00 /usr/sbin/atd >> 2349 ? Ss 0:00 /usr/sbin/cron >> 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >> 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >> 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >> 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >> 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >> 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >> 2394 ? Ss 0:00 sshd: root@pts/0 >> 2396 pts/0 Ss 0:00 -bash >> 2512 pts/0 R+ 0:00 ps -ax >> >> >> ----- Message d'origine ---- >> De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> >> À : anne sophie lantz <annesophielantz@yahoo.fr> >> Cc : Debianfr List <debian-user-french@lists.debian.org> >> Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s >> Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC >> >> >>> SRVBG:/mnt# smbclient -L localhost >>> Error connecting to 127.0.0.1 (Connexion refusée) >>> Connection to localhost failed >>> >>> >> Le serveur Samba ne tourne pas ! >> >> >>> # nmap localhost >>> >>> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35 >>> CET >>> Interesting ports on localhost (127.0.0.1): >>> Not shown: 1676 closed ports >>> PORT STATE SERVICE >>> 22/tcp open ssh >>> 25/tcp open smtp >>> 111/tcp open rpcbind >>> 113/tcp open auth >>> >>> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >>> >>> >>> >> nmap comfirme la remarque précédente. Vous devriez avoir les lignes >> suivantes : >> >> 139/tcp open netbios-ssn >> 445/tcp open microsoft-ds >> >> Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. >> >> >> >>> > > Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a > donc des erreurs dans votre fichier de configuration. testparm peut vous > aider à les réduire. > Déjà pour le compte mail, je passe par thunderbird ! ![]() pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour le moment et donc SRVBG:/usr/src# testparm Load smb config files from /etc/samba/smb.conf Processing section "[netlogon]" Processing section "[public]" Processing section "[homes]" Processing section "[atelier]" Processing section "[secretaire]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC SRVBG:~# nmap localhost Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 11:59 CET Interesting ports on localhost (127.0.0.1): Not shown: 1676 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind 113/tcp open auth Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds SRVBG:~# /etc/init.d/samba restart Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to kill 2291: No such process .. Starting Samba daemons: nmbd smbd. SRVBG:~# ps -ax Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html PID TTY STAT TIME COMMAND 1 ? Ss 0:01 init [2] 2 ? S 0:00 [migration/0] 3 ? SN 0:00 [ksoftirqd/0] 4 ? S< 0:00 [events/0] 5 ? S< 0:00 [ker] 6 ? S< 0:00 [kthread] 9 ? S< 0:00 [kblockd/0] 10 ? S< 0:00 [kacpid] 92 ? S< 0:00 [kseriod] 128 ? S 0:00 [pdflush] 129 ? S 0:00 [pdflush] 130 ? S< 0:00 [kswapd0] 131 ? S< 0:00 [aio/0] 576 ? S< 0:00 [khubd] 968 ? S< 0:00 [kjournald] 1145 ? S<s 0:00 udevd --daemon 1469 ? S< 0:00 [kpsmoused] 1682 ? S< 0:00 [kmirrord] 1719 ? S< 0:00 [kjournald] 1721 ? S< 0:00 [kjournald] 1723 ? S< 0:00 [kjournald] 1725 ? S< 0:00 [kjournald] 1873 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib 1912 ? Ss 0:00 /sbin/portmap 2149 ? Ss 0:00 /sbin/syslogd 2155 ? Ss 0:00 /sbin/klogd -x 2227 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid 2270 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 2282 ? Ss 0:00 /usr/sbin/inetd 2313 ? Ss 0:00 /usr/sbin/sshd 2335 ? Ss 0:00 /sbin/rpc.statd 2345 ? Ss 0:00 /usr/sbin/atd 2352 ? Ss 0:00 /usr/sbin/cron 2379 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 2381 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 2382 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 2383 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 2384 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 2392 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 2397 ? Ss 0:00 sshd: root@pts/0 2399 pts/0 Ss 0:00 -bash 2424 ? Ss 0:00 /usr/sbin/nmbd -D 2431 pts/0 R+ 0:00 ps -ax -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Jean-Michel Caricand a écrit :
>> ----- Message transféré ---- >> De : anne sophie lantz <annesophielantz@yahoo.fr> >> À : Debianfr List <debian-user-french@lists.debian.org> >> Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s >> Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC >> >> # ps -ax >> Warning: bad ps syntax, perhaps a bogus '-'? See >> http://procps.sf.net/faq.html >> PID TTY STAT TIME COMMAND >> 1 ? Ss 0:01 init [2] >> 2 ? S 0:00 [migration/0] >> 3 ? SN 0:00 [ksoftirqd/0] >> 4 ? S< 0:00 [events/0] >> 5 ? S< 0:00 [ker] >> 6 ? S< 0:00 [kthread] >> 9 ? S< 0:00 [kblockd/0] >> 10 ? S< 0:00 [kacpid] >> 92 ? S< 0:00 [kseriod] >> 128 ? S 0:00 [pdflush] >> 129 ? S 0:00 [pdflush] >> 130 ? S< 0:00 [kswapd0] >> 131 ? S< 0:00 [aio/0] >> 572 ? S< 0:00 [khubd] >> 966 ? S< 0:00 [kjournald] >> 1143 ? S<s 0:00 udevd --daemon >> 1488 ? S< 0:00 [kpsmoused] >> 1679 ? S< 0:00 [kmirrord] >> 1716 ? S< 0:00 [kjournald] >> 1718 ? S< 0:00 [kjournald] >> 1720 ? S< 0:00 [kjournald] >> 1722 ? S< 0:00 [kjournald] >> 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf >> /var/lib >> 1909 ? Ss 0:00 /sbin/portmap >> 2146 ? Ss 0:00 /sbin/syslogd >> 2152 ? Ss 0:00 /sbin/klogd -x >> 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s >> /var/run/acpid >> 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >> 2279 ? Ss 0:00 /usr/sbin/inetd >> 2286 ? Ss 0:00 /usr/sbin/nmbd -D >> 2310 ? Ss 0:00 /usr/sbin/sshd >> 2332 ? Ss 0:00 /sbin/rpc.statd >> 2342 ? Ss 0:00 /usr/sbin/atd >> 2349 ? Ss 0:00 /usr/sbin/cron >> 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >> 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >> 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >> 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >> 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >> 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >> 2394 ? Ss 0:00 sshd: root@pts/0 >> 2396 pts/0 Ss 0:00 -bash >> 2512 pts/0 R+ 0:00 ps -ax >> >> >> ----- Message d'origine ---- >> De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> >> À : anne sophie lantz <annesophielantz@yahoo.fr> >> Cc : Debianfr List <debian-user-french@lists.debian.org> >> Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s >> Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC >> >> >>> SRVBG:/mnt# smbclient -L localhost >>> Error connecting to 127.0.0.1 (Connexion refusée) >>> Connection to localhost failed >>> >>> >> Le serveur Samba ne tourne pas ! >> >> >>> # nmap localhost >>> >>> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 10:35 >>> CET >>> Interesting ports on localhost (127.0.0.1): >>> Not shown: 1676 closed ports >>> PORT STATE SERVICE >>> 22/tcp open ssh >>> 25/tcp open smtp >>> 111/tcp open rpcbind >>> 113/tcp open auth >>> >>> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >>> >>> >>> >> nmap comfirme la remarque précédente. Vous devriez avoir les lignes >> suivantes : >> >> 139/tcp open netbios-ssn >> 445/tcp open microsoft-ds >> >> Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. >> >> >> >>> > > Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a > donc des erreurs dans votre fichier de configuration. testparm peut vous > aider à les réduire. > Déjà pour le compte mail, je passe par thunderbird ! ![]() pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour le moment et donc SRVBG:/usr/src# testparm Load smb config files from /etc/samba/smb.conf Processing section "[netlogon]" Processing section "[public]" Processing section "[homes]" Processing section "[atelier]" Processing section "[secretaire]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC SRVBG:~# nmap localhost Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 11:59 CET Interesting ports on localhost (127.0.0.1): Not shown: 1676 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind 113/tcp open auth Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds SRVBG:~# /etc/init.d/samba restart Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to kill 2291: No such process .. Starting Samba daemons: nmbd smbd. SRVBG:~# ps -ax Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html PID TTY STAT TIME COMMAND 1 ? Ss 0:01 init [2] 2 ? S 0:00 [migration/0] 3 ? SN 0:00 [ksoftirqd/0] 4 ? S< 0:00 [events/0] 5 ? S< 0:00 [ker] 6 ? S< 0:00 [kthread] 9 ? S< 0:00 [kblockd/0] 10 ? S< 0:00 [kacpid] 92 ? S< 0:00 [kseriod] 128 ? S 0:00 [pdflush] 129 ? S 0:00 [pdflush] 130 ? S< 0:00 [kswapd0] 131 ? S< 0:00 [aio/0] 576 ? S< 0:00 [khubd] 968 ? S< 0:00 [kjournald] 1145 ? S<s 0:00 udevd --daemon 1469 ? S< 0:00 [kpsmoused] 1682 ? S< 0:00 [kmirrord] 1719 ? S< 0:00 [kjournald] 1721 ? S< 0:00 [kjournald] 1723 ? S< 0:00 [kjournald] 1725 ? S< 0:00 [kjournald] 1873 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib 1912 ? Ss 0:00 /sbin/portmap 2149 ? Ss 0:00 /sbin/syslogd 2155 ? Ss 0:00 /sbin/klogd -x 2227 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid 2270 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 2282 ? Ss 0:00 /usr/sbin/inetd 2313 ? Ss 0:00 /usr/sbin/sshd 2335 ? Ss 0:00 /sbin/rpc.statd 2345 ? Ss 0:00 /usr/sbin/atd 2352 ? Ss 0:00 /usr/sbin/cron 2379 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 2381 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 2382 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 2383 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 2384 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 2392 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 2397 ? Ss 0:00 sshd: root@pts/0 2399 pts/0 Ss 0:00 -bash 2424 ? Ss 0:00 /usr/sbin/nmbd -D 2431 pts/0 R+ 0:00 ps -ax -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Anne Sophie a écrit :
> Jean-Michel Caricand a écrit : >>> ----- Message transféré ---- >>> De : anne sophie lantz <annesophielantz@yahoo.fr> >>> À : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s >>> Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC >>> >>> # ps -ax >>> Warning: bad ps syntax, perhaps a bogus '-'? See >>> http://procps.sf.net/faq.html >>> PID TTY STAT TIME COMMAND >>> 1 ? Ss 0:01 init [2] >>> 2 ? S 0:00 [migration/0] >>> 3 ? SN 0:00 [ksoftirqd/0] >>> 4 ? S< 0:00 [events/0] >>> 5 ? S< 0:00 [ker] >>> 6 ? S< 0:00 [kthread] >>> 9 ? S< 0:00 [kblockd/0] >>> 10 ? S< 0:00 [kacpid] >>> 92 ? S< 0:00 [kseriod] >>> 128 ? S 0:00 [pdflush] >>> 129 ? S 0:00 [pdflush] >>> 130 ? S< 0:00 [kswapd0] >>> 131 ? S< 0:00 [aio/0] >>> 572 ? S< 0:00 [khubd] >>> 966 ? S< 0:00 [kjournald] >>> 1143 ? S<s 0:00 udevd --daemon >>> 1488 ? S< 0:00 [kpsmoused] >>> 1679 ? S< 0:00 [kmirrord] >>> 1716 ? S< 0:00 [kjournald] >>> 1718 ? S< 0:00 [kjournald] >>> 1720 ? S< 0:00 [kjournald] >>> 1722 ? S< 0:00 [kjournald] >>> 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf >>> /var/lib >>> 1909 ? Ss 0:00 /sbin/portmap >>> 2146 ? Ss 0:00 /sbin/syslogd >>> 2152 ? Ss 0:00 /sbin/klogd -x >>> 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s >>> /var/run/acpid >>> 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >>> 2279 ? Ss 0:00 /usr/sbin/inetd >>> 2286 ? Ss 0:00 /usr/sbin/nmbd -D >>> 2310 ? Ss 0:00 /usr/sbin/sshd >>> 2332 ? Ss 0:00 /sbin/rpc.statd >>> 2342 ? Ss 0:00 /usr/sbin/atd >>> 2349 ? Ss 0:00 /usr/sbin/cron >>> 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >>> 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >>> 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >>> 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >>> 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >>> 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >>> 2394 ? Ss 0:00 sshd: root@pts/0 >>> 2396 pts/0 Ss 0:00 -bash >>> 2512 pts/0 R+ 0:00 ps -ax >>> >>> >>> ----- Message d'origine ---- >>> De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> >>> À : anne sophie lantz <annesophielantz@yahoo.fr> >>> Cc : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s >>> Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC >>> >>> >>>> SRVBG:/mnt# smbclient -L localhost >>>> Error connecting to 127.0.0.1 (Connexion refusée) >>>> Connection to localhost failed >>>> >>>> >>> Le serveur Samba ne tourne pas ! >>> >>> >>>> # nmap localhost >>>> >>>> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 >>>> 10:35 >>>> CET >>>> Interesting ports on localhost (127.0.0.1): >>>> Not shown: 1676 closed ports >>>> PORT STATE SERVICE >>>> 22/tcp open ssh >>>> 25/tcp open smtp >>>> 111/tcp open rpcbind >>>> 113/tcp open auth >>>> >>>> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >>>> >>>> >>>> >>> nmap comfirme la remarque précédente. Vous devriez avoir les lignes >>> suivantes : >>> >>> 139/tcp open netbios-ssn >>> 445/tcp open microsoft-ds >>> >>> Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. >>> >>> >>> >>>> >> >> Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a >> donc des erreurs dans votre fichier de configuration. testparm peut vous >> aider à les réduire. >> > Déjà pour le compte mail, je passe par thunderbird ! ![]() > pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour > le moment > et donc > SRVBG:/usr/src# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[netlogon]" > Processing section "[public]" > Processing section "[homes]" > Processing section "[atelier]" > Processing section "[secretaire]" > Loaded services file OK. > Server role: ROLE_DOMAIN_PDC > > SRVBG:~# nmap localhost > > Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 > 11:59 CET > Interesting ports on localhost (127.0.0.1): > Not shown: 1676 closed ports > PORT STATE SERVICE > 22/tcp open ssh > 25/tcp open smtp > 111/tcp open rpcbind > 113/tcp open auth > > Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds > > SRVBG:~# /etc/init.d/samba restart > Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to > kill 2291: No such process > . > Starting Samba daemons: nmbd smbd. > > SRVBG:~# ps -ax > Warning: bad ps syntax, perhaps a bogus '-'? See > http://procps.sf.net/faq.html > PID TTY STAT TIME COMMAND > 1 ? Ss 0:01 init [2] > 2 ? S 0:00 [migration/0] > 3 ? SN 0:00 [ksoftirqd/0] > 4 ? S< 0:00 [events/0] > 5 ? S< 0:00 [ker] > 6 ? S< 0:00 [kthread] > 9 ? S< 0:00 [kblockd/0] > 10 ? S< 0:00 [kacpid] > 92 ? S< 0:00 [kseriod] > 128 ? S 0:00 [pdflush] > 129 ? S 0:00 [pdflush] > 130 ? S< 0:00 [kswapd0] > 131 ? S< 0:00 [aio/0] > 576 ? S< 0:00 [khubd] > 968 ? S< 0:00 [kjournald] > 1145 ? S<s 0:00 udevd --daemon > 1469 ? S< 0:00 [kpsmoused] > 1682 ? S< 0:00 [kmirrord] > 1719 ? S< 0:00 [kjournald] > 1721 ? S< 0:00 [kjournald] > 1723 ? S< 0:00 [kjournald] > 1725 ? S< 0:00 [kjournald] > 1873 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib > 1912 ? Ss 0:00 /sbin/portmap > 2149 ? Ss 0:00 /sbin/syslogd > 2155 ? Ss 0:00 /sbin/klogd -x > 2227 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid > 2270 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > 2282 ? Ss 0:00 /usr/sbin/inetd > 2313 ? Ss 0:00 /usr/sbin/sshd > 2335 ? Ss 0:00 /sbin/rpc.statd > 2345 ? Ss 0:00 /usr/sbin/atd > 2352 ? Ss 0:00 /usr/sbin/cron > 2379 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 2381 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 > 2382 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 > 2383 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 > 2384 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 > 2392 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 > 2397 ? Ss 0:00 sshd: root@pts/0 > 2399 pts/0 Ss 0:00 -bash > 2424 ? Ss 0:00 /usr/sbin/nmbd -D > 2431 pts/0 R+ 0:00 ps -ax j'ai réinstallé samba SRVBG:~# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[netlogon]" Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions [global] workgroup = AGENCE server string = %h server obey pam restrictions = Yes passdb backend = tdbsam passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 name resolve order = hosts wins bcast time server = Yes logon script = logon.bat domain logons = Yes preferred master = Yes domain master = Yes dns proxy = No panic action = /usr/share/samba/panic-action %d invalid users = root [homes] comment = Home Directories valid users = %S read only = No create mask = 0755 [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = Yes share modes = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers SRVBG:~# nmap localhost Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 12:50 CET Interesting ports on localhost (127.0.0.1): Not shown: 1673 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind 113/tcp open auth 139/tcp open netbios-ssn 445/tcp open microsoft-ds 1522/tcp open rna-lm Nmap finished: 1 IP address (1 host up) scanned in 0.249 seconds SRVBG:~# ps -ax Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html PID TTY STAT TIME COMMAND 1 ? Ss 0:01 init [2] 2 ? S 0:00 [migration/0] 3 ? SN 0:00 [ksoftirqd/0] 4 ? S< 0:00 [events/0] 5 ? S< 0:00 [ker] 6 ? S< 0:00 [kthread] 9 ? S< 0:00 [kblockd/0] 10 ? S< 0:00 [kacpid] 92 ? S< 0:00 [kseriod] 128 ? S 0:00 [pdflush] 129 ? S 0:00 [pdflush] 130 ? S< 0:00 [kswapd0] 131 ? S< 0:00 [aio/0] 574 ? S< 0:00 [khubd] 966 ? S< 0:00 [kjournald] 1143 ? S<s 0:00 udevd --daemon 1466 ? S< 0:00 [kpsmoused] 1678 ? S< 0:00 [kmirrord] 1712 ? S< 0:00 [kjournald] 1714 ? S< 0:00 [kjournald] 1716 ? S< 0:00 [kjournald] 1718 ? S< 0:00 [kjournald] 1892 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib 1931 ? Ss 0:00 /sbin/portmap 2168 ? Ss 0:00 /sbin/syslogd 2174 ? Ss 0:00 /sbin/klogd -x 2246 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid 2289 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 2301 ? Ss 0:00 /usr/sbin/inetd 2308 ? Ss 0:00 /usr/sbin/nmbd -D 2310 ? Ss 0:00 /usr/sbin/smbd -D 2319 ? S 0:00 /usr/sbin/smbd -D 2333 ? Ss 0:00 /usr/sbin/sshd 2355 ? Ss 0:00 /sbin/rpc.statd 2365 ? Ss 0:00 /usr/sbin/atd 2372 ? Ss 0:00 /usr/sbin/cron 2399 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 2401 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 2402 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 2403 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 2409 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 2412 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 2417 ? Ss 0:00 sshd: root@pts/0 2419 pts/0 Ss 0:00 -bash 2427 pts/0 R+ 0:00 ps -ax -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Anne Sophie a écrit :
> Jean-Michel Caricand a écrit : >>> ----- Message transféré ---- >>> De : anne sophie lantz <annesophielantz@yahoo.fr> >>> À : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s >>> Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC >>> >>> # ps -ax >>> Warning: bad ps syntax, perhaps a bogus '-'? See >>> http://procps.sf.net/faq.html >>> PID TTY STAT TIME COMMAND >>> 1 ? Ss 0:01 init [2] >>> 2 ? S 0:00 [migration/0] >>> 3 ? SN 0:00 [ksoftirqd/0] >>> 4 ? S< 0:00 [events/0] >>> 5 ? S< 0:00 [ker] >>> 6 ? S< 0:00 [kthread] >>> 9 ? S< 0:00 [kblockd/0] >>> 10 ? S< 0:00 [kacpid] >>> 92 ? S< 0:00 [kseriod] >>> 128 ? S 0:00 [pdflush] >>> 129 ? S 0:00 [pdflush] >>> 130 ? S< 0:00 [kswapd0] >>> 131 ? S< 0:00 [aio/0] >>> 572 ? S< 0:00 [khubd] >>> 966 ? S< 0:00 [kjournald] >>> 1143 ? S<s 0:00 udevd --daemon >>> 1488 ? S< 0:00 [kpsmoused] >>> 1679 ? S< 0:00 [kmirrord] >>> 1716 ? S< 0:00 [kjournald] >>> 1718 ? S< 0:00 [kjournald] >>> 1720 ? S< 0:00 [kjournald] >>> 1722 ? S< 0:00 [kjournald] >>> 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf >>> /var/lib >>> 1909 ? Ss 0:00 /sbin/portmap >>> 2146 ? Ss 0:00 /sbin/syslogd >>> 2152 ? Ss 0:00 /sbin/klogd -x >>> 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s >>> /var/run/acpid >>> 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >>> 2279 ? Ss 0:00 /usr/sbin/inetd >>> 2286 ? Ss 0:00 /usr/sbin/nmbd -D >>> 2310 ? Ss 0:00 /usr/sbin/sshd >>> 2332 ? Ss 0:00 /sbin/rpc.statd >>> 2342 ? Ss 0:00 /usr/sbin/atd >>> 2349 ? Ss 0:00 /usr/sbin/cron >>> 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >>> 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >>> 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >>> 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >>> 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >>> 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >>> 2394 ? Ss 0:00 sshd: root@pts/0 >>> 2396 pts/0 Ss 0:00 -bash >>> 2512 pts/0 R+ 0:00 ps -ax >>> >>> >>> ----- Message d'origine ---- >>> De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> >>> À : anne sophie lantz <annesophielantz@yahoo.fr> >>> Cc : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s >>> Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC >>> >>> >>>> SRVBG:/mnt# smbclient -L localhost >>>> Error connecting to 127.0.0.1 (Connexion refusée) >>>> Connection to localhost failed >>>> >>>> >>> Le serveur Samba ne tourne pas ! >>> >>> >>>> # nmap localhost >>>> >>>> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 >>>> 10:35 >>>> CET >>>> Interesting ports on localhost (127.0.0.1): >>>> Not shown: 1676 closed ports >>>> PORT STATE SERVICE >>>> 22/tcp open ssh >>>> 25/tcp open smtp >>>> 111/tcp open rpcbind >>>> 113/tcp open auth >>>> >>>> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >>>> >>>> >>>> >>> nmap comfirme la remarque précédente. Vous devriez avoir les lignes >>> suivantes : >>> >>> 139/tcp open netbios-ssn >>> 445/tcp open microsoft-ds >>> >>> Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. >>> >>> >>> >>>> >> >> Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a >> donc des erreurs dans votre fichier de configuration. testparm peut vous >> aider à les réduire. >> > Déjà pour le compte mail, je passe par thunderbird ! ![]() > pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour > le moment > et donc > SRVBG:/usr/src# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[netlogon]" > Processing section "[public]" > Processing section "[homes]" > Processing section "[atelier]" > Processing section "[secretaire]" > Loaded services file OK. > Server role: ROLE_DOMAIN_PDC > > SRVBG:~# nmap localhost > > Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 > 11:59 CET > Interesting ports on localhost (127.0.0.1): > Not shown: 1676 closed ports > PORT STATE SERVICE > 22/tcp open ssh > 25/tcp open smtp > 111/tcp open rpcbind > 113/tcp open auth > > Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds > > SRVBG:~# /etc/init.d/samba restart > Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to > kill 2291: No such process > . > Starting Samba daemons: nmbd smbd. > > SRVBG:~# ps -ax > Warning: bad ps syntax, perhaps a bogus '-'? See > http://procps.sf.net/faq.html > PID TTY STAT TIME COMMAND > 1 ? Ss 0:01 init [2] > 2 ? S 0:00 [migration/0] > 3 ? SN 0:00 [ksoftirqd/0] > 4 ? S< 0:00 [events/0] > 5 ? S< 0:00 [ker] > 6 ? S< 0:00 [kthread] > 9 ? S< 0:00 [kblockd/0] > 10 ? S< 0:00 [kacpid] > 92 ? S< 0:00 [kseriod] > 128 ? S 0:00 [pdflush] > 129 ? S 0:00 [pdflush] > 130 ? S< 0:00 [kswapd0] > 131 ? S< 0:00 [aio/0] > 576 ? S< 0:00 [khubd] > 968 ? S< 0:00 [kjournald] > 1145 ? S<s 0:00 udevd --daemon > 1469 ? S< 0:00 [kpsmoused] > 1682 ? S< 0:00 [kmirrord] > 1719 ? S< 0:00 [kjournald] > 1721 ? S< 0:00 [kjournald] > 1723 ? S< 0:00 [kjournald] > 1725 ? S< 0:00 [kjournald] > 1873 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib > 1912 ? Ss 0:00 /sbin/portmap > 2149 ? Ss 0:00 /sbin/syslogd > 2155 ? Ss 0:00 /sbin/klogd -x > 2227 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid > 2270 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > 2282 ? Ss 0:00 /usr/sbin/inetd > 2313 ? Ss 0:00 /usr/sbin/sshd > 2335 ? Ss 0:00 /sbin/rpc.statd > 2345 ? Ss 0:00 /usr/sbin/atd > 2352 ? Ss 0:00 /usr/sbin/cron > 2379 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 2381 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 > 2382 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 > 2383 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 > 2384 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 > 2392 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 > 2397 ? Ss 0:00 sshd: root@pts/0 > 2399 pts/0 Ss 0:00 -bash > 2424 ? Ss 0:00 /usr/sbin/nmbd -D > 2431 pts/0 R+ 0:00 ps -ax j'ai réinstallé samba SRVBG:~# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[netlogon]" Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions [global] workgroup = AGENCE server string = %h server obey pam restrictions = Yes passdb backend = tdbsam passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 name resolve order = hosts wins bcast time server = Yes logon script = logon.bat domain logons = Yes preferred master = Yes domain master = Yes dns proxy = No panic action = /usr/share/samba/panic-action %d invalid users = root [homes] comment = Home Directories valid users = %S read only = No create mask = 0755 [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = Yes share modes = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers SRVBG:~# nmap localhost Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 12:50 CET Interesting ports on localhost (127.0.0.1): Not shown: 1673 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind 113/tcp open auth 139/tcp open netbios-ssn 445/tcp open microsoft-ds 1522/tcp open rna-lm Nmap finished: 1 IP address (1 host up) scanned in 0.249 seconds SRVBG:~# ps -ax Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html PID TTY STAT TIME COMMAND 1 ? Ss 0:01 init [2] 2 ? S 0:00 [migration/0] 3 ? SN 0:00 [ksoftirqd/0] 4 ? S< 0:00 [events/0] 5 ? S< 0:00 [ker] 6 ? S< 0:00 [kthread] 9 ? S< 0:00 [kblockd/0] 10 ? S< 0:00 [kacpid] 92 ? S< 0:00 [kseriod] 128 ? S 0:00 [pdflush] 129 ? S 0:00 [pdflush] 130 ? S< 0:00 [kswapd0] 131 ? S< 0:00 [aio/0] 574 ? S< 0:00 [khubd] 966 ? S< 0:00 [kjournald] 1143 ? S<s 0:00 udevd --daemon 1466 ? S< 0:00 [kpsmoused] 1678 ? S< 0:00 [kmirrord] 1712 ? S< 0:00 [kjournald] 1714 ? S< 0:00 [kjournald] 1716 ? S< 0:00 [kjournald] 1718 ? S< 0:00 [kjournald] 1892 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib 1931 ? Ss 0:00 /sbin/portmap 2168 ? Ss 0:00 /sbin/syslogd 2174 ? Ss 0:00 /sbin/klogd -x 2246 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid 2289 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 2301 ? Ss 0:00 /usr/sbin/inetd 2308 ? Ss 0:00 /usr/sbin/nmbd -D 2310 ? Ss 0:00 /usr/sbin/smbd -D 2319 ? S 0:00 /usr/sbin/smbd -D 2333 ? Ss 0:00 /usr/sbin/sshd 2355 ? Ss 0:00 /sbin/rpc.statd 2365 ? Ss 0:00 /usr/sbin/atd 2372 ? Ss 0:00 /usr/sbin/cron 2399 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 2401 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 2402 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 2403 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 2409 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 2412 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 2417 ? Ss 0:00 sshd: root@pts/0 2419 pts/0 Ss 0:00 -bash 2427 pts/0 R+ 0:00 ps -ax -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Anne Sophie a écrit :
> Jean-Michel Caricand a écrit : >>> ----- Message transféré ---- >>> De : anne sophie lantz <annesophielantz@yahoo.fr> >>> À : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s >>> Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC >>> >>> # ps -ax >>> Warning: bad ps syntax, perhaps a bogus '-'? See >>> http://procps.sf.net/faq.html >>> PID TTY STAT TIME COMMAND >>> 1 ? Ss 0:01 init [2] >>> 2 ? S 0:00 [migration/0] >>> 3 ? SN 0:00 [ksoftirqd/0] >>> 4 ? S< 0:00 [events/0] >>> 5 ? S< 0:00 [ker] >>> 6 ? S< 0:00 [kthread] >>> 9 ? S< 0:00 [kblockd/0] >>> 10 ? S< 0:00 [kacpid] >>> 92 ? S< 0:00 [kseriod] >>> 128 ? S 0:00 [pdflush] >>> 129 ? S 0:00 [pdflush] >>> 130 ? S< 0:00 [kswapd0] >>> 131 ? S< 0:00 [aio/0] >>> 572 ? S< 0:00 [khubd] >>> 966 ? S< 0:00 [kjournald] >>> 1143 ? S<s 0:00 udevd --daemon >>> 1488 ? S< 0:00 [kpsmoused] >>> 1679 ? S< 0:00 [kmirrord] >>> 1716 ? S< 0:00 [kjournald] >>> 1718 ? S< 0:00 [kjournald] >>> 1720 ? S< 0:00 [kjournald] >>> 1722 ? S< 0:00 [kjournald] >>> 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf >>> /var/lib >>> 1909 ? Ss 0:00 /sbin/portmap >>> 2146 ? Ss 0:00 /sbin/syslogd >>> 2152 ? Ss 0:00 /sbin/klogd -x >>> 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s >>> /var/run/acpid >>> 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >>> 2279 ? Ss 0:00 /usr/sbin/inetd >>> 2286 ? Ss 0:00 /usr/sbin/nmbd -D >>> 2310 ? Ss 0:00 /usr/sbin/sshd >>> 2332 ? Ss 0:00 /sbin/rpc.statd >>> 2342 ? Ss 0:00 /usr/sbin/atd >>> 2349 ? Ss 0:00 /usr/sbin/cron >>> 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >>> 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >>> 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >>> 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >>> 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >>> 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >>> 2394 ? Ss 0:00 sshd: root@pts/0 >>> 2396 pts/0 Ss 0:00 -bash >>> 2512 pts/0 R+ 0:00 ps -ax >>> >>> >>> ----- Message d'origine ---- >>> De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> >>> À : anne sophie lantz <annesophielantz@yahoo.fr> >>> Cc : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s >>> Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC >>> >>> >>>> SRVBG:/mnt# smbclient -L localhost >>>> Error connecting to 127.0.0.1 (Connexion refusée) >>>> Connection to localhost failed >>>> >>>> >>> Le serveur Samba ne tourne pas ! >>> >>> >>>> # nmap localhost >>>> >>>> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 >>>> 10:35 >>>> CET >>>> Interesting ports on localhost (127.0.0.1): >>>> Not shown: 1676 closed ports >>>> PORT STATE SERVICE >>>> 22/tcp open ssh >>>> 25/tcp open smtp >>>> 111/tcp open rpcbind >>>> 113/tcp open auth >>>> >>>> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >>>> >>>> >>>> >>> nmap comfirme la remarque précédente. Vous devriez avoir les lignes >>> suivantes : >>> >>> 139/tcp open netbios-ssn >>> 445/tcp open microsoft-ds >>> >>> Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. >>> >>> >>> >>>> >> >> Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a >> donc des erreurs dans votre fichier de configuration. testparm peut vous >> aider à les réduire. >> > Déjà pour le compte mail, je passe par thunderbird ! ![]() > pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour > le moment > et donc > SRVBG:/usr/src# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[netlogon]" > Processing section "[public]" > Processing section "[homes]" > Processing section "[atelier]" > Processing section "[secretaire]" > Loaded services file OK. > Server role: ROLE_DOMAIN_PDC > > SRVBG:~# nmap localhost > > Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 > 11:59 CET > Interesting ports on localhost (127.0.0.1): > Not shown: 1676 closed ports > PORT STATE SERVICE > 22/tcp open ssh > 25/tcp open smtp > 111/tcp open rpcbind > 113/tcp open auth > > Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds > > SRVBG:~# /etc/init.d/samba restart > Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to > kill 2291: No such process > . > Starting Samba daemons: nmbd smbd. > > SRVBG:~# ps -ax > Warning: bad ps syntax, perhaps a bogus '-'? See > http://procps.sf.net/faq.html > PID TTY STAT TIME COMMAND > 1 ? Ss 0:01 init [2] > 2 ? S 0:00 [migration/0] > 3 ? SN 0:00 [ksoftirqd/0] > 4 ? S< 0:00 [events/0] > 5 ? S< 0:00 [ker] > 6 ? S< 0:00 [kthread] > 9 ? S< 0:00 [kblockd/0] > 10 ? S< 0:00 [kacpid] > 92 ? S< 0:00 [kseriod] > 128 ? S 0:00 [pdflush] > 129 ? S 0:00 [pdflush] > 130 ? S< 0:00 [kswapd0] > 131 ? S< 0:00 [aio/0] > 576 ? S< 0:00 [khubd] > 968 ? S< 0:00 [kjournald] > 1145 ? S<s 0:00 udevd --daemon > 1469 ? S< 0:00 [kpsmoused] > 1682 ? S< 0:00 [kmirrord] > 1719 ? S< 0:00 [kjournald] > 1721 ? S< 0:00 [kjournald] > 1723 ? S< 0:00 [kjournald] > 1725 ? S< 0:00 [kjournald] > 1873 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib > 1912 ? Ss 0:00 /sbin/portmap > 2149 ? Ss 0:00 /sbin/syslogd > 2155 ? Ss 0:00 /sbin/klogd -x > 2227 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid > 2270 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > 2282 ? Ss 0:00 /usr/sbin/inetd > 2313 ? Ss 0:00 /usr/sbin/sshd > 2335 ? Ss 0:00 /sbin/rpc.statd > 2345 ? Ss 0:00 /usr/sbin/atd > 2352 ? Ss 0:00 /usr/sbin/cron > 2379 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 2381 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 > 2382 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 > 2383 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 > 2384 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 > 2392 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 > 2397 ? Ss 0:00 sshd: root@pts/0 > 2399 pts/0 Ss 0:00 -bash > 2424 ? Ss 0:00 /usr/sbin/nmbd -D > 2431 pts/0 R+ 0:00 ps -ax devrais je enlever et reinstaller samba ? -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Anne Sophie a écrit :
> Jean-Michel Caricand a écrit : >>> ----- Message transféré ---- >>> De : anne sophie lantz <annesophielantz@yahoo.fr> >>> À : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s >>> Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC >>> >>> # ps -ax >>> Warning: bad ps syntax, perhaps a bogus '-'? See >>> http://procps.sf.net/faq.html >>> PID TTY STAT TIME COMMAND >>> 1 ? Ss 0:01 init [2] >>> 2 ? S 0:00 [migration/0] >>> 3 ? SN 0:00 [ksoftirqd/0] >>> 4 ? S< 0:00 [events/0] >>> 5 ? S< 0:00 [ker] >>> 6 ? S< 0:00 [kthread] >>> 9 ? S< 0:00 [kblockd/0] >>> 10 ? S< 0:00 [kacpid] >>> 92 ? S< 0:00 [kseriod] >>> 128 ? S 0:00 [pdflush] >>> 129 ? S 0:00 [pdflush] >>> 130 ? S< 0:00 [kswapd0] >>> 131 ? S< 0:00 [aio/0] >>> 572 ? S< 0:00 [khubd] >>> 966 ? S< 0:00 [kjournald] >>> 1143 ? S<s 0:00 udevd --daemon >>> 1488 ? S< 0:00 [kpsmoused] >>> 1679 ? S< 0:00 [kmirrord] >>> 1716 ? S< 0:00 [kjournald] >>> 1718 ? S< 0:00 [kjournald] >>> 1720 ? S< 0:00 [kjournald] >>> 1722 ? S< 0:00 [kjournald] >>> 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf >>> /var/lib >>> 1909 ? Ss 0:00 /sbin/portmap >>> 2146 ? Ss 0:00 /sbin/syslogd >>> 2152 ? Ss 0:00 /sbin/klogd -x >>> 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s >>> /var/run/acpid >>> 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >>> 2279 ? Ss 0:00 /usr/sbin/inetd >>> 2286 ? Ss 0:00 /usr/sbin/nmbd -D >>> 2310 ? Ss 0:00 /usr/sbin/sshd >>> 2332 ? Ss 0:00 /sbin/rpc.statd >>> 2342 ? Ss 0:00 /usr/sbin/atd >>> 2349 ? Ss 0:00 /usr/sbin/cron >>> 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >>> 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >>> 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >>> 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >>> 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >>> 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >>> 2394 ? Ss 0:00 sshd: root@pts/0 >>> 2396 pts/0 Ss 0:00 -bash >>> 2512 pts/0 R+ 0:00 ps -ax >>> >>> >>> ----- Message d'origine ---- >>> De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> >>> À : anne sophie lantz <annesophielantz@yahoo.fr> >>> Cc : Debianfr List <debian-user-french@lists.debian.org> >>> Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s >>> Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC >>> >>> >>>> SRVBG:/mnt# smbclient -L localhost >>>> Error connecting to 127.0.0.1 (Connexion refusée) >>>> Connection to localhost failed >>>> >>>> >>> Le serveur Samba ne tourne pas ! >>> >>> >>>> # nmap localhost >>>> >>>> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 >>>> 10:35 >>>> CET >>>> Interesting ports on localhost (127.0.0.1): >>>> Not shown: 1676 closed ports >>>> PORT STATE SERVICE >>>> 22/tcp open ssh >>>> 25/tcp open smtp >>>> 111/tcp open rpcbind >>>> 113/tcp open auth >>>> >>>> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >>>> >>>> >>>> >>> nmap comfirme la remarque précédente. Vous devriez avoir les lignes >>> suivantes : >>> >>> 139/tcp open netbios-ssn >>> 445/tcp open microsoft-ds >>> >>> Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. >>> >>> >>> >>>> >> >> Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a >> donc des erreurs dans votre fichier de configuration. testparm peut vous >> aider à les réduire. >> > Déjà pour le compte mail, je passe par thunderbird ! ![]() > pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour > le moment > et donc > SRVBG:/usr/src# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[netlogon]" > Processing section "[public]" > Processing section "[homes]" > Processing section "[atelier]" > Processing section "[secretaire]" > Loaded services file OK. > Server role: ROLE_DOMAIN_PDC > > SRVBG:~# nmap localhost > > Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 > 11:59 CET > Interesting ports on localhost (127.0.0.1): > Not shown: 1676 closed ports > PORT STATE SERVICE > 22/tcp open ssh > 25/tcp open smtp > 111/tcp open rpcbind > 113/tcp open auth > > Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds > > SRVBG:~# /etc/init.d/samba restart > Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to > kill 2291: No such process > . > Starting Samba daemons: nmbd smbd. > > SRVBG:~# ps -ax > Warning: bad ps syntax, perhaps a bogus '-'? See > http://procps.sf.net/faq.html > PID TTY STAT TIME COMMAND > 1 ? Ss 0:01 init [2] > 2 ? S 0:00 [migration/0] > 3 ? SN 0:00 [ksoftirqd/0] > 4 ? S< 0:00 [events/0] > 5 ? S< 0:00 [ker] > 6 ? S< 0:00 [kthread] > 9 ? S< 0:00 [kblockd/0] > 10 ? S< 0:00 [kacpid] > 92 ? S< 0:00 [kseriod] > 128 ? S 0:00 [pdflush] > 129 ? S 0:00 [pdflush] > 130 ? S< 0:00 [kswapd0] > 131 ? S< 0:00 [aio/0] > 576 ? S< 0:00 [khubd] > 968 ? S< 0:00 [kjournald] > 1145 ? S<s 0:00 udevd --daemon > 1469 ? S< 0:00 [kpsmoused] > 1682 ? S< 0:00 [kmirrord] > 1719 ? S< 0:00 [kjournald] > 1721 ? S< 0:00 [kjournald] > 1723 ? S< 0:00 [kjournald] > 1725 ? S< 0:00 [kjournald] > 1873 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib > 1912 ? Ss 0:00 /sbin/portmap > 2149 ? Ss 0:00 /sbin/syslogd > 2155 ? Ss 0:00 /sbin/klogd -x > 2227 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid > 2270 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > 2282 ? Ss 0:00 /usr/sbin/inetd > 2313 ? Ss 0:00 /usr/sbin/sshd > 2335 ? Ss 0:00 /sbin/rpc.statd > 2345 ? Ss 0:00 /usr/sbin/atd > 2352 ? Ss 0:00 /usr/sbin/cron > 2379 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 2381 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 > 2382 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 > 2383 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 > 2384 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 > 2392 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 > 2397 ? Ss 0:00 sshd: root@pts/0 > 2399 pts/0 Ss 0:00 -bash > 2424 ? Ss 0:00 /usr/sbin/nmbd -D > 2431 pts/0 R+ 0:00 ps -ax devrais je enlever et reinstaller samba ? -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
Mon fichier smb.conf après réinstallation
#======================= Global Settings ======================= [global] netbios name = SRVBG workgroup = AGENCE server string = %h server ; wins server = no ; wins server = w.x.y.z dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d time server = yes name resolve order = hosts wins bcast ####### Authentication ####### security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes guest account = nobody invalid users = root unix password sync = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . ########## Domains ########### domain master = yes local master = yes preferred master = yes domain logons = yes logon script = logon.bat logon home = \\%N\%U ; logon path = \\%N\profiles\%U # Another common choice is storing the profile in the user's home directory ; logon path = \\%N\%U\profile ; logon drive = H: ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u socket options = TCP_NODELAY #======================= Share Definitions ======================= [homes] comment = Home Directories browseable = yes writable = yes create mask = 0755 directory mask = 0755 valid users = %S [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = yes writable = no share modes = no [public] comment = Repertoire Public guest ok = yes browseable = no path = /home/public valid users = @atelier @secretaire admin users = annesophie write list = annesophie read list = @secretaire [atelier] browseable = no valid users = @atelier path = /home/atelier admin users = annesophie [secretaire] browseable = no valid users = @atelier @secretaire path = /home/secretaire read list = @atelier @secretaire admin users = @atelier @secretaire ;[profiles] ; comment = Users profiles ; path = /home/samba/profiles ; guest ok = no ; browseable = no ; create mask = 0600 ; directory mask = 0700 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes public = no writable = no create mode = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no Anne Sophie a écrit : > Anne Sophie a écrit : >> Jean-Michel Caricand a écrit : >>>> ----- Message transféré ---- >>>> De : anne sophie lantz <annesophielantz@yahoo.fr> >>>> À : Debianfr List <debian-user-french@lists.debian.org> >>>> Envoyé le : Samedi, 15 Mars 2008, 9h01mn 13s >>>> Objet : Re : Re : Re : Re : Re : Re : SAMBA PDC >>>> >>>> # ps -ax >>>> Warning: bad ps syntax, perhaps a bogus '-'? See >>>> http://procps.sf.net/faq.html >>>> PID TTY STAT TIME COMMAND >>>> 1 ? Ss 0:01 init [2] >>>> 2 ? S 0:00 [migration/0] >>>> 3 ? SN 0:00 [ksoftirqd/0] >>>> 4 ? S< 0:00 [events/0] >>>> 5 ? S< 0:00 [ker] >>>> 6 ? S< 0:00 [kthread] >>>> 9 ? S< 0:00 [kblockd/0] >>>> 10 ? S< 0:00 [kacpid] >>>> 92 ? S< 0:00 [kseriod] >>>> 128 ? S 0:00 [pdflush] >>>> 129 ? S 0:00 [pdflush] >>>> 130 ? S< 0:00 [kswapd0] >>>> 131 ? S< 0:00 [aio/0] >>>> 572 ? S< 0:00 [khubd] >>>> 966 ? S< 0:00 [kjournald] >>>> 1143 ? S<s 0:00 udevd --daemon >>>> 1488 ? S< 0:00 [kpsmoused] >>>> 1679 ? S< 0:00 [kmirrord] >>>> 1716 ? S< 0:00 [kjournald] >>>> 1718 ? S< 0:00 [kjournald] >>>> 1720 ? S< 0:00 [kjournald] >>>> 1722 ? S< 0:00 [kjournald] >>>> 1870 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid >>>> -lf >>>> /var/lib >>>> 1909 ? Ss 0:00 /sbin/portmap >>>> 2146 ? Ss 0:00 /sbin/syslogd >>>> 2152 ? Ss 0:00 /sbin/klogd -x >>>> 2224 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s >>>> /var/run/acpid >>>> 2267 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >>>> 2279 ? Ss 0:00 /usr/sbin/inetd >>>> 2286 ? Ss 0:00 /usr/sbin/nmbd -D >>>> 2310 ? Ss 0:00 /usr/sbin/sshd >>>> 2332 ? Ss 0:00 /sbin/rpc.statd >>>> 2342 ? Ss 0:00 /usr/sbin/atd >>>> 2349 ? Ss 0:00 /usr/sbin/cron >>>> 2376 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >>>> 2377 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >>>> 2378 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >>>> 2379 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >>>> 2386 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >>>> 2387 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >>>> 2394 ? Ss 0:00 sshd: root@pts/0 >>>> 2396 pts/0 Ss 0:00 -bash >>>> 2512 pts/0 R+ 0:00 ps -ax >>>> >>>> >>>> ----- Message d'origine ---- >>>> De : Jean-Michel Caricand <jean-michel.caricand@lifc.univ-fcomte.fr> >>>> À : anne sophie lantz <annesophielantz@yahoo.fr> >>>> Cc : Debianfr List <debian-user-french@lists.debian.org> >>>> Envoyé le : Samedi, 15 Mars 2008, 8h57mn 35s >>>> Objet : Re: Re : Re : Re : Re : Re : SAMBA PDC >>>> >>>> >>>>> SRVBG:/mnt# smbclient -L localhost >>>>> Error connecting to 127.0.0.1 (Connexion refusée) >>>>> Connection to localhost failed >>>>> >>>>> >>>> Le serveur Samba ne tourne pas ! >>>> >>>> >>>>> # nmap localhost >>>>> >>>>> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 >>>>> 10:35 >>>>> CET >>>>> Interesting ports on localhost (127.0.0.1): >>>>> Not shown: 1676 closed ports >>>>> PORT STATE SERVICE >>>>> 22/tcp open ssh >>>>> 25/tcp open smtp >>>>> 111/tcp open rpcbind >>>>> 113/tcp open auth >>>>> >>>>> Nmap finished: 1 IP address (1 host up) scanned in 0.221 seconds >>>>> >>>>> >>>>> >>>> nmap comfirme la remarque précédente. Vous devriez avoir les lignes >>>> suivantes : >>>> >>>> 139/tcp open netbios-ssn >>>> 445/tcp open microsoft-ds >>>> >>>> Vérifiez si les services smbd et nmbd sont actifs avec un ps ax. >>>> >>>> >>>> >>>>> >>> >>> Comme vous pouvez le constater, le service smbd n'est pas actif. Il y a >>> donc des erreurs dans votre fichier de configuration. testparm peut >>> vous >>> aider à les réduire. >>> >> Déjà pour le compte mail, je passe par thunderbird ! ![]() >> pour testparm, dans mon fichier smb.conf, j'ai commenté [print] pour >> le moment >> et donc >> SRVBG:/usr/src# testparm >> Load smb config files from /etc/samba/smb.conf >> Processing section "[netlogon]" >> Processing section "[public]" >> Processing section "[homes]" >> Processing section "[atelier]" >> Processing section "[secretaire]" >> Loaded services file OK. >> Server role: ROLE_DOMAIN_PDC >> >> SRVBG:~# nmap localhost >> >> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 >> 11:59 CET >> Interesting ports on localhost (127.0.0.1): >> Not shown: 1676 closed ports >> PORT STATE SERVICE >> 22/tcp open ssh >> 25/tcp open smtp >> 111/tcp open rpcbind >> 113/tcp open auth >> >> Nmap finished: 1 IP address (1 host up) scanned in 0.232 seconds >> >> SRVBG:~# /etc/init.d/samba restart >> Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed >> to kill 2291: No such process >> . >> Starting Samba daemons: nmbd smbd. >> >> SRVBG:~# ps -ax >> Warning: bad ps syntax, perhaps a bogus '-'? See >> http://procps.sf.net/faq.html >> PID TTY STAT TIME COMMAND >> 1 ? Ss 0:01 init [2] >> 2 ? S 0:00 [migration/0] >> 3 ? SN 0:00 [ksoftirqd/0] >> 4 ? S< 0:00 [events/0] >> 5 ? S< 0:00 [ker] >> 6 ? S< 0:00 [kthread] >> 9 ? S< 0:00 [kblockd/0] >> 10 ? S< 0:00 [kacpid] >> 92 ? S< 0:00 [kseriod] >> 128 ? S 0:00 [pdflush] >> 129 ? S 0:00 [pdflush] >> 130 ? S< 0:00 [kswapd0] >> 131 ? S< 0:00 [aio/0] >> 576 ? S< 0:00 [khubd] >> 968 ? S< 0:00 [kjournald] >> 1145 ? S<s 0:00 udevd --daemon >> 1469 ? S< 0:00 [kpsmoused] >> 1682 ? S< 0:00 [kmirrord] >> 1719 ? S< 0:00 [kjournald] >> 1721 ? S< 0:00 [kjournald] >> 1723 ? S< 0:00 [kjournald] >> 1725 ? S< 0:00 [kjournald] >> 1873 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib >> 1912 ? Ss 0:00 /sbin/portmap >> 2149 ? Ss 0:00 /sbin/syslogd >> 2155 ? Ss 0:00 /sbin/klogd -x >> 2227 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid >> 2270 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m >> 2282 ? Ss 0:00 /usr/sbin/inetd >> 2313 ? Ss 0:00 /usr/sbin/sshd >> 2335 ? Ss 0:00 /sbin/rpc.statd >> 2345 ? Ss 0:00 /usr/sbin/atd >> 2352 ? Ss 0:00 /usr/sbin/cron >> 2379 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 >> 2381 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 >> 2382 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 >> 2383 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 >> 2384 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 >> 2392 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 >> 2397 ? Ss 0:00 sshd: root@pts/0 >> 2399 pts/0 Ss 0:00 -bash >> 2424 ? Ss 0:00 /usr/sbin/nmbd -D >> 2431 pts/0 R+ 0:00 ps -ax > j'ai réinstallé samba > SRVBG:~# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[homes]" > Processing section "[netlogon]" > Processing section "[printers]" > Processing section "[print$]" > Loaded services file OK. > Server role: ROLE_DOMAIN_PDC > Press enter to see a dump of your service definitions > > > [global] > workgroup = AGENCE > server string = %h server > obey pam restrictions = Yes > passdb backend = tdbsam > passwd program = /usr/bin/passwd %u > passwd chat = *Enter\snew\sUNIX\spassword:* %n\n > *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . > syslog = 0 > log file = /var/log/samba/log.%m > max log size = 1000 > name resolve order = hosts wins bcast > time server = Yes > logon script = logon.bat > domain logons = Yes > preferred master = Yes > domain master = Yes > dns proxy = No > panic action = /usr/share/samba/panic-action %d > invalid users = root > > [homes] > comment = Home Directories > valid users = %S > read only = No > create mask = 0755 > > [netlogon] > comment = Network Logon Service > path = /home/netlogon > guest ok = Yes > share modes = No > > [printers] > comment = All Printers > path = /var/spool/samba > create mask = 0700 > printable = Yes > browseable = No > > [print$] > comment = Printer Drivers > path = /var/lib/samba/printers > > SRVBG:~# nmap localhost > > Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-03-15 > 12:50 CET > Interesting ports on localhost (127.0.0.1): > Not shown: 1673 closed ports > PORT STATE SERVICE > 22/tcp open ssh > 25/tcp open smtp > 111/tcp open rpcbind > 113/tcp open auth > 139/tcp open netbios-ssn > 445/tcp open microsoft-ds > 1522/tcp open rna-lm > > Nmap finished: 1 IP address (1 host up) scanned in 0.249 seconds > > SRVBG:~# ps -ax > Warning: bad ps syntax, perhaps a bogus '-'? See > http://procps.sf.net/faq.html > PID TTY STAT TIME COMMAND > 1 ? Ss 0:01 init [2] > 2 ? S 0:00 [migration/0] > 3 ? SN 0:00 [ksoftirqd/0] > 4 ? S< 0:00 [events/0] > 5 ? S< 0:00 [ker] > 6 ? S< 0:00 [kthread] > 9 ? S< 0:00 [kblockd/0] > 10 ? S< 0:00 [kacpid] > 92 ? S< 0:00 [kseriod] > 128 ? S 0:00 [pdflush] > 129 ? S 0:00 [pdflush] > 130 ? S< 0:00 [kswapd0] > 131 ? S< 0:00 [aio/0] > 574 ? S< 0:00 [khubd] > 966 ? S< 0:00 [kjournald] > 1143 ? S<s 0:00 udevd --daemon > 1466 ? S< 0:00 [kpsmoused] > 1678 ? S< 0:00 [kmirrord] > 1712 ? S< 0:00 [kjournald] > 1714 ? S< 0:00 [kjournald] > 1716 ? S< 0:00 [kjournald] > 1718 ? S< 0:00 [kjournald] > 1892 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf > /var/lib > 1931 ? Ss 0:00 /sbin/portmap > 2168 ? Ss 0:00 /sbin/syslogd > 2174 ? Ss 0:00 /sbin/klogd -x > 2246 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s > /var/run/acpid > 2289 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > 2301 ? Ss 0:00 /usr/sbin/inetd > 2308 ? Ss 0:00 /usr/sbin/nmbd -D > 2310 ? Ss 0:00 /usr/sbin/smbd -D > 2319 ? S 0:00 /usr/sbin/smbd -D > 2333 ? Ss 0:00 /usr/sbin/sshd > 2355 ? Ss 0:00 /sbin/rpc.statd > 2365 ? Ss 0:00 /usr/sbin/atd > 2372 ? Ss 0:00 /usr/sbin/cron > 2399 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 2401 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 > 2402 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 > 2403 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 > 2409 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 > 2412 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 > 2417 ? Ss 0:00 sshd: root@pts/0 > 2419 pts/0 Ss 0:00 -bash > 2427 pts/0 R+ 0:00 ps -ax > > > -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|