{"id":108,"date":"2009-09-30T11:47:11","date_gmt":"2009-09-30T16:47:11","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=108"},"modified":"2009-09-30T11:49:45","modified_gmt":"2009-09-30T16:49:45","slug":"sd-ux-locked-diagnostic-steps","status":"publish","type":"post","link":"https:\/\/www.hpux.ws\/?p=108","title":{"rendered":"SD-UX Locked. Diagnostic steps."},"content":{"rendered":"<p>Problem: After being Ignited superman lost most sd-ux functionality.<\/p>\n<p>Note: superman (not its real name) is a vpar running on a superdome complex.\u00a0 Only swlist works, swreg -l depot, swinstall -i, swverify all fail with the same error.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>ERROR:\u00a0 \u00a0&#8220;spuerman\/&#8221;:\u00a0 You do not have the required permissions to<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0\u00a0 select this target.\u00a0 Check permissions using the &#8220;swacl&#8221;<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0\u00a0 command or see your system administrator for assistance.\u00a0 Or,<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0\u00a0 to manage applications designed and packaged for nonprivileged<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0\u00a0 mode, see the &#8220;run_as_superuser&#8221; option in the &#8220;sd&#8221; man page.<br \/>\n\u00a0 \u00a0\u00a0 \u00a0 * Target connection failed for &#8220;zrtph0v0:\/&#8221;.<br \/>\nERROR:\u00a0 \u00a0More information may be found in the daemon logfile on this<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0\u00a0 target (default location is<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 superman:\/var\/adm\/sw\/swagentd.log).<br \/>\n\u00a0 \u00a0\u00a0 \u00a0 * Selection had errors.<\/p>\n<p>Standard techniques say check:<\/p>\n<p>\/sbin\/init.d\/swagentd stop<\/p>\n<p>\/sbin\/init.d\/swagentd start<\/p>\n<p>Check \/etc\/hosts networking is consistent.<\/p>\n<p>Make sure \/etc\/nsswitch.conf is present and makes sense.<\/p>\n<p>Check permissions on \/var\/tmp and all the swagent files.<\/p>\n<p>None of this worked.<\/p>\n<p>swlist -i -s $PWD in a depot generated the following error taken from ITRC because the system is already fixed.:<\/p>\n<p>swacl -l host @ superman<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>List swacl generates this:<\/p>\n<p>Util_Random internal error:\u00a0 Read of \/dev\/urandom failed, rv=-1, size=8, No such device (19).<\/p>\n<p>There were a series of other errors all pointing to \/dev\/urandom<\/p>\n<p>lsdev showed that \/urandom did not load the kernel module rng (Randome Number Generator).<br \/>\nDetail\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/sam\/tui\/kc\/modulemod.sh rng<br \/>\nDetail\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/sbin\/kcmodule -a -P ALL<\/p>\n<p>This is normal output. Before the system was fixed the system did not show the module running.<\/p>\n<p>lsdev | grep rng<\/p>\n<p>138\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 rng\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 pseudo<\/p>\n<p>Fix was to unload the rng module in the kernel (using sam SEP cheats)<br \/>\nThen we loaded it. In spite of being listed as dynamic a reboot was required to restore sd-ux functionality.<\/p>\n<p>Actual source of the problem: Ignite image of\u00a0supergirl did not exclude the \/dev\/ &#8220;files&#8221; This cause the wrong kernel module to be loaded with the \/dev\/urandom &#8220;file&#8221; driver. Normally this is not a problem becuase \/dev is crecreated but for some reason \/dev\/udandom was not loading the kernel module rng<\/p>\n<p>Ignite excludes have been updated to exclude these files and the system will be re-ignited to make sure nothing else bad happens.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem: After being Ignited superman lost most sd-ux functionality. Note: superman (not its real name) is a vpar running on a superdome complex.\u00a0 Only swlist works, swreg -l depot, swinstall -i, swverify all fail with the same error. \u00a0 \u00a0 ERROR:\u00a0 \u00a0&#8220;spuerman\/&#8221;:\u00a0 You do not have the required permissions to \u00a0 \u00a0 \u00a0 \u00a0\u00a0 select [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/108"}],"collection":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=108"}],"version-history":[{"count":0,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/108\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}