LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2009, 05:29 AM   #1
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Rep: Reputation: 30
Angry samba installation on redhat 9


hi,

I have configured successfully samba-2.0.5 package for my redhat 9 system.
I am getting the smbd and nmbd daemons.On my system already samba-2.2.7a is running,i have copied the smbd and nmbd daemons to /usr/bin directory.When i am running "smbd -V" command,i am getting 2.0.5 version.

But when i am running : ./smbd & for background process.And i am checking with "ps -ax" command,i am getting like this:

19998 pts/5 R 0:00 ps -ax
[1]+ Exit 255 ./smbd

I am not able to run smbd and nmbd daemons on my system.

when i am trying with "smbclient",ia m getting the below given message:

smbclient \\\\192.168.1.4\\data
added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 192.168.1.4:139 (Connection refused)
Error connecting to 192.168.1.4 (Connection refused)
Connection to 192.168.1.4 failed
[1]+ Exit 255 ./smbd

I have tried with other command also,but getting the same message:

[root@localhost bin]# smbclient '//192.168.1.4//home' -U keerti
added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 192.168.1.4:139 (Connection refused)
Error connecting to 192.168.1.4 (Connection refused)
Connection to 192.168.1.4 failed


Please guide me.

Regards,
Ravi
 
Old 04-04-2009, 06:20 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Stop right there. Why are you running an unsupported ancient version of Red Hat? Your version of Samba is very old as well.
You should upgrade to a newer version of Linux such as the latest Fedora Core or RHEL.

Also, it seems you are running the samba server manually. Use your service dialog or chkconfig to start the service. Also check your firewall settings for ports 445 & 139. If your version of samba uses broadcast based browsing, then you may need ports 137/udp & 138/udp open as well.
 
Old 04-04-2009, 02:30 PM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by jschiwal View Post
Stop right there. Why are you running an unsupported ancient version of Red Hat?
Time and time again I see people on here asking questions about RedHat 9, often saying that they have just installed it. Several times I've asked them why it is that they have just installed a distro that is utterly obsolete and went end of life years ago. No one has yet given a reason.

Seriously, what is it with RedHat 9?
 
Old 04-04-2009, 02:42 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Seriously, what is it with RedHat 9?
you got me ??
i guess ( as a comparison ) there are people who WANT to run MS windows 95 in a vista world
 
Old 04-04-2009, 05:59 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,375

Rep: Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755
I could be wrong, but most seem to be based in / around India... Must have been some major CD sharing at some point I guess. Possibly the first serious version of Linux to hit India?
 
Old 04-05-2009, 11:02 PM   #6
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Original Poster
Rep: Reputation: 30
Thumbs up

Dear All,

Thanks for your posts.
The reason for using samba-2.0.5,the size of smbd is 745k and nmbd is about 250k.I am going to use that on my Embedded linux device which is having a flash size of 4MB(its onboard).My bootloader size is about 128k and kernel size is about 1.8MB(including the device drivers which i require).The minimal size of filesystem is around 2Mb including the samba daemons which i have got from samba-2.0.5.

Any more clarifications from your side are welcomed.

I am using Fedora 7 and Mandriva 2008 on my systems.For this project itself i am using samba-2.0.5,i know its an older version,but for me the flash size matters most and i know there will be security issues.

Thanks for replies again and Regards,

Ravi Chobey
 
Old 04-05-2009, 11:31 PM   #7
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Original Poster
Rep: Reputation: 30
Thumbs up

Also i have tried the other version of samba-3.0.24,but the size of smbd and nmbd is to bigger that could not fit onto the free space that I have on the flash.

Does anyone have any idea on how to reduce the size of these (smbd,nmbs and smbpasswd) binaries?
Any suggestions about where to strip off unnecessary code in samba that will not be required for a embedded solution?

Regards,
Ravi Chobey
 
Old 04-06-2009, 10:00 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
ravi_chobey: Thank you for your explanation. Since this is an embedded device you are using, it probably has so much stripped off that it isn't even Red Hat any more. I have read several posts about RH9 and they actually tend to be from India. So your post seems to fit a pattern we have seen many times before.

I had thought the it would be because of poor dialup service & a RedHat bible being available in the bookstores. As slow as our service is compared to Japan or Korea, many people are even worse off.

---
Check if your device is firewalling off one of the ports needed. Also, install the samba-doc package on one of your own systems (eg Fedora or Mandriva). IIRC, the Samba 3 HOWTO & Reference guide book provided has a chapter on migrating from Samba 2 to Samba 3 and may indicate what new features are supported.

Does your client depend on such a feature? For example, your clients may be using ports 119 & 445 when your server uses 118-119 broadcasts. Also look at whether NTLMV2 is supported by the Samba 2 device. Some missing features could require changes in how the clients are configured.
---

Good Luck with your embedded device.
 
Old 04-22-2009, 04:23 AM   #9
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Original Poster
Rep: Reputation: 30
Dear Jschival,

I have developed my filesystem by configuring buildroot,It takes around 45 minutes to build my root filesytem,the samba which i am getting in that buildroot package is 3.0.24 version and the size of smbd is 850kB.
But i have taken samba-3.0.24 alone,the smbd size was around 3.0 MB.

I am not able to get why is there so much diference between two SMBDs of same samba package.

Could you help me out.

Regards,
Ravi Chobey
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installation of skype on redhat linux 9.0 or redhat enterprise 4.0 majji.hari Linux - Software 1 12-11-2007 04:16 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 10:32 PM
Samba with RedHat 9 Panzerfrost Linux - Newbie 1 09-21-2003 08:09 AM
installing samba-3.0alpha24-1.i386.rpm into RedHat 8 and RedHat 9 Linh Linux - Newbie 2 06-04-2003 05:50 AM
SAMBA on REDHAT 7 Frinux Linux - Networking 7 11-07-2002 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration