LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba working, then installed openSSL and not samba not working (https://www.linuxquestions.org/questions/linux-networking-3/samba-working-then-installed-openssl-and-not-samba-not-working-182351/)

hamish 05-17-2004 03:37 AM

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

hamish 05-17-2004 12:02 PM

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

hamish 05-17-2004 12:35 PM

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

hamish 05-17-2004 01:50 PM

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


All times are GMT -5. The time now is 12:03 PM.