On Mon, 2002-01-21 at 19:36, Hidong Kim wrote:
> Hi,
> 
> I still can't start Samba.  I just compiled Samba 2.2.2 to upgrade from
> 2.2.1a.  I'm going through the DIAGNOSIS.txt file.  So far, I can run
> testparm without errors, ping the Linux Samba server from Windows
> machines and vice versa.  But then I'm stuck at smbclient.  'smbclient
> -L localhost' gives:
> 
> [root@ripley samba]# smbclient -L localhost
> added interface ip=192.168.230.201 bcast=192.168.230.255
> nmask=255.255.255.0
> added interface ip=172.16.166.1 bcast=172.16.166.255 nmask=255.255.255.0
> added interface ip=172.16.177.1 bcast=172.16.177.255 nmask=255.255.255.0
> error connecting to 127.0.0.1:139 (Connection refused)
> Connection to localhost failed
> 

Have you tried deleting the last entry on the first line in /etc/hosts
eg: 127.0.0.1 localhost.localdomain localhost - remove localhost

an old workaround in RH
> 
> I'm trying to start Samba with the script /usr/local/samba/startsmb:
> 
> #!/bin/sh
> /usr/local/samba/bin/smbd -D
> /usr/local/samba/bin/nmbd -D
> 
> 
> 
> In DIAGNOSIS.txt, it says that this smbclient error may be related to
> inetd.conf.  My Samba server is a Red Hat 7.2 machine.  It has no
> inetd.conf.  What file is equivalent?  I've checked that netbios-ssn is
> listening with 'netstat -a':
> 
> tcp        0      0 172.16.166.:netbios-ssn *:*                    
> LISTEN
> 
xinetd replaced inetd in RH7 - directory in /etc with seperate files for
each service
 
> 
> DIAGNOSIS.txt says that this problem might be caused by something else,
> like Samba, already running on port 139.  How do I check this?  Thanks,
> 
ps -aux|grep smb
 
hope this helps

> 
> Hidong
> 
> 
> 
> 
> Gregory Hosler wrote:
> > 
> > grab th erespective Red Hat release SRPM and build from that. If you _really_
> > dislike doing that, get the SRPM anyways, and extract out the patch file(s) -
> > You will probably need to apply most if not all of those patchs anyways...
> > 
> > -G
> > 
> > On 21-Jan-02 Hidong Kim wrote:
> > > Hi,
> > >
> > > I tried to install the source RPM, but it crashed with this error:
> > >
> > > checking configure summary
> > > configure: error: summary failure. Aborting config
> > > error: Bad exit status from /var/tmp/rpm-tmp.21099 (%build)
> > >
> > >
> > > RPM build errors:
> > >     Bad exit status from /var/tmp/rpm-tmp.21099 (%build)
> > >
> > >
> > >
> > > I'd like to compile Samba-2.2.2 from source.  Here's what my
> > > /usr/include/asm/statfs.h looks like:
> > >
> > >#ifndef _I386_STATFS_H
> > >#define _I386_STATFS_H
> > >
> > >#ifndef __KERNEL_STRICT_NAMES
> > >
> > >#include <linux/types.h>
> > >
> > > typedef __kernel_fsid_t fsid_t;
> > >
> > >#endif
> > >
> > > struct statfs {
> > >         long f_type;
> > >         long f_bsize;
> > >         long f_blocks;
> > >         long f_bfree;
> > >         long f_bavail;
> > >         long f_files;
> > >         long f_ffree;
> > >         __kernel_fsid_t f_fsid;
> > >         long f_namelen;
> > >         long f_spare[6];
> > > };
> > >
> > >#endif
> > >
> > >
> > >
> > > Which parts should I comment out to get by this error during 'make':
> > >
> > > /usr/include/asm/statfs.h:12: redefinition of `struct statfs'
> > > make: *** [smbd/server.o] Error 1
> > >
> > >
> > >
> > > Thanks,
> > >
> > >
> > >
> > > Hidong
> > >
> > >
> > >
> > >
> > >
> > >
> > > David Talkington wrote:
> > >>
> > >> -----BEGIN PGP SIGNED MESSAGE-----
> > >> Hash: SHA1
> > >>
> > >> Hidong Kim wrote:
> > >>
> > >> >[root@ripley bin]# ./testparm
> > >> >Load smb config files from /usr/local/samba/lib/smb.conf
> > >> >Processing section "[public]"
> > >> >Processing section "[public]"
> > >> >Processing section "[printers]"
> > >> >Loaded services file OK.
> > >> >Press enter to see a dump of your service definitions
> > >> >
> > >> >My smb.conf is actually /etc/samba/smb.conf.  This is the file that has
> > >> >all of my share definitions, as it was working before today.
> > >>
> > >> smbd disagrees with you.  Specify it:
> > >>
> > >> # smbd -s /etc/samba/smb.conf
> > >>
> > >> If you rebuilt samba, you probably didn't add --with-configdir.
> > >> - --sysconfdir isn't sufficient to override the default.
> > >>
> > >> - -d
> > >>
> > >> - --
> > >> David Talkington
> > >>
> > >> PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
> > >> - --
> > >> http://setiathome.ssl.berkeley.edu/pale_blue_dot.html
> > >>
> > >> -----BEGIN PGP SIGNATURE-----
> > >> Version: PGP 6.5.8
> > >> Comment: Made with pgp4pine 1.75-6
> > >>
> > >> iQA/AwUBPEvSA79BpdPKTBGtEQLzlACgm62lCTVYPxVF/7anKdRVCpqQL2MAnRWI
> > >> x1WjIg2gDV0OX+4OwJ6HBzBW
> > >> =PzXf
> > >> -----END PGP SIGNATURE-----
> > >>
> > >> _______________________________________________
> > >> Redhat-list mailing list
> > >> [EMAIL PROTECTED]
> > >> https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> > >
> > >
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > 
> > ----------------------------------
> > E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
> > Date: 21-Jan-02
> > Time: 17:02:06
> > 
> >   If each of us have one object, and we exchange them,
> >      then each of us still has one object.
> >   If each of us have one idea,   and we exchange them,
> >      then each of us now has two ideas.
> > 
> > ----------------------------------
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to