I upgraded a test server directly from 9.0 to 10.0 I'm having trouble now getting swat to run. (Samba Web Admin Tool) Any ideas welcome? === I've got it disabled currently in the xinit.d config while I'm troubleshooting. It appears to have been updated correctly # swat --version Version 3.0.20b-3.1-SUSE But this is showing up in warn when I try to run it: Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:map_parameter(2650) Dec 21 19:21:09 Forensic1000 swat[21988]: Unknown parameter encountered: "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:lp_do_parameter(3399) Dec 21 19:21:09 Forensic1000 swat[21988]: Ignoring unknown parameter "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] printing/print_cups.c:cups_cache_reload(85) Dec 21 19:21:09 Forensic1000 swat[21988]: Unable to connect to CUPS server localhost - Connection refused Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/access.c: check_access(328) Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: Denied connection from (0.0.0.0) -- Greg Freemyer The Norcross Group Forensics for the 21st Century
The problem was the only_from line in /etc/xinitd.d/swat I don't run X on my servers, so only having localhost access gave the impression of a failing service. Thanks Greg On 12/21/05, Greg Freemyer <greg.freemyer@gmail.com> wrote:
I upgraded a test server directly from 9.0 to 10.0
I'm having trouble now getting swat to run. (Samba Web Admin Tool)
Any ideas welcome? === I've got it disabled currently in the xinit.d config while I'm troubleshooting.
It appears to have been updated correctly # swat --version Version 3.0.20b-3.1-SUSE
But this is showing up in warn when I try to run it: Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:map_parameter(2650) Dec 21 19:21:09 Forensic1000 swat[21988]: Unknown parameter encountered: "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:lp_do_parameter(3399) Dec 21 19:21:09 Forensic1000 swat[21988]: Ignoring unknown parameter "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] printing/print_cups.c:cups_cache_reload(85) Dec 21 19:21:09 Forensic1000 swat[21988]: Unable to connect to CUPS server localhost - Connection refused Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/access.c: check_access(328) Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: Denied connection from (0.0.0.0)
-- Greg Freemyer The Norcross Group Forensics for the 21st Century
-- Greg Freemyer The Norcross Group Forensics for the 21st Century
On Wed, 21 Dec 2005 17:33:58 -0500, you wrote:
The problem was the only_from line in /etc/xinitd.d/swat
I don't run X on my servers, so only having localhost access gave the impression of a failing service.
Thanks Greg On 12/21/05, Greg Freemyer <greg.freemyer@gmail.com> wrote:
I upgraded a test server directly from 9.0 to 10.0
I'm having trouble now getting swat to run. (Samba Web Admin Tool)
Any ideas welcome? === I've got it disabled currently in the xinit.d config while I'm troubleshooting.
It appears to have been updated correctly # swat --version Version 3.0.20b-3.1-SUSE
But this is showing up in warn when I try to run it: Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:map_parameter(2650) Dec 21 19:21:09 Forensic1000 swat[21988]: Unknown parameter encountered: "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:lp_do_parameter(3399) Dec 21 19:21:09 Forensic1000 swat[21988]: Ignoring unknown parameter "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] printing/print_cups.c:cups_cache_reload(85) Dec 21 19:21:09 Forensic1000 swat[21988]: Unable to connect to CUPS server localhost - Connection refused Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/access.c: check_access(328) Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: Denied connection from (0.0.0.0)
-- Greg Freemyer The Norcross Group Forensics for the 21st Century
-- Greg Freemyer The Norcross Group Forensics for the 21st Century
Are you sure about that? That's not how I read those error messages at all. See my message in your previous thread. Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
On 12/21/05, Michael W Cocke <cocke@catherders.com> wrote:
On Wed, 21 Dec 2005 17:33:58 -0500, you wrote:
The problem was the only_from line in /etc/xinitd.d/swat
I don't run X on my servers, so only having localhost access gave the impression of a failing service.
Thanks Greg On 12/21/05, Greg Freemyer <greg.freemyer@gmail.com> wrote:
I upgraded a test server directly from 9.0 to 10.0
I'm having trouble now getting swat to run. (Samba Web Admin Tool)
Any ideas welcome? === I've got it disabled currently in the xinit.d config while I'm troubleshooting.
It appears to have been updated correctly # swat --version Version 3.0.20b-3.1-SUSE
But this is showing up in warn when I try to run it: Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:map_parameter(2650) Dec 21 19:21:09 Forensic1000 swat[21988]: Unknown parameter encountered: "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:lp_do_parameter(3399) Dec 21 19:21:09 Forensic1000 swat[21988]: Ignoring unknown parameter "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] printing/print_cups.c:cups_cache_reload(85) Dec 21 19:21:09 Forensic1000 swat[21988]: Unable to connect to CUPS server localhost - Connection refused Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/access.c: check_access(328) Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: Denied connection from (0.0.0.0)
-- Greg Freemyer The Norcross Group Forensics for the 21st Century
-- Greg Freemyer The Norcross Group Forensics for the 21st Century
Are you sure about that? That's not how I read those error messages at all. See my message in your previous thread.
Mike-
Mike, The error messages appear to have been totally misleading. Normally swat is run via initd/xinitd. My un-upgraded server was using initd. After the upgrade is was running xinitd which caused my problem due to the only_from parameter in the default swat config file. My troubleshooting effort of disabling xinitd then running swat from the command line seems to have been an inappropriate technique and caused faulty errors in the warn log. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
On Thursday, December 22, 2005 @ 6:04 AM, Greg Freemyer wrote: <snip>
Mike,
The error messages appear to have been totally misleading.
Normally swat is run via initd/xinitd.
My un-upgraded server was using initd. After the upgrade is was running xinitd which caused my problem due to the only_from parameter in the default swat config file.
My troubleshooting effort of disabling xinitd then running swat from the command line seems to have been an inappropriate technique and caused faulty errors in the warn log.
Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
This one got me too, back a few months ago. I hadn't used swat since switching to XINETD, so I was surprised and confused when I wasn't allowed to connect to SWAT from another computer on my network. Somehow, I got the idea to check a book I had on Samba before doing any hacking and there was a snippet of an XINETD smb.conf file that showed that "only from" line. Good luck part 2 was that I actually managed to key in on that line and realize that could be my problem. I tried commenting it out just to see if it fixed my problem which, of course, it did. This is one of those cases where 9 out of 10 times I'd have gone off in all sorts of directions trying different changes to the system to try to make it work, spending tons of time in the process. Having that Samba manual handy, it having that example, and me actually spotting that line right away saved me a lot of pain. As far as "only-from" being the default option, I guess that's another example of how the explosion of viruses and spyware has all of the software people going with max protection as their default. That way, if you get bit, you can't blame them for not having tight enough security. Greg Wallace
On Wed, 21 Dec 2005 17:13:35 -0500, you wrote:
I upgraded a test server directly from 9.0 to 10.0
I'm having trouble now getting swat to run. (Samba Web Admin Tool)
Any ideas welcome? === I've got it disabled currently in the xinit.d config while I'm troubleshooting.
It appears to have been updated correctly # swat --version Version 3.0.20b-3.1-SUSE
But this is showing up in warn when I try to run it: Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:map_parameter(2650) Dec 21 19:21:09 Forensic1000 swat[21988]: Unknown parameter encountered: "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] param/loadparm.c:lp_do_parameter(3399) Dec 21 19:21:09 Forensic1000 swat[21988]: Ignoring unknown parameter "character set" Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] printing/print_cups.c:cups_cache_reload(85) Dec 21 19:21:09 Forensic1000 swat[21988]: Unable to connect to CUPS server localhost - Connection refused Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/access.c: check_access(328) Dec 21 19:21:09 Forensic1000 swat[21988]: [2005/12/21 19:21:09, 0] lib/util_sock.c:get_peer_addr(1222) Dec 21 19:21:09 Forensic1000 swat[21988]: getpeername failed. Error was Socket operation on non-socket Dec 21 19:21:09 Forensic1000 swat[21988]: Denied connection from (0.0.0.0)
-- Greg Freemyer The Norcross Group Forensics for the 21st Century
Your samba upgrade didn't work cleanly, specifically the libraries. My suggestion would be to upgrade to the latest from samba.org, and install ALL of the componants. I ran into a few odd errrors in the most recent suse samba and upgrading to the samba.org samba seems (so far, still testing) to have solved them. Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
participants (3)
-
Greg Freemyer
-
Greg Wallace
-
Michael W Cocke