免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2223 | 回复: 2
打印 上一主题 下一主题

[samba] 关于Solaris8上samba的安装,奇怪问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-10 14:19 |只看该作者 |倒序浏览
各位大虾:
       最近一直在鼓捣这个samba.在Solaris8上.
我安装的是 samba-3.0.10-sol8-sparc-local.gz 和一些相关软件如:
ncurses-5.4-sol8-sparc-local.gz , popt-1.7-sol8-sparc-local.gz ,
libiconv-1.9.2-sol8-sparc-local.gz ,readline-5.1-sol8-sparc-local.gz 等
       安装完毕以后.
# ldd /usr/local/samba/bin/testparm
        libthread.so.1 =>        /usr/lib/libthread.so.1
        libsendfile.so.1 =>      (file not found)
        libsec.so.1 =>   /usr/lib/libsec.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libpopt.so.0 =>  /usr/local/lib/libpopt.so.0
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
#
报说 /usr/lib/libsendfile.so.1 没有找到.
       然后我加了samba的邮件列表有位大虾告诉我说
On my Solaris 8 system the library is here : /usr/lib/libsendfile.so.1

It is installed as part of the package : SUNWcsl

Cheers,
Aaron

然后我就
cd /cdrom/cdrom0/s0/Solaris_8/Product
pkgadd -d . SUNWcsl

结果.不行,依然报: /usr/lib/libsendfile.so.1 , 系统坏了,报内核函数库被破坏了.
重装机器后,在网上search到一篇帖子说要打些补丁.然后
# /usr/sbin/patchadd ./108995-08

Checking installed patches...
ERROR: This patch requires the following patches
which have not been applied to the system:
     108528-01 108993-28

Patchadd is terminating.
# /usr/sbin/patchadd ./108528-29

Checking installed patches...
ERROR: This patch requires the following patches
which have not been applied to the system:
     108987-09 111111-03 111310-01

Patchadd is terminating.
# /usr/sbin/patchadd ./108987-18

Checking installed patches...
ERROR: This patch requires patch  112396-02
which has not been applied to the system.

Patchadd is terminating.
# /usr/sbin/patchadd ./112396-03

Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch 112396-03 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/112396-03/log for details
# more /var/sadm/patch/112396-03/log

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

/u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: /u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: cannot
open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
#

在一个patch一个patch找全了.最后一个一个试了,只要报有别的patch依赖的我都找全了.但是终于找到叶子patch的时候,大部分都报:
类似下列的错误:
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch 112396-03 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/112396-03/log for details
按说明找到日志则都是类似:
# more /var/sadm/patch/112396-03/log

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

/u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: /u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: cannot
open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
#
我开始猜测是没有到单用户模式而打patch的原因.结果试了不是,还是打不上patch.我实在是没辙了.网上又找不到相关信息.所以只能到这里来求救各位大虾了.希望能给我一点提示或建议.多谢!

论坛徽章:
0
2 [报告]
发表于 2006-11-10 16:10 |只看该作者
我记得我当初安samba时候 就是上网站下点包 配置一下就完了 也是在solaris8上 而且是在日文下

你看看我以前写的
http://blog.csdn.net/managergh/archive/2006/07/27/984331.aspx
只知道能不能帮上你

论坛徽章:
0
3 [报告]
发表于 2006-11-13 09:58 |只看该作者

回复 2楼 managergh 的帖子

managergh  谢谢你的回复.我拜读了你写的samba的配置.对我还是有用价值的.谢谢你!
在这台机器上安装samba之前我在另外一台机器上安装过samba,成功了,过程大致和你写的一样,一切都很顺利.
现在安装失败的这台机器是我新装的,它原来就有这个问题,新装以后还是存在这个问题.但我却不知道问题在哪里?
网上也没搜索到相关信息.在加入samba list之后Aaron给我回复的我试了,不成功,而且把系统搞瘫了.也许是我做得不正确导致的.但是如何解决,我仍然无任何由头.希望尽快有大虾给我点提示.非常感谢.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP