LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2004, 03:37 AM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
samba working, then installed openSSL and not samba not working


Hey.

Last night I had samba working perfectly on my two linux machines - One server (with all the samba shares) and my desktop (which had access to my server samba shares). Both run Gentoo.

At this point everything worked perfectly. I have a very basic (just shares, not printing) smb.conf file.

Later on that night, I installed openSSL (because I thought I needed it for a program but maybe I shouldn't have installed it so hastily). Anyway, I did the usual "emerge openssl" and everything seemed fine.

Then I tried to start samba on my server:

#/etc/init.d/samba start

and was returned the following
* starting samba [!!]

and samba didn't start.

Therefore, I unmerged openssl:
#emerge -C openssl

in the hope that samba might work, but I got exactly the same response.

I have yet to reboot the server (maybe that will fix it) because I don't want too loose uptime

Therefore, I'm asking if anyone knows that I need to do to get this working again?

I'm assuming that it was openssl which caused this problem. The only other thing i installed last night (to the best of my recollection) was teepeedee (a micro webserver - this is what I thought I needed openSSL for). However, I think that samba was still working fine after i installed teepeedee and before i installed openssl.

Could someone please shed some light ont his for me? I see in smb.conf there is a bit about ssl, but i haven't enabled that.

thanks
Hamish
 
Old 05-17-2004, 12:02 PM   #2
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
Here is my /etc/samba/smb.conf file:

#GENERAL

[global]

workgroup = HAMISHNET
netbios name = PI
server string = Samba Server on PI
hosts allow = 172.24.15.228 172.24.15.231 127.0.0.1
log file = /var/log/samba/log.%m
max log size = 0

#PASSWORDS

security = user
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

#OTHER

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

#SHARES

[homes]

comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

Hope this can help someone help me!

H
 
Old 05-17-2004, 12:35 PM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
Ok, here is some more information:

finally, something has appearing in my /var/log/samba/log.smbd file:
"
[2004/05/17 18:29:32, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
"

I'm googling around, but if anyone has had this before, do tell me.
Hamish
 
Old 05-17-2004, 01:50 PM   #4
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
FIXED!!

I guess that when I unmerged the openssl, it took some things with it. I simply reinstalled samba, and it is all working.

Plus, I saved my uptime

Hamish
 
  


Reply



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
Samba... not working at all... worldgnat Linux - Networking 2 05-28-2005 06:11 PM
SAMBA is just not working Ian_Hawdon Linux - Software 5 03-24-2005 06:21 PM
Samba 3 not working (nearly never), but samba 2 works OK vmicho Linux - Networking 0 10-05-2004 01:03 PM
samba not working right derfaust Slackware 12 07-23-2004 05:41 AM
getting samba working keirobyn Linux - Networking 4 01-30-2002 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:19 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