Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-08-2005, 02:33 AM
|
#1
|
LQ Newbie
Registered: Sep 2002
Location: Toronto, ON
Distribution: Fedora
Posts: 6
Rep:
|
Samba problem [newb here]
Hi guys,
I am trying to setup samba on my Redhat FC4 box to share files and printer with my other windows machine. I followed the steps provided by the samba.org and when i try to start the samba by doing "./smb start" in /etc/init.d/, it tells me :
Code:
Starting SMB services: /etc/init.d/functions: line 83: 28731 Aborted $nice $*
[FAILED]
Just wondering what's happening here.
Thanks!
cy
|
|
|
10-08-2005, 09:12 PM
|
#2
|
LQ Newbie
Registered: Sep 2002
Location: Toronto, ON
Distribution: Fedora
Posts: 6
Original Poster
Rep:
|
|
|
|
10-10-2005, 04:50 AM
|
#3
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
/etc/rc.d/init.d/smb start <- for FC4
use this command no ./.
see what is the output if still cannot paste ur smb.conf to pastebin and post link here
ps: do not expected ur ques will be answer like paid support , patient is needed
cheers 
|
|
|
10-10-2005, 05:29 PM
|
#4
|
LQ Newbie
Registered: Oct 2005
Location: Pennsylvania
Distribution: FC4
Posts: 8
Rep:
|
same problem
same problem here, except I've got some different numbers following my line 83 error
Code:
[root@localhost samba]# /etc/rc.d/init.d/smb restart
Shutting down SMB services: [FAILED]
Shutting down NMB services: [ OK ]
Starting SMB services: /etc/init.d/functions: line 83: 2987 Aborted $nice $*
[FAILED]
Starting NMB services: [ OK ]
[root@localhost samba]# /etc/rc.d/init.d/smb start
Starting SMB services: /etc/init.d/functions: line 83: 3382 Aborted $nice $*
[FAILED]
Starting NMB services:
The only edits to my smb.conf file have been done through the GUI where I added a share and myself as a user
I'm trying to follow a guide I found at
http://home.nyc.rr.com/computeraijutsu/samba.html
and I just found this one that I might check out too
http://forums.fedoraforum.org/showthread.php?t=73849
Aside from playing around with Knoppix when my main HD failed a while ago, I'm pretty new to linux (as in I installed it 2 days ago) so please, be kind
thanks
|
|
|
10-11-2005, 01:36 AM
|
#5
|
Member
Registered: Oct 2005
Location: Bangalore,India
Distribution: Debian
Posts: 37
Rep:
|
try testparm command this may give you hint what is wrong.
|
|
|
10-11-2005, 02:41 AM
|
#6
|
LQ Newbie
Registered: Sep 2002
Location: Toronto, ON
Distribution: Fedora
Posts: 6
Original Poster
Rep:
|
Quote:
Originally posted by routers
/etc/rc.d/init.d/smb start <- for FC4
use this command no ./.
see what is the output if still cannot paste ur smb.conf to pastebin and post link here
ps: do not expected ur ques will be answer like paid support , patient is needed
cheers
|
Hi,
Thanks for your suggestion, sorry about the bumping
Anyhow, i tried doing /etc/rc.d/init.d/smb start without the ./ it wouldn't work. However when i do /etc/rc.d/init.d/./smb start it shows me the same msg as before.
Please advise, thx in advance 
|
|
|
10-11-2005, 07:20 AM
|
#7
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
|
Hi cy88,
have you tried using the webmin interface to setup your samba shares?
|
|
|
10-11-2005, 09:28 AM
|
#8
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
Quote:
Originally posted by dhruvypatel
try testparm command this may give you hint what is wrong.
|
Dhruv... He's unable to start the service.
You cant testparm until your samba service is running.
|
|
|
10-11-2005, 09:30 AM
|
#9
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
To avoid all such heck & headache.. & wait for any other proper reply.
Remove the samba & then re-install samba.
As you are a newbie... Use the GUI tools for tht.
Feedback, even if you find the very same error even after doing tht.
|
|
|
10-11-2005, 10:52 AM
|
#10
|
Member
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116
Rep:
|
Doesn't looking at line 83 in smb.conf give you a clue as to the possible problem?
Cheers
|
|
|
10-11-2005, 02:15 PM
|
#11
|
LQ Newbie
Registered: Oct 2005
Location: Pennsylvania
Distribution: FC4
Posts: 8
Rep:
|
line 83
line 83 in smb.conf is a comment, not used in the file.
line 83 in functions, however, is the start of "a function to start a program"
so i guess the function's having a problem somewhere else (i've always tried to avoid programming)
Maybe there's something with the pre-installed Samba that came with FC4?
was reading here
http://forums.fedoraforum.org/showth...544#post373544
and tried the "yum remove samba" and "yum install samba" and got the same error
reinstalled the GUI from the disk and tried setting it up anyway
Something else that I probably should have mentioned earlier - I can see the "Mygroup" from samba on windows, but I can't access it (no permission / path not found)
my network adapter is set as a secure device
because nmb is running but smb isn't?
Last edited by TriMat; 10-11-2005 at 02:17 PM.
|
|
|
10-11-2005, 03:32 PM
|
#12
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
Re: line 83
Quote:
Originally posted by TriMat
line 83 in smb.conf is a comment, not used in the file.
line 83 in functions, however, is the start of "a function to start a program"
so i guess the function's having a problem somewhere else (i've always tried to avoid programming)
Maybe there's something with the pre-installed Samba that came with FC4?
was reading here
http://forums.fedoraforum.org/showth...544#post373544
and tried the "yum remove samba" and "yum install samba" and got the same error
reinstalled the GUI from the disk and tried setting it up anyway
Something else that I probably should have mentioned earlier - I can see the "Mygroup" from samba on windows, but I can't access it (no permission / path not found)
my network adapter is set as a secure device
because nmb is running but smb isn't?
|
In /etc/init.d/function
---------------
daemon() { --> is the 82nd LINE
83rd is the next line after tht...
---------------
Do check again.
83rd line is commented out. --> "#Test syntax." (83rd line)
Check out at your end again.
Feedback.
Donot discuss the other issues until you samba service is not running.
Sharing, access rights are for later discussion.
|
|
|
10-11-2005, 03:50 PM
|
#13
|
LQ Newbie
Registered: Oct 2005
Location: Pennsylvania
Distribution: FC4
Posts: 8
Rep:
|
Re: Re: line 83
Quote:
Originally posted by amitsharma_26
In /etc/init.d/function
---------------
daemon() { --> is the 82nd LINE
83rd is the next line after tht...
---------------
Do check again.
83rd line is commented out. --> "#Test syntax." (83rd line)
Check out at your end again.
Feedback.
|
just checked again
--------------
daemon() { --> definitely 83rd line
#Test syntax --> line 84
---------------
|
|
|
10-11-2005, 10:36 PM
|
#14
|
LQ Newbie
Registered: Oct 2005
Location: Pennsylvania
Distribution: FC4
Posts: 8
Rep:
|
I got it working
from Cadillactux in this archive
Quote:
just type 'smbd' without the quotes and try that. or do a 'whereis smbd' and type the path it gives you (for example, when I do 'whereis smbd' i get "/usr/bin/smbd", so when I type '/usr/bin/smbd' my SMB Daemon starts up by itself. It goes around the /etc/rc.d/smb start command
|
/usr/sbin/smbd start
THEN
/etc/rc.d/init.d/smb start
Does this work for anyone else?
And does anyone know why?
|
|
|
10-12-2005, 05:31 AM
|
#15
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
u dare to try again see what happen
/etc/rc.d/init.d/smb restart
if fail again try run setup > services > click smb then save then reboot
urs problem i never face it in fc4 of slackware
interesting 
|
|
|
All times are GMT -5. The time now is 12:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|