|
 |
À¸Ä¿µ¼À¸ |
|
| |
|
|
|
|
 |
×ÊÁÏËÑË÷ |
|
| |
|
|
|
|
 |
ÈÈÃÅÎÄÕÂ |
|
| |
|
|
|
|
 |
×îÐÂÎÄÕ |
|
| |
|
|
|
| |
| |
|
|
|
[ ×÷Õß: LinuxÁªÃËÊÕ¼¯ ¼ÓÈëʱ¼ä:2006-06-14 01:33:27 À´×Ô:LinuxÁªÃËÊÕ¼¯
] | |
|
8GFLinuxÁªÃË 8GFLinuxÁªÃË 99 Q: Can you tell me if I want to add a new CPU chip to a only one CPU 8GFLinuxÁªÃË chip machine on solaris system,Can the application run continually in 8GFLinuxÁªÃË the old cpu chip without interruption on solaris system ?8GFLinuxÁªÃË A: Please tell me the machine's type. If your machine is a workstation. 8GFLinuxÁªÃË CPU chips can not be added without turning down the power. I don't 8GFLinuxÁªÃË know so much in this field. But, I have forwarded this message to the 8GFLinuxÁªÃË specitest in our company. You will get much more detailed answers. 8GFLinuxÁªÃË But you should wait several days. Another way for you is to consult 8GFLinuxÁªÃË the vender who sell you the machine directly.8GFLinuxÁªÃË 8GFLinuxÁªÃË 100 Q: what's deference between the processor_bind() and pset_bind()?8GFLinuxÁªÃË A: You can get the differences between two functions by seeing the8GFLinuxÁªÃË manual:8GFLinuxÁªÃË # man processor_bind8GFLinuxÁªÃË # man pset_bindl 101 Q: ÎÒÃÇÓÐÒ»¸ö²úÆ·ÔÚÒÆÖ²µ½SOLARISµÄ¹ý³ÌÖгöÏÖÁË´óÁ¿ÄÑÒÔÀí½âµÄÎÊÌ⣬Çë¸ø8GFLinuxÁªÃË ÎÒÃÇÏÖ³¡Ö§Ô®Ò»Ï£¬·Ç³£¸Ðл£¡Ê¹ÓÃForte Develop6±àÒëC++³ÌÐòµÄʱºò³öÏÖ8GFLinuxÁªÃË ÒÔÏÂÐÅÏ¢£º8GFLinuxÁªÃË 8GFLinuxÁªÃË "mit/../teglobal.h", line 39: Warning (Anachronism): Attempt to redefine T8GFLinuxÁªÃË RUE without using #undef.8GFLinuxÁªÃË "mit/../teglobal.h", line 40: Warning (Anachronism): Attempt to redefine F8GFLinuxÁªÃË ALSE without using #undef.8GFLinuxÁªÃË >> Assertion: (../links/prepexpression.cc, line 65)8GFLinuxÁªÃË while processing mit/multilock.cpp at line 0.8GFLinuxÁªÃË 8GFLinuxÁªÃË ÇëÎÊÊÇʲôÒâ˼£¬ÄѵÀ±àÒëÆ÷»¹ÒªassertÂð£¿8GFLinuxÁªÃË A: CC ±àÒëÆ÷ÒªÇó±»±àÒëµÄÎļþÒÔÁ½¸öÐÂÐнáÊø£¬ÇëÔÚÏà¹ØÍ·Îļþĩβ¼ÓÉÏÐÂÐС£8GFLinuxÁªÃË 8GFLinuxÁªÃË 102 Q: solarisµÄÎÊÌ⣺¼¤»îС¼üÅÌÉϵÄNumlock£¬¼¤»îÖÐÎÄÊäÈë·¨£¬°´Ð¡¼üÅÌÉϵÄ08GFLinuxÁªÃË ¼ü£¬ÖÐÎÄÊäÈë·¨×ÔÐйرգ¬ÇëÎÊÊǺÎÔÒò£¿8GFLinuxÁªÃË A: You can solve the problem you metioned by trying the following three 8GFLinuxÁªÃË ways:8GFLinuxÁªÃË 1. Make sure using GB locale, instead of GBK.8GFLinuxÁªÃË 2. Visit http://sunsolve.sun.com to get the "recommended patches"8GFLinuxÁªÃË package for the your solaris platform, and add it.8GFLinuxÁªÃË 3. If possible, you can change the solaris platform from solaris 2.7 8GFLinuxÁªÃË to solaris 2.88GFLinuxÁªÃË 8GFLinuxÁªÃË 103 Q: ÓйØÔÚSOLARISÉÏʹÓÃNETSCAPEÎÊÌâ8GFLinuxÁªÃË ÎÊÌâÃèÊö:8GFLinuxÁªÃË 1.ÔÚSOLARIS2.6Éϰ²×°NETSCAP4.04ºó,°²×°Ìáʾ³É¹¦ºó,ÔËÐÐnetscape,³öÏÖÒÔ8GFLinuxÁªÃË Ï´íÎóÐÅÏ¢:8GFLinuxÁªÃË xlib:connection to "0.0" refused by server8GFLinuxÁªÃË xlib:client is not authorized to server8GFLinuxÁªÃË can't open display : :0.08GFLinuxÁªÃË 2.ÔÚSOLARIS2.6Éϰ²×°Acroreadºó,ÈçºÎÉèÖÃÄÜÖ±½Óµã»÷´ò¿ª.pdfÎļþ,¶øÎÞÐè8GFLinuxÁªÃË Ã¿´ÎÒªÏÈÆô¶¯Acroread,È»ºóÔÙ´ò¿ª? ÇëÎÊÉÏÊöÎÊÌâÈçºÎ½â¾ö?8GFLinuxÁªÃË A: 1. You run the command:8GFLinuxÁªÃË #xhost <hostname> :0.08GFLinuxÁªÃË and then, you can use NETSCAPE In the terminal, in which the 8GFLinuxÁªÃË netscape is launched, please set the envrionment DISPLAY as :0.08GFLinuxÁªÃË 2. Actually, I don't know how to configure it. If you are interested8GFLinuxÁªÃË in it. You can read some topics in AnswerBook2 User Collection.8GFLinuxÁªÃË 8GFLinuxÁªÃË 104 Q: syslogd ÈçºÎÖ§³Öºº×Ö? syslogd ºÃÏñ»á°Ñºº×Ö²ð·Ö³ÉÁ½¸ö×Ö½Ú£¬²¢È¥µô¸ßλ8GFLinuxÁªÃË ÈçºÎ½â¾ö£¿8GFLinuxÁªÃË A: How the background service provider syslogd supports character set 8GFLinuxÁªÃË depends on the locale environment it starts. So, if you want Chinese 8GFLinuxÁªÃË characters transferring by syslog. You can restart syslogd in 8GFLinuxÁªÃË Chinese environment by issuing the following commands:8GFLinuxÁªÃË # LANG=zh; export LANG # set the locale environment in Chinese.8GFLinuxÁªÃË # kill -9 `cat /etc/syslog.pid` # to kill the former syslogd8GFLinuxÁªÃË # /usr/sbin/syslogd8GFLinuxÁªÃË 8GFLinuxÁªÃË If you want syslogd to support Chinese characters whenever the 8GFLinuxÁªÃË machine boot. Put the attacted file in the /etc/rc3.d directory.Make 8GFLinuxÁªÃË sure this file's mode is "rwxr-xr-x" and the owner is root.8GFLinuxÁªÃË 8GFLinuxÁªÃË 105 Q: ÎҵŤ×÷Õ¾µÄ½»»»·ÖÇø·ÖµÄ̫СÁË£¬³ýÖØ×°ÏµÍ³Í⣬ÊÇ·ñÓÐÆäËü°ì·¨½«¿Õ¼äµ÷8GFLinuxÁªÃË Õûһϡ£8GFLinuxÁªÃË A: You can extend your swap region by issueing the following command:8GFLinuxÁªÃË #mkfile <filename> -m <size in million>8GFLinuxÁªÃË #swap -a <filename>8GFLinuxÁªÃË Note: the <filename> should be the full path name.8GFLinuxÁªÃË 8GFLinuxÁªÃË 106 Q: ÓÃvi´ò¿ªÒ»¸öscriptÎļþ£¬·¢ÏÖÀïÃæÓзǷ¨×Ö·û^M,ÔÚviÃüÁîÐÐÈçºÎÈ«³ÌÌæ´ú8GFLinuxÁªÃË µô¸Ã×Ö·û£¿ÎÒÊÔÁËÒ»ÏÂÓÃÒÔÏÂÃüÁîÀ´×ö£¬È´²»ÐУº0,$s/^M//8GFLinuxÁªÃË A: 1,$s/^M//g ,ÆäÖУ¬^MÊÇ ctrl+V ,ctrl+M,»òÕߣ¬ÓÃÏÂÃæÕâ¸öÃüÁî¡£8GFLinuxÁªÃË %unix2dos $filename > $newfilename8GFLinuxÁªÃË 8GFLinuxÁªÃË 107 Q: How to add space to a filesystem in solaris2.5.7 ? When I patchadd a 8GFLinuxÁªÃË patch,It tell me that there is no sufficient filesystem capacity.8GFLinuxÁªÃË A: It seems like your root partition too small. Please check it 8GFLinuxÁªÃË availiable size. If it is small, I think you would better to 8GFLinuxÁªÃË reinstall the system. Please store all the data in the disk.8GFLinuxÁªÃË In the new installation, you need really to partitions, one is for 8GFLinuxÁªÃË swap, and another is for /. The swap partition /tmp needs about 200M 8GFLinuxÁªÃË to 500M. Then all the left should be given to /.8GFLinuxÁªÃË 8GFLinuxÁªÃË 108 Q: Çë½Ì¹ØÓÚSolaris PatchµÄÎÊÌâ¡£ÎÒÃÇÔÚ°²×°Ò»Ð©Èí¼þʱ£¬¾³£ÐèÒªÏȰ²×°Ò»8GFLinuxÁªÃË Ð©Patch£¬ÓÐһʲ»Ã÷£¬ÏòÄúÇë½ÌÒ»ÏÂ,±ÈÈçij¸öÈí¼þÐèÒªPatch : 107546-02,8GFLinuxÁªÃË ÏÖÔÚÎҵĻúÆ÷ÉÏÒѾ°²×°107546-08£¬ÊDz»ÊǾͲ»ÓÃÔÙ°²×°107546-02ÁËPatch8GFLinuxÁªÃË ºóÃæµÄÄDz¿·ÖÊÇʲôÒâ˼£¿ÊDz»ÊÇ´óµÄÊý×Ö¿ÉÒÔ°üº¬Ð¡µÄÊý×ֵŦÄÜÁË? ͬһ8GFLinuxÁªÃË ¸öPatchµÄ²»Í¬°æ±¾Ö®¼ä»á²»»áÓгåÍ»£¿8GFLinuxÁªÃË A: You are right. If you have installed a bigger version of the same 8GFLinuxÁªÃË patch, it not necessary for you to install the smaller one. The 8GFLinuxÁªÃË bigger version will override the earlier one if it installed before. 8GFLinuxÁªÃË You need not worry about any collision.8GFLinuxÁªÃË 8GFLinuxÁªÃË 109 Q: ¹ØÓÚsunµÄSunNet ÎÒĿǰÏëÁË½â¹ØÓÚsunµÄSunNet¡£ÎÒ´ÓsunµÄÍøÕ¾ÉÏÁ˽⵽8GFLinuxÁªÃË SunNetÒѾ±»ºÏ²¢Èëµ½SolsticeÀïÁË£¬ÎÒĿǰÏëÊÔ×ŰÑÎÒ×öµÃ³ÌÐò¼¯³Éµ½8GFLinuxÁªÃË SunNet»òSolsticeÀÎÒ¿´ÁËSlosticeµÃWhite Paper,µ«Àï±ßÖ»Ìáµ½ÁËÒ»µãµã8GFLinuxÁªÃË Ïà¹ØµÃApi£¬ÎÒ´ÓÄÄÀÔõô²ÅÄܵ½±È½ÏÍêÈ«µÃÎĵµÄØ£¿8GFLinuxÁªÃË 8GFLinuxÁªÃË A: To my knowledge, you can go to the following for a detailed info:8GFLinuxÁªÃË http://www.sun.com/software/solstic.../sunnetmgr.html8GFLinuxÁªÃË .8GFLinuxÁªÃË 8GFLinuxÁªÃË 110 Q: ¹ØÓÚSUN»úÆ÷root¿ÚÁʧÎÊÌ⣬ÈçºÎ½â¾ö£¿8GFLinuxÁªÃË A: °ì·¨ÈçÏ£º8GFLinuxÁªÃË ÀûÓÃSOLARISµÄÆô¶¯ÅÌÀ´Æô¶¯£¬È»ºó°ÑÓ²ÅÌmountÉÏÈ¥£¬ÐÞ¸ÄÓ²ÅÌÉÏÔetcĿ¼8GFLinuxÁªÃË ÏµÄshadowÎļþ,½«rootÏîÀïµÄpasswordÓòÄÚÈÝɾ³ý£¬±ä³ÉÎÞÃÜÂ롣ȻºóÖØÐÂ8GFLinuxÁªÃË Æô¶¯Ö÷»ú£¬ÒÔÎÞÃÜÂëµÄrootµÇ½ºó£¬ÖØÐÂÉèÖÃroot¿ÚÁî¡£¾ßÌå²½ÖèÈçÏ£º8GFLinuxÁªÃË 1.°ÑÄãµÄsolaris¹âÅ̷Žøcdrom8GFLinuxÁªÃË 2.¼üÈëstop+a8GFLinuxÁªÃË 3.µ±³öÏÖ'ok'×ÖÑùʱ,¼üÈëboot cdrom -s8GFLinuxÁªÃË 4.cd /tmp/root8GFLinuxÁªÃË 5.mkdir /tmp/root/xxx (xxxÊÇʲô¹í¶«Î÷¾ÍÎ޹ؽôÒªÁË)8GFLinuxÁªÃË 6.mount /dev/dsk/c0t0d0s0 /tmp/root/xxx (ÔÚÕâÀïc0t0d0s0ÊÇÄãµÄrootÅÌ)8GFLinuxÁªÃË 7.ÔËÐÐcsh8GFLinuxÁªÃË 8.setenv TERM vt2208GFLinuxÁªÃË 9.cp /tmp/root/xxx/etc/shadow /tmp/root/xxx/shadow/shadow.bak8GFLinuxÁªÃË 10.vi /tmp/root/xxx/shadow,²¢ÇÒ½«rootÏîÀïµÄpasswordÓòɾ³ý¼´¿É¡£8GFLinuxÁªÃË 11.ÖØÆô¶¯£¬Äã¾Í¿ÉÒÔÒÔÎÞÃÜÂëµÄrootµÇ½ÁË£¬µÇ¼ºó£¬¸ü¸ÄrootµÄÃÜÂë¡£8GFLinuxÁªÃË 8GFLinuxÁªÃË 111 Q: In solaris 2.6. when i use command "killall" ,all process started in 8GFLinuxÁªÃË CDE will be killed and the eviroment will change to CDE login. I 8GFLinuxÁªÃË looked up the man manual about "killall" ,it told me that "only root 8GFLinuxÁªÃË can use the command".But I really use it with common id.In 8GFLinuxÁªÃË solaris7 and solairs 8, with common id,i can't use the common.can 8GFLinuxÁªÃË you tell me why i can execute "killall" successfully in solaris 2.6?8GFLinuxÁªÃË A: Just see the access mode of /usr/sbin/killall. If you can use it 8GFLinuxÁªÃË with a common account identity, the access mode should be x-rsx-rx-r.8GFLinuxÁªÃË If you can not use it in a common account identity, the mode should 8GFLinuxÁªÃË be x-r--r--r. You can change the mode as you like, whenever in 2.6, 8GFLinuxÁªÃË or 2.7 or 2.8.8GFLinuxÁªÃË 8GFLinuxÁªÃË 112 Q: I downloaded the SDM2.3 from the Download Center of "www.sun.com" 8GFLinuxÁªÃË ,read the White Paper and web detailed describing.But it is only the 8GFLinuxÁªÃË outlook of the software. I need the detailed document about how to 8GFLinuxÁªÃË integrated my own network management application to Solstice.8GFLinuxÁªÃË A: I transfer this messag to Sun Service in Guangdong.8GFLinuxÁªÃË 8GFLinuxÁªÃË 113 Q: ÇëÎÊÓÐûÓдÅÅ̹ÜÀí¹¤¾ß¡£ÎÒÃÇÓÐһ̨E450,ÓÐ5¿éÓ²ÅÌ,Ïë×öRAID,µ«ÊÇûÓй¤8GFLinuxÁªÃË ¾ß.8GFLinuxÁªÃË A: If the machine's OS is solaris 2.8, the storage management software 8GFLinuxÁªÃË is also installed in you machine. You can make the RAID by issuing 8GFLinuxÁªÃË the command family: /usr/sbin/meta*; If you are not so familiar with 8GFLinuxÁªÃË these commands. I can do it for you. or you can use solstice 8GFLinuxÁªÃË disksuite, it is a GUI tool.8GFLinuxÁªÃË 8GFLinuxÁªÃË 114 Q: ÔõÑùÇ¿ÖÆ¸ü¸ÄNIS¿Í»§¶ËµÄ±¾µØNISÊý¾Ý±í£¿ÓÐʱºòNIS¿Í»§¶ËºÍNIS·þÎñÆ÷¶ËÓÐ8GFLinuxÁªÃË Ê±»á³öÏÖ²»Ò»ÖµÄÇé¿ö.NIS·þÎñÆ÷ºÍNIS slave ·þÎñÆ÷Ò²»á³öÏÖÕâÖÖÇé¿ö¡£8GFLinuxÁªÃË A: Äã¿ÉÒÔÓÃyppushºÍ ypxfr À´×öÕâÖÖ¹¤×÷£¬¸ü³£¼ûµÄ·½·¨ÊǰÑËüÃÇд½øcron,¶¨8GFLinuxÁªÃË ÆÚ¸üУ¬¾ßÌå²½ÖèÇë²éÔÄAnswerbook.8GFLinuxÁªÃË 8GFLinuxÁªÃË 8GFLinuxÁªÃË 115 Q: ΪÁ˽«¹¤×÷Õ¾ÉèΪ´ÓDHCP¶¯Ì¬·ÖÅäIP,²¢ÇÒ½«Ö÷»úÃûÓÉ"unknown"¸ÄΪÔÃû8GFLinuxÁªÃË ÐÞ¸ÄÁË/etc/init.d/rootusr,½«dhcpinfoºóÃæÈýÐУ¨²»ÊÇËÄÐУ©×¢Ê͵ô;8GFLinuxÁªÃË hostname=`/sbin/dhcpinfo Hostname`8GFLinuxÁªÃË # case $? in8GFLinuxÁªÃË # 0) [ -z "$hostname" ] && hostname='unknown' ;;8GFLinuxÁªÃË # 2) try_dhcp=no ;;8GFLinuxÁªÃË esac8GFLinuxÁªÃË ÖØÆôºó£¬Ìáʾ£º8GFLinuxÁªÃË /sbin/rcs:ysntax error at line 143 : 'esac' unexpected8GFLinuxÁªÃË INIT:cannot creat /var/adm/utmp or /var/adm/utmpx8GFLinuxÁªÃË INIT:SINGLE USER MODE8GFLinuxÁªÃË ÊäÈëroot¿ÚÁîºó£¬Ö»ÄÜÔËÐÐÔÚµ¥Óû§Ä£Ê½£¬ÇÒvi¡¢lsµÈ¶¼²»ÄÜÓã¨#vi:not found8GFLinuxÁªÃË £©8GFLinuxÁªÃË ÈçºÎ²ÅÄÜ´ò¿ª/etc/init.d/rootusrÎļþ½øÐÐÐ޸쬻֏´Õý³£×´Ì¬¡£8GFLinuxÁªÃË A: ÇëÕÒÒ»¸öSOLARISµÄ°²×°Æô¶¯ÅÌ£¬Ê¹ÓÃÒÔÏ·½·¨¿ÉÒÔÐÞ¸ÄrootusrÎļþ£¬²½ÖèÈç8GFLinuxÁªÃË Ï£º8GFLinuxÁªÃË 1.°ÑÄãµÄsolaris¹âÅ̷Žøcdrom8GFLinuxÁªÃË 2.¼üÈëstop+a8GFLinuxÁªÃË 3.µ±³öÏÖ'ok'×ÖÑùʱ,¼üÈëboot cdrom -s8GFLinuxÁªÃË 4.cd /tmp8GFLinuxÁªÃË 5.mkdir /tmp/xxx (xxxÊÇʲô¶«Î÷Î޹ؽôÒª£¬Ëæ±ãȡһ¸öÃû×Ö£¬Èçtest)8GFLinuxÁªÃË 6.mount /dev/dsk/c0t0d0s0 /tmp/xxx (ÔÚÕâÀïc0t0d0s0ÊÇÄãµÄrootÅÌ)8GFLinuxÁªÃË 7.ÔËÐÐcsh8GFLinuxÁªÃË 8.setenv TERM vt2208GFLinuxÁªÃË 9.vi /tmp/xxx/etc/init.d/rootusr,°ÑesacÄÇÐÐÒ²×¢Ê͵ô¼´¿É¡£8GFLinuxÁªÃË 10.°Ñsolaris¹âÅÌÄóö£¬reboot£¬ÖØÆô¶¯¼´¿É¡£8GFLinuxÁªÃË 8GFLinuxÁªÃË 116 Q: һ̨Ultra60¹¤×÷Õ¾£¬Æä¹Ì¶¨IPΪ10.11.105.247,ÓÃifconfig hme0 dhcp 8GFLinuxÁªÃË start×ÜÊÇʧ°Ü£¬ÈçÏÂËùʾ¡
LinuxÁªÃËÊÕ¼¯ÕûÀí ,תÌùÇë±êÃ÷ÔʼÁ´½Ó,ÈçÓÐÈκÎÒÉÎÊ»¶ÓÀ´±¾Õ¾LinuxÂÛ̳ÌÖÂÛ |
|
|
|
|
|