Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] loader exception - where to find ActivePITMember with sourceId= ?

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] loader exception - where to find ActivePITMember with sourceId= ?


Chronological Thread 
  • From: Baron Fujimoto <>
  • To: Shilen Patel <>
  • Cc: Grouper Users <>
  • Subject: Re: [grouper-users] loader exception - where to find ActivePITMember with sourceId= ?
  • Date: Mon, 28 Jan 2019 15:50:50 -1000
  • Ironport-phdr: 9a23:uMfRKBRQTT86VQ+Lp2UOUGJpAdpsv+yvbD5Q0YIujvd0So/mwa6yYhON2/xhgRfzUJnB7Loc0qyK6/CmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRPDI28cYUBEukPPehXoIbhulQAohmxCge3CePzyTJFnGP60bEg3ukjFwzNwQwuH8gJsHTRtNj4Kb0dUfqyzKnO0D7Nb+5W2TX86IjNdRAhvfaMVq93fMXK00YvDQTFjlOLpIzlJTyU2P4Cs2ma7+Z6S+2glnMnphh3rzOyyMksjYzJiZgUylDC7Sh52Jw1Jdq/SE51ed6kF5pQtyeGN4dsXswiRGRotSAnwbMFoZ62ZDYGxZU7yxPdbvGHfYuF7Qn/WOuULjp1h3Nodb26ihqs7UStz+jxW8a63VtKtiZJj8fAu3MX2xDO6MWLV+Fx8lq71TqR0Q3Y9/tKLloulaXBLp4s2r4wmYQXsUTEBiL2nV/5jK6Sdkk94uio5fnrbqzpp5KTOYJ5ihvyMqspmsy4DuQ4NhYBU3KH9uS70b3v5Uz5QLNUgf0qiqTVrpHXKdgZq6O8DQ9Y0Z0s5wq6Ajqp09kVnHYKIVdbdB6bioXkPl7DLf74APunhlSjijZrx/TIPr37BZXNK2DOn6z7crZn7E5czhE+zdBF6JNaEL4BIfPzVlXvu9PFEx81Kxa0zPr/CNVhyoMeXnqCAqCDMKPVrF+I/vwgI/OVaI8IozbyNeIl5+X1gH89mF8dZrWp3YANZHC5GPRmP1uWYWDqgtgfDWcGoBAyQ/L3h12fAnZvYCOJX6M46zdzMIu6AIOLEputgbiM2g+3A55bIG1KFwbfP23vctCuUu0Lbmq8P81glzsYUvD1QYY70heGtAblwrtmaOfY53tL5trYyNFp6riLxlkJ/jtuApHYijnVQg==

Ok, more progress. Apparently MySQL doesn't support the Oracle syntax used in
the examples there. Had to remove the BEQUEATH, but also the FORCE option and
the separate COMMENT (must be a CREATE option, I think) commands.

Also, "FUNCTION to_char does not exist" for the next select statement to find
the entries are in the change log temp for that id, so I nixed that as well.

Eventually though I was able to iterate though this enough that I could
identify all the broken entries and get the changeLogTempToChangeLog job to
run to completion. Mahalo!

On Sat, Jan 26, 2019 at 02:07:14AM +0000, Shilen Patel wrote:
>Try removing the ‘BEQUEATH DEFINER’ from that statement?
>
>Thanks!
>
>- Shilen
>
>On 1/25/19, 7:46 PM, "Baron Fujimoto" <> wrote:
>
> Thanks, this looks promising. I got as far as running
> edu.internet2.middleware.grouper.misc.SyncPITTables().syncAllPITTables(),
> but encountered syntax errors[*] trying to create
> GROUPER_CHANGE_LOG_TEMP_V... possibly due to our older version of MySQL.
> I'll see if I can sort them out and find workarounds to continue.
>
> [*] E.g.:
>
> ERROR 1064 (42000) at line 2: You have an error in your SQL syntax;
> check the manual that corresponds to your MySQL server version for the
> right syntax to use near 'BEQUEATH DEFINER
> AS
> SELECT gcle.created_on,
> gclt.change_log_categor' at line 33
>
>
> On Fri, Jan 25, 2019 at 08:16:10PM +0000, Shilen Patel wrote:
> >Does it seem like this issue?
> >
>
> >https://urldefense.proofpoint.com/v2/url?u=https-3A__spaces.at.internet2.edu_display_Grouper_Change-2Blog-2Band-2Bpoint-2Bin-2Btime-2Bordering-2Bissue&d=DwIDaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=sWqutME58phurE0oO57Icg&m=evpk0uCTtJqo91Lycfe_5dNknKKKHgfuGSyRKX77K08&s=Z0VnNzLp1zSaYEJt9r6mCwBRYrMs_oKNs4tEEA-LA88&e=
> >
> >If so, it was fixed in a 2.3 patch. But the wiki tells you how to
> update the timestamp in the temp changelog to get past it if you don’t have
> the patch.
> >
> >- Shilen
> >
> >On 1/25/19, 2:57 PM, " on behalf of
> Baron Fujimoto" < on behalf of
> > wrote:
> >
> > Every so often when running
> loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog") from gsh, we
> encounter errors aprently due to table/entry inconsistencies that I have to
> manually try to hunt down and clean up (I don't know what the root cause of
> these inconsistencies might be).
> >
> > Today, the current exception is:
> >
> > // Error: unable to evaluate command: Sourced file: inline
> evaluation of: ``loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog");''
> : Error invoking compiled command: : Error in compiled command:
> java.lang.RuntimeException: java.lang.RuntimeException: Active PITMember
> with sourceId=4d799e6a04594a128af363db89478f3b not found,
> > Problem in HibernateSession: HibernateSession (4087f108): new,
> notReadonly, READ_WRITE_NEW, notActiveTransaction, session (1e769d81)
> >
> > I'm not sure where to find this offending entry though. I've
> attempted to search the grouper_pit_* tables for a source_id column with
> that value without success, but perhaps/probably it's in some other table
> under different column that is being used as the source_id? Any tips
> tracking this down?
>
> --
> Baron Fujimoto <> :: UH Information Technology Services
> minutas cantorum, minutas balorum, minutas carboratum desendus pantorum
>
>

--
Baron Fujimoto <> :: UH Information Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum



Archive powered by MHonArc 2.6.19.

Top of Page