Re: [Spacewalk-list] Antwort: Re: rhnpush fails with uninformative error msg

2016-05-25 Thread Lachlan Musicman
Thanks RP.

--
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 25 May 2016 at 22:28, Robert Paschedag  wrote:

> Right now, I have no more ideas :-(
>
> Maybe you should start tcpdump for further investigation.
>
> Regards
> Robert
> Am 25.05.2016 12:01 schrieb Lachlan Musicman :
>
> The command we are using (I'm not at work and don't have access to the
> servers atm, so this may not be 100% correct) is
>
> rhnpush --server localhost -u admin --channel slurm_16_05_rc2 *rpm
> --nosig
>
> How would be make it https?
>
> That is the same command on both machines (the one that works, the one
> that doesn't).
>
> Also, I've tried
>
> --server=https://localhost
> --server=http://localhost
> --server=http://
> --server=https://
> --server=http://
> --server=https://
>
> Although admittedly I've not personally tried those combinations since
> last Friday.
>
> Cheers
> L.
>
> --
> The most dangerous phrase in the language is, "We've always done it this
> way."
>
> - Grace Hopper
>
> On 25 May 2016 at 19:50, Robert Paschedag  wrote:
>
> Are you trying to push to http or https?
>
> If you are using http, maybe the problem is a redirect to https. Because
> you get the 302 codes.
>
> Regards
> Robert
> Am 25.05.2016 10:42 schrieb Lachlan Musicman :
>
> Yes and yes and yes. I've run the command at least 10 times a day on each
> server. They both have the same user and pw. I've passed the pw on the CLI
> via -p and I've typed it in. I've confirmed it's correct via the strace.
>
>
> L.
>
> --
> The most dangerous phrase in the language is, "We've always done it this
> way."
>
> - Grace Hopper
>
> On 25 May 2016 at 18:37, Robert Paschedag  wrote:
>
> So the command line looks the same on both systems... both systems are
> configured the same way?
>
> Stupid question, but credentials are OK?
>
> Robert
> Am 25.05.2016 08:32 schrieb Lachlan Musicman :
> >
> > Thanks for answering Robert, I appreciate it. I think that those log
> msgs were me casting about wildly for *anything*. I don't think they point
> to the problem.
> >
> > The one thing that I see that stands out more than anything else, is the
> lines
> >
> >  - - [20/May/2016:13:58:00 +1000] "GET /rhn/errors/500.jsp
> HTTP/1.1" 302 -
> >  - - [20/May/2016:13:58:00 +1000] "POST /rhn/errors/500.jsp
> HTTP/1.1" 302 -
> >  - - [20/May/2016:13:58:00 +1000] "POST
> /rhn/Login.do?url_bounce=/rhn/errors/500.jsp_method=POST HTTP/1.1"
> 200 5967
> >
> > These are seen on the server that isn't accepting rhnpush, in
> /var/log/tomcat/localhost_access_.txt
> >
> > I do not see these on the working server, at all.
> >
> > Today I did some straces - on each server - and while it's verbose and
> hard to pick apart, it looks like the error is similar to the above. ie,
> that the two straces appear very similar until just after the password is
> entered, and then the server that wont import files looks like this. Note
> that the post returns HTTP code 302:
> >
> > sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 581, 0, NULL, 0) = 581
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "3", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "0", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "2", 1, 0, NULL, NULL)  = 1
> >
> >
> >
> > On the working server it looks like this. Note that it 

Re: [Spacewalk-list] Antwort: Re: rhnpush fails with uninformative error msg

2016-05-25 Thread Robert Paschedag
Right now, I have no more ideas :-(
Maybe you should start tcpdump for further investigation.
Regards
Robert

Am 25.05.2016 12:01 schrieb Lachlan Musicman :The command we are using (I'm not at work and don't have access to the servers atm, so this may not be 100% correct) isrhnpush --server localhost -u admin --channel slurm_16_05_rc2 *rpm --nosig    How would be make it https?That is the same command on both machines (the one that works, the one that doesn't).Also, I've tried --server=https://localhost--server=http://localhost--server=http://--server=https://--server=http://--server=https://Although admittedly I've not personally tried those combinations since last Friday. CheersL.--The most dangerous phrase in the language is, "We've always done it this way."- Grace Hopper
On 25 May 2016 at 19:50, Robert Paschedag  wrote:Are you trying to push to http or https?
If you are using http, maybe the problem is a redirect to https. Because you get the 302 codes.
Regards
Robert

Am 25.05.2016 10:42 schrieb Lachlan Musicman :Yes and yes and yes. I've run the command at least 10 times a day on each server. They both have the same user and pw. I've passed the pw on the CLI via -p and I've typed it in. I've confirmed it's correct via the strace. L.--The most dangerous phrase in the language is, "We've always done it this way."- Grace Hopper
On 25 May 2016 at 18:37, Robert Paschedag  wrote:So the command line looks the same on both systems... both systems are configured the same way?

Stupid question, but credentials are OK?

Robert
Am 25.05.2016 08:32 schrieb Lachlan Musicman :
>
> Thanks for answering Robert, I appreciate it. I think that those log msgs were me casting about wildly for *anything*. I don't think they point to the problem.
>
> The one thing that I see that stands out more than anything else, is the lines
>
>  - - [20/May/2016:13:58:00 +1000] "GET /rhn/errors/500.jsp HTTP/1.1" 302 -
>  - - [20/May/2016:13:58:00 +1000] "POST /rhn/errors/500.jsp HTTP/1.1" 302 -
>  - - [20/May/2016:13:58:00 +1000] "POST /rhn/Login.do?url_bounce=/rhn/errors/500.jsp_method=POST HTTP/1.1" 200 5967
>
> These are seen on the server that isn't accepting rhnpush, in /var/log/tomcat/localhost_access_.txt
>
> I do not see these on the working server, at all.
>
> Today I did some straces - on each server - and while it's verbose and hard to pick apart, it looks like the error is similar to the above. ie, that the two straces appear very similar until just after the password is entered, and then the server that wont import files looks like this. Note that the post returns HTTP code 302:
>
> sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 581, 0, NULL, 0) = 581
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "3", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "0", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "2", 1, 0, NULL, NULL)  = 1
>
>
>
> On the working server it looks like this. Note that it returns HTTP code 200:
>
>
> sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 586, 0, NULL, 0) = 586
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, 

Re: [Spacewalk-list] Antwort: Re: rhnpush fails with uninformative error msg

2016-05-25 Thread Lachlan Musicman
The command we are using (I'm not at work and don't have access to the
servers atm, so this may not be 100% correct) is

rhnpush --server localhost -u admin --channel slurm_16_05_rc2 *rpm
--nosig

How would be make it https?

That is the same command on both machines (the one that works, the one that
doesn't).

Also, I've tried

--server=https://localhost
--server=http://localhost
--server=http://
--server=https://
--server=http://
--server=https://

Although admittedly I've not personally tried those combinations since last
Friday.

Cheers
L.

--
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 25 May 2016 at 19:50, Robert Paschedag  wrote:

> Are you trying to push to http or https?
>
> If you are using http, maybe the problem is a redirect to https. Because
> you get the 302 codes.
>
> Regards
> Robert
> Am 25.05.2016 10:42 schrieb Lachlan Musicman :
>
> Yes and yes and yes. I've run the command at least 10 times a day on each
> server. They both have the same user and pw. I've passed the pw on the CLI
> via -p and I've typed it in. I've confirmed it's correct via the strace.
>
>
> L.
>
> --
> The most dangerous phrase in the language is, "We've always done it this
> way."
>
> - Grace Hopper
>
> On 25 May 2016 at 18:37, Robert Paschedag  wrote:
>
> So the command line looks the same on both systems... both systems are
> configured the same way?
>
> Stupid question, but credentials are OK?
>
> Robert
> Am 25.05.2016 08:32 schrieb Lachlan Musicman :
> >
> > Thanks for answering Robert, I appreciate it. I think that those log
> msgs were me casting about wildly for *anything*. I don't think they point
> to the problem.
> >
> > The one thing that I see that stands out more than anything else, is the
> lines
> >
> >  - - [20/May/2016:13:58:00 +1000] "GET /rhn/errors/500.jsp
> HTTP/1.1" 302 -
> >  - - [20/May/2016:13:58:00 +1000] "POST /rhn/errors/500.jsp
> HTTP/1.1" 302 -
> >  - - [20/May/2016:13:58:00 +1000] "POST
> /rhn/Login.do?url_bounce=/rhn/errors/500.jsp_method=POST HTTP/1.1"
> 200 5967
> >
> > These are seen on the server that isn't accepting rhnpush, in
> /var/log/tomcat/localhost_access_.txt
> >
> > I do not see these on the working server, at all.
> >
> > Today I did some straces - on each server - and while it's verbose and
> hard to pick apart, it looks like the error is similar to the above. ie,
> that the two straces appear very similar until just after the password is
> entered, and then the server that wont import files looks like this. Note
> that the post returns HTTP code 302:
> >
> > sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 581, 0, NULL, 0) = 581
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "3", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "0", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "2", 1, 0, NULL, NULL)  = 1
> >
> >
> >
> > On the working server it looks like this. Note that it returns HTTP code
> 200:
> >
> >
> > sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 586, 0, NULL, 0) = 586
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, 

Re: [Spacewalk-list] Antwort: Re: rhnpush fails with uninformative error msg

2016-05-25 Thread Robert Paschedag
Are you trying to push to http or https?
If you are using http, maybe the problem is a redirect to https. Because you get the 302 codes.
Regards
Robert

Am 25.05.2016 10:42 schrieb Lachlan Musicman :Yes and yes and yes. I've run the command at least 10 times a day on each server. They both have the same user and pw. I've passed the pw on the CLI via -p and I've typed it in. I've confirmed it's correct via the strace. L.--The most dangerous phrase in the language is, "We've always done it this way."- Grace Hopper
On 25 May 2016 at 18:37, Robert Paschedag  wrote:So the command line looks the same on both systems... both systems are configured the same way?

Stupid question, but credentials are OK?

Robert
Am 25.05.2016 08:32 schrieb Lachlan Musicman :
>
> Thanks for answering Robert, I appreciate it. I think that those log msgs were me casting about wildly for *anything*. I don't think they point to the problem.
>
> The one thing that I see that stands out more than anything else, is the lines
>
>  - - [20/May/2016:13:58:00 +1000] "GET /rhn/errors/500.jsp HTTP/1.1" 302 -
>  - - [20/May/2016:13:58:00 +1000] "POST /rhn/errors/500.jsp HTTP/1.1" 302 -
>  - - [20/May/2016:13:58:00 +1000] "POST /rhn/Login.do?url_bounce=/rhn/errors/500.jsp_method=POST HTTP/1.1" 200 5967
>
> These are seen on the server that isn't accepting rhnpush, in /var/log/tomcat/localhost_access_.txt
>
> I do not see these on the working server, at all.
>
> Today I did some straces - on each server - and while it's verbose and hard to pick apart, it looks like the error is similar to the above. ie, that the two straces appear very similar until just after the password is entered, and then the server that wont import files looks like this. Note that the post returns HTTP code 302:
>
> sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 581, 0, NULL, 0) = 581
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "3", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "0", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "2", 1, 0, NULL, NULL)  = 1
>
>
>
> On the working server it looks like this. Note that it returns HTTP code 200:
>
>
> sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 586, 0, NULL, 0) = 586
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, revents=POLLIN}])
> 

Re: [Spacewalk-list] Antwort: Re: rhnpush fails with uninformative error msg

2016-05-25 Thread Lachlan Musicman
Yes and yes and yes. I've run the command at least 10 times a day on each
server. They both have the same user and pw. I've passed the pw on the CLI
via -p and I've typed it in. I've confirmed it's correct via the strace.


L.

--
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 25 May 2016 at 18:37, Robert Paschedag  wrote:

> So the command line looks the same on both systems... both systems are
> configured the same way?
>
> Stupid question, but credentials are OK?
>
> Robert
> Am 25.05.2016 08:32 schrieb Lachlan Musicman :
> >
> > Thanks for answering Robert, I appreciate it. I think that those log
> msgs were me casting about wildly for *anything*. I don't think they point
> to the problem.
> >
> > The one thing that I see that stands out more than anything else, is the
> lines
> >
> >  - - [20/May/2016:13:58:00 +1000] "GET /rhn/errors/500.jsp
> HTTP/1.1" 302 -
> >  - - [20/May/2016:13:58:00 +1000] "POST /rhn/errors/500.jsp
> HTTP/1.1" 302 -
> >  - - [20/May/2016:13:58:00 +1000] "POST
> /rhn/Login.do?url_bounce=/rhn/errors/500.jsp_method=POST HTTP/1.1"
> 200 5967
> >
> > These are seen on the server that isn't accepting rhnpush, in
> /var/log/tomcat/localhost_access_.txt
> >
> > I do not see these on the working server, at all.
> >
> > Today I did some straces - on each server - and while it's verbose and
> hard to pick apart, it looks like the error is similar to the above. ie,
> that the two straces appear very similar until just after the password is
> entered, and then the server that wont import files looks like this. Note
> that the post returns HTTP code 302:
> >
> > sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 581, 0, NULL, 0) = 581
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "3", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "0", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "2", 1, 0, NULL, NULL)  = 1
> >
> >
> >
> > On the working server it looks like this. Note that it returns HTTP code
> 200:
> >
> >
> > sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 586, 0, NULL, 0) = 586
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
> revents=POLLIN}])
> > recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
> > poll([{fd=3, 

Re: [Spacewalk-list] Antwort: Re: rhnpush fails with uninformative error msg

2016-05-25 Thread Robert Paschedag
So the command line looks the same on both systems... both systems are 
configured the same way?

Stupid question, but credentials are OK?

Robert
Am 25.05.2016 08:32 schrieb Lachlan Musicman :
>
> Thanks for answering Robert, I appreciate it. I think that those log msgs 
> were me casting about wildly for *anything*. I don't think they point to the 
> problem.
>
> The one thing that I see that stands out more than anything else, is the 
> lines 
>
>  - - [20/May/2016:13:58:00 +1000] "GET /rhn/errors/500.jsp 
> HTTP/1.1" 302 -
>  - - [20/May/2016:13:58:00 +1000] "POST /rhn/errors/500.jsp 
> HTTP/1.1" 302 -
>  - - [20/May/2016:13:58:00 +1000] "POST 
> /rhn/Login.do?url_bounce=/rhn/errors/500.jsp_method=POST HTTP/1.1" 
> 200 5967
>
> These are seen on the server that isn't accepting rhnpush, in 
> /var/log/tomcat/localhost_access_.txt
>
> I do not see these on the working server, at all.
>
> Today I did some straces - on each server - and while it's verbose and hard 
> to pick apart, it looks like the error is similar to the above. ie, that the 
> two straces appear very similar until just after the password is entered, and 
> then the server that wont import files looks like this. Note that the post 
> returns HTTP code 302:
>
> sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 581, 0, NULL, 0) = 581 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}]) 
> recvfrom(3, "H", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "P", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "/", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, ".", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, " ", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "3", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "0", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "2", 1, 0, NULL, NULL)  = 1 
>
>
>
> On the working server it looks like this. Note that it returns HTTP code 200:
>
>
> sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 586, 0, NULL, 0) = 586 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "H", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "T", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "P", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "/", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, ".", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "1", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, " ", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "2", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "0", 1, 0, NULL, NULL)  = 1 
> poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3, 
> revents=POLLIN}])
> recvfrom(3, "0", 1, 0, NULL, NULL)  = 1 
>
>
>
> Why is that? The configurations are as identical as possible. Idiot checked 
> for me by two 

Re: [Spacewalk-list] Antwort: Re: rhnpush fails with uninformative error msg

2016-05-25 Thread Lachlan Musicman
Thanks for answering Robert, I appreciate it. I think that those log msgs
were me casting about wildly for *anything*. I don't think they point to
the problem.

The one thing that I see that stands out more than anything else, is the
lines

 - - [20/May/2016:13:58:00 +1000] "GET /rhn/errors/500.jsp
HTTP/1.1" 302 -
 - - [20/May/2016:13:58:00 +1000] "POST /rhn/errors/500.jsp
HTTP/1.1" 302 -
 - - [20/May/2016:13:58:00 +1000] "POST
/rhn/Login.do?url_bounce=/rhn/errors/500.jsp_method=POST HTTP/1.1"
200 5967

These are seen on the server that isn't accepting rhnpush, in
/var/log/tomcat/localhost_access_.txt

I do not see these on the working server, at all.

Today I did some straces - on each server - and while it's verbose and hard
to pick apart, it looks like the error is similar to the above. ie, that
the two straces appear very similar until just after the password is
entered, and then the server that wont import files looks like this. Note
that the post returns HTTP code 302:

sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 581, 0, NULL, 0) = 581
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "3", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "0", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "2", 1, 0, NULL, NULL)  = 1



On the working server it looks like this. Note that it returns HTTP code
200:


sendto(3, "POST /APP HTTP/1.1\r\nHost: localh"..., 586, 0, NULL, 0) = 586
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "H", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "T", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "P", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "/", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, ".", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "1", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, " ", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "2", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "0", 1, 0, NULL, NULL)  = 1
poll([{fd=3, events=POLLIN}], 1, 12) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "0", 1, 0, NULL, NULL)  = 1



Why is that? The configurations are as identical as possible. Idiot checked
for me by two others.




--
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 24 May 2016 at 00:25,  wrote:

> The library looks the same to me, but the URL is different.
>
> Regards,
> Robert
>
> Mit freundlichen Grüßen
>
> Robert Paschedag
> Netlution GmbH
> Landteilstr. 33
> 68163 Mannheim
>
> im Auftrag des
> SWR
> Südwestrundfunk
> Informations- und Kommunikationssysteme
> Neckarstraße 230
> 70190 Stuttgart
>
>