網頁

2011年7月13日 星期三

筆記:Mac OSX 10.6.8 network printer problem

更新到Mac OSX 10.6.8之後列印公司Toshiba e-studio 255事務機會出現 /usr/libexec/cups/backenddnssd failed,有幸網路上有善心人事提供之前版本的檔案,剛剛將/usr/libexec/cups/backend路徑下dnssd, ipp, lpd三個檔案覆蓋回去後,終於可以列印了阿!

感謝神~

我沒有覆蓋socket是因為這個檔案內容看起來是針對HP使用,而我列印HP印表機很正常。

Reference

The files that need to be downgraded back to 10.6.6 or 10.6.7 are in the following folder.
/usr/libexec/cups/backend
The files to replace are as follows.
socket
dnssd
lpd
ipp
You need to backup these files first.

2011年7月11日 星期一

su: No directory!

check /etc/passwd /etc/shadow /etc/nsswitch.conf
User home directory permission
If settings is correct.

check / mount point permission.

root@M4000 # ls -ald /
drwxr-x--- 51 root root 77 Jul 11 11:33 /
root@M4000 # chmod 755 /
root@M4000 #
root@M4000 # su - mds
Oracle Corporation SunOS 5.10 Generic Patch January 2005
$HOSTNAME:`pwd`>
$HOSTNAME:`pwd`> exit
root@M4000 # su - crp2db
Oracle Corporation SunOS 5.10 Generic Patch January 2005
crp2db> exit

2011年7月4日 星期一

Error in unconfig_files: Cannot delete NIS client information from /var/yp/binding.

Error in unconfig_files: Cannot delete NIS client information from /var/yp/binding. Check the ypservers and cache_binding files within each binding directory.

ERROR: Unable to unconfigure the extracted system

Unable to unconfigure the extracted system

Fatal Error

Solaris installation program exited.



You need to exclude NIS from the flarcreate:

flarcreate -S -c -n -I “servername-5.10-sun4v-date” -x /var/yp/binding/yourdomainname /var/tmp/servername-5.10-sun4v-date.flar

Or

flarcreate -S -c -n -I \
“`uname -n`-`uname -r`-`uname -m`-`date +%m%d%Y`” \
-x “/var/yp/binding/`domainname`” \
/var/tmp/”`uname -n`-`uname -r`-`uname -m`-`date +%m%d%Y`.flar”

Refrense: Error when trying to load a flar.