you can either change the value of DS (smart relay host) to your mail router, or you can set an alias for it (to mailhost.) in /etc/hosts
then start your sendmail (/etc/init.d/sendmail start)
the following is for primary disk as c0t0d0s2 and secondary as c0t1d0s2, change as needed:
/usr/sbin/prtvtoc /dev/rdsk/c0t0d0s0 | grep -v '*' > /var/tmp/root_vtoc
/usr/bin/dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c0t1d0s2
/usr/sbin/fmthard -s /var/tmp/root_vtoc /dev/rdsk/c0t1d0s2
fsck your...
go to http://sunsolve.sun.com
click on patch finder
enter the patch IDs and do search
download patches
read the instructions included with each for installation, or follow the instructions on the web page for the patch
have you read the TRANSFER.UNX file in jetadmin root (i.e. /opt/hpnpl/TRANSFER.UNX)?
it has detailed instructions for transferring queues from one workstation to another.
-------------------------------------------
#!/bin/ksh
FILE=(full-path-to-your-file)
DATE=`date '+%b %d'`
ls $FILE | grep "$DATE" || mailx -s"someone is sleeping on the job" "(all mail recipients separated by spaces)"<(some file with the message you want to mail in...
actually, -a would be a good switch to put in to list . files. however, -d will not list only directories. it will list files as well, and only directory paths. without the -d option you will list the contents of all files in that directory (which may not be owned by that user), and you'll...
restart lpsched. sometimes after you add a lot of printers, you need to restart the scheduler in order to enable and accept them. i have no idea why. if you look at ja.out in the tmp directory under jetadmin root (for example /opt/hpnpl/tmp) you will see a message saying:
UX:lpadmin...
you could use a simple perl script and dump it in cgi-bin. call it with http://your.server/cgi-bin/script.pl?userid=someuser
-----------------------------------------------------
use CGI qw(:standard);
$userid = param("userid");
$title = "Process listing for $userid"...
boot to single-user mode and do a sys-unconfig
if you don't know root password, boot from cd (boot cdrom -s), mount root partition to /a, wipe out password from /a/etc/shadow, boot to single user, sys-unconfig
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.