Sunday, August 2, 2009

Linux server trouble after Daylight savings "fix"?

I'm running a network for a small company until we get a sysadmin, here's a little background:





We have a Gentoo linux server and a windows 2003 server linked with samba. All the client machines have their internet access through windows, and intranet access through linux. their clocks sync to the windows server, but the gentoo server does not.





I tried changing the DST info on our linux server, and now when users restart their computers, they can't access any network files. They are prompted for a password, but it always fails. I checked the smbd logs, and I see a lot of:





[2007/03/12 10:59:48, 0] lib/debug.c:reopen_logs(589)


Unable to open new log file /var/log/samba3/log.xx.xx.x.xxx: No such file or directory





and stuff like that. I have no clue where to go from there. I can ping the linux server just fine from any machine, and those who don't restart their computer are fine. Any ideas?

Linux server trouble after Daylight savings "fix"?
To be honest changing the date should not break your linux machine. Make sure you change the date in the bios before booting the OS. If that does not work see if you can connect to the windows network from your linux machine. use the smb:// prefix to go to the windows networks.





Good luck





RJ
Reply:I dont use Samaba that often but did you try just restarting the samba service after you changed the time? That should rebuild the log file you appear to be missing.





Command line would be


service samba restart





This should be done on your Gentoo server.


see what happens.





Added - OK, you restarted Samba then the server now no one connects? What does the client get when attempting to connect? Is there an error message? Is the log file still saying its the issue? Look in the secure log on the Gentoo server and see if it is username/password rejections.


Changing the date really should not have ANY effect at all on your samba setup. The clues are needed to assist.
Reply:Try asking at:


No comments:

Post a Comment