<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6836539881617831685</id><updated>2025-10-08T00:19:49.775+07:00</updated><category term="linux"/><category term="admin"/><category term="java"/><category term="desktop"/><category term="asterisk"/><category term="security"/><category term="compiz-fusion"/><category term="eclipse"/><category term="ide-editor"/><category term="database"/><category term="harddrive"/><category term="media player"/><category term="others"/><category term="wine"/><category term="firefox"/><category term="liverpool"/><category term="trixbox"/><category term="video card"/><category term="android"/><category term="apache"/><category term="drupal"/><category term="encode"/><category term="game"/><category term="ofbiz"/><category term="watches"/><category term="arduino"/><category term="blog"/><category term="hibernate"/><category term="mail"/><category term="mysql"/><category term="nexus"/><category term="php"/><category term="vaio"/><title type='text'>me and my stuff</title><subtitle type='html'>*nix, tech, solana, android, football and watches&#xa;All comments are welcome.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>115</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-4055610414221694229</id><published>2023-09-10T23:21:00.001+07:00</published><updated>2023-09-10T23:36:03.251+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Wireless debugging on Android</title><content type='html'>&lt;p&gt;&amp;nbsp;I&#39;m not sure which version of android required to have this feature. For my Redmi 9S follow steps below&lt;/p&gt;&lt;p&gt;navigate to&amp;nbsp;&lt;/p&gt;&lt;p&gt;-Settings -&amp;gt; Additional settings-&amp;gt; Developer options -&amp;gt; Wireless debugging&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;and enable it then click &quot;Pair device with pairing code&quot;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4Dtnaf5nkRvM9yfHMW2zGxVsxaMK-vOo-DT3eCYnXUKhxZwzaZm7Esak_Su_g7gFxi6qrgGuKj-8Ny7Q6yBykUd_7pTyN9eMHw-8Xcf5zIvPOG2WzQMXcz4Up7GrABtq_6Si5IcyHvSXGc9OT-ZaErzfXs87zWoNFw4B0FB94oRWRP7YjxuPeVrbsD-A/s1052/Screenshot_2023-09-10-22-49-13-737-edit_com.android.settings.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;780&quot; data-original-width=&quot;1052&quot; height=&quot;237&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4Dtnaf5nkRvM9yfHMW2zGxVsxaMK-vOo-DT3eCYnXUKhxZwzaZm7Esak_Su_g7gFxi6qrgGuKj-8Ny7Q6yBykUd_7pTyN9eMHw-8Xcf5zIvPOG2WzQMXcz4Up7GrABtq_6Si5IcyHvSXGc9OT-ZaErzfXs87zWoNFw4B0FB94oRWRP7YjxuPeVrbsD-A/s320/Screenshot_2023-09-10-22-49-13-737-edit_com.android.settings.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;then on your laptop (ip port and code are not exactly same with code below😅)&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;zsh &lt;/span&gt;&lt;b style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;1010&lt;/b&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt; &lt;/span&gt;&lt;b style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;%&lt;/b&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt; adb pair 192.168.1.213:41855&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Enter pairing code: 185176&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Successfully paired to 192.168.1.213:41855 [guid=adb-eee2c79f-MOsHVT]&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;color: #38b9c7; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Sun 23/09/10 23:14 +07&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;color: #39c026; font-variant-ligatures: no-common-ligatures;&quot;&gt;s002&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;x86_64/darwin22.0/22.5.0&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;5.9&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;]&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;color: #39c026; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;medici@medicis-MacBook-Pro&lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;color: #c7c7c7; font-variant-ligatures: no-common-ligatures;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot; style=&quot;color: #aaab25; font-variant-ligatures: no-common-ligatures;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;zsh &lt;b&gt;1011&lt;/b&gt; &lt;b&gt;%&lt;/b&gt; flutter devices&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;1 connected device:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p4&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;macOS (desktop) • macos • darwin-arm64 • macOS 13.4.1 22F770820d darwin-arm64&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p4&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;1 wirelessly connected device:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p4&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 13px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Redmi Note 9S (mobile) • adb-eee2c79f-MOsHVT._adb-tls-connect._tcp. • android-arm64 • Android 12 (API 31)&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;color: #38b9c7; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;Sun 23/09/10 23:14 +07&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;color: #39c026; font-variant-ligatures: no-common-ligatures;&quot;&gt;s002&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;x86_64/darwin22.0/22.5.0&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;5.9&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;]&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;color: #39c026; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 11px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;medici@medicis-MacBook-Pro&lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;color: #c7c7c7; font-variant-ligatures: no-common-ligatures;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot; style=&quot;color: #aaab25; font-variant-ligatures: no-common-ligatures;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #ca3323; font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;zsh &lt;/span&gt;&lt;b style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;1012&lt;/b&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt; &lt;/span&gt;&lt;b style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;%&lt;/b&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;b style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;/b&gt;&lt;span class=&quot;Apple-converted-space&quot; style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Wireless debugging menu may in others place depend on ROM but I hope you got the idea. I really like this feature. Developing app on real phone is a lot faster for me&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/4055610414221694229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/4055610414221694229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4055610414221694229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4055610414221694229'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2023/09/wireless-debugging-on-android.html' title='Wireless debugging on Android'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4Dtnaf5nkRvM9yfHMW2zGxVsxaMK-vOo-DT3eCYnXUKhxZwzaZm7Esak_Su_g7gFxi6qrgGuKj-8Ny7Q6yBykUd_7pTyN9eMHw-8Xcf5zIvPOG2WzQMXcz4Up7GrABtq_6Si5IcyHvSXGc9OT-ZaErzfXs87zWoNFw4B0FB94oRWRP7YjxuPeVrbsD-A/s72-c/Screenshot_2023-09-10-22-49-13-737-edit_com.android.settings.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-2209394625405368646</id><published>2023-09-10T15:57:00.008+07:00</published><updated>2023-09-10T16:28:45.822+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="watches"/><title type='text'>Connie</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I&#39;m talking my latest omega. I just get into collectable vintage world few months ago, after playing around aliexpress homage watch for a while. There is nothing wrong with chinese homage watch but I will talk about that later&lt;p&gt;&lt;/p&gt;&lt;p&gt;If you gonna buy a vintage omega watch. The constellation is a flagship model you have to look into. Mine is ref. 14902, caliber 561, dogleg, pie pan dial&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHXjlsfIwGUO9QhlA1t1LHzAB2jKJ9J5fRBnf_y5JelEA5k0bVfxIkXl1YC7EFYBwZwQ9mA4-zWkbtbgO8tK9i5i9h5HT0DlRKsQcEaI0awI8Q3E7bLAf6UAEqNR1FQjNq7JFi9l856Jxgli6yOUpNdfSHqRwX_nzTDLAMpEnIJatu2JSgF2BC_LQDw4Y/s3000/IMG_20230910_153542.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3000&quot; data-original-width=&quot;3000&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHXjlsfIwGUO9QhlA1t1LHzAB2jKJ9J5fRBnf_y5JelEA5k0bVfxIkXl1YC7EFYBwZwQ9mA4-zWkbtbgO8tK9i5i9h5HT0DlRKsQcEaI0awI8Q3E7bLAf6UAEqNR1FQjNq7JFi9l856Jxgli6yOUpNdfSHqRwX_nzTDLAMpEnIJatu2JSgF2BC_LQDw4Y/s320/IMG_20230910_153542.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;For this model, other than beatiful clean dial, a good condition to consider is sharp edge, correct crown(not only decagonal crown, the omega logo should also have same shape as one on the dial)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKeazP6jK8bmPRUXMdQgKL44ZeQWJWBGVlWNGGGl41FBgoZw3G6wSLWuGcG2-oTLCBPFxQ-zC6sYeIFjK4p86P-SdjmM-Id2jacT6c33Avzmq5WuV4xo8OEfvb_s_bbO3tg4t7fZYqAsJ2RJRsxuvcDx3qo4jkdSr3NGsSxQev_5-GZXoyF0zGiKUVP9M/s3000/IMG_20230910_153639.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3000&quot; data-original-width=&quot;3000&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKeazP6jK8bmPRUXMdQgKL44ZeQWJWBGVlWNGGGl41FBgoZw3G6wSLWuGcG2-oTLCBPFxQ-zC6sYeIFjK4p86P-SdjmM-Id2jacT6c33Avzmq5WuV4xo8OEfvb_s_bbO3tg4t7fZYqAsJ2RJRsxuvcDx3qo4jkdSr3NGsSxQev_5-GZXoyF0zGiKUVP9M/s320/IMG_20230910_153639.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;the medal on back case&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRPcIxNiAQjd6hKimg57s-5IO7ngYlpQToSy26Hr8gMDggFqNwN_w-_fAfJXA-bJf2sFG8MOX-oFHuo8KU_EBJavrEe9Yfsover6OIgKlH2xuYhiyVpNN8Y5NQyLCYQpAWz3K6NaFJKVYkQ2wPfRm2-V-FgPqrCNoSdoayMdWTuWCwF9VuxLxtpNdaWAY/s3000/IMG_20230910_153652.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3000&quot; data-original-width=&quot;3000&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRPcIxNiAQjd6hKimg57s-5IO7ngYlpQToSy26Hr8gMDggFqNwN_w-_fAfJXA-bJf2sFG8MOX-oFHuo8KU_EBJavrEe9Yfsover6OIgKlH2xuYhiyVpNN8Y5NQyLCYQpAWz3K6NaFJKVYkQ2wPfRm2-V-FgPqrCNoSdoayMdWTuWCwF9VuxLxtpNdaWAY/s320/IMG_20230910_153652.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I guess mine is looking good&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/2209394625405368646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/2209394625405368646' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/2209394625405368646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/2209394625405368646'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2023/09/connie.html' title='Connie'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHXjlsfIwGUO9QhlA1t1LHzAB2jKJ9J5fRBnf_y5JelEA5k0bVfxIkXl1YC7EFYBwZwQ9mA4-zWkbtbgO8tK9i5i9h5HT0DlRKsQcEaI0awI8Q3E7bLAf6UAEqNR1FQjNq7JFi9l856Jxgli6yOUpNdfSHqRwX_nzTDLAMpEnIJatu2JSgF2BC_LQDw4Y/s72-c/IMG_20230910_153542.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-1356390887885330537</id><published>2023-09-10T14:04:00.007+07:00</published><updated>2023-09-10T16:28:29.362+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="watches"/><title type='text'>A Watch collector</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&amp;nbsp;During covid time, work from home give me a new hobby, watch collecting😎. Just 1 year+ I have at maximum 11 watches in my collection. From 3861 speedy(most expensive one) to AliExpress homage 60 USD watch.&lt;p&gt;&lt;/p&gt;&lt;p&gt;Currently, I sell some that I don&#39;t like. Trying to build a collection that can keep value overtime.&lt;/p&gt;&lt;p&gt;How can I post a picture 🥲?&lt;/p&gt;&lt;p&gt;update: at last i found the way. The first and the latest omega.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMG9SKoMgKh9I2qHxPxF74nnduwbINNKKPwagy4b2mwW2M3dVp1zH4ZYucyyw5386QNHkkjV_IFUkNdt1XqPbM7yeItR2TOtQhosmZrpUv8fuMrLrClx-CM8q8CVGlAcnNxHaQOMwswOtWdB64k7K7TDAxg73Gu09nYUNc0cJfTeIR8wya0gIR1D7Buxk/s3000/IMG_20230908_232947.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3000&quot; data-original-width=&quot;3000&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMG9SKoMgKh9I2qHxPxF74nnduwbINNKKPwagy4b2mwW2M3dVp1zH4ZYucyyw5386QNHkkjV_IFUkNdt1XqPbM7yeItR2TOtQhosmZrpUv8fuMrLrClx-CM8q8CVGlAcnNxHaQOMwswOtWdB64k7K7TDAxg73Gu09nYUNc0cJfTeIR8wya0gIR1D7Buxk/s320/IMG_20230908_232947.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/1356390887885330537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/1356390887885330537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1356390887885330537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1356390887885330537'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2023/09/omega-collector.html' title='A Watch collector'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMG9SKoMgKh9I2qHxPxF74nnduwbINNKKPwagy4b2mwW2M3dVp1zH4ZYucyyw5386QNHkkjV_IFUkNdt1XqPbM7yeItR2TOtQhosmZrpUv8fuMrLrClx-CM8q8CVGlAcnNxHaQOMwswOtWdB64k7K7TDAxg73Gu09nYUNc0cJfTeIR8wya0gIR1D7Buxk/s72-c/IMG_20230908_232947.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-3150018516833390245</id><published>2023-09-10T13:47:00.001+07:00</published><updated>2023-09-10T13:49:12.136+07:00</updated><title type='text'>Long time no see :)</title><content type='html'>&lt;p&gt;&amp;nbsp;it&#39;s 2023, more than 10 years i left this blog. Many thing changed include me :P. I&#39;m still play around *nix, programing language may change. last i will try to make this blog live again&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/3150018516833390245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/3150018516833390245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/3150018516833390245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/3150018516833390245'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2023/09/long-time-no-see.html' title='Long time no see :)'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-8363628442444058743</id><published>2012-06-17T22:17:00.000+07:00</published><updated>2012-06-17T22:17:37.651+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mail"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>php mail function is very slow + wordpress didn&#39;t send mail</title><content type='html'>I host my another site on my own server [ubuntu+apache+wordpress] and notice that notification mail function on my site is not work. After install sendmail, php mail function is working fine but very slow. If you also have this problem, below is how i fix it.
first make sure your /etc/hosts file first line look like this
&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;127.0.0.1       localhost.localdomain localhost yourhostname&lt;/pre&gt;
hostname can found on /etc/hostname.

Now php mail function should work correctly. But wordpress still deny to send mail out. This have to fix with little hack[ i don&#39;t have other better way yet ].&lt;br /&gt;
&lt;br /&gt;
1. edit file &quot;wp-includes/class-phpmailer.php&quot;.&lt;br /&gt;
2. Looking for the line &#39;public $From = &#39;root@localhost&#39;;&#39;.&lt;br /&gt;
3. Change root@localhost to something else like name@yourhost.com. I don&#39;t know why but this work for me. :)</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/8363628442444058743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/8363628442444058743' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/8363628442444058743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/8363628442444058743'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2012/06/php-mail-function-is-very-slow.html' title='php mail function is very slow + wordpress didn&#39;t send mail'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-1469854390114780728</id><published>2012-03-07T21:49:00.004+07:00</published><updated>2012-03-07T21:57:54.744+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="nexus"/><title type='text'>putting sqlite3 on nexus s</title><content type='html'>i just notice that there is no sqlite3 on samsung nexus s (official ICS ROM) and i need it in debugging my application database. so i download it from somewhere on internet can&#39;t remember. Anyway the one that come with android sdk linux version should be fine to put it on phone. and here is what i do.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;E:\android-sdk-windows-1.5_r2\platform-tools&gt;adb shell&lt;br /&gt;shell@android:/ $ su&lt;br /&gt;su&lt;br /&gt;shell@android:/ # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system&lt;br /&gt;mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system&lt;br /&gt;shell@android:/ # dd if=/sdcard/sqlite3 of=/system/bin/sqlite3&lt;br /&gt;dd if=/sdcard/sqlite3 of=/system/bin/sqlite3&lt;br /&gt;47+1 records in&lt;br /&gt;47+1 records out&lt;br /&gt;24120 bytes transferred in 0.003 secs (8040000 bytes/sec)&lt;br /&gt;shell@android:/ # chmod 4755 /system/bin/sqlite3&lt;br /&gt;chmod 4755 /system/bin/sqlite3&lt;br /&gt;shell@android:/ # mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system&lt;br /&gt;mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system&lt;br /&gt;shell@android:/ # sqlite3&lt;br /&gt;sqlite3&lt;br /&gt;SQLite version 3.7.4&lt;br /&gt;Enter &quot;.help&quot; for instructions&lt;br /&gt;sqlite&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;notice : to do this your nexus have to root first.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/1469854390114780728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/1469854390114780728' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1469854390114780728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1469854390114780728'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2012/03/putting-sqlite3-on-nexus-s.html' title='putting sqlite3 on nexus s'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-4046806317021238462</id><published>2011-08-07T17:27:00.002+07:00</published><updated>2011-08-07T17:35:52.951+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>black screen on 11.04 upgrade</title><content type='html'>Just have a time to upgrade my desktop to 11.04 after reboot i get black screen. ebbr.bugs from ubuntuforums said this bcoz nvidia driver was intstalled as a package not a drivers. so this two commands will help &lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;sudo apt-get install --reinstall linux-headers-&#39;uname -r&#39;&lt;br /&gt;sudo apt-get install --reinstall linux-image-&#39;uname -r&#39;&lt;/pre&gt;&lt;br /&gt;and it fix my problem :)</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/4046806317021238462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/4046806317021238462' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4046806317021238462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4046806317021238462'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2011/08/black-screen-on-1104-upgrade.html' title='black screen on 11.04 upgrade'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-262147673817851218</id><published>2010-04-20T01:19:00.003+07:00</published><updated>2010-04-20T01:32:02.426+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="vaio"/><title type='text'>internal mic on vaio w on karmic</title><content type='html'>i have vaio w for 3 five month. i install karmic on it use wubi everything work fine but yesterday i note that internal mic is not work. adding &#39;model=vaio&#39; or model=&#39;sony&#39; in &quot;/etc/modprobe.d/alsa-base&quot; are not work. in my case to make it work i have to add &#39;model=toshiba-s06&#39; to that file like this&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;options snd-hda-intel power_save=10 power_save_controller=N model=toshiba-s06&lt;/pre&gt;then run alsamixer in terminal change input source to &#39;Int DMic&#39;.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5DJqCdTRSluufMgP_KMzRY2gOcptfE_1NUAFPfS2wrg_Uq4ospeZsG1dR4dkUpviKcT41dE17OhmLG7x2U2fbN8qwoycYzCupW5PBtrNQ60_T_fhkHs8tdKeVNRYk84kyUOCSCZzU9lM/s1600/alsamixer.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 180px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5DJqCdTRSluufMgP_KMzRY2gOcptfE_1NUAFPfS2wrg_Uq4ospeZsG1dR4dkUpviKcT41dE17OhmLG7x2U2fbN8qwoycYzCupW5PBtrNQ60_T_fhkHs8tdKeVNRYk84kyUOCSCZzU9lM/s320/alsamixer.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5461918019970202098&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/262147673817851218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/262147673817851218' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/262147673817851218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/262147673817851218'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2010/04/internal-mic-on-vaio-w-on-karmic.html' title='internal mic on vaio w on karmic'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5DJqCdTRSluufMgP_KMzRY2gOcptfE_1NUAFPfS2wrg_Uq4ospeZsG1dR4dkUpviKcT41dE17OhmLG7x2U2fbN8qwoycYzCupW5PBtrNQ60_T_fhkHs8tdKeVNRYk84kyUOCSCZzU9lM/s72-c/alsamixer.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-4877918879072005714</id><published>2010-04-18T13:49:00.004+07:00</published><updated>2010-04-18T18:13:43.287+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>makeing HTK3.4 on karmic</title><content type='html'>When do &quot;make all&quot; for htk3.4 on karmic, i get error &quot;HGraf.c:73:77: X11/Xlib.h: No such file or director&quot;. this be solved  by ...&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;poj@ubuntu:~/Downloads$ sudo aptitude install libx11-dev&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree        &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information       &lt;br /&gt;Initializing package states... Done&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  libpthread-stubs0{a} libpthread-stubs0-dev{a} libx11-dev libxau-dev{a} libxcb1-dev{a} libxdmcp-dev{a} x11proto-core-dev{a} x11proto-input-dev{a} &lt;br /&gt;  x11proto-kb-dev{a} xtrans-dev{a} &lt;br /&gt;0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 2,242kB of archives. After unpacking 6,124kB will be used.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.      &lt;br /&gt;Initializing package states... Done&lt;br /&gt;Writing extended state information... Done&lt;br /&gt;&lt;br /&gt;poj@ubuntu:~/Downloads$ &lt;/pre&gt;&lt;br /&gt; now try again.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/4877918879072005714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/4877918879072005714' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4877918879072005714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4877918879072005714'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2010/04/makeing-htk34-on-karmic.html' title='makeing HTK3.4 on karmic'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-7101594565734331555</id><published>2010-01-21T10:25:00.000+07:00</published><updated>2010-01-21T10:26:23.425+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asterisk"/><title type='text'>a2billing on Karmic Koala</title><content type='html'>During install a2billing on Karmic Koala by follow this wiki. In Step9 I get this error. &lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;root@freeradius:/usr/local/src/a2billing/CallBack# easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg&lt;br /&gt;Processing callback_daemon-1.0.prod_r1527-py2.5.egg&lt;br /&gt;Copying callback_daemon-1.0.prod_r1527-py2.5.egg to /usr/local/lib/python2.6/dist-packages&lt;br /&gt;Adding callback-daemon 1.0.prod-r1527 to easy-install.pth file&lt;br /&gt;Installing a2b_callback_daemon script to /usr/local/bin&lt;br /&gt;&lt;br /&gt;Installed /usr/local/lib/python2.6/dist-packages/callback_daemon-1.0.prod_r1527-py2.5.egg&lt;br /&gt;Processing dependencies for callback-daemon==1.0.prod-r1527&lt;br /&gt;Searching for callback-daemon==1.0.prod-r1527&lt;br /&gt;Reading http://pypi.python.org/simple/callback-daemon/&lt;br /&gt;Couldn&#39;t find index page for &#39;callback-daemon&#39; (maybe misspelled?)&lt;br /&gt;Scanning index of all packages (this may take a while)&lt;br /&gt;Reading http://pypi.python.org/simple/&lt;br /&gt;No local packages or download links found for callback-daemon==1.0.prod-r1527&lt;br /&gt;error: Could not find suitable distribution for Requirement.parse(&#39;callback-daemon==1.0.prod-r1527&#39;)&lt;br /&gt;root@freeradius:/usr/local/src/a2billing/CallBack# &lt;/pre&gt;&lt;br /&gt;because installed python version is 2.6 but a2billing1.4.4.1 require version 2.5[I guess hoho]. so try to fix this by install python2.5&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;root@freeradius:/usr/local/src/a2billing/CallBack# aptitude install python2.5&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information      &lt;br /&gt;Initializing package states... Done&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  libdb4.6{a} python2.5 python2.5-minimal{a} &lt;br /&gt;0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 4,825kB of archives. After unpacking 16.6MB will be used.&lt;br /&gt;Do you want to continue? [Y/n/?] y&lt;br /&gt;...&lt;br /&gt;Reading extended state information       &lt;br /&gt;Initializing package states... Done&lt;br /&gt;Writing extended state information... Done&lt;br /&gt;&lt;br /&gt;root@freeradius:/usr/local/src/a2billing/CallBack# &lt;/pre&gt;&lt;br /&gt;then try again.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;root@freeradius:/usr/local/src/a2billing/CallBack# update-alternatives --install /usr/bin/python python /usr/bin/python2.5 1&lt;br /&gt;update-alternatives: using /usr/bin/python2.5 to provide /usr/bin/python (python) in auto mode.&lt;br /&gt;root@freeradius:/usr/local/src/a2billing/CallBack# easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg&lt;br /&gt;Processing callback_daemon-1.0.prod_r1527-py2.5.egg&lt;br /&gt;Copying callback_daemon-1.0.prod_r1527-py2.5.egg to /usr/lib/python2.5/site-packages&lt;br /&gt;Adding callback-daemon 1.0.prod-r1527 to easy-install.pth file&lt;br /&gt;Installing a2b_callback_daemon script to /usr/bin&lt;br /&gt;&lt;br /&gt;Installed /usr/lib/python2.5/site-packages/callback_daemon-1.0.prod_r1527-py2.5.egg&lt;br /&gt;Processing dependencies for callback-daemon==1.0.prod-r1527&lt;br /&gt;Finished processing dependencies for callback-daemon==1.0.prod-r1527&lt;br /&gt;root@freeradius:/usr/local/src/a2billing/CallBack# &lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/7101594565734331555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/7101594565734331555' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/7101594565734331555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/7101594565734331555'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2010/01/a2billing-on-karmic-koala.html' title='a2billing on Karmic Koala'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-2045859227415790546</id><published>2009-12-22T22:43:00.006+07:00</published><updated>2009-12-23T00:14:58.175+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Arduino on Karmic Koala</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-GzbRtdEKb9Kcq4EzbRk4O520ZetMesZEJ73Awb2k7d1GqIcxWkyJAs_FvnlvSLzyBznUepBmVEDh7SMbQhL9KMjzUG6beOsfSRTKmkwoq6KIAB_Awv93OuSMPJo113JFdom0ThkvO64/s1600-h/arduino-ide.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 158px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-GzbRtdEKb9Kcq4EzbRk4O520ZetMesZEJ73Awb2k7d1GqIcxWkyJAs_FvnlvSLzyBznUepBmVEDh7SMbQhL9KMjzUG6beOsfSRTKmkwoq6KIAB_Awv93OuSMPJo113JFdom0ThkvO64/s200/arduino-ide.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5418096948273710594&quot; /&gt;&lt;/a&gt;&lt;br /&gt;To use arduino on karmic koala, first we need to install required package e.g. gcc-avr and jre[here i use jdk instead]&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@x300:~$ sudo aptitude install gcc-avr sun-java6-jdk&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information      &lt;br /&gt;Initializing package states... Done&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  binutils-avr{a} gcc-avr gsfonts-x11{a} java-common{a} odbcinst1debian1{a} sun-java6-bin{a} sun-java6-jdk &lt;br /&gt;  sun-java6-jre{a} unixodbc{a} &lt;br /&gt;0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;...     &lt;br /&gt;Initializing package states... Done&lt;br /&gt;Writing extended state information... Done&lt;br /&gt;&lt;br /&gt;pnix@x300:~$ &lt;/pre&gt;&lt;br /&gt;then get latest version of arduino ide, extract and run.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@x300:~/Downloads$ wget http://arduino.googlecode.com/files/arduino-0017.tgz&lt;br /&gt;--2009-12-22 23:05:34--  http://arduino.googlecode.com/files/arduino-0017.tgz&lt;br /&gt;Resolving arduino.googlecode.com... 209.85.231.82&lt;br /&gt;Connecting to arduino.googlecode.com|209.85.231.82|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 200 OK&lt;br /&gt;Length: 4141675 (3.9M) [application/x-gzip]&lt;br /&gt;Saving to: `arduino-0017.tgz&#39;&lt;br /&gt;&lt;br /&gt;100%[=========================================================================&gt;] 4,141,675   10.9K/s   in 8m 36s  &lt;br /&gt;&lt;br /&gt;2009-12-22 23:14:12 (7.83 KB/s) - `arduino-0017.tgz&#39; saved [4141675/4141675]&lt;br /&gt;&lt;br /&gt;pnix@x300:~/Downloads$ mkdir ~/bin&lt;br /&gt;pnix@x300:~/Downloads$ tar xzf arduino-0017.tgz  -C ~/bin&lt;br /&gt;pnix@x300:~/Downloads$ cd /home/pnix/bin/arduino-0017/arduino&lt;br /&gt;bash: cd: /home/pnix/bin/arduino-0017/arduino: Not a directory&lt;br /&gt;pnix@x300:~/Downloads$ cd /home/pnix/bin/arduino-0017/&lt;br /&gt;pnix@x300:~/bin/arduino-0017$ ./arduino &lt;br /&gt;Experimental:  JNI_OnLoad called.&lt;br /&gt;Stable Library&lt;br /&gt;=========================================&lt;br /&gt;Native lib Version = RXTX-2.1-7&lt;br /&gt;Java lib Version   = RXTX-2.1-7&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;Update:&lt;/span&gt;&lt;br /&gt;now the ide should start running fine. but after first compile i&#39;ve got many error about can&#39;t find many avr header file so another package we need [and i forgot].&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@x300:~/bin/arduino-0017$ sudo aptitude search avr-libc&lt;br /&gt;p   avr-libc                                          - Standard C library for Atmel AVR development               &lt;br /&gt;pnix@x300:~/bin/arduino-0017$ sudo aptitude install avr-libc&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information      &lt;br /&gt;Initializing package states... Done&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  avr-libc &lt;br /&gt;0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;...&lt;br /&gt;Writing extended state information... Done&lt;br /&gt;&lt;br /&gt;pnix@x300:~/bin/arduino-0017$ &lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/2045859227415790546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/2045859227415790546' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/2045859227415790546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/2045859227415790546'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2009/12/arduino-on-karmic-koala.html' title='Arduino on Karmic Koala'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-GzbRtdEKb9Kcq4EzbRk4O520ZetMesZEJ73Awb2k7d1GqIcxWkyJAs_FvnlvSLzyBznUepBmVEDh7SMbQhL9KMjzUG6beOsfSRTKmkwoq6KIAB_Awv93OuSMPJo113JFdom0ThkvO64/s72-c/arduino-ide.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-5428539039986257722</id><published>2009-12-11T13:17:00.002+07:00</published><updated>2009-12-11T13:32:56.594+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Fixing libstdc++5 Problem in Ubuntu 9.10</title><content type='html'>Trying to run X-lite on Karmic Koala[ubuntu 9.10] give me &#39;error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory&#39; as you see below.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@trinity:~/Downloads$ wget http://counterpath.s3.amazonaws.com/downloads/X-Lite_Install.tar.gz&lt;br /&gt;--2009-12-11 02:08:02--  http://counterpath.s3.amazonaws.com/downloads/X-Lite_Install.tar.gz&lt;br /&gt;Resolving counterpath.s3.amazonaws.com... 72.21.202.96&lt;br /&gt;Connecting to counterpath.s3.amazonaws.com|72.21.202.96|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 200 OK&lt;br /&gt;Length: 2094582 (2.0M) [application/x-gzip]&lt;br /&gt;Saving to: `X-Lite_Install.tar.gz&#39;&lt;br /&gt;&lt;br /&gt;100%[======================================&gt;] 2,094,582   90.1K/s   in 25s     &lt;br /&gt;&lt;br /&gt;2009-12-11 02:08:32 (83.2 KB/s) - `X-Lite_Install.tar.gz&#39; saved [2094582/2094582]&lt;br /&gt;&lt;br /&gt;pnix@trinity:~/Downloads$ tar xzf X-Lite_Install.tar.gz &lt;br /&gt;pnix@trinity:~/Downloads$ ls&lt;br /&gt;X-Lite_Install.tar.gz  xten-xlite&lt;br /&gt;pnix@trinity:~/Downloads$ cd xten-xlite/&lt;br /&gt;pnix@trinity:~/Downloads/xten-xlite$ ls&lt;br /&gt;README  xtensoftphone&lt;br /&gt;pnix@trinity:~/Downloads/xten-xlite$ ./xtensoftphone &lt;br /&gt;./xtensoftphone: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory&lt;br /&gt;pnix@trinity:~/Downloads/xten-xlite$ &lt;/pre&gt;&lt;br /&gt;Because 9.10 use libstdc++6 instead, To fix this download and install  libstdc++5 before running xlite&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@trinity:~/Downloads$ wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb&lt;br /&gt;--2009-12-11 03:22:09--  http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb&lt;br /&gt;Resolving mirrors.kernel.org... 130.239.17.6&lt;br /&gt;Connecting to mirrors.kernel.org|130.239.17.6|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 200 OK&lt;br /&gt;Length: 296434 (289K) [text/plain]&lt;br /&gt;Saving to: `libstdc++5_3.3.6-17ubuntu1_i386.deb&#39;&lt;br /&gt;&lt;br /&gt;100%[======================================&gt;] 296,434      328K/s   in 0.9s    &lt;br /&gt;&lt;br /&gt;2009-12-11 03:22:10 (328 KB/s) - `libstdc++5_3.3.6-17ubuntu1_i386.deb&#39; saved [296434/296434]&lt;br /&gt;&lt;br /&gt;pnix@trinity:~/Downloads$ sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb &lt;br /&gt;[sudo] password for pnix: &lt;br /&gt;Selecting previously deselected package libstdc++5.&lt;br /&gt;(Reading database ... 141309 files and directories currently installed.)&lt;br /&gt;Unpacking libstdc++5 (from libstdc++5_3.3.6-17ubuntu1_i386.deb) ...&lt;br /&gt;Setting up libstdc++5 (1:3.3.6-17ubuntu1) ...&lt;br /&gt;&lt;br /&gt;Processing triggers for libc-bin ...&lt;br /&gt;ldconfig deferred processing now taking place&lt;br /&gt;pnix@trinity:~/Downloads$ ./xtensoftphone &lt;br /&gt;bash: ./xtensoftphone: No such file or directory&lt;br /&gt;pnix@trinity:~/Downloads$ ls&lt;br /&gt;libstdc++5_3.3.6-17ubuntu1_i386.deb  X-Lite_Install.tar.gz  xten-xlite&lt;br /&gt;pnix@trinity:~/Downloads$ xten-xlite/xtensoftphone &lt;br /&gt;I/O warning : failed to load external entity &quot;/home/pnix/.Xscrc&quot;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/5428539039986257722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/5428539039986257722' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5428539039986257722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5428539039986257722'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2009/12/fixing-libstdc5-problem-in-ubuntu-910.html' title='Fixing libstdc++5 Problem in Ubuntu 9.10'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-8088394838649389700</id><published>2008-11-12T22:32:00.003+07:00</published><updated>2008-11-12T23:21:14.304+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>monitor your filesystem events with inotify-tools</title><content type='html'>I looking for the way to mirror files on my server to others when something&#39;re updated and found that &lt;a href=&quot;http://en.wikipedia.org/wiki/Inotify&quot;&gt;inotify&lt;/a&gt; is a good idea in this case. &lt;br /&gt;Thanks for &lt;a href=&quot;http://inotify-tools.sourceforge.net/&quot;&gt;inotify-tools&lt;/a&gt; project, c library and set of command line programs for linux provide interface to inotify, that let me avoid from c code.&lt;br /&gt;&lt;br /&gt;On ibex, i get it by..&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@pnix-a7n:~$ sudo aptitude install inotify-tools&lt;br /&gt;[sudo] password for pnix: &lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information       &lt;br /&gt;Initializing package states... Done&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  inotify-tools libinotifytools0{a} &lt;br /&gt;0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 39.0kB of archives. After unpacking 201kB will be used.&lt;br /&gt;Do you want to continue? [Y/n/?] y&lt;br /&gt;...&lt;br /&gt;Writing extended state information... Done&lt;br /&gt;&lt;br /&gt;pnix@pnix-a7n:~$ &lt;/pre&gt;&lt;br /&gt;Below is example shell script i use to moniter and update file to remote host&lt;with rsync&gt;.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;#!/bin/bash&lt;br /&gt;while inotifywait -rq -e close_write /folder_to_moniter; do&lt;br /&gt;        rsync -av /folder_to_moniter -e &quot;ssh -l pnix&quot; pnix@remotehost:/home/pnix/tmp&lt;br /&gt;done&lt;/pre&gt;&lt;br /&gt;for Java api look &lt;a href=&quot;http://code.google.com/p/inotify-java/&quot;&gt;here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/8088394838649389700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/8088394838649389700' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/8088394838649389700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/8088394838649389700'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/11/monitor-your-filesystem-events-with.html' title='monitor your filesystem events with inotify-tools'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-231584767662519868</id><published>2008-11-01T23:57:00.006+07:00</published><updated>2008-11-02T04:23:59.524+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Many sound problems on Intrepid ibex</title><content type='html'>I upgrade two ibex last night and found few sound problems below&lt;br /&gt;&lt;br /&gt;First, on video file(mpg,avi ..), when right click and choose &gt;open with &gt;mplayer. will bring up error &quot; [AO_ALSA] Unable to find simple control &#39;PCM&#39;,0 &quot;. &lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuaXctB5zitwEzBCyiHX9ww7towi5RkU3OObQvN6gT3Q8vQhn8c7Wd72Mok_hG94dP6VmsQhKLr3Zy2aDNcWgb5C1SXqZi9jyEuoLhaQ4-XKwc2jrkS5EMDYjlt81inezhrsWclBbfg8Q/s1600-h/AO_ALSA-Error!.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 90px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuaXctB5zitwEzBCyiHX9ww7towi5RkU3OObQvN6gT3Q8vQhn8c7Wd72Mok_hG94dP6VmsQhKLr3Zy2aDNcWgb5C1SXqZi9jyEuoLhaQ4-XKwc2jrkS5EMDYjlt81inezhrsWclBbfg8Q/s320/AO_ALSA-Error!.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5263744550867333042&quot; /&gt;&lt;/a&gt;I&#39;m not sure what it is, maybe the config just is not right but I fix this by right click on movie window-&gt; preference then on audio tab, select &#39;Enable Software Mixer&#39;. [or you can do this by change &#39;softvol = &quot;no&quot;&#39; to &#39;softvol = &quot;yes&quot;&#39; in $HOME/.mplayer/gui.conf]&lt;br /&gt;&lt;br /&gt;Another sound issue is flash player on web[like youtube] not play sound. /var/log/message said&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@pnix-a7n:_NHDT392$ tail -f /var/log/messages&lt;br /&gt;...&lt;br /&gt;Nov  2 00:33:14 pnix-a7n -- MARK --&lt;br /&gt;Nov  2 00:40:51 pnix-a7n pulseaudio[23941]: sink-input.c: Failed to create sink input: too many inputs per sink.&lt;br /&gt;Nov  2 00:40:51 pnix-a7n last message repeated 31 times&lt;br /&gt;Nov  2 00:40:51 pnix-a7n pulseaudio[23941]: protocol-native.c: Warning! Too many connections (64), dropping incoming connection.&lt;/pre&gt; and after run flash, no sound from other application too. I saw bug report for this issue on lunchpad &lt;a href=&quot;https://bugs.launve chpad.net/ubuntu/+source/pulseaudio/+bug/226342&quot;&gt;here&lt;/a&gt; but no solution for me. I have to kill and restart pulseaudio like this to get sound back.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@pnix-a7n:~$ pulseaudio -k&lt;br /&gt;W: ltdl-bind-now.c: Failed to find original dlopen loader.&lt;br /&gt;pnix@pnix-a7n:~$ ps aux|grep pulseaudio&lt;br /&gt;pnix      2510  0.0  0.0   3236   796 pts/0    S+   04:14   0:00 grep pulseaudio&lt;br /&gt;pnix@pnix-a7n:~$ pulseaudio -D&lt;br /&gt;W: ltdl-bind-now.c: Failed to find original dlopen loader.&lt;br /&gt;pnix@pnix-a7n:~$ ps aux|grep pulseaudio&lt;br /&gt;pnix      2513  3.0  0.3  28952  3952 ?        Ssl  04:14   0:00 pulseaudio -D&lt;br /&gt;pnix      2516  0.0  0.2   7528  2516 ?        S    04:14   0:00 /usr/lib/pulseaudio/pulse/gconf-helper&lt;br /&gt;pnix      2518  0.0  0.0   3236   792 pts/0    S+   04:14   0:00 grep pulseaudio&lt;br /&gt;pnix@pnix-a7n:~$ &lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/231584767662519868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/231584767662519868' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/231584767662519868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/231584767662519868'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/11/many-sound-problems-on-intrepid-ibex.html' title='Many sound problems on Intrepid ibex'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuaXctB5zitwEzBCyiHX9ww7towi5RkU3OObQvN6gT3Q8vQhn8c7Wd72Mok_hG94dP6VmsQhKLr3Zy2aDNcWgb5C1SXqZi9jyEuoLhaQ4-XKwc2jrkS5EMDYjlt81inezhrsWclBbfg8Q/s72-c/AO_ALSA-Error!.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-4729431076583106565</id><published>2008-09-24T23:09:00.003+07:00</published><updated>2008-09-24T23:28:28.101+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Fixing shutdown problem in hardy</title><content type='html'>For a long time my ubuntu box can&#39;t shutdown properly(not sure when this start to happen may be since upgrade to gusty). Shutdown progress bar will stop running, harddrive already stop spinning and hang. I guess it because my kernel option &quot;acpi=off nolapic irqpoll&quot; in /boot/grub/menu.lst without these option shutdown script work perfect. &lt;a href=&quot;http://lj4newbies.blogspot.com/2007/10/pnix-report-on-gutsy.html&quot;&gt;So, why i need that??&lt;/a&gt;&lt;br /&gt;I just found the way to fix this from ubuntuforums. This is not new, many guy has this problem and it fixed. To solve this problem [for me]&lt;br /&gt;&lt;br /&gt;1.add &quot;apm=power_off&quot; to kernel option.&lt;br /&gt;2.add &quot;apm power_off=1&quot; to /etc/modules&lt;br /&gt;&lt;br /&gt;Reboot and try shutdown again this time it work perfect.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/4729431076583106565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/4729431076583106565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4729431076583106565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4729431076583106565'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/09/fixing-shutdown-problem-in-hardy.html' title='Fixing shutdown problem in hardy'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-5504052851732117179</id><published>2008-09-24T22:22:00.003+07:00</published><updated>2008-09-24T22:41:49.205+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Bootchart on Ubuntu hardy</title><content type='html'>Today I&#39;m searching for a way to make my box boot up faster and found this tool. Bootchart can use for analyze and visualization boot process. &lt;br /&gt;To install bootchart.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@pnix-a7n:~$ sudo aptitude install bootchart&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information       &lt;br /&gt;Initializing package states... Done&lt;br /&gt;Building tag database... Done      &lt;br /&gt;The following NEW packages will be automatically installed:&lt;br /&gt;  librsvg2-bin &lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  bootchart librsvg2-bin &lt;br /&gt;0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 121kB of archives. After unpacking 324kB will be used.&lt;br /&gt;Do you want to continue? [Y/n/?] y&lt;br /&gt;Writing extended state information... Done&lt;br /&gt;Get:1 http://mirror1.ku.ac.th hardy/main librsvg2-bin 2.22.2-2 [21.3kB]&lt;br /&gt;Get:2 http://mirror1.ku.ac.th hardy/main bootchart 0.9-0ubuntu7 [99.8kB]&lt;br /&gt;Fetched 121kB in 1s (90.6kB/s)    &lt;br /&gt;...&lt;br /&gt;Building tag database... Done             &lt;br /&gt;pnix@pnix-a7n:~$ &lt;/pre&gt;&lt;br /&gt;then reboot to see the result[in /var/log/bootchart].&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW89N8ZVRXf5DO9Pl78CUl69bylU4iqQ7EGgd8YoZFcyr0CyubyW1OfoOdukJnOVhBV8kgHAIvD_BtyoyxVuZtIpah6kjszQSqXJCqJnlLi3ttS2qvcGTpSSchCvkCWH5yXuvqGLC4NnA/s1600-h/hardy-20080924-1.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW89N8ZVRXf5DO9Pl78CUl69bylU4iqQ7EGgd8YoZFcyr0CyubyW1OfoOdukJnOVhBV8kgHAIvD_BtyoyxVuZtIpah6kjszQSqXJCqJnlLi3ttS2qvcGTpSSchCvkCWH5yXuvqGLC4NnA/s320/hardy-20080924-1.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5249612323789790466&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Mine take about 34 seconds to boot. Not too bad for six years old box(Athlon XP 1700+, A7N8X-E deluxe, 1G Memory, SATA), but I want faster.&lt;br /&gt;From graph I found few process i install long time ago, and some default configure to autoboot. e.g. avahi-daemon, cvsd, laptop-mode[powernowd], smokeping, winbind.&lt;br /&gt;So, take it out with rcconf, reboot again and see the result.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVsI9lpnDvZWPMjXklotA3ZzycElpmmeU-yhbhOR7Ct0Zn0JAIu5FWLqISMrtHTgTXV3jDNJS4GZx4WChhGwAt5aWeosR4sOIWHwEYPvRAKz62Wt9LzC2ZfhqynRieMC8b4BwGtD6NdF0/s1600-h/hardy-20080924-2.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVsI9lpnDvZWPMjXklotA3ZzycElpmmeU-yhbhOR7Ct0Zn0JAIu5FWLqISMrtHTgTXV3jDNJS4GZx4WChhGwAt5aWeosR4sOIWHwEYPvRAKz62Wt9LzC2ZfhqynRieMC8b4BwGtD6NdF0/s320/hardy-20080924-2.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5249612807716694226&quot; /&gt;&lt;/a&gt;&lt;br /&gt;30 seconds wow I safe 4 sec.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/5504052851732117179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/5504052851732117179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5504052851732117179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5504052851732117179'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/09/bootchart-on-ubuntu-hardy.html' title='Bootchart on Ubuntu hardy'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW89N8ZVRXf5DO9Pl78CUl69bylU4iqQ7EGgd8YoZFcyr0CyubyW1OfoOdukJnOVhBV8kgHAIvD_BtyoyxVuZtIpah6kjszQSqXJCqJnlLi3ttS2qvcGTpSSchCvkCWH5yXuvqGLC4NnA/s72-c/hardy-20080924-1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-7708291195755627806</id><published>2008-06-19T16:25:00.001+07:00</published><updated>2008-06-19T16:28:29.108+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ofbiz"/><title type='text'>Setup MySQL with Ofbiz</title><content type='html'>Download ofbiz weekily build and extract it somewhere you want. From your ofbiz directory, edit file entityengine.xml in framework/entity/config&lt;br /&gt;add new datasources below localmysql datasource part&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;    &amp;lt;datasource name=&quot;custommysql&quot;&lt;br /&gt;            helper-class=&quot;org.ofbiz.entity.datasource.GenericHelperDAO&quot;&lt;br /&gt;            field-type-name=&quot;mysql&quot;&lt;br /&gt;            check-on-start=&quot;true&quot;&lt;br /&gt;            add-missing-on-start=&quot;true&quot;&lt;br /&gt;            check-pks-on-start=&quot;false&quot;&lt;br /&gt;            use-foreign-keys=&quot;true&quot;&lt;br /&gt;            join-style=&quot;ansi-no-parenthesis&quot;&lt;br /&gt;            alias-view-columns=&quot;false&quot;&lt;br /&gt;            drop-fk-use-foreign-key-keyword=&quot;true&quot;&lt;br /&gt;            table-type=&quot;InnoDB&quot;&lt;br /&gt;            character-set=&quot;latin1&quot;&lt;br /&gt;            collate=&quot;latin1_general_cs&quot;&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;seed&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;seed-initial&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;demo&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;ext&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;inline-jdbc&lt;br /&gt;                jdbc-driver=&quot;com.mysql.jdbc.Driver&quot;&lt;br /&gt;                jdbc-uri=&quot;jdbc:mysql://localhost/ofbiz&quot;&lt;br /&gt;                jdbc-username=&quot;ofbizuser&quot;&lt;br /&gt;                jdbc-password=&quot;mypass&quot;&lt;br /&gt;                isolation-level=&quot;ReadCommitted&quot;&lt;br /&gt;                pool-minsize=&quot;2&quot;&lt;br /&gt;                pool-maxsize=&quot;250&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;!-- &amp;lt;jndi-jdbc jndi-server-name=&quot;localjndi&quot; jndi-name=&quot;java:/MySqlDataSource&quot; isolation-level=&quot;Serializable&quot;/&amp;gt; --&amp;gt;&lt;br /&gt;    &amp;lt;/datasource&amp;gt;&lt;br /&gt;    &amp;lt;datasource name=&quot;custommysqlolap&quot;&lt;br /&gt;            helper-class=&quot;org.ofbiz.entity.datasource.GenericHelperDAO&quot;&lt;br /&gt;            field-type-name=&quot;mysql&quot;&lt;br /&gt;            check-on-start=&quot;true&quot;&lt;br /&gt;            add-missing-on-start=&quot;true&quot;&lt;br /&gt;            check-pks-on-start=&quot;false&quot; &lt;br /&gt;            use-foreign-keys=&quot;true&quot;            &lt;br /&gt;            join-style=&quot;ansi-no-parenthesis&quot;&lt;br /&gt;            alias-view-columns=&quot;false&quot;&lt;br /&gt;            drop-fk-use-foreign-key-keyword=&quot;true&quot;&lt;br /&gt;            table-type=&quot;InnoDB&quot;&lt;br /&gt;            character-set=&quot;latin1&quot; &lt;br /&gt;            collate=&quot;latin1_general_cs&quot;&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;seed&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;seed-initial&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;demo&quot;/&amp;gt;&lt;br /&gt;        &amp;lt;read-data reader-name=&quot;ext&quot;/&amp;gt;         &lt;br /&gt;        &amp;lt;inline-jdbc                  &lt;br /&gt;                jdbc-driver=&quot;com.mysql.jdbc.Driver&quot;&lt;br /&gt;                jdbc-uri=&quot;jdbc:mysql://localhost/ofbizolap?autoReconnect=true&quot;&lt;br /&gt;                jdbc-username=&quot;ofbizuser&quot;&lt;br /&gt;                jdbc-password=&quot;mypass&quot;  &lt;br /&gt;                isolation-level=&quot;ReadCommitted&quot;&lt;br /&gt;                pool-minsize=&quot;2&quot;&lt;br /&gt;                pool-maxsize=&quot;250&quot;/&amp;gt;               &lt;br /&gt;        &amp;lt;!-- &amp;lt;jndi-jdbc jndi-server-name=&quot;localjndi&quot; jndi-name=&quot;java:/DerbyDataSource&quot; isolation-level=&quot;ReadCommitted&quot;/&amp;gt; --&amp;gt;&lt;br /&gt;    &amp;lt;/datasource&amp;gt;&lt;/pre&gt;&lt;br /&gt;change the &quot;default&quot; delegator make it look like this&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;&amp;lt;delegator name=&quot;default&quot; entity-model-reader=&quot;main&quot; entity-group-reader=&quot;main&quot; entity-eca-reader=&quot;main&quot; distributed-cache-clea$&lt;br /&gt;    &amp;lt;group-map group-name=&quot;org.ofbiz&quot; datasource-name=&quot;custommysql&quot;/&amp;gt;&lt;br /&gt;    &amp;lt;group-map group-name=&quot;org.ofbiz.olap&quot; datasource-name=&quot;custommysqlolap&quot;/&amp;gt;&lt;br /&gt;&amp;lt;/delegator&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;put mysql driver under framework/entity/lib/jdbc&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[admin@localhost ofbiz]$ ls framework/entity/lib/jdbc&lt;br /&gt;derby-10.4.1.3.jar  mysql-connector-java-5.1.6-bin.jar&lt;br /&gt;[admin@localhost ofbiz]$ &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;prepare database &amp;lt;create database ,grant user&amp;gt;&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;mysql&amp;gt; create database ofbiz;&lt;br /&gt;Query OK, 1 row affected (0.05 sec)&lt;br /&gt;&lt;br /&gt;mysql&amp;gt; create database ofbizolap;&lt;br /&gt;Query OK, 1 row affected (0.05 sec)&lt;br /&gt;&lt;br /&gt;mysql&amp;gt; grant all on *.* to &#39;ofbizuser&#39;@&#39;localhost&#39; identified by &#39;mypass&#39;;&lt;br /&gt;Query OK, 0 rows affected (0.03 sec)&lt;br /&gt;&lt;br /&gt;mysql&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;now we&#39;re ready to run ant to load database into mysql. Let&#39;s go.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[admin@localhost ofbiz]$ ./ant run-install&lt;br /&gt;...&lt;br /&gt;[java] 2008-06-19 10:59:06,245 (main) [    ContainerLoader.java:114:INFO ] Shutting down containers&lt;br /&gt;&lt;br /&gt;BUILD SUCCESSFUL&lt;br /&gt;Total time: 5 minutes 25 seconds&lt;br /&gt;[admin@localhost ofbiz]$ &lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/7708291195755627806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/7708291195755627806' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/7708291195755627806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/7708291195755627806'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/06/setup-mysql-with-ofbiz.html' title='Setup MySQL with Ofbiz'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-5263616202234425173</id><published>2008-06-18T21:10:00.006+07:00</published><updated>2008-06-19T16:30:16.586+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="ofbiz"/><title type='text'>Cannot use SUN rmic, as it is not available.</title><content type='html'>I download ofbiz weekly build[ofbiz_20080602.zip] &lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=145855&amp;package_id=188559&quot;&gt;from sourceforge&lt;/a&gt; and try to build it on eclipse. How to config on eclipse? How to &lt;a href=&quot;http://lj4newbies.blogspot.com/2008/06/setup-mysql-with-ofbiz.html&quot;&gt;use ofbiz with external database&lt;/a&gt;? you can find out from google or may be I&#39;ll post here later.:P&lt;br /&gt;This post is about error when I run ant build target &#39;run-install&#39; to load configured data. Below error&#39;ll show on eclipse console. &lt;br /&gt;&lt;pre class=&quot;synt&quot;&gt;...&lt;br /&gt;stubs:&lt;br /&gt;     [rmic] RMI Compiling 1 class to D:\eclipse_workspace\ofbiz2\framework\service\build\classes&lt;br /&gt;&lt;br /&gt;BUILD FAILED&lt;br /&gt;D:\eclipse_workspace\ofbiz2\build.xml:125: The following error occurred while executing this line:&lt;br /&gt;D:\eclipse_workspace\ofbiz2\framework\build.xml:142: The following error occurred while executing this line:&lt;br /&gt;D:\eclipse_workspace\ofbiz2\framework\service\build.xml:101: Cannot use SUN rmic, as it is not available.  A common solution is to set the environment variable JAVA_HOME or CLASSPATH.&lt;br /&gt;&lt;br /&gt;Total time: 8 seconds&lt;/pre&gt; &lt;br /&gt;I solve this by browse to Window-&gt;Preferences-&gt;Ant-&gt;Runtime then highlight on &#39;Global Entries&#39;, click &#39;Add Externals JARs&#39; then select tools.jar from your $JAVA_HOME/lib directory. Try run ant build again then it sould be fine.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/5263616202234425173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/5263616202234425173' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5263616202234425173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5263616202234425173'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/06/cannot-use-sun-rmic-as-it-is-not.html' title='Cannot use SUN rmic, as it is not available.'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-8481244064886292487</id><published>2008-06-05T15:32:00.014+07:00</published><updated>2008-06-07T03:08:28.487+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Compile subversion on Fedora core 6</title><content type='html'>I just move to new company. My first job here is setup a svn on FC6 box. This post is about how i built it.&lt;br /&gt;First download, compile and install apache[must be 2.0 version to have same apr version as subversion-deps-1.4.6.tar.bz2]&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@localhost ~]# wget http://mirrors.issp.co.th/apache/httpd/httpd-2.0.63.tar.bz2&lt;br /&gt;...&lt;br /&gt;[root@localhost ~]# tar xjf httpd-2.0.63.tar.bz2&lt;br /&gt;[root@localhost ~]# cd httpd-2.0.63&lt;br /&gt;[root@localhost httpd-2.0.63]# ./buildconf&lt;br /&gt;[root@localhost httpd-2.0.63]# ./configure --enable-dav --enable-so --enable-maintainer-mode --prefix=/usr/local/apache20&lt;br /&gt;...&lt;br /&gt;[root@localhost httpd-2.0.63]# make &amp;&amp; make install&lt;br /&gt;...&lt;br /&gt;[root@localhost httpd-2.0.63]# cd ..&lt;br /&gt;[root@localhost ~]# &lt;/pre&gt;&lt;br /&gt;then download subversion source code and the subversion dependencies source code, extract both then go to compile and install apr, apr-util, neon and subversion itself.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@localhost ~]# wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.bz2&lt;br /&gt;...&lt;br /&gt;[root@localhost ~]# wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.bz2&lt;br /&gt;...&lt;br /&gt;[root@localhost ~]# tar xjf subversion-1.4.6.tar.bz2&lt;br /&gt;[root@localhost ~]# tar xjf subversion-deps-1.4.6.tar.bz2&lt;br /&gt;[root@localhost ~]# cd subversion-1.4.6/apr&lt;br /&gt;[root@localhost apr]# ./configure --prefix=/usr/local/apr&lt;br /&gt;...&lt;br /&gt;[root@localhost apr]# make &amp;&amp; make install&lt;br /&gt;...&lt;br /&gt;[root@localhost apr]# cd ../apr-util&lt;br /&gt;[root@localhost apr-util]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/&lt;br /&gt;...&lt;br /&gt;[root@localhost apr-util]# make &amp;&amp; make install&lt;br /&gt;...&lt;br /&gt;[root@localhost apr-util]# cd ../neon&lt;br /&gt;[root@localhost neon]# ./configure --prefix=/usr/local/neon&lt;br /&gt;...&lt;br /&gt;[root@localhost neon]# make &amp;&amp; make install&lt;br /&gt;...&lt;br /&gt;[root@localhost neon]# cd ..&lt;br /&gt;[root@localhost subversion-1.4.6]# ./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache20/bin/apxs --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --with-neon=/usr/local/neon/ --with-ssl&lt;br /&gt;...&lt;br /&gt;[root@localhost subversion-1.4.6]# make &amp;&amp; make install&lt;br /&gt;...&lt;br /&gt;[root@localhost subversion-1.4.6]# &lt;/pre&gt;&lt;br /&gt;now subversion is already installed, add apache user&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@localhost subversion-1.4.6]# groupadd apache&lt;br /&gt;[root@localhost subversion-1.4.6]# useradd -g apache -d /usr/local/apache20&lt;br /&gt;[root@localhost subversion-1.4.6]# chown -Rv apache.apache /usr/local/apache20&lt;/pre&gt;&lt;br /&gt;edit /usr/local/apache2/conf/httpd.conf change..&lt;br /&gt;&lt;pre class=&quot;synt&quot;&gt;User nobody&lt;br /&gt;Group #-1&lt;/pre&gt;&lt;br /&gt;to&lt;br /&gt;&lt;pre class=&quot;synt&quot;&gt;User apache&lt;br /&gt;Group apache&lt;/pre&gt;&lt;br /&gt;and add this code to end of file.&lt;br /&gt;&lt;pre class=&quot;synt&quot;&gt;&amp;lt;Location /subversion&amp;gt;&lt;br /&gt;  DAV svn&lt;br /&gt;  SVNPath /usr/local/subversion/repository/&lt;br /&gt;  AuthType Basic&lt;br /&gt;  AuthName &quot;Subversion repository&quot;&lt;br /&gt;  AuthUserFile /usr/local/subversion/repository/conf/svn-auth-file&lt;br /&gt;  Require valid-user&lt;br /&gt;&amp;lt;/Location&amp;gt;&lt;/pre&gt;&lt;br /&gt;create password with this command&lt;br /&gt;&lt;pre class=&quot;synt&quot;&gt;/usr/local/apache20/bin/htpasswd -cmd /usr/local/subversion/repository/conf/svn-auth-file {user-name}&lt;/pre&gt;&lt;br /&gt;create a repository&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@localhost ~]# mkdir -v /usr/local/subversion/repository&lt;br /&gt;[root@localhost ~]# svnadmin create --fs-type fsfs /usr/local/subversion/repository&lt;br /&gt;[root@localhost ~]# &lt;/pre&gt;&lt;br /&gt;Last to test I will try import some file to repos.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@localhost src]# touch source1&lt;br /&gt;[root@localhost src]# touch source2&lt;br /&gt;[root@localhost src]# ls&lt;br /&gt;source1  source2&lt;br /&gt;[root@localhost src]# svn -m &quot;initial import to svn&quot; import . http://127.0.0.1/subversion/&lt;br /&gt;Authentication realm: &lt;http://127.0.0.1:80&gt; Subversion repository&lt;br /&gt;Password for &#39;root&#39;: &lt;br /&gt;Authentication realm: &lt;http://127.0.0.1:80&gt; Subversion repository&lt;br /&gt;Username: swd&lt;br /&gt;Password for &#39;swd&#39;: &lt;br /&gt;svn: Can&#39;t create directory &#39;/usr/local/subversion/repository/db/transactions/0-1.txn&#39;: Permission denied&lt;/pre&gt;&lt;br /&gt;uhh.. you need to make apache user can access all the files in the repository.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@localhost src]# chown -R apache.apache /usr/local/subversion/repository&lt;br /&gt;[root@localhost src]# chmod g+s /usr/local/subversion/repository/db&lt;br /&gt;[root@localhost src]# svn -m &quot;initial import to svn&quot; import . http://127.0.0.1/subversion/&lt;br /&gt;Authentication realm: &lt;http://127.0.0.1:80&gt; Subversion repository&lt;br /&gt;Password for &#39;root&#39;: &lt;br /&gt;Authentication realm: &lt;http://127.0.0.1:80&gt; Subversion repository&lt;br /&gt;Username: swd&lt;br /&gt;Password for &#39;swd&#39;: &lt;br /&gt;Adding         source1&lt;br /&gt;Adding         source2&lt;br /&gt;&lt;br /&gt;Committed revision 1.&lt;br /&gt;[root@localhost src]# &lt;/pre&gt;&lt;br /&gt;That&#39;s all. You can browse repos. via url &#39;http://127.0.0.1/subversion/&#39;.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/8481244064886292487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/8481244064886292487' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/8481244064886292487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/8481244064886292487'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/06/compile-subversion-on-fedora-core-6.html' title='Compile subversion on Fedora core 6'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-4319031378261444447</id><published>2008-05-15T15:34:00.002+07:00</published><updated>2008-05-15T17:07:15.799+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Try Asterisk on Ubuntu Hardy</title><content type='html'>I try install asterisk server on ubuntu hardy from repos. The &#39;asterisk-sounds-extra&#39; is for testing sound[locate in /usr/share/asterisk/sounds/].&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@v400ast:~$ sudo aptitude install asterisk  asterisk-sounds-extra&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information       &lt;br /&gt;Initializing package states... Done&lt;br /&gt;Building tag database... Done      &lt;br /&gt;The following NEW packages will be automatically installed:&lt;br /&gt;  asterisk-config asterisk-sounds-main build-essential debhelper dpkg-dev g++ g++-4.2 &lt;br /&gt;  gettext html2text intltool-debian libc-client2007 libc6-dev libcompress-raw-zlib-perl &lt;br /&gt;  libcompress-zlib-perl libct3 libdigest-hmac-perl libdigest-sha1-perl libfile-remove-perl &lt;br /&gt;  libgsm1 libiksemel3 libio-compress-base-perl libio-compress-zlib-perl libio-stringy-perl &lt;br /&gt;  libmail-box-perl libmail-sendmail-perl libmailtools-perl libmime-types-perl &lt;br /&gt;  libobject-realize-later-perl libpq5 libpri1.0 libradiusclient-ng2 libstdc++6-4.2-dev &lt;br /&gt;  libtimedate-perl libtonezone1 libuser-identity-perl libvpb0 linux-libc-dev mlock &lt;br /&gt;  module-assistant odbcinst1debian1 patch po-debconf unixodbc vpb-driver-source &lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  asterisk asterisk-config asterisk-sounds-extra asterisk-sounds-main build-essential &lt;br /&gt;  debhelper dpkg-dev g++ g++-4.2 gettext html2text intltool-debian libc-client2007 &lt;br /&gt;  libc6-dev libcompress-raw-zlib-perl libcompress-zlib-perl libct3 libdigest-hmac-perl &lt;br /&gt;  libdigest-sha1-perl libfile-remove-perl libgsm1 libiksemel3 libio-compress-base-perl &lt;br /&gt;  libio-compress-zlib-perl libio-stringy-perl libmail-box-perl libmail-sendmail-perl &lt;br /&gt;  libmailtools-perl libmime-types-perl libobject-realize-later-perl libpq5 libpri1.0 &lt;br /&gt;  libradiusclient-ng2 libstdc++6-4.2-dev libtimedate-perl libtonezone1 &lt;br /&gt;  libuser-identity-perl libvpb0 linux-libc-dev mlock module-assistant odbcinst1debian1 &lt;br /&gt;  patch po-debconf unixodbc vpb-driver-source &lt;br /&gt;0 packages upgraded, 46 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 23.5MB of archives. After unpacking 73.8MB will be used.&lt;br /&gt;Do you want to continue? [Y/n/?] y&lt;br /&gt;...&lt;br /&gt;Building tag database... Done             &lt;br /&gt;pnix@v400ast:~$ &lt;/pre&gt;&lt;br /&gt;After finish, try to connect to asterisk&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@v400ast:~$ sudo asterisk -rvvv&lt;br /&gt;Asterisk 1.4.17~dfsg-2ubuntu1, Copyright (C) 1999 - 2007 Digium, Inc. and others.&lt;br /&gt;Created by Mark Spencer &lt;markster@digium.com&gt;&lt;br /&gt;Asterisk comes with ABSOLUTELY NO WARRANTY; type &#39;core show warranty&#39; for details.&lt;br /&gt;This is free software, with components licensed under the GNU General Public&lt;br /&gt;License version 2 and other licenses; you are welcome to redistribute it under&lt;br /&gt;certain conditions. Type &#39;core show license&#39; for details.&lt;br /&gt;=========================================================================&lt;br /&gt;This package has been modified for the Debian GNU/Linux distribution&lt;br /&gt;Please report all bugs to http://bugs.debian.org/asterisk&lt;br /&gt;=========================================================================&lt;br /&gt;  == Parsing &#39;/etc/asterisk/asterisk.conf&#39;: Found&lt;br /&gt;  == Parsing &#39;/etc/asterisk/extconfig.conf&#39;: Found&lt;br /&gt;Connected to Asterisk 1.4.17~dfsg-2ubuntu1 currently running on v400ast (pid = 5041)&lt;br /&gt;Verbosity is at least 3&lt;br /&gt;v400ast*CLI&gt; &lt;/pre&gt;&lt;br /&gt;Well.. basic installation is very smooth. I try adding sip account and test dialplan to play &#39;welcome&#39; sound and it working fine too. May be i will use this to be my production server instead of trixbox if I succeed on compiling rhino driver on ubuntu.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/4319031378261444447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/4319031378261444447' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4319031378261444447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/4319031378261444447'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/05/try-asterisk-on-ubuntu-hardy.html' title='Try Asterisk on Ubuntu Hardy'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-5237510066329822327</id><published>2008-05-15T10:59:00.004+07:00</published><updated>2008-05-15T11:26:49.976+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Fixing sendmail take a long time to start</title><content type='html'>I notice that my database box[FC6+Oracle10.2] take along time to startup. Sendmail and sm-client very very slow to start[ about 5 minutes ]. There&#39;s something wrong in /etc/hosts file. &#39;newalises&#39; command take long time to update and finish with error below.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@ora10g ~]# newaliases&lt;br /&gt;WARNING: local host name (ora10g) is not qualified; see cf/README: WHO AM I?&lt;br /&gt;/etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total&lt;br /&gt;[root@ora10g ~]# cat /etc/hosts&lt;br /&gt;# Do not remove the following line, or various programs&lt;br /&gt;# that require network functionality will fail.&lt;br /&gt;127.0.0.1       localhost.localdomain   localhost &lt;br /&gt;192.168.1.55    ora10g&lt;br /&gt;[root@ora10g ~]# &lt;/pre&gt;&lt;br /&gt;To fix this, custom hostname[ora10g] need to append to localhost line in /etc/hosts.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[root@ora10g ~]# cat /etc/hosts&lt;br /&gt;# Do not remove the following line, or various programs&lt;br /&gt;# that require network functionality will fail.&lt;br /&gt;127.0.0.1       localhost.localdomain   localhost ora10g&lt;br /&gt;192.168.1.55    ora10g&lt;br /&gt;[root@ora10g ~]# newaliases&lt;br /&gt;/etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total&lt;br /&gt;[root@ora10g ~]# &lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/5237510066329822327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/5237510066329822327' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5237510066329822327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/5237510066329822327'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/05/fixing-sendmail-take-long-time-to-start.html' title='Fixing sendmail take a long time to start'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-3515987432503775855</id><published>2008-05-09T11:09:00.005+07:00</published><updated>2008-05-10T02:14:29.592+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><title type='text'>Using Datapump on oracle 10g to export/import</title><content type='html'>&lt;pre class=&quot;synt&quot;&gt;This will be update version of &lt;a href=&quot;http://lj4newbies.blogspot.com/2008/04/exportimport-data-in-oracle-with-expimp.html&quot;&gt;this post&lt;/a&gt; if you are using oracle 10g or 11g.&lt;/pre&gt;&lt;br /&gt;Last month I post about export/import data in oracle using exp,imp utility. Actually oracle has something newer and better performance if you&#39;re using 10g or 11g.&lt;br /&gt;&lt;br /&gt;Assume that we want to export one table from one oracle db and import it into another oracle db. So create the folder /home/oracle/dbbackup on two oracle db server to store &lt;.dmp&gt; file[that will be created when exporting and importing].&lt;br /&gt;&lt;br /&gt;Next, we need to tell oracle to know this folder, create directory on both db by run command below in sqlplus&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;SQL&gt; create directory &lt;em&gt;dmpdir&lt;/em&gt; as &#39;/home/oracle/dbbackup&#39;;&lt;br /&gt;&lt;br /&gt;Directory created.&lt;br /&gt;&lt;br /&gt;SQL&gt; &lt;/pre&gt;&lt;br /&gt;Now on source database export table with command below.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[oracle@k8n ~]$ expdp &lt;em&gt;username/password&lt;/em&gt; DIRECTORY=&lt;em&gt;dmpdir&lt;/em&gt; DUMPFILE=&lt;em&gt;filename.dmp&lt;/em&gt; TABLES=&lt;em&gt;tablename&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Export: Release 10.1.0.3.0 - Production on Friday, 09 May, 2008 10:54&lt;br /&gt;...&lt;br /&gt;[oracle@k8n ~]$ &lt;/pre&gt;&lt;br /&gt;after finish you will have filename.dmp in /home/oracle/dbbackup, ftp it to the target box make sure you are using binary mode. &lt;br /&gt;Then on target database import the table like this. &lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;[oracle@dbp4 ~]$ impdp &lt;em&gt;username/password&lt;/em&gt; DIRECTORY=&lt;em&gt;dmpdir&lt;/em&gt; DUMPFILE==&lt;em&gt;filename.dmp&lt;/em&gt; TABLES=&lt;em&gt;tablename&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Import: Release 10.2.0.1.0 - Production on Friday, 09 May, 2008 11:02:27&lt;br /&gt;...&lt;br /&gt;[oracle@dbp4 ~]$ &lt;/pre&gt;&lt;br /&gt;That&#39;s it. Note that up there exporting from 10.1.0.3.0 and importing into 10.2.0.1.0 is ok but down version import[e.g. expdp with higher version and impdp with lower version]is not, you will get error like this&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;ORA-39001: invalid argument value&lt;br /&gt;ORA-39000: bad dump file specification&lt;br /&gt;ORA-31619: invalid dump file &quot;/home/oracle/dbbackup/filename.dmp&quot;&lt;/pre&gt;&lt;br /&gt;To fix this error, expdp command must append with &#39;version=10.target.version&#39;.&lt;br /&gt;&lt;br /&gt;more detail about expdp/impdp tool&lt;br /&gt;&lt;pre class=&quot;synt&quot;&gt;expdp help=yes&lt;br /&gt;impdp help=yes&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/3515987432503775855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/3515987432503775855' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/3515987432503775855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/3515987432503775855'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/05/using-datapump-on-oracle-10g-to.html' title='Using Datapump on oracle 10g to export/import'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-1724441134168009586</id><published>2008-05-06T12:50:00.004+07:00</published><updated>2008-05-06T13:27:27.619+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Single user mode in fedora core</title><content type='html'>Again that electricity in area of Sukhumvit road, Bangkok down yesterday night. This time one database refuse to boot it freeze at &quot;Starting system logger:&quot;. Look like there&#39;s no way to get a shell from any normal run level startup.&lt;br /&gt; &lt;br /&gt;Not like ubuntu that has recovery mode in grub menu. This box is fedora core, I know there&#39;s a way to get in to single user mode by pass kernel parameter at grub boot menu [but can not remember how to at that time:(].&lt;br /&gt;&lt;br /&gt;After some googling I found the way. To get single user mode in FC, at grub menu press &lt;strong&gt;a&lt;/strong&gt; [to append kernel parameter]. Now add &lt;strong&gt;s&lt;/strong&gt; to tell fedora kernel that you want single user mode. After finish, enter to continue booting.&lt;br /&gt;&lt;br /&gt;Now you will get root shell and can figure out what wrong with your system then fix it. In my case now I just want Oracle to come up so i need atleast two service &#39;network&#39; and &#39;oracle&#39;. Try to bring it up by run these two command and pray.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;sh-3.00# service network start&lt;br /&gt;sh-3.00# service oracle start&lt;/pre&gt;&lt;br /&gt;Not too bad that this time network and oracle are come up successfully:). But why syslogd startup caused system freeze is still no idea:(.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/1724441134168009586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/1724441134168009586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1724441134168009586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1724441134168009586'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/05/single-user-mode-in-fedora-core.html' title='Single user mode in fedora core'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-1717573510706518640</id><published>2008-04-29T01:45:00.006+07:00</published><updated>2008-04-29T02:38:29.525+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="compiz-fusion"/><category scheme="http://www.blogger.com/atom/ns#" term="desktop"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Toggle btw compiz&amp;metacity with fusion-icon in Ubuntu Hardy</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqPXElDeM7eEn_dazOIlczcSyWl7h5TPmwQzU2boEJsPXC3j3pSNFRikdOjwZcs8Dffs2e8wasMytaclktQAh3b7TTI2twMrC8OhTpcLHkrLn824J9ePNWiHxDbm0C4X5sAi0AOlG1qRc/s1600-h/fusion-icon.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqPXElDeM7eEn_dazOIlczcSyWl7h5TPmwQzU2boEJsPXC3j3pSNFRikdOjwZcs8Dffs2e8wasMytaclktQAh3b7TTI2twMrC8OhTpcLHkrLn824J9ePNWiHxDbm0C4X5sAi0AOlG1qRc/s320/fusion-icon.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5194377701413024498&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Since gusty, compiz-fusion will start by default. I love eye candy but for resource shortage reason on my old box, sometime i need to switch to metacity. with alt-f2 and run &#39;metacity replace&#39; is just work but not convenion. Thank for &lt;a href=&quot;http://tombuntu.com/index.php/2008/03/25/toggle-compiz-with-fusion-icon-in-ubuntu-804/&quot;&gt;Tom&lt;/a&gt; that point me . Fusion-icon is use to switch between compiz and metacity window manager. For hardy, fusion-icon is in repos. installation is easy like &lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@pnix-a7n:~$ sudo aptitude install fusion-icon&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Reading extended state information       &lt;br /&gt;Initializing package states... Done&lt;br /&gt;Building tag database... Done      &lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;  fusion-icon &lt;br /&gt;0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 29.8kB of archives. After unpacking 270kB will be used.&lt;br /&gt;...&lt;br /&gt;Building tag database... Done             &lt;br /&gt;pnix@pnix-a7n:~$ &lt;/pre&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Running&lt;/span&gt;:&lt;br /&gt;alt-F2 and type &#39;fusion-icon -n&#39; or if you want this everytime logging in add &#39;fusion-icon -n&#39; to &#39;Sessions preference&#39; in System-&gt;Preferences-&gt;Sessions.</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/1717573510706518640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/1717573510706518640' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1717573510706518640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/1717573510706518640'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/04/toggle-btw-compiz-with-fusion-icon-in.html' title='Toggle btw compiz&amp;metacity with fusion-icon in Ubuntu Hardy'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqPXElDeM7eEn_dazOIlczcSyWl7h5TPmwQzU2boEJsPXC3j3pSNFRikdOjwZcs8Dffs2e8wasMytaclktQAh3b7TTI2twMrC8OhTpcLHkrLn824J9ePNWiHxDbm0C4X5sAi0AOlG1qRc/s72-c/fusion-icon.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6836539881617831685.post-7198388070395739826</id><published>2008-04-28T19:02:00.002+07:00</published><updated>2008-04-28T19:13:26.232+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>sudo: timestamp too far in the future</title><content type='html'>I just finish build the new hardy box at my office. then I go to open the file &#39;/etc/network/interfaces&#39; to add internal ip address and forget something. When I try to open it again, I got this. &lt;pre class=&quot;code&quot;&gt;pnix@hardy-dev:~$ sudo nano /etc/network/interfaces&lt;br /&gt;sudo: timestamp too far in the future: Apr 29 01:41:32 2008&lt;br /&gt;pnix@hardy-dev:~$ date&lt;br /&gt;Mon Apr 28 18:48:21 ICT 2008&lt;br /&gt;pnix@hardy-dev:~$ &lt;/pre&gt;I&#39;m not sure why this happen may be some parts of the system using UTC, other parts using timezone-adjusted time. To fix this try code below to clear timestamp.&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;pnix@hardy-dev:~$ sudo -k&lt;br /&gt;pnix@hardy-dev:~$ sudo nano /etc/network/interfaces&lt;br /&gt;[sudo] password for pnix:&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://lj4newbies.blogspot.com/feeds/7198388070395739826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6836539881617831685/7198388070395739826' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/7198388070395739826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6836539881617831685/posts/default/7198388070395739826'/><link rel='alternate' type='text/html' href='http://lj4newbies.blogspot.com/2008/04/sudo-timestamp-too-far-in-future.html' title='sudo: timestamp too far in the future'/><author><name>pnix</name><uri>http://www.blogger.com/profile/06557491016103075395</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>