Archive for January, 2012

Fix disabled dmp path

root # /etc/vx/bin/vxdisksetup -i EMC0_146
VxVM vxdisksetup ERROR V-5-2-3628 The dmpnode EMC0_146 is disabled.Can not
proceed with vxdisksetup.

root # vxdisk list EMC0_146
Device: EMC0_146
devicetag: EMC0_146
type: auto
flags: online error private autoconfig
errno: Device path not valid
Multipathing information:
numpaths: 2
c5t5006048449AE7F48d149s2 state=disabled
c6t5006048C49AE7F77d149s2 state=disabled

Read the rest of this entry »

,

No Comments

solaris: how to recover solaris 11 root password

boot net -s
boot cdrom -s, if it ask username: root/solaris or root/password.

on x86, you need edit grub and append -s on kernel line.

after login. mount /dev/dsk/cxtxdxsx /a

if you use zfs for /, then zfs import
zfs list
zfs set mountpoint=/a rpool/ROOT/solaris
zfs mount -f rpool/ROOT/solaris
then edit /etc/shadow
remove the password section, let it looks likes.
root::15356::::::

don’t forget to reset the mountpoint back
zfs set mountpoint=/ rpool/ROOT/solaris

reboot.

4 Comments

mysqld: unknown variable 'master-host=

Are you trying to setup on replication on mysql5.5+ ? ok. then that’s the issue.

The following options are removed in MySQL 5.5. If you attempt to start mysqld with any of these options in MySQL 5.5, the server aborts with an unknown variable error.

–master-host
–master-user
–master-password
–master-port

Solution, comment the master- related variables. Read the rest of this entry »

1 Comment

mysqld: unknown variable ‘master-host=

Are you trying to setup on replication on mysql5.5+ ? ok. then that’s the issue.

The following options are removed in MySQL 5.5. If you attempt to start mysqld with any of these options in MySQL 5.5, the server aborts with an unknown variable error.

–master-host
–master-user
–master-password
–master-port

Solution, comment the master- related variables. Read the rest of this entry »

1 Comment