Category: Guía o manual para corregir problema

Mayo 2nd, 2016 by maximi89

Para LinuxMint y probablemente para Ubuntu tambien sea:

maximi89@maximi89-GE60-2OC-2OE ~ $ /home/maximi89/netbeans-8.1/bin/netbeans –jdkhome "/usr/lib/jvm/java-"
java-1.5.0-gcj/ java-6-openjdk-amd64/ java-8-oracle/
java-1.5.0-gcj-4.8-amd64/ java-6-openjdk-common/
java-gcj/ java-1.6.0-openjdk-amd64/ java-7-openjdk-amd64/
java-gcj-4.8/ java-1.7.0-openjdk-amd64/ java-7-oracle/

maximi89@maximi89-GE60-2OC-2OE ~ $ /home/maximi89/netbeans-8.1/bin/netbeans –jdkhome "/usr/lib/jvm/java-7-openjdk-amd64/"

maximi89@maximi89-GE60-2OC-2OE ~ $ /home/maximi89/netbeans-8.1/bin/netbeans –jdkhome "/usr/lib/jvm/java-gcj" gij: unrecognized option — `-splash:/home/maximi89/.cache/netbeans/8.1/splash.png' Try `gij –help' for more information.

maximi89@maximi89-GE60-2OC-2OE ~ $ /home/maximi89/netbeans-8.1/bin/netbeans –jdkhome "/usr/lib/jvm/java-7-oracle/"

maximi89@maximi89-GE60-2OC-2OE ~ $ /home/maximi89/netbeans-8.1/bin/netbeans –jdkhome "/usr/lib/jvm/java-8-oracle/"

Recomiendo que tambien vean en:

http://www.cs.wcupa.edu/rkline/index/netbeans-lin.html (Activar los binarios de Oracle)

https://wiki.openjdk.java.net/display/general/FAQ

En mi caso estaba con los proyectos rotos o broken, estuve averiguando y habian muchas personas en el mismo caso:

https://netbeans.org/bugzilla/show_bug.cgi?id=256414 Todo es porque Netbeans no encuentra el JDK (Java Development Kit)…

Posted in Errores, GNU/Linux, Guía o manual para corregir problema, Guías, Manual acceso, Sin categoría Tagged with: , , , , , , , , , , , ,

Abril 11th, 2016 by maximi89

Captura de chntpwhttp://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085146-300x169.png 300w, http://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085146-768x432.png 768w, http://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085146.png 1366w" sizes="(max-width: 600px) 100vw, 600px" />

Captura de chntpwhttp://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085151-300x169.png 300w, http://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085151-768x432.png 768w, http://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085151.png 1366w" sizes="(max-width: 600px) 100vw, 600px" />

Captura de chntpwhttp://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085154-300x169.png 300w, http://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085154-768x432.png 768w, http://blog.maximi89.cl/wp-content/uploads/2016/04/Screenshot-from-2016-04-11-085154.png 1366w" sizes="(max-width: 600px) 100vw, 600px" />

Fuente: http://www.techrepublic.com/blog/tr-dojo/reset-windows-passwords-with-the-help-of-linux/

Posted in guía, Guía o manual para corregir problema, Guías Tagged with: , , , , , , , , , , ,

Marzo 2nd, 2016 by maximi89

En este codigo le indica que al poner el subdominio http://blog.maximi89.cl este redireccione a https://blog.maximi89.cl (el codigo de abajo donde sale https://, deben borrar el espacio, yo lo separe porque autolink de wordpress me pone codigo como vinculo automaticamente.)

	RewriteCond %{HTTPS} off
	# RewriteRule ^(.*)$ https:// maximi89.cl/$1 [R,L]
	RewriteRule (.*) https:// blog.%{HTTP_HOST}%{REQUEST_URI}

Este otro codigo si se pone cualquier direccion SIN el HTTPS, entonces indica como 403 a lo que intente acceder, entonces redirecciona como parte del "ERROR" al enlace con HTTPS

	SSLOptions +StrictRequire
	SSLRequireSSL
	SSLRequire %{HTTP_HOST} eq "blog.maximi89.cl"
	ErrorDocument 403 https://%{HTTP_HOST}%{REQUEST_URI}

Fuentes:

Posted in guía, Guía o manual para corregir problema, Guías, Manual de uso Tagged with: , , , , , , , , , ,

Agosto 23rd, 2013 by maximi89

El error:

Opciones / SQL-ERR ‘Table ‘Logs’ is marked as crashed and should be repaired’, statement was ‘select Level, count(Level) as LevelCount from Logs where Level now() group by Level order by Level asc’

zmfix -a
myisamchk –force –update-state /var/lib/mysql/zm/*.MYI

Desde el CLI de MySQL:
CHECK TABLE Logs;
REPAIR TABLE Logs;
https://dev.mysql.com/doc/refman/5.0/en/myisam-repair.html

Can’t write log entry ‘insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( 1377274084.174016, ‘web_php’, 13130, -3, ‘FAT’, ‘SQL-ERR \’Table \’./zm/Logs\’ is marked as crashed and last (automatic?) repair failed\’, statement was \’select Level, count(Level) as LevelCount from Logs where Level now() group by Level order by Level asc\”, ‘/usr/share/zoneminder/includes/database.php’, 78 )’: Table ‘./zm/Logs’ is marked as crashed and last (automatic?) repair failed

¿Cúal es la recomendación para poder limpiar el sistema de esta falla?

Recomiendo hacer esto:
service zoneminder stop
service mysql stop

mysql -u root -p -D zm
# myisamchk –force –update-state /var/lib/mysql/zm/*.MYI

service zoneminder start
service mysql start

Posted in Guía o manual para corregir problema Tagged with: , , , , , , , , , , , , ,

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: