<?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>Linux in EnterPrise</title>
	<atom:link href="http://www.linuxdict.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxdict.com</link>
	<description>Focus in Linux, LAMP, Mail, Cluster Arch(ENterprise Linux Apache MySQL Php)</description>
	<lastBuildDate>Mon, 03 Dec 2012 01:11:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>solaris 11, p2v in 3 steps</title>
		<link>http://www.linuxdict.com/2012-11-solaris-11-p2v-in-3-steps/</link>
		<comments>http://www.linuxdict.com/2012-11-solaris-11-p2v-in-3-steps/#comments</comments>
		<pubDate>Tue, 20 Nov 2012 06:37:33 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=779</guid>
		<description><![CDATA[p2v is not a new feature. but i just tried it. p2v is physical to virtual. which means you can migrate solaris from real HW to solaris zone. 1. create zone on solaris11. root@bnsol11a:~# zonecfg -z liuedy-z10 Use &#8216;create&#8217; to begin configuring a new zone. zonecfg:liuedy-z10> create -b zonecfg:liuedy-z10> set brand=solaris10 zonecfg:liuedy-z10> set zonepath=/zone/liuedy-z10 zonecfg:liuedy-z10> [...]]]></description>
			<content:encoded><![CDATA[<p>p2v is not a new feature. but i just tried it. </p>
<p>p2v is physical to virtual. which means you can migrate solaris from real HW to solaris zone.</p>
<p>1. create zone on solaris11.<br />
<span id="more-779"></span><br />
root@bnsol11a:~# zonecfg -z  liuedy-z10<br />
Use &#8216;create&#8217; to begin configuring a new zone.<br />
zonecfg:liuedy-z10> create -b<br />
zonecfg:liuedy-z10> set brand=solaris10<br />
zonecfg:liuedy-z10> set zonepath=/zone/liuedy-z10<br />
zonecfg:liuedy-z10> set autoboot=true<br />
zonecfg:liuedy-z10> add net<br />
zonecfg:liuedy-z10:net> set address=10.240.3.180<br />
zonecfg:liuedy-z10:net> set physical=net0<br />
zonecfg:liuedy-z10:net> end<br />
zonecfg:liuedy-z10> info<br />
zonename: liuedy-z10<br />
zonepath: /zone/liuedy-z10<br />
brand: solaris10<br />
autoboot: true<br />
bootargs:<br />
pool:<br />
limitpriv:<br />
scheduling-class:<br />
ip-type: exclusive<br />
hostid:<br />
fs-allowed:<br />
net:<br />
	address: 10.240.3.180<br />
	allowed-address not specified<br />
	configure-allowed-address: true<br />
	physical: net0<br />
	defrouter not specified<br />
zonecfg:liuedy-z10> verify<br />
net: address cannot be specified if ip-type = exclusive<br />
ip-type is set to &#8216;exclusive&#8217; by default.<br />
liuedy-z10: Invalid argument<br />
zonecfg:liuedy-z10> set ip-type=shared<br />
zonecfg:liuedy-z10> verify<br />
zonecfg:liuedy-z10> commit<br />
zonecfg:liuedy-z10> exit<br />
root@bnsol11a:~# zoneadm list -civ<br />
  ID NAME             STATUS     PATH                           BRAND    IP<br />
   0 global           running    /                              solaris  shared<br />
   &#8211; liuedy-z10       configured /zone/liuedy-z10               solaris10 shared</p>
<p>2. create flash archive of old solaris.<br />
// -S don&#8217;t cacluate the archive size. -L method cpio<br />
[root@beisoltest02 ~]# flarcreate -S -n sol10_new -L cpio /net/10.240.3.210/export/zone/flash_store/sol10_new.flar<br />
Archive format requested is cpio<br />
Full Flash<br />
Checking integrity&#8230;<br />
Integrity OK.<br />
Running precreation scripts&#8230;<br />
Precreation scripts done.<br />
Creating the archive&#8230;<br />
2464714 blocks<br />
Archive creation complete.<br />
Running postcreation scripts&#8230;<br />
Postcreation scripts done.<br />
Running pre-exit scripts&#8230;<br />
Pre-exit scripts done.<br />
[root@beisoltest02 ~]# </p>
<p>3. install the zone</p>
<p>root@bnsol11a:~# zoneadm -z liuedy-z10 install -p -a /export/zone/flash_store/sol10_new.flar<br />
Progress being logged to /var/log/zones/zoneadm.20121120T061159Z.liuedy-z10.install<br />
    Installing: This may take several minutes&#8230;<br />
Postprocessing: This may take a while&#8230;<br />
   Postprocess: Updating the image to run within a zone<br />
   Postprocess: Migrating data<br />
        from: rpool/export/zone/liuedy-z10/rpool/ROOT/zbe-0<br />
          to: rpool/export/zone/liuedy-z10/rpool/export<br />
   Postprocess: A backup copy of /export is stored at /export.backup.20121120T061735Z.<br />
It can be deleted after verifying it was migrated correctly.</p>
<p>        Result: Installation completed successfully.<br />
Log saved in non-global zone as /export/zone/liuedy-z10/root/var/log/zones/zoneadm.20121120T061159Z.liuedy-z10.install<br />
root@bnsol11a:~# zoneadm  list -civ<br />
  ID NAME             STATUS     PATH                           BRAND    IP<br />
   0 global           running    /                              solaris  shared<br />
   &#8211; liuedy-z10       installed  /export/zone/liuedy-z10        solaris10 shared<br />
root@bnsol11a:~# zoneadm -z liuedy-z10 boot<br />
root@bnsol11a:~# zoneadm  list -civ<br />
  ID NAME             STATUS     PATH                           BRAND    IP<br />
   0 global           running    /                              solaris  shared<br />
   5 liuedy-z10       running    /export/zone/liuedy-z10        solaris10 shared<br />
root@bnsol11a:~# zlogin -C liuedy-z10<br />
[Connected to zone 'liuedy-z10' console]</p>
<p>beisoltest02 console login: </p>
<p>Issue met before.<br />
Postprocessing: This may take a while&#8230;<br />
   Postprocess: Updating the image to run within a zone<br />
   Postprocess: ERROR: SMF repository unavailable.<br />
   Postprocess: ERROR: Failed to boot zone to single user mode.<br />
   Postprocess: ERROR: Postprocessing failed.<br />
        Result: Postprocessing failed.</p>
<p>this is caused by the patch level doesn&#8217;t match the necessary for migration. so it&#8217;s a good idea to keep the system up to date.<br />
upgrade from SunOS 5.10/Generic_137138-09 to Generic_147441-25 fixed the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-11-solaris-11-p2v-in-3-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to fix ldap hange issue on solaris</title>
		<link>http://www.linuxdict.com/2012-11-how-to-fix-ldap-hange-issue-on-solaris/</link>
		<comments>http://www.linuxdict.com/2012-11-how-to-fix-ldap-hange-issue-on-solaris/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 04:42:32 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=774</guid>
		<description><![CDATA[Issue details: Solaris ldap client doesn&#8217;t work. you can use ldaplist/ldapclient even ps will hang Solutions: kill the ldap_cachemgr. root # file /var/run/ldap_cache_door /var/run/ldap_cache_door: door to ldap_cachemgr[1299] kill 1299 then bounce the ldapclient, more details to trace the issue. root # truss ldaplist execve("/usr/bin/ldaplist", 0xFFBFFB74, 0xFFBFFB7C) argc = 1 sysinfo(SI_MACHINE, "sun4v", 257) = 6 .... [...]]]></description>
			<content:encoded><![CDATA[<p>Issue details:<br />
Solaris ldap client doesn&#8217;t work. you can use ldaplist/ldapclient even ps will hang</p>
<p>Solutions:</p>
<p>kill the ldap_cachemgr. </p>
<p>root # file /var/run/ldap_cache_door<br />
/var/run/ldap_cache_door:       door to ldap_cachemgr[1299]</p>
<p>kill 1299</p>
<p>then bounce the ldapclient, more details to trace the issue.<br />
<span id="more-774"></span></p>
<p><code><br />
root # truss ldaplist<br />
execve("/usr/bin/ldaplist", 0xFFBFFB74, 0xFFBFFB7C)  argc = 1<br />
sysinfo(SI_MACHINE, "sun4v", 257)               = 6<br />
....  = 0<br />
brk(0x0002CC58)                                 = 0<br />
open("/var/run/ldap_cache_door", O_RDONLY)      = 3<br />
fcntl(3, F_SETFD, 0x00000001)                   = 0<br />
door_info(3, 0xFF35A248)                        = 0<br />
door_call(3, 0xFFBFEBB8)        (sleeping...)<br />
^C    Received signal #2, SIGINT, in door_call() [default]</p>
<p>root # file /var/run/ldap_cache_door<br />
/var/run/ldap_cache_door:       door to ldap_cachemgr[1299]</p>
<p>root # ps -ef|grep ldap (hang)<br />
^C<br />
root # ls /proc/1299/<br />
as         ctl        lstatus    object/    psinfo     status<br />
auxv       cwd/       lusage     pagedata   rmap       usage<br />
contracts/ fd/        lwp/       path/      root/      watch<br />
cred       lpsinfo    map        priv       sigact     xmap</p>
<p>root # cat /proc/1299/psinfo<br />
<P¦¦PR¦f<¦" ¦6¦ldap_cachemgr/usr/lib/ldap/ldap_cachemgr¦d¦lUpS(;PR¦[>¦¦TS0¦¦¦¦unwas01c:ConfigureLdap root #</p>
<p>root # svcs |grep ldap<br />
legacy_run     Sep_14   lrc:/etc/rc3_d/S85ldapclient<br />
maintenance     3:54:22 svc:/network/ldap/client:default</p>
<p>root # kill 1299</p>
<p>Nov  7 04:10:43 host01 ls[20489]: libsldap: makeConnection: unable to make LDAP connection, request for a server failed: (Unable to load configuration '/var/ldap/ldap_client_file' ('').)<br />
Nov  7 04:10:43 host01 ls[21109]: libsldap: makeConnection: unable to make LDAP connection, request for a server failed: (Unable to load configuration '/var/ldap/ldap_client_file' ('').)<br />
Nov  7 04:10:43 host01 ls[21323]: libsldap: makeConnection: unable to make LDAP connection, request for a server failed: (Unable to load configuration '/var/ldap/ldap_client_file' ('').)<br />
Nov  7 04:10:43 host01 ls[20911]: libsldap: makeConnection: unable to make LDAP connection, request for a server failed: (Unable to load configuration '/var/ldap/ldap_client_file' ('').)</p>
<p>Total: 2623 processes, 5037 lwps, load averages: 0.22, 0.23, 0.22</p>
<p>root # svcadm clear svc:/network/ldap/client<br />
root # svcs<br />
....<br />
online          4:11:15 svc:/network/ldap/client:default<br />
maintenance    Sep_14   svc:/network/samba:default<br />
maintenance    Sep_14   svc:/network/wins:default</p>
<p>root #<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-11-how-to-fix-ldap-hange-issue-on-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Solved) sftp: Received message too long</title>
		<link>http://www.linuxdict.com/2012-10-solved-sftp-received-message-too-long/</link>
		<comments>http://www.linuxdict.com/2012-10-solved-sftp-received-message-too-long/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 02:00:38 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=768</guid>
		<description><![CDATA[when you connect by ssh. it works fine. but doesn&#8217;t work with sftp ? check your ~user/.bashrc or ~user/.profile or ~user/.cshrc anything related with your environment. remove the echo from above files. addons: check free memory on Solaris without top vmstat 1 2 &#124; tail -1 &#124; awk '{printf "%d%s\n", ($5*4)/1024, "MB" }']]></description>
			<content:encoded><![CDATA[<p>when you connect by ssh. it works fine. but doesn&#8217;t work with sftp ?</p>
<p>check your ~user/.bashrc or ~user/.profile or ~user/.cshrc anything related with your environment.</p>
<p>remove the echo from above files.</p>
<p>addons: check free memory on Solaris without top<br />
<code>vmstat 1 2 | tail -1 | awk '{printf "%d%s\n", ($5*4)/1024, "MB" }' </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-10-solved-sftp-received-message-too-long/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Ref for XSCF console</title>
		<link>http://www.linuxdict.com/2012-10-quick-ref-for-xscf-console/</link>
		<comments>http://www.linuxdict.com/2012-10-quick-ref-for-xscf-console/#comments</comments>
		<pubDate>Fri, 26 Oct 2012 01:34:11 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=764</guid>
		<description><![CDATA[Final tips: man intro ; then man List all domain XSCF> showdomainstatus -a Connect to a domain XSCF> console -d domainhere Forcely to connect a domain XSCF> console -d domainhere -f View an connected console XSCF> console -d domainhere -r To displays the domain information specified for a system board. XSCF> showdevices To displays the [...]]]></description>
			<content:encoded><![CDATA[<p>Final tips: man intro ; then man <command></p>
<p>List all domain<br />
XSCF> showdomainstatus -a</p>
<p>Connect to a domain<br />
XSCF> console -d domainhere</p>
<p>Forcely to connect a domain<br />
XSCF> console -d domainhere -f</p>
<p>View an connected console<br />
XSCF> console -d domainhere -r<br />
<span id="more-764"></span><br />
To displays the domain information specified for a system board.<br />
XSCF> showdevices</p>
<p>To displays the temperature, humidity, voltage, and fan rotation speed.<br />
XSCF> showenvironment</p>
<p>To lists degraded components.<br />
XSCF> showstatus</p>
<p>To displays users who login to the XSCF.<br />
XSCF> who</p>
<p>To reset domain there are 3 modes for reset command<br />
por: Domain system reset<br />
request: Domain panic instruction<br />
xir: Domain CPU reset<br />
XSCF> reset -d domainhere por</p>
<p>To power on/off all domain or sepcified domain<br />
XSCF> poweron<br />
XSCF> poweroff</p>
<p>Change the XSCF IP<br />
XSCF> setnetwork xscf#0-lan#0 -m netmask your_IP</p>
<p>Remove the Gateway<br />
XSCF> setroute -c del -n 0.0.0.0 -g GW xscf#0-lan#0</p>
<p>Add Gateway for XSCF<br />
XSCF> setroute -c add -n 0.0.0.0 -g GW xscf#0-lan#0<br />
XSCF> applynetwork<br />
XSCF> rebootxscf</p>
<p>Display  network information<br />
XSCF> shownetwork</p>
<p>Display route information<br />
XSCF> showroute</p>
<p>To logout of XSCF> type exit<br />
To return to XSCF from a domain terminal type #.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-10-quick-ref-for-xscf-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Sloved) lsof, unknown file system type (zfs)</title>
		<link>http://www.linuxdict.com/2012-09-sloved-lsof-unknown-file-system-type-zfs/</link>
		<comments>http://www.linuxdict.com/2012-09-sloved-lsof-unknown-file-system-type-zfs/#comments</comments>
		<pubDate>Wed, 26 Sep 2012 01:17:10 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=761</guid>
		<description><![CDATA[Environment: Solaris 10. lsof version 4.77 root@solaris10:~# lsof &#124;more COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sched 0 root cwd unknown file system type (zfs), v_op: 0&#215;60074 068940 init 1 root cwd unknown file system type (zfs), v_op: 0&#215;60074 068940 Solution: Install the latest lsof version wget ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.86.tar.bz2 gtar xf lsof_4.86.tar.bz2 cd lsof_4.86_src [...]]]></description>
			<content:encoded><![CDATA[<p>Environment:<br />
Solaris 10.<br />
lsof version 4.77<br />
root@solaris10:~# lsof |more<br />
COMMAND     PID     USER   FD   TYPE           DEVICE   SIZE/OFF      NODE NAME<br />
sched         0     root  cwd  unknown file system type (zfs), v_op: 0&#215;60074 068940<br />
init          1     root  cwd  unknown file system type (zfs), v_op: 0&#215;60074 068940</p>
<p>Solution:<br />
Install the latest lsof version<br />
<span id="more-761"></span><br />
wget ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.86.tar.bz2<br />
gtar xf lsof_4.86.tar.bz2<br />
cd lsof_4.86_src<br />
./Configure solaris<br />
or ./Configure solariscc<br />
make<br />
./lsof | more</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-09-sloved-lsof-unknown-file-system-type-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(resolved)sqlplus issue need set oracle_home</title>
		<link>http://www.linuxdict.com/2012-09-resolvedsqlplus-issue-need-set-oracle_home/</link>
		<comments>http://www.linuxdict.com/2012-09-resolvedsqlplus-issue-need-set-oracle_home/#comments</comments>
		<pubDate>Sat, 22 Sep 2012 06:03:48 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=759</guid>
		<description><![CDATA[bash-3.2$ rpm -qa&#124;grep oracle oracle-instantclient-sqlplus-11.1.0.1-1 oracle-instantclient-basic-11.1.0.1-1 bash-3.2$ sqlplus Error 6 initializing SQL*Plus Message file sp1.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory Fix: bash-3.2$ export ORACLE_HOME=/usr/lib/oracle/11.1.0.1/client64 bash-3.2$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH bash-3.2$ /usr/lib/oracle/11.1.0.1/client64/bin/sqlplus erer/pass@IP:1526/SPAPA1P SQL*Plus: Release 11.1.0.6.0 &#8211; Production on Sat Sep 22 04:33:02 2012]]></description>
			<content:encoded><![CDATA[<p>bash-3.2$ rpm -qa|grep oracle<br />
oracle-instantclient-sqlplus-11.1.0.1-1<br />
oracle-instantclient-basic-11.1.0.1-1</p>
<p>bash-3.2$ sqlplus<br />
Error 6 initializing SQL*Plus<br />
Message file sp1<lang>.msb not found<br />
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory</p>
<p>Fix:<br />
bash-3.2$ export ORACLE_HOME=/usr/lib/oracle/11.1.0.1/client64<br />
bash-3.2$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH<br />
bash-3.2$ /usr/lib/oracle/11.1.0.1/client64/bin/sqlplus erer/pass@IP:1526/SPAPA1P </p>
<p>SQL*Plus: Release 11.1.0.6.0 &#8211; Production on Sat Sep 22 04:33:02 2012 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-09-resolvedsqlplus-issue-need-set-oracle_home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rundeck, operate batch hosts at the same time</title>
		<link>http://www.linuxdict.com/2012-08-rundeck-operate-batch-hosts-at-the-same-time/</link>
		<comments>http://www.linuxdict.com/2012-08-rundeck-operate-batch-hosts-at-the-same-time/#comments</comments>
		<pubDate>Fri, 24 Aug 2012 02:12:07 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux_D]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=750</guid>
		<description><![CDATA[Rundeck, a web-accessible console for dispatching commands and scripts to your nodes. Dispatch shell commands and scripts across all your physical or virtual nodes from a web-based or command-line interface. Automate ad-hoc and routine procedures. Use the API and plugins to integrate with other services. Use your LDAP/AD for authentication, and configure extensive access control. [...]]]></description>
			<content:encoded><![CDATA[<p><a title="RunDeck" href="http://rundeck.org" target="_blank">Rundeck</a>, a web-accessible console for dispatching commands and scripts to your nodes. Dispatch shell commands and scripts across all your physical or virtual nodes from a web-based or command-line interface. Automate ad-hoc and routine procedures. Use the API and plugins to integrate with other services. Use your LDAP/AD for authentication, and configure extensive access control.</p>
<p>Install Steps:</p>
<p>rpm -Uvh http://rundeck.org/latest.rpm<br />
yum install rundesk<br />
/etc/init.d/rundeckd start</p>
<p>http://your_host:4440</p>
<p>Default account: admin/admin</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-08-rundeck-operate-batch-hosts-at-the-same-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sendmail issue: Relaying denied</title>
		<link>http://www.linuxdict.com/2012-08-sendmail-issue-relaying-denied/</link>
		<comments>http://www.linuxdict.com/2012-08-sendmail-issue-relaying-denied/#comments</comments>
		<pubDate>Sat, 11 Aug 2012 05:13:34 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=748</guid>
		<description><![CDATA[Aug 11 05:55:40 relay_host sendmail[25741]: [ID 801593 mail.notice] q7B4teTq025741: ruleset=check_rcpt, arg1=, relay=you_host_name1.com [10.23.4.224] (may be forged), reject=550 5.7.1 &#8230; Relaying denied. IP name possibly forged [10.23.4.224] Aug 11 05:55:40 relay_host sendmail[25741]: [ID 801593 mail.info] q7B4teTq025741: from=, size=1741, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=you_host_name1.com [10.23.4.224] (may be forged) the Relay host won&#8217;t allow your email goes out. [...]]]></description>
			<content:encoded><![CDATA[<p>Aug 11 05:55:40 relay_host sendmail[25741]: [ID 801593 mail.notice] q7B4teTq025741: ruleset=check_rcpt, arg1=<my_no_spam_account@gmail.com>, relay=you_host_name1.com [10.23.4.224] (may be forged), reject=550 5.7.1 <xfsuper@gmail.com>&#8230; Relaying denied. IP name possibly forged [10.23.4.224]<br />
Aug 11 05:55:40 relay_host sendmail[25741]: [ID 801593 mail.info] q7B4teTq025741: from=<root@your_real_host_name.com>, size=1741, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=you_host_name1.com [10.23.4.224] (may be forged)</p>
<p>the Relay host won&#8217;t allow your email goes out. because your hostname is not match with DNS.</p>
<p>nslookup 10.23.4.224 , check the domain. and compare with your real host.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-08-sendmail-issue-relaying-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto-deploy Hadoop cluster with HDP</title>
		<link>http://www.linuxdict.com/2012-06-auto-deploy-hadoop-cluster-with-hdp/</link>
		<comments>http://www.linuxdict.com/2012-06-auto-deploy-hadoop-cluster-with-hdp/#comments</comments>
		<pubDate>Sat, 23 Jun 2012 03:16:47 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[hadoop]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=740</guid>
		<description><![CDATA[With the heat of Hadoop, the deployment and monitor becoming our system engineers&#8217; focus. More solution coming out now. such as Serengeti, but it aims for the Vsphere. Bigtop, is a project under Apache. not bad, will give it a try. HDP, Hortonworks Data Platform has been release recently. Will try mention as much details [...]]]></description>
			<content:encoded><![CDATA[<p>With the heat of Hadoop, the deployment and monitor becoming our system engineers&#8217; focus.<br />
More solution coming out now. such as Serengeti, but it aims for the Vsphere.<br />
Bigtop, is a project under Apache. not bad, will give it a try.<br />
HDP, Hortonworks Data Platform has been release recently. </p>
<p>Will try mention as much details doing the installation as I can.<br />
<span id="more-740"></span><br />
Preparation:<br />
1. OS, Although HDP offically support CentOS 5.x/ RHEL 5.x. we still found some issue when doing the installation.<br />
such as missing nodes when doing the deployment(can be fixed by update php5.1 to php5.3 but will bring more issue).<br />
so we skip CentOS 5.x and use CentOS 6.x. it&#8217;s cool and have less issue <img src='http://www.linuxdict.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , recommend install the OS with minimal packages.<br />
# tips, please update the release file.<br />
sed -i.bak &#8216;s/6.2/5.8/g&#8217; /etc/redhat-release</p>
<p>2. Disable Selinux and Iptables.<br />
/etc/sysconfig/selinux  SELINUX=disabled<br />
chkconfig iptables off<br />
reboot</p>
<p>3. password less auth<br />
ssh-keygen<br />
ssh-copy-id target_host (don&#8217;t forget the deployment host itself.)</p>
<p>4. DNS, add the new nodes to DNS with PTR record. or you can add them to /etc/hosts. </p>
<p>Start Installation:</p>
<p>1. Enable Repo<br />
# ruby repo<br />
rpm -Uvh http://passenger.stealthymonkeys.com/rhel/6/passenger-release.noarch.rpm<br />
# HDP<br />
rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.0.12/repos/centos5/hdp-release-1.0.0.12-1.el5.noarch.rpm<br />
# EPEL<br />
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm</p>
<p>2. Install HMC (HDP core package)<br />
Note: when you start the HMC. it ask you download JDK. recommend download by yourself from Oracle site.</p>
<p>[root@hmhdp01 ~]# yum install -y hmc php-process<br />
[root@hmhdp01 ~]# service hmc start<br />
Do you agree to Oracle&#8217;s Java License at<br />
/usr/share/hmc/licenses/ORACLE_JDK_LICENSE.txt?(y/n)y<br />
Would you like us to download the JDK binaries for you?(y/n)n<br />
Please download jdk-6u31-linux-x64.bin and jdk-6u31-linux-i586.bin from Oracle to /var/run/hmc/downloads/<br />
Starting HMC Installer                                     [  OK  ]<br />
Starting httpd:<br />
Starting HMC<br />
3. Deploy HDP.<br />
3.1<br />
# update puppet for the nagios. remove php-pecl-json. because php5.3 already include it by default.<br />
line 11+ /etc/puppet/master/modules/hdp-nagios/manifests/server/packages.pp<br />
3.2<br />
open  http://your_deploy_host/hmc/html/</p>
<p>Then next follow the guide. Good luck.</p>
<p>Snapshots:<br />
<a href="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-142939.png"><img class="alignnone size-full wp-image-117" title="Hortonworks Management Center-142939" src="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-142939.png" alt="" width="600" height="450" /></a></p>
<p><a href="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-182821.png"><img class="alignnone size-full wp-image-114" title="Hortonworks Management Center-182821" src="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-182821.png" alt="" width="600" height="470" /></a></p>
<p><a href="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-211324.png"><img class="alignnone size-full wp-image-118" title="Hortonworks Management Center-211324" src="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-211324.png" alt="" width="600" height="520" /></a></p>
<p><a href="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-201936.png"><img class="alignnone size-full wp-image-121" title="Hortonworks Management Center-201936" src="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-201936.png" alt="" width="600" height="500" /></a></p>
<p><a href="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-201952.png"><img class="alignnone size-full wp-image-122" title="Hortonworks Management Center-201952" src="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-201952.png" alt="" width="600" height="520" /></a></p>
<p><a href="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-202007.png"><img class="alignnone size-full wp-image-123" title="Hortonworks Management Center-202007" src="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-202007.png" alt="" width="600" height="480" /></a></p>
<p><a href="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-202008.png"><img class="alignnone size-full wp-image-124" title="Hortonworks Management Center-202008" src="http://www.cnlinuxgeek.com/wp-content/uploads/2012/06/Hortonworks-Management-Center-202008.png" alt="" width="600" height="330" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-06-auto-deploy-hadoop-cluster-with-hdp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>zfs issue: zfs: alignment error ?</title>
		<link>http://www.linuxdict.com/2012-05-zfs-issue-zfs-alignment-error/</link>
		<comments>http://www.linuxdict.com/2012-05-zfs-issue-zfs-alignment-error/#comments</comments>
		<pubDate>Mon, 28 May 2012 05:24:18 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=736</guid>
		<description><![CDATA[Issue log: Mounting ZFS filesystems: (1/15) panic[cpu31]/thread=30023ee3800: BAD TRAP: type=34 rp=2a103a46890 addr=7020726573706f76 mmu_fsr=0 zfs: alignment error: addr=0x7020726573706f76 pid=4838, pc=0x7a24d504, sp=0x2a103a46131, tstate=0&#215;4480001600, context=0&#215;42 g1-g7: 0, feedfacefeedface, feedface, 0, 3000638d940, 42, 30023ee3800 000002a103a465b0 unix:die+9c (34, 2a103a46890, 7020726573706f76, 0, 2a103a46670, c1e00000) Solution: go to single user mode. ok. try &#8220;canmount=noauto&#8221; don&#8217;t automatically mount zfs. for i in `zfs [...]]]></description>
			<content:encoded><![CDATA[<p>Issue log:<br />
Mounting ZFS filesystems: (1/15)<br />
panic[cpu31]/thread=30023ee3800: BAD TRAP: type=34 rp=2a103a46890 addr=7020726573706f76 mmu_fsr=0</p>
<p>zfs: alignment error:<br />
addr=0x7020726573706f76<br />
pid=4838, pc=0x7a24d504, sp=0x2a103a46131, tstate=0&#215;4480001600, context=0&#215;42<br />
g1-g7: 0, feedfacefeedface, feedface, 0, 3000638d940, 42, 30023ee3800</p>
<p>000002a103a465b0 unix:die+9c (34, 2a103a46890, 7020726573706f76, 0, 2a103a46670, c1e00000)</p>
<p>Solution:<br />
go to single user mode.<br />
ok. try &#8220;canmount=noauto&#8221; don&#8217;t automatically mount zfs.<br />
<span id="more-736"></span><br />
for i in `zfs list|grep /|grep -v swap|awk &#8216;{print $1}&#8217;`;do zfs set canmount=noauto $i;done<br />
then init 3. it works.</p>
<p>now try manually mount one by one. you may know which caused the crash. if none report crashed. don&#8217;t read following lines.</p>
<p>hmm, crashed when try mount localpool/some_disk . others fine. if you don&#8217;t have important files. Be CareFul when you do created, i don&#8217;t grantee your Data.</p>
<p>Warning: Data lost. You&#8217;d better know what u are doing!!!!<br />
zfs destroy localpool/some_disk<br />
zfs create -o mountpoint=/mymnt localpool/some_disk<br />
zfs set quota=3g localpool/some_disk</p>
<p>now try mount all the zfs. works fine.</p>
<p>change the mount to automatically mount.<br />
for i in `zfs list|grep /|grep -v swap|awk &#8216;{print $1}&#8217;`;do zfs set canmount=on $i;done </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-05-zfs-issue-zfs-alignment-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
