Discussion:
No such file or directory found & NT_STATUS_CONNECTION_REFUSED
Sachin Shanbhag
2014-08-10 23:38:00 UTC
Permalink
# /usr/local/samba/bin/smbclient -L localhost -U%
session setup failed: NT_STATUS_CONNECTION_REFUSED
i tried to clear the port but its not working take a look below


# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 127.0.0.1:5432 0.0.0.0:*
LISTEN 1388/postgres
tcp 0 0 127.0.0.1:953 0.0.0.0:*
LISTEN 1250/named
tcp 0 0 127.0.0.1:3306 0.0.0.0:*
LISTEN 1186/mysqld
tcp 0 0 10.1.9.29:53 0.0.0.0:*
LISTEN 1250/named
tcp 0 0 127.0.0.1:53 0.0.0.0:*
LISTEN 1250/named
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN 1104/sshd
tcp6 0 0 ::1:5432 :::*
LISTEN 1388/postgres
tcp6 0 0 ::1:953 :::*
LISTEN 1250/named
tcp6 0 0 127.0.0.1:8005 :::*
LISTEN 1749/java
tcp6 0 0 :::8080 :::*
LISTEN 1749/java
tcp6 0 0 :::80 :::*
LISTEN 1708/apache2
tcp6 0 0 :::53 :::*
LISTEN 1250/named
tcp6 0 0 :::22 :::*
LISTEN 1104/sshd

# rm /etc/portreserve/slapd
rm: cannot remove ?/etc/portreserve/slapd?: No such file or directory

please let me now what to do next ASAP....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/smb-clients/attachments/20140811/b892489b/attachment.html>
Juraj Pisar
2014-08-10 23:47:38 UTC
Permalink
Hi

try to start samba server (/etc/init.d/samba start)

I have no idea what are you trying to do by "rm /etc/portreserve/slapd"

Regards

Juraj

----- Original Message -----
From: "Sachin Shanbhag" <sachins1986 at gmail.com>
To: smb-clients at lists.samba.org
Sent: Monday, 11 August, 2014 1:38:00 AM
Subject: No such file or directory found & NT_STATUS_CONNECTION_REFUSED

# /usr/local/samba/bin/smbclient -L localhost -U%
session setup failed: NT_STATUS_CONNECTION_REFUSED
i tried to clear the port but its not working take a look below


# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 127.0.0.1:5432 0.0.0.0:*
LISTEN 1388/postgres
tcp 0 0 127.0.0.1:953 0.0.0.0:*
LISTEN 1250/named
tcp 0 0 127.0.0.1:3306 0.0.0.0:*
LISTEN 1186/mysqld
tcp 0 0 10.1.9.29:53 0.0.0.0:*
LISTEN 1250/named
tcp 0 0 127.0.0.1:53 0.0.0.0:*
LISTEN 1250/named
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN 1104/sshd
tcp6 0 0 ::1:5432 :::*
LISTEN 1388/postgres
tcp6 0 0 ::1:953 :::*
LISTEN 1250/named
tcp6 0 0 127.0.0.1:8005 :::*
LISTEN 1749/java
tcp6 0 0 :::8080 :::*
LISTEN 1749/java
tcp6 0 0 :::80 :::*
LISTEN 1708/apache2
tcp6 0 0 :::53 :::*
LISTEN 1250/named
tcp6 0 0 :::22 :::*
LISTEN 1104/sshd

# rm /etc/portreserve/slapd
rm: cannot remove ?/etc/portreserve/slapd?: No such file or directory

please let me now what to do next ASAP....

Loading...