<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sys-Admin Information&#039;s &#187; Problem</title>
	<atom:link href="http://sysinfo.bascomp.org/category/hpux/problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysinfo.bascomp.org</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 09:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Problems running glance on HP-UX</title>
		<link>http://sysinfo.bascomp.org/2009/05/problems-running-glance-on-hp-ux/</link>
		<comments>http://sysinfo.bascomp.org/2009/05/problems-running-glance-on-hp-ux/#comments</comments>
		<pubDate>Tue, 26 May 2009 06:27:13 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[Problem]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=236</guid>
		<description><![CDATA[Do you know what's glance?
Glance is a system performance monitoring and diagnostic capabilities software from HP. Glance is more powerful when your running on HP-UX environment, cause they collect all information that require for monitoring the system in a real time. But, there's no 100% perfect software, yesterday I have a little problem when running [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know what's glance?<br />
<a href="https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&#038;cp=1-11-15-28^9637_4000_100__">Glance</a> is a system performance monitoring and diagnostic capabilities software from <a href="http://www.hp.com">HP</a>. <a href="https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&#038;cp=1-11-15-28^9637_4000_100__">Glance</a> is more powerful when your running on <a href="http://en.wikipedia.org/wiki/HP-UX">HP-UX</a> environment, cause they collect all information that require for monitoring the system in a real time. But, there's no 100% perfect software, yesterday I have a little problem when running with glance, but as usually, we solve the problem like a pieces of cake.</p>
<p>here's the summary about the problem</p>
<blockquote><p>
== Fatal Nums Error == C.03.72.00 09/29/03  ==<br />
User:   aragon(/dev/pts/tf)   Date: Fri May 22 15:58:14<br />
File:   nums.C            Line: 479   Product id: Glance<br />
System: superdome B.11.11 9000/800<br />
Errno:  0 (Error 0)<br />
Connection to midaemon lost -- check midaemon process and status.mi<br />
== End of Error Msg =============================
</p></blockquote>
<p>Litte magic comes bellow</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">su</span> -
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> mwa stop
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-ef</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> midaemon
       root  <span style="color: #000000;">5005</span>     <span style="color: #000000;">1</span> <span style="color: #000000;">11</span> 09:<span style="color: #000000;">19</span>:<span style="color: #000000;">20</span> ?         <span style="color: #000000;">0</span>:<span style="color: #000000;">18</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>perf<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>midaemon
       root  <span style="color: #000000;">5680</span>  <span style="color: #000000;">2490</span>  <span style="color: #000000;">2</span> 09:<span style="color: #000000;">25</span>:<span style="color: #000000;">41</span> pts<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span>     <span style="color: #000000;">0</span>:00 <span style="color: #c20cb9; font-weight: bold;">grep</span> midaemon
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #660033;">-9</span> <span style="color: #000000;">5005</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> mwa start</pre></div></div>

<p>and then try glance again.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/05/problems-running-glance-on-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTP Refused connection on HP-UX</title>
		<link>http://sysinfo.bascomp.org/2009/05/ftp-refused-connection-on-hpux/</link>
		<comments>http://sysinfo.bascomp.org/2009/05/ftp-refused-connection-on-hpux/#comments</comments>
		<pubDate>Sat, 09 May 2009 05:27:23 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[Problem]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=225</guid>
		<description><![CDATA[When we try connected to HPUX server with FTP client with another user except root, sometimes we got a small problem with that.
But don't be afraid, we got some workaround here.
Ok now let's start the trial
1. First we try to connect to HPUX server with FTP from any client, with user "oracle".

bash&#62; ftp rohan
Connected to [...]]]></description>
			<content:encoded><![CDATA[<p>When we try connected to HPUX server with FTP client with another user except root, sometimes we got a small problem with that.<br />
But don't be afraid, we got some workaround here.</p>
<p>Ok now let's start the trial<br />
1. First we try to connect to HPUX server with FTP from any client, with user "oracle".</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span> rohan
Connected to rohan.
<span style="color: #000000;">220</span> rohan FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT2007<span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
User <span style="color: #7a0874; font-weight: bold;">&#40;</span>rohan:<span style="color: #7a0874; font-weight: bold;">&#40;</span>none<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: oracle
<span style="color: #000000;">331</span> Password required <span style="color: #000000; font-weight: bold;">for</span> oracle.
Password: <span style="color: #000000; font-weight: bold;">*****</span>
<span style="color: #000000;">530</span> Login incorrect.
Login failed.
<span style="color: #c20cb9; font-weight: bold;">ftp</span><span style="color: #000000; font-weight: bold;">&gt;</span> bye
<span style="color: #000000;">221</span> Goodbye.</pre></div></div>

<p>2. Logging all connection<br />
Back to HPUX, now we try to log all connection, including ftp.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> inetd <span style="color: #660033;">-l</span></pre></div></div>

<p>Check if the log was run properly</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>adm<span style="color: #000000; font-weight: bold;">/</span>syslog<span style="color: #000000; font-weight: bold;">/</span>syslog.log
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">35</span>:<span style="color: #000000;">51</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">22988</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT <span style="color: #000000;">2007</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">35</span>:<span style="color: #000000;">54</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">22988</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP LOGIN REFUSED <span style="color: #7a0874; font-weight: bold;">&#40;</span>shell not <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>shells<span style="color: #7a0874; font-weight: bold;">&#41;</span> FROM 10.14.14.12 <span style="color: #7a0874; font-weight: bold;">&#91;</span>10.14.14.12<span style="color: #7a0874; font-weight: bold;">&#93;</span>, oracle</pre></div></div>

<p><span id="more-225"></span></p>
<p>As you can see, inetd logging was run properly. But wait, see end of line of log, yes!! that the answer for that mysterious small problem on ftp connection.</p>
<p>3. Add user shell on listing system shell<br />
Like i said before, in the line of log on syslog file, that's the answer for this problem. Ok. Now we do like syslog said.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> oracle <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">passwd</span>
oracle:RHMbMFlgIVmB.:<span style="color: #000000;">109</span>:<span style="color: #000000;">106</span>::<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>oracle:<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span></pre></div></div>

<p>mmm, oracle used "bash" on default shell, on HPUX "bash" was not default install, ok next, we add that "bash" shell at default listing shell on HPUX.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'/bin/bash'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>shells</pre></div></div>

<p>4. Gotcha!!<br />
All set. now we try to ftp again from client to HPUX server, with oracle user.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dos<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span> rohan
Connected to rohan.
<span style="color: #000000;">220</span> rohan FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT2007<span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
User <span style="color: #7a0874; font-weight: bold;">&#40;</span>rohan:<span style="color: #7a0874; font-weight: bold;">&#40;</span>none<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: oracle
<span style="color: #000000;">331</span> Password required <span style="color: #000000; font-weight: bold;">for</span> oracle.
Password:<span style="color: #000000; font-weight: bold;">*****</span>
<span style="color: #000000;">230</span> User oracle logged in.
<span style="color: #c20cb9; font-weight: bold;">ftp</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ls</span>
<span style="color: #000000;">200</span> PORT <span style="color: #7a0874; font-weight: bold;">command</span> successful.
<span style="color: #000000;">150</span> Opening ASCII mode data connection <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">file</span> list.
.cshrc
.exrc
.login
.profile
.sh_history
stage
.bash_history
<span style="color: #000000;">226</span> Transfer complete.
<span style="color: #c20cb9; font-weight: bold;">ftp</span>: <span style="color: #000000;">68</span> bytes received <span style="color: #000000; font-weight: bold;">in</span> 0.00Seconds 68000.00Kbytes<span style="color: #000000; font-weight: bold;">/</span>sec.
<span style="color: #c20cb9; font-weight: bold;">ftp</span><span style="color: #000000; font-weight: bold;">&gt;</span> by
<span style="color: #000000;">221</span>-You have transferred <span style="color: #000000;">0</span> bytes <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">0</span> files.
<span style="color: #000000;">221</span>-Total traffic <span style="color: #000000; font-weight: bold;">for</span> this session was <span style="color: #000000;">367</span> bytes <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">1</span> transfers.
<span style="color: #000000;">221</span>-Thank you <span style="color: #000000; font-weight: bold;">for</span> using the FTP service on rohan.
<span style="color: #000000;">221</span> Goodbye.</pre></div></div>

<p>it's work, easy like a pie, don't forget to check syslog.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>adm<span style="color: #000000; font-weight: bold;">/</span>syslog<span style="color: #000000; font-weight: bold;">/</span>syslog.log
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">23</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: Data port : <span style="color: #000000;">20</span>
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">23</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT <span style="color: #000000;">2007</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">27</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP LOGIN FROM 10.10.14.172 <span style="color: #7a0874; font-weight: bold;">&#91;</span>10.10.14.172<span style="color: #7a0874; font-weight: bold;">&#93;</span>, oracle
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">31</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP session closed</pre></div></div>

<p><em>Tulisan lama ini dibuat kembali, untuk teman yang baru training HP-UX 11.31 di singapur.<br />
Gimana man masih blum bisa juga, nih gue kasih solvingnya,<br />
hahahaha..</em></p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/05/ftp-refused-connection-on-hpux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
