Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba problem. Testparm error message.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
perco
n00b
n00b


Joined: 24 Feb 2005
Posts: 9
Location: Sweden

PostPosted: Thu Feb 24, 2005 7:49 pm    Post subject: Samba problem. Testparm error message. Reply with quote

Hi,

I´m having trouble with samba and testparm.

When I try to check if my smb.conf file is clean from errors I use testparm as I should.

Then i get this output:

Code:
 
Load smb config files from /etc/samba/smb.conf
params.c:Parameter() - Invalid parameter name in config. file.
params.c:pm_process() - Failed.  Error returned from params.c:parse().
Error loading services.


If I try to start the samba daemon I get this output:

Code:

root@alpha perco # /etc/init.d/samba start
 * samba -> start: smbd...                                                [ !! ]

 * samba -> start: nmbd...                                                [ !! ]

 * Error: stopping services (see system logs)
 * samba -> stop: smbd...                                                 [ !! ]

 * samba -> stop: nmbd...                                                 [ !! ]
                                                                          [ !! ]


I have not been able to configure my system logger yet, but I hope you can help me anyway.

I have searched the forums for a solution to this problem, but I have not been able to find anything of [/code] value.
Back to top
View user's profile Send private message
tomga
n00b
n00b


Joined: 13 Jul 2002
Posts: 68

PostPosted: Thu Feb 24, 2005 7:57 pm    Post subject: Reply with quote

can you post your smb.conf file.
Back to top
View user's profile Send private message
tomga
n00b
n00b


Joined: 13 Jul 2002
Posts: 68

PostPosted: Thu Feb 24, 2005 7:59 pm    Post subject: Reply with quote

did you copy/paste something and there are some invalid carrige returns or perhaps there are some non unix line feeds, i.e. when you created the smb.conf file with an windows editor and copied it.
Back to top
View user's profile Send private message
perco
n00b
n00b


Joined: 24 Feb 2005
Posts: 9
Location: Sweden

PostPosted: Thu Feb 24, 2005 8:33 pm    Post subject: Reply with quote

Sorry!

Now I see what I have done wrong. You had right!

Actually I had fixed the hole smb.conf but i forgot to save it :/

Thx for helping me :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum