Si nos encontramos un dominio de nuestro plesk, que se ha quedado bloqueado en un proceso de backup y se ha quedado inactivo, podemos activarlo o forzar su activación desde la consola SSH con el siguiente comando.
Desde consola:
./usr/local/psa/bin/domain --on dominio.com
jueves, 30 de mayo de 2013
jueves, 29 de noviembre de 2012
No imprime Impresora USB desde terminal Server con Windows 2008
Easy print genera problemas para imprimir, como deshabilitar easy print de terminal server
Si ha usado sesiones de terminal server o escritorio remoto, debe saber que es posible ejecutar una aplicacion en el servidor remoto e imprimir enla impresora local gracias al redireccionamiento de impresora.
Para esto debe estar el controlador correspondiente a la impresora tanto el el servidor como en el equipo cliente. (este controlador debe ser el indicado para cada sistema operativo.)
Aún así es posible que presente problemas de impresión. Una de las razones más comunes para esto es que antes que nada el servidor intenta usar el driver: Terminal Server Easy Print que no siempre es compatible con la impresoras.
Generalmente esta predeterminado y un usuario sin privilegios no puede cambiar esta configuración.
¿Qué hacer entonces?
La forma mas sencilla es precisamente deshabilitar este comportamiento desde las directivas de grupo de los usuarios en el servidor, justo como se ve en la imagen inferior.
(Entrar a la consola de políticas de equipo: Ejecutar: "gpedit.msc")
"Configuración del Equipo -> Plantillas Administrativas -> Componentes de windows ->"Terminal services -> Terminal Server.
Después de esto ejecute el comando "gpupdate". Cierre la sesión del cliente he ingrese nuevamemte y si todo quedo bien, en las propiedades de la impresora ya debe aparecer el driver de la impresora tal cual debería estar y podrá imprimir sin dificultades-
Si ha usado sesiones de terminal server o escritorio remoto, debe saber que es posible ejecutar una aplicacion en el servidor remoto e imprimir enla impresora local gracias al redireccionamiento de impresora.
Para esto debe estar el controlador correspondiente a la impresora tanto el el servidor como en el equipo cliente. (este controlador debe ser el indicado para cada sistema operativo.)
Aún así es posible que presente problemas de impresión. Una de las razones más comunes para esto es que antes que nada el servidor intenta usar el driver: Terminal Server Easy Print que no siempre es compatible con la impresoras.
Generalmente esta predeterminado y un usuario sin privilegios no puede cambiar esta configuración.
¿Qué hacer entonces?
La forma mas sencilla es precisamente deshabilitar este comportamiento desde las directivas de grupo de los usuarios en el servidor, justo como se ve en la imagen inferior.
(Entrar a la consola de políticas de equipo: Ejecutar: "gpedit.msc")
"Configuración del Equipo -> Plantillas Administrativas -> Componentes de windows ->"Terminal services -> Terminal Server.
Después de esto ejecute el comando "gpupdate". Cierre la sesión del cliente he ingrese nuevamemte y si todo quedo bien, en las propiedades de la impresora ya debe aparecer el driver de la impresora tal cual debería estar y podrá imprimir sin dificultades-
lunes, 30 de julio de 2012
Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7.
Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7. Did you forget to import the disk first?Unable to create virtual SCSI device for scsi0:0
I got this error when I imported a Redhat Linux 4 VM instance from VMware Server 2.0 and converted the VM to ESXi and powered on the VM.
/vmfs/volumes/4bb68dd3-8372b78e-eb21-0019b9eddb67/RHEL4 # vmkfstools -i rhel4_vm.vmdk -d 2gbsparse rhel4_esx.vmdk Destination disk format: sparse with 2GB maximum extent size Cloning disk 'rhel4_vm.vmdk'... Clone: 100% done.
After importing, when I power on the Redhat Linux VM, I get the following error:
Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7. Did you forget to import the disk first?Unable to create virtual SCSI device for scsi0:0, ‘/vmfs/volumes/4a8075b3-4e4bf1b8-28e40017a48d6112/syslogappliance/Appliance-OS-.vmdk’ Module DevicePowerOn power on failed.
To fix this problem, I had to reimport the VM using the "zeroedthick" argument for the "vmkfstools" command:
/vmfs/volumes/4bb68dd3-8372b78e-eb21-0019b9eddb67/RHEL4 # vmkfstools -i itvmgr41.vmdk -d zeroedthick itvmgr40sp1.vmdk Destination disk format: VMFS zeroedthick Cloning disk 'itvmgr41.vmdk'... Clone: 100% done.
vmkfstools -i disco_origen.vmdk -d zeroedthick disco_origen_1.vmdk
With the "zeroedthink" option, a flat file is created with complete disk size allocated to the file. For example, my linux distribution was created to use 73GB file, so a ".vmdk" file of 73GB is created.
I don’t want to create a 73GB file because I don’t know if I’ll use all that space in the future, I opted to "thin" option.
Other supported disk formats are explained below:
Supported Disk Formats
When you create or clone a virtual disk, you can use the -d –diskformat suboption to specify the format for the disk. Choose from the following formats:
. zeroedthick (default) – Space required for the virtual disk is allocated during creation. Any data remaining on the physical device is not erased during creation, but is zeroed out on demand at a later time on first write from the virtual machine. The virtual machine does not read stale data from disk.
. eagerzeroedthick – Space required for the virtual disk is allocated at creation time. In contrast to zeroedthick format, the data remaining on the physical device is zeroed out during creation. It might take much longer to create disks in this format than to create other types of disks.
. thick – Space required for the virtual disk is allocated during creation. This type of formatting doesn’t zero out any old data that might be present on this allocated space. A non-root user is not allowed to create this format.
. thin – Thin-provisioned virtual disk. Unlike with the thick format, space required for the virtual disk is not allocated during creation, but is supplied, zeroed out, on demand at a later time.
. rdm - Virtual compatibility mode raw disk mapping.
. rdmp – Physical compatibility mode (pass-through) raw disk mapping.
. raw - Raw device.
. 2gbsparse - A sparse disk with 2GB maximum extent size. You can use disks in this format with other VMware products, however, you cannot power on sparse disk on an ESX Server host unless you first reimport the disk with vmkfstools in a compatible format, such as thick or thin.
. monosparse – A monolithic sparse disk. You can use disks in this format with other VMware products.
. monoflat - A monolithic flat disk. You can use disks in this format with other VMware products.
Fuente: http://pubs.vmware.com/vi35u2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=server_config&file=sc_appb.21.6.html
I got this error when I imported a Redhat Linux 4 VM instance from VMware Server 2.0 and converted the VM to ESXi and powered on the VM.
/vmfs/volumes/4bb68dd3-8372b78e-eb21-0019b9eddb67/RHEL4 # vmkfstools -i rhel4_vm.vmdk -d 2gbsparse rhel4_esx.vmdk Destination disk format: sparse with 2GB maximum extent size Cloning disk 'rhel4_vm.vmdk'... Clone: 100% done.
After importing, when I power on the Redhat Linux VM, I get the following error:
Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7. Did you forget to import the disk first?Unable to create virtual SCSI device for scsi0:0, ‘/vmfs/volumes/4a8075b3-4e4bf1b8-28e40017a48d6112/syslogappliance/Appliance-OS-.vmdk’ Module DevicePowerOn power on failed.
To fix this problem, I had to reimport the VM using the "zeroedthick" argument for the "vmkfstools" command:
/vmfs/volumes/4bb68dd3-8372b78e-eb21-0019b9eddb67/RHEL4 # vmkfstools -i itvmgr41.vmdk -d zeroedthick itvmgr40sp1.vmdk Destination disk format: VMFS zeroedthick Cloning disk 'itvmgr41.vmdk'... Clone: 100% done.
vmkfstools -i disco_origen.vmdk -d zeroedthick disco_origen_1.vmdk
With the "zeroedthink" option, a flat file is created with complete disk size allocated to the file. For example, my linux distribution was created to use 73GB file, so a ".vmdk" file of 73GB is created.
I don’t want to create a 73GB file because I don’t know if I’ll use all that space in the future, I opted to "thin" option.
Other supported disk formats are explained below:
Supported Disk Formats
When you create or clone a virtual disk, you can use the -d –diskformat suboption to specify the format for the disk. Choose from the following formats:
. zeroedthick (default) – Space required for the virtual disk is allocated during creation. Any data remaining on the physical device is not erased during creation, but is zeroed out on demand at a later time on first write from the virtual machine. The virtual machine does not read stale data from disk.
. eagerzeroedthick – Space required for the virtual disk is allocated at creation time. In contrast to zeroedthick format, the data remaining on the physical device is zeroed out during creation. It might take much longer to create disks in this format than to create other types of disks.
. thick – Space required for the virtual disk is allocated during creation. This type of formatting doesn’t zero out any old data that might be present on this allocated space. A non-root user is not allowed to create this format.
. thin – Thin-provisioned virtual disk. Unlike with the thick format, space required for the virtual disk is not allocated during creation, but is supplied, zeroed out, on demand at a later time.
. rdm - Virtual compatibility mode raw disk mapping.
. rdmp – Physical compatibility mode (pass-through) raw disk mapping.
. raw - Raw device.
. 2gbsparse - A sparse disk with 2GB maximum extent size. You can use disks in this format with other VMware products, however, you cannot power on sparse disk on an ESX Server host unless you first reimport the disk with vmkfstools in a compatible format, such as thick or thin.
. monosparse – A monolithic sparse disk. You can use disks in this format with other VMware products.
. monoflat - A monolithic flat disk. You can use disks in this format with other VMware products.
Fuente: http://pubs.vmware.com/vi35u2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=server_config&file=sc_appb.21.6.html
viernes, 29 de junio de 2012
Apache 2 Test Page en Plesk 10
Si te aparecen la página de Apache Test Page en tu plesk, una opción sería reconfigurarlo.
Para ello ejecuta el siguiente comando:
"/usr/local/psa/admin/bin/httpdmng --reconfigure-all"
Tambíen puedes usar:
"/usr/local/psa/admin/bin/httpdmng --reconfigure-domain midominio.com"
Fuente
Para ello ejecuta el siguiente comando:
"/usr/local/psa/admin/bin/httpdmng --reconfigure-all"
Tambíen puedes usar:
"/usr/local/psa/admin/bin/httpdmng --reconfigure-domain midominio.com"
Fuente
lunes, 21 de mayo de 2012
Exchange 2010 Error BulidToBuildUpgrade
Se recibe un error al instalar Exchange 2010 SP1o SP2
Algunos controles no son válidos. El programa de instalación falló anteriormente en el desempeño de la acción en "Instalar". No se puede reanudar el programa de instalación performaing la acción "BuildToBuildUpgrade".
Recibimos un aviso de que el servidor ha generado un error en una instalación previa.
Para resolver dicho error hay que hacer lo siguiente:
1. Ejecutar REGEDIT para ver el registro del sistema.
2. Buscamos la siguiente clave de reistro
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\MailboxRole
3. Eliminamos dicha clave llamada Action
Fuente: http://www.jirc.com/2010/08/26/exchange-2010-sp1-install-setup-previously-failed-while-performing-the-action-install/
Algunos controles no son válidos. El programa de instalación falló anteriormente en el desempeño de la acción en "Instalar". No se puede reanudar el programa de instalación performaing la acción "BuildToBuildUpgrade".
Recibimos un aviso de que el servidor ha generado un error en una instalación previa.
Para resolver dicho error hay que hacer lo siguiente:
1. Ejecutar REGEDIT para ver el registro del sistema.
2. Buscamos la siguiente clave de reistro
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\MailboxRole
3. Eliminamos dicha clave llamada Action
Fuente: http://www.jirc.com/2010/08/26/exchange-2010-sp1-install-setup-previously-failed-while-performing-the-action-install/
martes, 15 de mayo de 2012
Cadenas de conexión para vb.Net, todas las cadenas
Si necesitas cualquier cadena de conexión para vb.NET, puedes consultar en la siguiente página web.
Connection String Reference
connectionstrings.com/
Connection String Reference
connectionstrings.com/
martes, 8 de mayo de 2012
Añadir Soporte para el Microsoft Mail en Outlook Xp
Outlook Xp no incluye soporte para conector con Ms-Mail, principalmente porque Ms Mail no incluye soporte para el año 2000, ni funciones de agenda, tareas, contactos, etc.
De echo en el documento Q287765 Microsoft dice que no se puede conectar un Outolook Xp a un Ms Mail.
Pero existe un metodo y es modificar un fichero (mapisvc.inf ) que nos ofrece el soporte del servicio de mapi.
1º Después de instalar el Outlook Xp, busca en tu disco el fichero mapisvc.inf
(normalmente en C:Archivos de programaArchivos comunesSystemMapi3082 ¡¡OJO edita el de esta carpeta no el de system o system32!!)
2º En la seccion de [Services] agrega:
MSFS=Microsoft Mail
3º Al final de documento agrega:
[SFS_AB]
PR_PROVIDER_DLL_NAME=MSFS.DLL
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_RESOURCE_TYPE=MAPI_AB_PROVIDER
PR_DISPLAY_NAME=Microsoft Mail Address Book
PR_PROVIDER_DISPLAY=Microsoft Mail Address Book
PR_RESOURCE_FLAGS=STATUS_PRIMARY_IDENTITY
[SFS_MS]
PR_PROVIDER_DLL_NAME=MSFS.DLL
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_RESOURCE_TYPE=MAPI_STORE_PROVIDER
PR_DISPLAY_NAME=Microsoft Mail Shared Folders
PR_PROVIDER_DISPLAY=Microsoft Mail Shared Folders
PR_RESOURCE_FLAGS=STATUS_NO_DEFAULT_STORE
34140102=00ffb8646041b80108002b2b8a290000
[SFS_XP]
PR_PROVIDER_DLL_NAME=MSFS.DLL
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_RESOURCE_TYPE=MAPI_TRANSPORT_PROVIDER
PR_DISPLAY_NAME=Microsoft Mail Transport
PR_PROVIDER_DISPLAY=Microsoft Mail Transport
PR_RESOURCE_FLAGS=STATUS_PRIMARY_IDENTITY
[MSFS]
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_DISPLAY_NAME=Microsoft Mail
PR_SERVICE_DLL_NAME=MSFS.DLL
PR_SERVICE_SUPPORT_FILES=msfs.dll
PR_SERVICE_ENTRY_NAME=ServiceEntry
;WIZARD_ENTRY_NAME=WizardInformation
PR_RESOURCE_FLAGS=SERVICE_SINGLE_COPY
Providers=SFS_AB, SFS_MS, SFS_XP
4º Copia el fichero MSFS32.DLL a windowssystem (95/98) o a winntsystem32 (Nt/2000)
Lo puedes copiar de un equipo que tenga Ms-Mail ocupa cerca de 515 kb.
Si todo esta bien, dentro de la configuracion de cuentas de correo en Tipo de Controlador Adicional tendras el Ms Mail.
Mas informacion:
http://www.slipstick.com/addins/services/msmail.htm
Traduccion libre del documento.
http://www.poremsky.com/msmail_xp.htm
De echo en el documento Q287765 Microsoft dice que no se puede conectar un Outolook Xp a un Ms Mail.
Pero existe un metodo y es modificar un fichero (mapisvc.inf ) que nos ofrece el soporte del servicio de mapi.
1º Después de instalar el Outlook Xp, busca en tu disco el fichero mapisvc.inf
(normalmente en C:Archivos de programaArchivos comunesSystemMapi3082 ¡¡OJO edita el de esta carpeta no el de system o system32!!)
2º En la seccion de [Services] agrega:
MSFS=Microsoft Mail
3º Al final de documento agrega:
[SFS_AB]
PR_PROVIDER_DLL_NAME=MSFS.DLL
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_RESOURCE_TYPE=MAPI_AB_PROVIDER
PR_DISPLAY_NAME=Microsoft Mail Address Book
PR_PROVIDER_DISPLAY=Microsoft Mail Address Book
PR_RESOURCE_FLAGS=STATUS_PRIMARY_IDENTITY
[SFS_MS]
PR_PROVIDER_DLL_NAME=MSFS.DLL
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_RESOURCE_TYPE=MAPI_STORE_PROVIDER
PR_DISPLAY_NAME=Microsoft Mail Shared Folders
PR_PROVIDER_DISPLAY=Microsoft Mail Shared Folders
PR_RESOURCE_FLAGS=STATUS_NO_DEFAULT_STORE
34140102=00ffb8646041b80108002b2b8a290000
[SFS_XP]
PR_PROVIDER_DLL_NAME=MSFS.DLL
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_RESOURCE_TYPE=MAPI_TRANSPORT_PROVIDER
PR_DISPLAY_NAME=Microsoft Mail Transport
PR_PROVIDER_DISPLAY=Microsoft Mail Transport
PR_RESOURCE_FLAGS=STATUS_PRIMARY_IDENTITY
[MSFS]
PR_SERVICE_INSTALL_ID={6485D278-C2AC-11D1-AD3E-10A0C911C9C0}
PR_DISPLAY_NAME=Microsoft Mail
PR_SERVICE_DLL_NAME=MSFS.DLL
PR_SERVICE_SUPPORT_FILES=msfs.dll
PR_SERVICE_ENTRY_NAME=ServiceEntry
;WIZARD_ENTRY_NAME=WizardInformation
PR_RESOURCE_FLAGS=SERVICE_SINGLE_COPY
Providers=SFS_AB, SFS_MS, SFS_XP
4º Copia el fichero MSFS32.DLL a windowssystem (95/98) o a winntsystem32 (Nt/2000)
Lo puedes copiar de un equipo que tenga Ms-Mail ocupa cerca de 515 kb.
Si todo esta bien, dentro de la configuracion de cuentas de correo en Tipo de Controlador Adicional tendras el Ms Mail.
Mas informacion:
http://www.slipstick.com/addins/services/msmail.htm
Traduccion libre del documento.
http://www.poremsky.com/msmail_xp.htm
Suscribirse a:
Entradas (Atom)
No funciona la SOMBRA en RDP Habilitar esta regla: En Firewall de Entrada, habilitar Escritorio Remoto - Instantanea (TCP de Entrada)
-
SQL Server – Convertir desde Evaluation Version a Standard o Enterprise Si ha estado ejecutando SQL Server y ha caducado, sería necesario ac...
-
Adding Third-Party Drivers into VMWare ESXi 6.7 ISO Image In this article, we’ll consider how to add (inject) drivers into the ESXi 6.7 inst...
-
Si nos encontramos un dominio de nuestro plesk, que se ha quedado bloqueado en un proceso de backup y se ha quedado inactivo, podemos activa...