{"id":3240,"date":"2018-06-28T14:54:59","date_gmt":"2018-06-28T19:54:59","guid":{"rendered":"http:\/\/lisa.rushworth.us\/?p=3240"},"modified":"2018-06-28T14:54:59","modified_gmt":"2018-06-28T19:54:59","slug":"gathering-info-for-oracle-oracle-unified-directory","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=3240","title":{"rendered":"Gathering Info For Oracle &#8211; Oracle Unified Directory"},"content":{"rendered":"<p>I&#8217;ve been opening a lot of tickets for Oracle Unified Directory bugs recently. To save time gathering, I put together a quick script that gathers the data for an initial ticket. It depends on having a $PKGDIRECTORY environment variable set to the installation directory, and the data is stashed in a gzip&#8217;d tar file in the \/tmp directory.<\/p>\n<p>Script:<\/p>\n<p>$PKGDIRECTORY\/Middleware\/asinst_1\/OUD\/bin\/start-ds -s &gt; \/tmp\/${HOSTNAME%%.*}-startds.txt<br \/>\n$PKGDIRECTORY\/Middleware\/asinst_1\/OUD\/bin\/status -D &#8220;cn=directory manager&#8221; -j ~\/pwd.txt &gt; \/tmp\/${HOSTNAME%%.*}-status.txt<\/p>\n<p>tar -cvzf \/tmp\/${HOSTNAME%%.*}.tgz \/tmp\/${HOSTNAME%%.*}-startds.txt \/tmp\/${HOSTNAME%%.*}-status.txt $PKGDIRECTORY\/Middleware\/asinst_1\/OUD\/logs\/access $PKGDIRECTORY\/Middleware\/asinst_1\/OUD\/logs\/admin $PKGDIRECTORY\/Middleware\/asinst_1\/OUD\/logs\/errors $PKGDIRECTORY\/Middleware\/asinst_1\/OUD\/logs\/replication $PKGDIRECTORY\/Middleware\/asinst_1\/OUD\/logs\/server.out<br \/>\nchmod o+r \/tmp\/${HOSTNAME%%.*}.tgz<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been opening a lot of tickets for Oracle Unified Directory bugs recently. To save time gathering, I put together a quick script that gathers the data for an initial ticket. It depends on having a $PKGDIRECTORY environment variable set to the installation directory, and the data is stashed in a gzip&#8217;d tar file in &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[550,591],"class_list":["post-3240","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-oracle-unified-directory","tag-oud"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3240"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3240\/revisions"}],"predecessor-version":[{"id":3241,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3240\/revisions\/3241"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}