Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Leonardo Carneiro
ldap is running fine. it looks like my winbind init script corrupted in 
one of the power cuts. replacing with the backup solved the problem. tks 
for all the effort and sorry about my poor english.


Adam Williams escreveu:
are you sure that ldap is running ok?  i find that slapd on openldap 
doesn't like unclean shutdowns.

Leonardo Carneiro wrote:
Guys, you won't believe, but after ANOTHER unexpected power cut, the 
server is now running... kind off. After the unexpected reboot  (my 
nobreaks aren't working) the command at least returns me a message 
requiring the password, but i cannot authenticate.
same in windows. when i give a \\192.168.0.2, it does require the 
password, but i cannot authenticate. again, my, ldap backend is fine.


Olivier Nicole escreveu:
'smbclient -L 127.0.0.1 -U lscarneiro' returns me the following 
message:


Connection to 127.0.0.1 failed (Error 
NT_STATUS_CONNECTION_REFUSED)



To me too, but I think that your smbclient command is not valid.

It should rather be -I 127.0.0.1 I think.

By the way, are you sure that your Samba server should be responding
to the loopback address? Here it is not. Try 'netstat -na|grep 445'
and see what IP address is listening.

You write that:

 

the samba server indeed starts



But does it successfully start? Is it still runninng?

Try 'ps auwx|grep mdb' you should see the nmbd and smbd processes.

Bests,

Olivier

  







--

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br 
http://www.veltrac.com.br 
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Adam Williams
are you sure that ldap is running ok?  i find that slapd on openldap 
doesn't like unclean shutdowns. 


Leonardo Carneiro wrote:
Guys, you won't believe, but after ANOTHER unexpected power cut, the 
server is now running... kind off. After the unexpected reboot  (my 
nobreaks aren't working) the command at least returns me a message 
requiring the password, but i cannot authenticate.
same in windows. when i give a \\192.168.0.2, it does require the 
password, but i cannot authenticate. again, my, ldap backend is fine.


Olivier Nicole escreveu:
'smbclient -L 127.0.0.1 -U lscarneiro' returns me the following 
message:


Connection to 127.0.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED)



To me too, but I think that your smbclient command is not valid.

It should rather be -I 127.0.0.1 I think.

By the way, are you sure that your Samba server should be responding
to the loopback address? Here it is not. Try 'netstat -na|grep 445'
and see what IP address is listening.

You write that:

 

the samba server indeed starts



But does it successfully start? Is it still runninng?

Try 'ps auwx|grep mdb' you should see the nmbd and smbd processes.

Bests,

Olivier

  




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Charles Marcus
On 7/7/2009, Leonardo Carneiro (lscarne...@veltrac.com.br) wrote:
> Guys, you won't believe, but after ANOTHER unexpected power cut,

1st rule for critical systems is, make sure you don't have 'unexpected
power cuts'...

Do you not have a decent UPS on this system? Is it not set to safely
shut down the system in the event of a prolonged power outage?

-- 

Best regards,

Charles
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Mogens Kjaer

On 07/07/2009 12:42 PM, Leonardo Carneiro wrote:
...

i'm already going nuts with this. every user on my network is screaming
in my phone =S


Have you checked the log files?

Increase log level if necessary.

Mogens


--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: m...@crc.dk Homepage: http://www.crc.dk
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Leonardo Carneiro
Guys, you won't believe, but after ANOTHER unexpected power cut, the 
server is now running... kind off. After the unexpected reboot  (my 
nobreaks aren't working) the command at least returns me a message 
requiring the password, but i cannot authenticate.
same in windows. when i give a \\192.168.0.2, it does require the 
password, but i cannot authenticate. again, my, ldap backend is fine.


Olivier Nicole escreveu:
'smbclient -L 127.0.0.1 -U 
lscarneiro' returns me the following message:


Connection to 127.0.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED)



To me too, but I think that your smbclient command is not valid.

It should rather be -I 127.0.0.1 I think.

By the way, are you sure that your Samba server should be responding
to the loopback address? Here it is not. Try 'netstat -na|grep 445'
and see what IP address is listening.

You write that:

  

the samba server indeed starts



But does it successfully start? Is it still runninng?

Try 'ps auwx|grep mdb' you should see the nmbd and smbd processes.

Bests,

Olivier

  


--

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br 
http://www.veltrac.com.br 
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Olivier Nicole
> 'smbclient -L 127.0.0.1 -U 
> lscarneiro' returns me the following message:
> 
> Connection to 127.0.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED)

To me too, but I think that your smbclient command is not valid.

It should rather be -I 127.0.0.1 I think.

By the way, are you sure that your Samba server should be responding
to the loopback address? Here it is not. Try 'netstat -na|grep 445'
and see what IP address is listening.

You write that:

> the samba server indeed starts

But does it successfully start? Is it still runninng?

Try 'ps auwx|grep mdb' you should see the nmbd and smbd processes.

Bests,

Olivier
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Leonardo Carneiro
yes, i can. i have other services relying on ldap, and they are running 
fine.
the samba server indeed starts, but a 'smbclient -L 127.0.0.1 -U 
lscarneiro' returns me the following message:


   Connection to 127.0.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED)

i'm already going nuts with this. every user on my network is screaming 
in my phone =S


tks in advance for any help

jamrock escreveu:

"Leonardo Carneiro"  wrote in message
news:4a5268e1.2080...@veltrac.com.br...
hello guys,

after a power cut in this weekend, the filesystem of the machine running
samba+ldap currupted. i did a fsck and every other services in the
machine are running fine now, but i cannot access the samba shares and
cannot join/log in the domain.
in the windows machines it just show a message "the network path is not
found".

Can you search the ldap directory using the standard ldap tools.  e.g.
ldapsearch?

If not, the problem could be with ldap and not Samba.



  


--

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br 
http://www.veltrac.com.br 
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Re: can't access samba PDC after power cut

2009-07-06 Thread jamrock
"Leonardo Carneiro"  wrote in message
news:4a5268e1.2080...@veltrac.com.br...
hello guys,

after a power cut in this weekend, the filesystem of the machine running
samba+ldap currupted. i did a fsck and every other services in the
machine are running fine now, but i cannot access the samba shares and
cannot join/log in the domain.
in the windows machines it just show a message "the network path is not
found".

Can you search the ldap directory using the standard ldap tools.  e.g.
ldapsearch?

If not, the problem could be with ldap and not Samba.



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba