Fix: (oracle) are not allowed to use this program (crontab)

Symptoms: [oracle@oracle01 nmon]$ crontab -l You (oracle) are not allowed to use this program (crontab) See crontab(1) for more information Cause: it turns out that Mandriva doesn’t create default rules for crontab’s use by users. Instead, on a new install crontab is restricted to the root account. There are two files that control usage of […]

Setup NMON in RHEL

Download nmon for RHEL: http://nmon.sourceforge.net/pmwiki.php?n=Site.Download Install nmon in RHEL: cp nmon16e_x86_rhel72 /usr/local/bin/ chmod a+x /usr/local/bin/nmon16e_x86_rhel72 ln -s /usr/local/bin/nmon16e_x86_rhel72 /usr/local/bin/nmon Configure nmon: su – oracle mkdir /nmon cd nmon/ vi /nmon.sh #Syntax nmon: #[ -f | -F filename ] #[ -r < runname > ] #[ -t | -T | -Y Includes the top processes in […]

Mounting and mapping shares between Windows and Linux with Samba

Mounting and mapping shares between Windows and Linux with Samba yum install samba-client samba-common -y yum install cifs-utils # smbclient -U user -L 192.168.1.122 # mkdir /mnt/myshare # mount -t cifs -o username=user //192.168.1.122/myshare /mnt/share # sudo mount.cifs //10.0.1.4/share /mnt/share/nmshare/ -o user=share,pass=share # vim /etc/fstab //192.168.1.122/myshare /mnt/share cifs username=user,password=password,_netdev 0 0 The _netdev option is […]