hi, masters! i have installed RedHat 7.2 and Samba 2.2.5. i did everything step by step: ./configure , make , make install , etc... i cannot start 'smbd' and 'nmbd' daemons. i try to run them from the command line or from inetd and i get something like: "there is no such command" all Samba commands are in the same hierarchy /usr/local/samba/bin. i can run other Samba commands, for example 'testparm' and 'smbclient', but of course i cannot list available shares and whole Samba server doesn't work. what is the problem? where should i look for??? i had Mandrake 8.2 + Samba before, and everything worked well. --- Slawek W ----------------------------------------------------------------------- Co m?wi Twoja poczta g?osowa? Sprawd?! < http://powitania.wp.pl >
The RedhHat startup scripts will not look for the daemons where they are installed after you compile from sources. And, the installation directory is likely not in the path statement of your root user, either. SO, likely, the binaries are now in: /usr/local/samba/lib If they are not there, you should be able to figure out where they are by: 1. Looking in configure in your source directory. 2. Running updatedb and locate smbd I find it better to run smbd/nmbd as free standing daemons, not with inetd. The smbclient that you are running may be left over from the old installation. Did you remove (rpm) the old installation? Joel On Mon, Sep 02, 2002 at 08:36:28AM +0200, Slawek W wrote:> > hi, masters! > > > i have installed RedHat 7.2 and Samba 2.2.5. > i did everything step by step: ./configure , make , make > install , etc... > > > i cannot start 'smbd' and 'nmbd' daemons. i try to run them from > the command line or from inetd and i get something like: > "there is no such command" > > all Samba commands are in the same > hierarchy /usr/local/samba/bin. > i can run other Samba commands, for example 'testparm' > and 'smbclient', but of course i cannot list available shares > and whole Samba server doesn't work. > > what is the problem? where should i look for??? > > i had Mandrake 8.2 + Samba before, and everything worked well. > > --- Slawek W > > > > > ----------------------------------------------------------------------- > Co m?wi Twoja poczta glosowa? Sprawdz! < http://powitania.wp.pl > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | Message: 10 | Date: Mon, 2 Sep 2002 08:36:28 +0200 | From: "Slawek W" <to-slawek@wp.pl> | To: samba@lists.samba.org <samba@lists.samba.org> | Organization: Poczta Wirtualnej Polski S.A. http://www.wp.pl/ | Subject: [Samba] smbd + nmbd don't want to start | | | hi, masters! | | | i have installed RedHat 7.2 and Samba 2.2.5. | i did everything step by step: ./configure , make , make | install , etc... | What were your arguments to configure? | | i cannot start 'smbd' and 'nmbd' daemons. i try to run them from | the command line or from inetd and i get something like: | "there is no such command" | | all Samba commands are in the same | hierarchy /usr/local/samba/bin. Is this in your path? # echo $PATH what results should contain the directory where your executeables are, otherwise you need to type the full path. You may be better off using RPMs from ftp.samba.org (unless you know what you are doing, since you may have unexpected behaviour if you haven't removed the original ones). | i can run other Samba commands, for example 'testparm' | and 'smbclient', but of course i cannot list available shares | and whole Samba server doesn't work. | | what is the problem? where should i look for??? | | i had Mandrake 8.2 + Samba before, and everything worked well. | "If its not broken, don't fix it"? There are 2.2.5 RPMs for Mandrake 8.0, 8.1 and 8.2 on ftp.samba.org (and http://ranger.dnsalias.com/mandrake/samba and http://people.mandrakesoft.com/~staburet/samba) Buchan - -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9c34nrJK6UGDSBKcRAsW8AJ9k7sGZL5GilaylJ2B6jHtuNesYWwCfU68T 73wB2Kar6SFJIhyuIiByNiQ=eNoL -----END PGP SIGNATURE-----
If inetd is configured to start smbd/nmbd, then it prevents any other program from attaching itself to the appropriate port. What do you see with: netstat -an | grep 139 Have you just tried: /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D Joel P.S. Lose the !!! nonsense. Also, get a keyboard with a shift key.> > help is still wanted!!!! > > my binaries are in: > /usr/local/samba/bin > > and i included correct path in files for root user, of course. > > i wanted to use start scripts for smbd/nmbd daemons > in /etc/rc.d/init.d/ , but it doesn't work. > > > i feel grateful for any advice! > > ---Slawek W > > > > > > > > > ---------------------------------------------------------------------------- > Konkurs nie tylko dla orl?w. Jesli masz < 26 sprawdz koniecznie! > Kliknij! < http://encyklopedia.wp.pl/konkurs/ >