LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   is it bugs?????? please help me take a look. (https://www.linuxquestions.org/questions/suse-opensuse-60/is-it-bugs-please-help-me-take-a-look-589063/)

hackintosh 10-03-2007 03:42 AM

is it bugs?????? please help me take a look.
 
testsuse:/etc/openldap # rcsmb stop
Shutting down Samba SMB daemon Warning: daemon not running. done
testsuse:/etc/openldap # rcsmb start
Starting Samba SMB daemon - Warning: /var/run/samba/smbd.pid exists. done
testsuse:/etc/openldap # service smb start
Starting Samba SMB daemon - Warning: daemon already running. done
testsuse:/etc/openldap # service smb stop
Shutting down Samba SMB daemon done
testsuse:/etc/openldap # rcsmbd stop
bash: rcsmbd: command not found
testsuse:/etc/openldap # rcsmbd start
bash: rcsmbd: command not found
===============================================================
1st line it showed no daemon runing. then i do start
2nd line show me that PID is exists.
well, i use another command to start it.. it stil show me daemon is runing.
then i do stop...

my firewall already disabled during installation.
######################################################################################
see 2nd part..

testsuse:/var/log/samba # rcsmb start
Starting Samba SMB daemon done
testsuse:/var/log/samba # rcnmb start
Starting Samba NMB daemon done
testsuse:/var/log/samba # testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[share]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
...
1st, i start both services and do testparm.. no problem. ..
means that no problem for my smb.conf
####################################################################

3rd part : -

testsuse:/var/log/samba # smbclient -L 172.30.11.103 -N
Error connecting to 172.30.11.103 (Connection refused)
Connection to 172.30.11.103 failed
testsuse:/var/log/samba # smbclient -L localhost -N
Error connecting to 127.0.0.1 (Connection refused)
Connection to localhost failed
testsuse:/var/log/samba # ps -afed|grep smb
root 20997 1 0 15:48 ? 00:00:00 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
root 21051 14254 0 15:53 pts/2 00:00:00 grep smb
testsuse:/var/log/samba # ps -afed|grep nmb
root 20997 1 0 15:48 ? 00:00:00 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
root 21053 14254 0 15:53 pts/2 00:00:00 grep nmb
testsuse:/var/log/samba #

i use both localhost or IP also cant connect to my samba server and i do service grep, it showed the services is running.
no problem what.. services is running but cant connect.

############################################################################################

4th part

#netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:2544 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
tcp 0 0 ::1:25 :::* LISTEN
tcp 0 0 172.30.11.103:22 172.30.11.104:2076 ESTABLISHED
tcp 0 52 172.30.11.103:22 172.30.11.104:1912 ESTABLISHED
udp 0 0 172.30.11.103:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 172.30.11.103:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 :::177 :::*

my netstat dont have TCP for port 137-139
why like that?? any idea??

but the services is running, the port for TCP should be listening..
how come ?? any idea?? i am pretty sure the problem come from the TCP port is not listening but the service is running, the port should be listening.
any idea to force the port become listening?

my /var/log/samba/log.smbd has no error at all. everything is fine in log.

i dont know whether this is bug from samba or opensuse10.2


All times are GMT -5. The time now is 10:17 PM.