June 30, 2008
This is the error message that appeared when I tried to update my installation.
root@setalaptop:~ # pkg image-update
Creating Plan \Traceback (most recent call last):
File “/usr/bin/pkg”, line 1440, in ?
ret = main_func()
File “/usr/bin/pkg”, line 1404, in main_func
return image_update(img, pargs)
File “/usr/bin/pkg”, line 366, in image_update
noexecute = noexecute)
File “/usr/lib/python2.4/vendor-packages/pkg/client/image.py”, line 1282, in make_install_plan
ip.evaluate()
File “/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py”, line 344, in evaluate
self.evaluate_fmri(f)
File “/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py”, line 187, in evaluate_fmri
m = self.image.get_manifest(pfmri)
File “/usr/lib/python2.4/vendor-packages/pkg/client/image.py”, line 516, in get_manifest
m = self._fetch_manifest(fmri)
File “/usr/lib/python2.4/vendor-packages/pkg/client/image.py”, line 468, in _fetch_manifest
mcontent = retrieve.get_manifest(self, fmri)
File “/usr/lib/python2.4/vendor-packages/pkg/client/retrieve.py”, line 87, in get_manifest
return m.read()
File “/usr/lib/python2.4/socket.py”, line 277, in read
data = self._sock.recv(recv_size)
File “/usr/lib/python2.4/httplib.py”, line 480, in read
s = self.fp.read(amt)
File “/usr/lib/python2.4/socket.py”, line 295, in read
data = self._sock.recv(recv_size)
timeout: timed out
I’ll research another day why I can’t update it.
No Comments » |
sysadmin | Tagged: opensolaris |
Permalink
Posted by Emerson Takahashi
May 5, 2008
Ian Murdock and the volunters from OpenSolaris.org released the new distro-like distribution of Solaris. It’s called OpenSolaris.
I’m downloading the OpenSolaris Live CD right now to replace the Fedora Linux partition that I have.
No Comments » |
opensolaris | Tagged: opensolaris |
Permalink
Posted by Emerson Takahashi
April 22, 2008
Right clicked the VM to delete and it removed from the Inventory but showed the following message:
Failed to delete VM
Reason: Failed to unregister the VM after it was deleted.
Another VMware error where Google showed nothing. 
No Comments » |
sysadmin | Tagged: error, vmware, windows |
Permalink
Posted by Emerson Takahashi
April 17, 2008
Does anybody know how to solve this problem?
[root@memcached ~]# rpm -ivh –force VMwareTools-1.0.5-80187.i386.rpm
Preparing… ########################################### [100%]
Unable to find the answer LIBDIR in the installer database
(/etc/vmware-tools/locations). You may want to re-install VMware
Tools.\n\nExecution aborted.
error: %pre(VMwareTools-6533-80187.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping VMwareTools-6533-80187
I cancelled (CTRL+C) in the middle of the installation of the rpm and now I can’t run the installer or reinstall the rpm.
1 Comment |
sysadmin | Tagged: error, linux, vmware, vmwaretools |
Permalink
Posted by Emerson Takahashi
April 3, 2008
This time is a tip to enable a user account if your system uses password aging or the user was locked out due to the unsuccessful login attempts.
login: user
Password:
Account is disabled - see Account Administrator
To enable a locked or disabled HP-UX account, run the command:
/usr/lbin/modprpw -l -k <username>
No Comments » |
sysadmin | Tagged: hp-ux |
Permalink
Posted by Emerson Takahashi
March 18, 2008
3004-303 There have been too many unsuccessful login attempts; please see the system administrator
If your user can’t login and is receiving this error message, you need to reset his unsuccessful login attemps.
Check his unsuccessful login counter with lsuser
# /usr/sbin/lsuser -a unsuccessful_login_count <username>
username unsuccessful_login_count=4
Then reset the counter with chsec
# /usr/bin/chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <username>
No Comments » |
sysadmin | Tagged: aix |
Permalink
Posted by Emerson Takahashi
March 11, 2008
Here is a dirty and fast way to mount a Windows shared folder:
- Check what the Windows server is providing with smbclient:
# smbclient –L <hostname> -W <domain> -U <user>
# smbclient -L CORESERVER -W WINLLAB -U nimda
Password:
Domain=[WINLAB] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows Server 2003 5.2]
Sharename Type Comment
——— —- ——-
C$ Disk Default share
F$ Disk Default share
IPC$ IPC Remote IPC
Resources$ Disk “Event logging files”
ADMIN$ Disk Remote Admin
Address Disk “Access to address objects”
Domain=[WINLAB] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows Server 2003 5.2]
Server Comment
——— ——-
CORESERVER2 DC / DHCP / WINS / DNS /PS
CORESERVER3 LCS [ST : ]
CORESERVER EXCHANGE [ST : CV1FX81]
Workgroup Master
——— ——-
SYSADM
MYGROUP SERVERCORE
- Mounting the Windows Shared folder on RHEL5
# mount -t cifs <hostname>:<share> <mount point on Linux> -ousername=<username>,domain=<domain>
# mount -t cifs CORESERVER:F\$ /mnt/temp -ousername=nimda,domain=WINLAB
Password:
# cd /mnt/temp
# ls -lh
total 27G
drwxrwxrwx 1 root root 0 Jan 31 08:52 Arquivos
-rwxrwSrwt 1 root root 214M Feb 27 16:40 CD_sun4u_sparcv9__marTux_0.2__small_naked_demo_cd_bs512b.iso.bz2
-rwxrwSrwt 1 root root 2.3G Nov 19 16:33 CentOS-4.6-i386-binDVD.iso
-rwxrwSrwt 1 root root 3.6G Nov 24 19:31 CentOS-5.1-i386-bin-DVD.iso
-rwxrwSrwt 1 root root 5.6G Jan 15 14:47 eis-dvd.ISO
-rwxrwSrwt 1 root root 3.2G Nov 2 14:05 Fedora-8-i386-DVD.iso
-rwxrwSrwt 1 root root 647M Feb 14 07:22 in-preview2.iso
-rwxrwSrwt 1 root root 630M Nov 1 01:52 in-preview.iso
-rwxrwSrwt 1 root root 1.4G Feb 11 08:37 n1sm-1.3.3-ga-linux-x86.iso
-rwxrwSrwt 1 root root 251M Feb 15 12:07 oracle-xe-univ-10.2.0.1-1.0.i386.rpm
-rwxrwSrwt 1 root root 2.2G Feb 12 10:37 RHEL4.6-i386-AS-DVD.iso
-rwxrwSrwt 1 root root 3.4G Jan 21 14:03 sol-nv-b70b-x86-dvd.iso
-rwxrwSrwt 1 root root 932M Feb 6 13:50 SunSXDE108-1.zip
-rwxrwSrwt 1 root root 1.3G Feb 6 13:07 SunSXDE108-2.zip
-rwxrwSrwt 1 root root 338M Jun 28 2007 sxrt5.0×64_x86_5.0×64a.dvd2.tar.gz
-rwxrwSrwt 1 root root 163M Jan 6 14:46 systemrescuecd-x86-0.4.2.iso
-rwxrwSrwt 1 root root 394M Feb 28 09:15 ubuntu-6.06.2-server-sparc.iso
-rwxrwSrwt 1 root root 473M Feb 27 08:06 ubuntu-7.10-server-sparc.iso
-rwxrwSrwt 1 root root 101M Feb 15 11:53 VMware-server-1.0.4-56528.i386.rpm
-rwxrwSrwt 1 root root 147M Dec 26 13:21 VMware-server-installer-1.0.4-56528.exe
- Using smbmount to mount a Windows shared folder. Deprecated in RHEL5 (no more smbfs, cifs available) and available for up to RHEL4
# smbmount //<hostname>/<share> <mount point on Linux> -o username=<username>
# smbmount //SERVERCORE/F$ /mnt/temp -o username=nimda/WINLAB
Password:
# cd /mnt/temp
# ls -lh
total 27G
drwxrwxrwx 1 root root 0 Jan 31 08:52 Arquivos
-rwxrwSrwt 1 root root 214M Feb 27 16:40 CD_sun4u_sparcv9__marTux_0.2__small_naked_demo_cd_bs512b.iso.bz2
-rwxrwSrwt 1 root root 2.3G Nov 19 16:33 CentOS-4.6-i386-binDVD.iso
-rwxrwSrwt 1 root root 3.6G Nov 24 19:31 CentOS-5.1-i386-bin-DVD.iso
-rwxrwSrwt 1 root root 5.6G Jan 15 14:47 eis-dvd.ISO
-rwxrwSrwt 1 root root 3.2G Nov 2 14:05 Fedora-8-i386-DVD.iso
-rwxrwSrwt 1 root root 647M Feb 14 07:22 in-preview2.iso
-rwxrwSrwt 1 root root 630M Nov 1 01:52 in-preview.iso
-rwxrwSrwt 1 root root 1.4G Feb 11 08:37 n1sm-1.3.3-ga-linux-x86.iso
-rwxrwSrwt 1 root root 251M Feb 15 12:07 oracle-xe-univ-10.2.0.1-1.0.i386.rpm
-rwxrwSrwt 1 root root 2.2G Feb 12 10:37 RHEL4.6-i386-AS-DVD.iso
-rwxrwSrwt 1 root root 3.4G Jan 21 14:03 sol-nv-b70b-x86-dvd.iso
-rwxrwSrwt 1 root root 932M Feb 6 13:50 SunSXDE108-1.zip
-rwxrwSrwt 1 root root 1.3G Feb 6 13:07 SunSXDE108-2.zip
-rwxrwSrwt 1 root root 338M Jun 28 2007 sxrt5.0×64_x86_5.0×64a.dvd2.tar.gz
-rwxrwSrwt 1 root root 163M Jan 6 14:46 systemrescuecd-x86-0.4.2.iso
-rwxrwSrwt 1 root root 394M Feb 28 09:15 ubuntu-6.06.2-server-sparc.iso
-rwxrwSrwt 1 root root 473M Feb 27 08:06 ubuntu-7.10-server-sparc.iso
-rwxrwSrwt 1 root root 101M Feb 15 11:53 VMware-server-1.0.4-56528.i386.rpm
-rwxrwSrwt 1 root root 147M Dec 26 13:21 VMware-server-installer-1.0.4-56528.exe
No Comments » |
sysadmin | Tagged: cifs, linux, samba, smbfs, windows |
Permalink
Posted by Emerson Takahashi
February 22, 2008
Using the command rscadm or scadm previously covered in this page you pass the argument userpassword <username>.
root@localhost:/ # /usr/platform/`uname -i`/rsc/rscadm usershow
username permissions password
——– ———– ——–
admin cuar Assigned
root@localhost:/ # /usr/platform/`uname -i`/rsc/rscadm userpassword admin
Password:
Re-enter Password:
root@localhost:/ #
No Comments » |
sysadmin | Tagged: alom, sun, rsc |
Permalink
Posted by Emerson Takahashi