PDA

View Full Version : SMT Client stop working after last update



mvisconti
29-Sep-2011, 11:16
After the last update of SMT, the clients are unable to get jobs from
the server.
The process smt-agent is blocked (the message is "Error: Cannot open
Lock. Process still running?"), and the client receive the 404 error
from smt server (object not found).

In /var/log/apache2/error_log i see the error

Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/JobQueue.pm line 276

Anyone has any suggestion?

Thanks


--
mvisconti
------------------------------------------------------------------------
mvisconti's Profile: http://forums.novell.com/member.php?userid=97561
View this thread: http://forums.novell.com/showthread.php?t=445758

Automatic Reply
04-Oct-2011, 18:04
mvisconti,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/

ollenburg
05-Oct-2011, 15:06
Same problem here as well!
The agents ask for their referring job - everything is fine with the
database as far as I can see - but the SMT server returns a HTTP-error
404 - Page not found - including the mentioned log entry regarding the
variable. The major problem is that the agents to not finish their
connection and the SMT server gets filled up with network connections in
a FIN_WAIT-state.

Any news on this?
Greetings from Germany
Andreas


--
ollenburg
------------------------------------------------------------------------
ollenburg's Profile: http://forums.novell.com/member.php?userid=10428
View this thread: http://forums.novell.com/showthread.php?t=445758

mvisconti
05-Oct-2011, 16:46
Hi Andreas

We don't have a solution yet. I confirm that the SMT server gets filled
up with network connections.

Marco (from Italy)


--
mvisconti
------------------------------------------------------------------------
mvisconti's Profile: http://forums.novell.com/member.php?userid=97561
View this thread: http://forums.novell.com/showthread.php?t=445758

lixner
10-Oct-2011, 13:36
Same problem here, as a temporary fix we downgrade smt to 1.1.21 and
lock the package (zypper in smt-1.1.21 && zypper al smt)

but now we get a daily error from our update script:

SCRIPT: opensuse.org-online_update exited with RETURNCODE = 4.
SCRIPT: output (stdout && stderr) follows

Problem: patch:slesmtsp0-res-signingkeys-5162.noarch conflicts with
smt.x86_64 < 1.1.22-0.2.1 provided by smt-1.1.21-0.2.1.x86_64
Solution 1: do not keep smt-1.1.21-0.2.1.x86_64 installed
Solution 2: do not install
patch:slesmtsp0-res-signingkeys-5162.noarch

Choose from above solutions by number or cancel [1/2/c] (c): c

Any help would be appreciated.

Best regards,

Lars


--
lixner
------------------------------------------------------------------------
lixner's Profile: http://forums.novell.com/member.php?userid=110760
View this thread: http://forums.novell.com/showthread.php?t=445758

MHGlenn
10-Oct-2011, 18:06
Ditto here.
I've filed a bug report.

> ....
> _20-Product: SMT 1.1.22-0.2.1
> _21-Defect: SMT agent queries to the server fail with a 404 response.
> in the apache2 error log, seeing "Use of uninitialized value in
> concatenation (.) or string at
> /var/lib/perl5/vendor_perl/5.10.0/SMT/Jobqueue.pm line 276."
> Consequently, the smt agents fail to disconnect, eventually filling
> Apache's connections to capacity.
> _22-Other_Product: n/a
> _23-Steps: Have SMT running latest set of updates.
> _24-Other_Scenarios: Didn't try others
> _25-Environment_Description: SLES-11-SP1 server; SLES-10-SP3,
> SLES-11-SP1 and SLED-11-SP1 agents.
> _26-Reported: Production
> _27-Testing_Environment: Didn't try that
> _28-Fix: n/a
> _22-Additional: /var/lib/perl5/vendor_perl/5.10.0/SMT/Jobqueue.pm line
> 276 reads:
>
> return undef unless ( ''.$xmljob->guid() eq "$guid" );
>
> _29-Patch: 1.1.22-0.2.1
>
>


--
MHGlenn
------------------------------------------------------------------------
MHGlenn's Profile: http://forums.novell.com/member.php?userid=6822
View this thread: http://forums.novell.com/showthread.php?t=445758

ataschner
11-Oct-2011, 08:26
Hi
MHGlenn;2145170 Wrote:
> Ditto here.
> I've filed a bug report.
Do you have a bug number ? I would like to follow up on that.
Thanks
//Andreas


--
ataschner
------------------------------------------------------------------------
ataschner's Profile: http://forums.novell.com/member.php?userid=7706
View this thread: http://forums.novell.com/showthread.php?t=445758

MHGlenn
11-Oct-2011, 13:26
ataschner;2145325 Wrote:
>
> Do you have a bug number ? I would like to follow up on that.
> Thanks
> //Andreas

So far, all I've received is an automated response.
:\


--
MHGlenn
------------------------------------------------------------------------
MHGlenn's Profile: http://forums.novell.com/member.php?userid=6822
View this thread: http://forums.novell.com/showthread.php?t=445758

ataschner
13-Oct-2011, 09:26
Hi

I have created a bug (bnc#723583) for this urgent issue and a fix is in
the works.
Will update here once I know more.
//Andreas


--
ataschner
------------------------------------------------------------------------
ataschner's Profile: http://forums.novell.com/member.php?userid=7706
View this thread: http://forums.novell.com/showthread.php?t=445758

ataschner
25-Oct-2011, 07:36
JFYI the bug is still being investigated. It is not an easy one, but I
will post here once we have a fix.
//Andreas


--
ataschner
------------------------------------------------------------------------
ataschner's Profile: http://forums.novell.com/member.php?userid=7706
View this thread: http://forums.novell.com/showthread.php?t=445758

ollenburg
26-Oct-2011, 07:36
Hi Andreas,

thanks for the update. Really looking forward for the solution. I guess
there is no working workaround at the moment?

Greetings
Andreas


--
ollenburg
------------------------------------------------------------------------
ollenburg's Profile: http://forums.novell.com/member.php?userid=10428
View this thread: http://forums.novell.com/showthread.php?t=445758

ataschner
27-Oct-2011, 08:36
Hi Andreas and all
ollenburg;2148888 Wrote:
>
> thanks for the update. Really looking forward for the solution. I guess
> there is no working workaround at the moment?
>
Workaround would be to downgrade smt to 1.1.21.
However that is not needed any more, since the problem is now fixed and
the patch is expected to be included in a on of the next maintenance
updates to the smt and smt-client packages.
Both the smt (and smt-support) packages on the SMT server as well as
the smt-client on the "managed" clients must be updated.

For those in desparate need of a resolution, we have created a
so-called mass PTF, which is a fully supported version of the packages
in question.

The packages are available here :
smt and smt-client for SMT11:
https://you.novell.com/update/x86_64/update/SUSE-SLES/11/PTF/f2cf38b50ed714a8409693060195b235/20111026
https://you.novell.com/update/s390x/update/SUSE-SLES/11/PTF/f2cf38b50ed714a8409693060195b235/20111026
https://you.novell.com/update/i386/update/SUSE-SLES/11/PTF/f2cf38b50ed714a8409693060195b235/20111026

smt-client for SLES11 SP1:
https://you.novell.com/update/x86_64/update/SUSE-SLES/11/PTF/f2cf38b50ed714a8409693060195b235/20111026-1
https://you.novell.com/update/s390x/update/SUSE-SLES/11/PTF/f2cf38b50ed714a8409693060195b235/20111026-1
https://you.novell.com/update/i386/update/SUSE-SLES/11/PTF/f2cf38b50ed714a8409693060195b235/20111026-1

Please be sure to take the smt-client
(smt-client-0.0.14-0.3.1.3604.0.PTF.723901) from the latter block if you
are running SLE11SP1.
The smt-client-0.0.13-0.1.1.3573.1.PTF.723901 package in the SMT
directory is built only to comply with versioning policies.

//Andreas (T)


--
ataschner
------------------------------------------------------------------------
ataschner's Profile: http://forums.novell.com/member.php?userid=7706
View this thread: http://forums.novell.com/showthread.php?t=445758

mvisconti
28-Oct-2011, 10:56
Many thanks for the support.

Marco


--
mvisconti
------------------------------------------------------------------------
mvisconti's Profile: http://forums.novell.com/member.php?userid=97561
View this thread: http://forums.novell.com/showthread.php?t=445758

MHGlenn
28-Oct-2011, 13:46
I await said maintenance update with both bated breath and overflowing
mailboxes. Any ETA?

Thanks.


--
MHGlenn
------------------------------------------------------------------------
MHGlenn's Profile: http://forums.novell.com/member.php?userid=6822
View this thread: http://forums.novell.com/showthread.php?t=445758

ataschner
31-Oct-2011, 08:26
Hi
MHGlenn;2149712 Wrote:
> I await said maintenance update with both bated breath and overflowing
> mailboxes. Any ETA?
>
Why are you awaiting the maintenance update when a PTF is available ?
A Problem Temporary Fix has only undergone limited testing (no QA like
maintenance updates), but is fully supported until the patch(es) it
contains is/are included in a maintenance update.
//Andreas


--
ataschner
------------------------------------------------------------------------
ataschner's Profile: http://forums.novell.com/member.php?userid=7706
View this thread: http://forums.novell.com/showthread.php?t=445758

ollenburg
31-Oct-2011, 12:36
Hi,

great news. Thanks. I installed the server and client on the SMT server
and it works.

BUT then I installed the SMT-client on a managed server (sles11sp1
32bit) and when running "smt-agent" I got this:
"Can't locate XML/XPath.pm in @INC (@INC contains:
/usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/Agent/RestXML.pm line 14.
BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/Agent/RestXML.pm line 14.
Compilation failed in require at /usr/sbin/smt-agent line 7.
BEGIN failed--compilation aborted at /usr/sbin/smt-agent line 7."

Uninstalling and installing the prior version there is no error. Any
ideas?

Greetings
Andreas


--
ollenburg
------------------------------------------------------------------------
ollenburg's Profile: http://forums.novell.com/member.php?userid=10428
View this thread: http://forums.novell.com/showthread.php?t=445758

ollenburg
31-Oct-2011, 12:46
When installing perl-XML-XPath-1.13-74.15 even the latest SMT-client ist
working. Did I miss any prereqs?


--
ollenburg
------------------------------------------------------------------------
ollenburg's Profile: http://forums.novell.com/member.php?userid=10428
View this thread: http://forums.novell.com/showthread.php?t=445758

lollo10
31-Oct-2011, 14:56
Hi,
Got the same error above:
Can't locate XML/XPath.pm in @INC (@INC contains:
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/Agent/RestXML.pm line 14.
BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/Agent/RestXML.pm line 14.
Compilation failed in require at /usr/sbin/smt-agent line 7.
BEGIN failed--compilation aborted at /usr/sbin/smt-agent line 7.

Installed perl-XML-XPath
# zypper in perl-XML-XPath

Got a new error when running smt-agent:
Error: Unable to request next job : Can't connect to puppy.it.hb.se:443
(certificate verify failed)
You can disable hostname check by setting environment variable
PERL_LWP_SSL_VERIFY_HOSTNAME=0
LWP::Protocol::https::Socket: SSL connect attempt failed with unknown
errorerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed at /usr/lib/perl5/vendor_perl/5.10.0/LWP/Protocol/http.pm
line 57.

Any ideas?

//Per-Olof Axelsson


--
lollo10
------------------------------------------------------------------------
lollo10's Profile: http://forums.novell.com/member.php?userid=66069
View this thread: http://forums.novell.com/showthread.php?t=445758

ataschner
02-Nov-2011, 16:06
ollenburg;2150130 Wrote:
> When installing perl-XML-XPath-1.13-74.15 even the latest SMT-client ist
> working. Did I miss any prereqs?
I have no idea why that one is not pulled in automatically.
But it should be installed to resolve the problems reported here.
It has not been observed in any of our labs and a number of customers
have reported nothing but success with the PTF.
//Andreas


--
ataschner
------------------------------------------------------------------------
ataschner's Profile: http://forums.novell.com/member.php?userid=7706
View this thread: http://forums.novell.com/showthread.php?t=445758

ataschner
08-Nov-2011, 08:56
Hi
ollenburg;2150130 Wrote:
> When installing perl-XML-XPath-1.13-74.15 even the latest SMT-client ist
> working. Did I miss any prereqs?
This is/was caused by the rare situation, where a patch introduces a
new dependency/pre-req. In this case something unfortunately went wrong
in the patch creation/build process, so the dependency on perl-XML-XPath
did not make it into the PTF :-(
In the meantime, the updated SMT client (including the perl-XML-XPath
dependency) has been released publicly :

The packages can be found 'here'
(http://download.novell.com/patch/finder/#familyId=7261&productId=26322&dateRange=-1&startDate=11/02/2011&endDate=11/03/2011&priority=&distribution=&architecture=&keywords=smt-client).

//Andreas


--
ataschner
------------------------------------------------------------------------
ataschner's Profile: http://forums.novell.com/member.php?userid=7706
View this thread: http://forums.novell.com/showthread.php?t=445758