Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂoracle tns-12555ºÍtns12546ÎÊÌ⣬¼±µÈ

×î½üÖØÐÂ×°ÁËoracle,½ñÌì´òËãʹÓÃtnspingÊÔһϣ¬µ«ÊÇ·¢ÏÖûÓÐÆô¶¯¼àÌý¡£

ÓÚÊÇÔÚoracleÓû§ÏÂʹÓÃlsnrctl startÀ´Æô¶¯¼àÌý³ÌÐò£¬µ«ÊÇ·¢ÏÖ±¨ÁËÈçÏ´íÎó£º
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
  TNS-00525: Insufficient privilege for operation
  Linux Error: 1: Operation not permitted


ÔÚÍøÉÏÕÒÁ˺ܳ¤Ê±¼ä£¬Ã»ÓÐʲôÓÐЧµÄ°ì·¨£¬ËµÊÇûÓÐȨÏÞʲôµÄ£¬»òÊÇtmp/.oracleÓÐÎÊÌ⣬µ«ÊǶ¼ÊÔ¹ýÁË£¬»¹ÊÇÆð²»À´¡£ÓÚÊÇÊÔÁËÒ»ÏÂÓÃroot½øÐÐÆô¶¯£¬ÓÚÊÇÓÖ³öÏÖÁËÁíÍâµÄ´íÎó£º

TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
  TNS-00516: Permission denied
  Linux Error: 13: Permission denied

Çë¸ßÊÖ°ï棬ÔÚgoogleÉÏÁ˺ܳ¤Ê±¼ä£¬°ì·¨¶¼ÊÔ¹ýÁË£¬Ò²Ã»ÓкõĽâ¾ö·½·¨£¬ÇëÅóÓÑÃÇ°ï·ÖÎöһϰɣ¬·Ç³£¸Ðл


ÒýÓÃ
/tmp/.oracleµÄȨÏÞ
/var/tmp/.oracleµÄȨÏÞ

oracleÓ¦¸ÃÓÐÕâЩĿ¼µÄȨÏÞ£¬ÓÃoinstall
chown -R  oracle.oinstall /tmp/.oracle
chown -R  oracle.oinstall /var/tmp/.oracle

ÓÃoracleÆô¶¯£¬¶ø²»ÊÇÓÃrootÆô¶¯¡£


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

£ÛÇóÖú£ÝlinuxÍøÂç±à³ÌÖÐselect³ö´í

Ä¿±ê£ºµ±ÍøÂçÖÐÓÐÊý¾Ýµ½´ï»òÕß³¬Ê±£¬³ÌÐò½øÈëÏÂÒ»´ÎÑ­»·¡£
ÎÊÌ⣺select()º¯Êý²»Æð×÷Ó㬳ÌÐò²»»áÔÚselectµÄµØ·½×èÈûÒ»Ã룬²¢ÇÒµ±ÍøÂçÉÏÓÐÊý¾ÝµÄʱºò£¬selectµÄ·µ»ØÖµÈÔȻСÓÚ0
    #include <s ......

¹ØÓÚ linux ÖÐ iconv() º¯Êý µÄÎÊÌâ

×î½üÔÚдspider ÐèÒªÒª½â¾ö ±àÂëת»» ÎÊÌâ  Óõ½  iconv() º¯Êý 

µ«Ò²²»ÖªµÀ ÄÄÀïÓÐÎÊÌâ  ÀÏÊÇÕû²»³öÀ´  ÄÄλ´óÏÀ  °ï°ïæ 

´úÂë  ÈçÏ£º£¨Í·Îļþû¸´ÖÆ£ ......

¹ØÓÚÔÚlinuxÏÂжÔØoracle10gµÄÎÊÌâ

¿´µ½ÍøÉÏÓкܶàÏàͬµÄ´ð°¸£¬µ«ÊÇÔÚÎÒʹÓÃvmϲ¢Ã»Óз¢ÏÖÕâЩĿ¼¡£

²Ù×÷ϵͳ£ºcentos4.5
ÐéÄâ»úÉÏ°²×°£¬Ö®Ç°°²×°ÁËoracle10g£¬½ñÌìÐèÒªÍêȫжÔØ£¬ÌýºÜ¶àÈË˵ֱ½Óɾ³ýÎļþĿ¼¼´¿É£¬Çë¸÷λ°ïæÊDz»ÊÇÕâÑù£¬ ......

linuxƽ̨µÄÈí¼þ²âÊÔÒÉÎÊ

ÕâÀïÓ¦¸ÃÓкܶà²âÊÔÇ°±²£¬ÏëÎʸöÎÊÌ⣬һ¹«Ë¾Ö÷Òª×öÍøÂçÉ豸µÄÈí¼þ¿ª·¢£¬linuxƽ̨c++£¬ÄÇôËûÃÇÇëµÄÈí¼þ²âÊÔ¹¤³Ìʦһ°ãÒª×öʲô¹¤×÷£¿£¿linuxƽ̨ÓÐʲô²âÊÔ¹¤¾ßÕë¶ÔÄÄÖÖ²âÊÔ£¿£¿ÍøÂçÈí¼þÒ»°ã¶ÔÆä×öʲô²âÊÔ£¿£¿
° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ