Mostrando entradas con la etiqueta Comandos. Mostrar todas las entradas
Mostrando entradas con la etiqueta Comandos. Mostrar todas las entradas

martes, 27 de mayo de 2014

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory



Al intentar levantar un servidor tomcat con java de 32 bits en un linux de 64 arroja el siguiente error,
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
 la solucion normal seria ejecutar un JVM de 64 bits, pero hay ocasiones en que no tenemos disponible o simplemente no se puede :

El problema al parecer se debe a que la librería /lib/ld-linux.so.2 no se encuentra en el sistema.
Los pasos para solucionar el error fueron los siguientes:
Ver que paquete me provee de esa librería:
yum provides \*/ld-linux.so.2
Entre los resultados, pude ver que se mencionaba el paquete glibc:
glibc-2.12-1.7.el6.i686 : The GNU libc libraries
Repo        : base
Matched from:
Filename    : /lib/ld-linux.so.2
 
glibc-2.12-1.25.el6.i686 : The GNU libc libraries
Repo        : installed
Matched from:
Filename    : /lib/ld-linux.so.2
Lo siguiente fue ver cual de estos paquetes tenía instalado:
[root@mtestserver:~]yum list installed glibc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.steadfast.net
* extras: centos.mirrors.tds.net
 
Installed Packages
glibc.x86_64 2.12-1.7.el6_0.5 @updates
Finalmente vi que me faltaba el paquete i686, y procedí a instalarlo:
yum install glibc.i686 -y

miércoles, 3 de julio de 2013

Como ver la puerta de enlace (gateway) desde Linux


En ocasiones es necesario conocer la puerta de enlace o gateway por donde nuestra conexion de red sale, el comando ifconfig no entrega dicha informacion para conocerlo basta con ejecutar el sgte comando

netstat -nr 


martes, 9 de octubre de 2012

Linux: Ejecuta y visualiza comandos periódicamente con ‘watch’


El siguiente comando lo conocia hace un tiempo pero lo habia olvidado, supervisando un proceso necesitaba algo que pudiese ejecutar  un comando cada cierto intervalo de segundos. algo simple y rapido , para eso encontre el comando WATCH el cual es muy simple.

El proceso que estaba supervisando consumia archivos desde un directorio
y para visualizar la cantidad de archivos pendientes ejecuto un

 ls -l | wc -l 

el cual tenia que ir ejecutando cada cierto tiempo.

ahora con el comando watch

es tan simple como esto

 watch -n 10 'ls -l | wc -l' 

donde -n es para indicar un intervalo de tiempo en segundos y entre comillas simples el mismo comando que estaba ejecutando con anterioridad.

y esto me mostrara por pantalla lo que necesito saber cada 10 segundos

existe otra opcion de watch para ver directorios, pero es practicamente lo mismo que ejecute anteriormente.





lunes, 6 de agosto de 2012

WEB - Linux Command Directoty


En la Entrada Anterior le dejaba un enlace para poder obtener el Libro Linux In A nutshell
ahora bien les dejo una pagina donde podran consultar de forma online el contenido de este libro.
aqui encontraran la informacion y ejemplos de la mayoria y principales Comandos Unix/Linux


jueves, 26 de julio de 2012

Guía de Comandos para Comprimir y Descomprimir archivos en Linux






En Linux hay diversas herramientas para empaquetar y comprimir archivos, tomando en cuenta que empaquetar es juntar dos o más archivos en un solo archivo (paquete) y comprimir es tomar este archivo-paquete y comprimirlo a continuación te muestro un resumen de las más comunes, de acuerdo a la extensión que comunmente se acostumbra ponerles.




miércoles, 11 de julio de 2012

+100 comandos para Inicio>Ejecutar en Windows XP




Mas de 100 comandos para acceder rapidamente a programas o utilidades de Windows XP a travez de Ejecutar [Menu Inicio>Ejecutar] o mediante la combinacion de teclas [Win] + [R].
  1. Accessibility Controls – access.cpl
  2. Accessibility Wizard – accwiz
  3. Add Hardware Wizard – hdwwiz.cpl
  4. Add/Remove Programs – appwiz.cpl
  5. Administrative Tools – control admintools
  6. Automatic Updates – wuaucpl.cpl
  7.  +100 comandos para Inicio>Ejecutar en Windows XP
  8. Bluetooth Transfer Wizard – fsquirt
  9. Calculator – calc
  10. Certificate Manager – certmgr.msc
  11. Character Map – charmap
  12. Check Disk Utility – chkdsk
  13. Clipboard Viewer – clipbrd
  14. Command Prompt – cmd
  15. Component Services – dcomcnfg
  16. Computer Management – compmgmt.msc
  17. Control Panel – control
  18. Date and Time Properties – timedate.cpl
  19. DDE Shares – ddeshare
  20. Device Manager – devmgmt.msc
  21. Direct X Troubleshooter – dxdiag
  22. Disk Cleanup Utility – cleanmgr
  23. Disk Defragment – dfrg.msc
  24. Disk Management – diskmgmt.msc
  25. Disk Partition Manager – diskpart
  26. Display Properties – control desktop
  27. Display Properties – desk.cpl
  28. Dr. Watson System Troubleshooting Utility – drwtsn32
  29. Driver Verifier Utility – verifier
  30. Event Viewer – eventvwr.msc
  31. Files and Settings Transfer Tool – migwiz
  32. File Signature Verification Tool – sigverif
  33. Findfast – findfast.cpl
  34. Firefox – firefox
  35. Folders Properties – control folders
  36. Fonts – control fonts
  37. Fonts Folder – fonts
  38. Free Cell Card Game – freecell
  39. Game Controllers – joy.cpl
  40. Group Policy Editor (for xp professional) – gpedit.msc
  41. Hearts Card Game – mshearts
  42. Help and Support – helpctr
  43. HyperTerminal – hypertrm
  44. Iexpress Wizard – iexpress
  45. Indexing Service – ciadv.msc
  46. Internet Connection Wizard – icwconn1
  47. Internet Explorer – iexplore
  48. Internet Properties – inetcpl.cpl
  49. Keyboard Properties – control keyboard
  50. Local Security Settings – secpol.msc
  51. Local Users and Groups - lusrmgr.msc
  52. Logs You Out Of Windows – logoff
  53. Malicious Software Removal Tool – mrt
  54. Microsoft Chat – winchat
  55. Microsoft Movie Maker – moviemk
  56. Microsoft Paint – mspaint
  57. Microsoft Syncronization Tool – mobsync
  58. Minesweeper Game – winmine
  59. Mouse Properties - control mouse
  60. Mouse Properties – main.cpl
  61. Netmeeting – conf
  62. Network Connections – control netconnections
  63. Network Connections – ncpa.cpl
  64. Network Setup Wizard – netsetup.cpl
  65. Notepad – notepad
  66. Object Packager – packager
  67. ODBC Data Source Administrator – odbccp32.cpl
  68. On Screen Keyboard – osk
  69. Outlook Express – msimn
  70. Paint – pbrush
  71. Password Properties – password.cpl
  72. Performance Monitor – perfmon.msc
  73. Performance Monitor – perfmon
  74. Phone and Modem Options – telephon.cpl
  75. Phone Dialer – dialer
  76. Pinball Game – pinball
  77. Power Configuration – powercfg.cpl
  78. Printers and Faxes – control printers
  79. Printers Folder – printers
  80. Regional Settings – intl.cpl
  81. Registry Editor – regedit
  82. Registry Editor – regedit32
  83. Remote Access Phonebook – rasphone
  84. Remote Desktop – mstsc
  85. Removable Storage – ntmsmgr.msc
  86. Removable Storage Operator Requests – ntmsoprq.msc
  87. Resultant Set of Policy (for xp professional) – rsop.msc
  88. Scanners and Cameras - sticpl.cpl
  89. Scheduled Tasks – control schedtasks
  90. Security Center – wscui.cpl
  91. Services – services.msc
  92. Shared Folders – fsmgmt.msc
  93. Shuts Down Windows – shutdown
  94. Sounds and Audio – mmsys.cpl
  95. Spider Solitare Card Game – spider
  96. SQL Client Configuration – cliconfg
  97. System Configuration Editor – sysedit
  98. System Configuration Utility – msconfig
  99. System Information – msinfo32
  100. System Properties – sysdm.cpl
  101. Task Manager – taskmgr
  102. TCP Tester – tcptest
  103. Telnet Client – telnet
  104. User Account Management – nusrmgr.cpl
  105. Utility Manager – utilman
  106. Windows Address Book – wab
  107. Windows Address Book Import Utility – wabmig
  108. Windows Explorer – explorer
  109. Windows Firewall – firewall.cpl
  110. Windows Magnifier – magnify
  111. Windows Management Infrastructure – wmimgmt.msc
  112. Windows Media Player – wmplayer
  113. Windows Messenger – msmsgs
  114. Windows System Security Tool – syskey
  115. Windows Update Launches – wupdmgr
  116. Windows Version – winver
  117. Wordpad – write

lunes, 9 de julio de 2012

Recopilatorio de Sheat Pages para sistemas Linux/Unix




Navegando Por ahí Encontré una serie de cheat pages o chuletas o ayudamemoria sobre linux y comandos. hay generales y especificos acerca de un comando en particular. si te falla la memoria este es tu mejor ayuda.

Linux Command Line Cheat Sheets

Linux Cheat SheetLinux Cheat Sheet
Linux Cheat Sheet
Linux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat SheetLinux Cheat Sheet




Solaris Cheat Sheets

Solaris Cheat SheetSolaris Cheat Sheet

IBM (AIX) Cheat Sheets

AIX Cheat SheetAIX APV Cheat Sheet

Debian/Ubuntu Cheat Sheets

Debian/Ubuntu Cheat SheetDebian/Ubuntu Cheat SheetDebian/Ubuntu Cheat Sheet




Package Management Cheat Sheets

Linux Cheat SheetLinux Cheat SheetLinux Cheat Sheet

Unix Cheat Sheets

Linux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat SheetUnux Cheat Sheet

Bash Cheat Sheets

Linux Bash Cheat SheetLinux Bash Cheat SheetLinux Bash Cheat SheetLinux Bash Cheat SheetLinux Bash Cheat SheetLinux Bash Cheat SheetLinux Bash Cheat SheetLinux Bash Cheat Sheet

Awk Cheat Sheets

Awk Cheat SheetAwk Cheat SheetAwk Cheat SheetAwk Cheat SheetAwk Cheat SheetAwk Cheat Sheet

Ed Cheat Sheets

Sed Cheat Sheet

Sed Cheat Sheets

Sed Cheat SheetSed Cheat Sheet




GDB debugger Cheat Sheets

GDB Debugger Cheat Sheet