免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234下一页
最近访问板块 发新帖
查看: 12939 | 回复: 33

[WebLogic] Solaris10 下安装 weblogic10.3 [复制链接]

论坛徽章:
0
发表于 2009-07-29 18:24 |显示全部楼层
在Solaris10下怎么安装WebLogic10.3啊?
bash-3.00$ sh wls1031_solaris32.bin
wls1031_solaris32.bin: 语法错误在行1: `(' 非期望的
这是怎么回事呢?有没有这方面的安装手册啊?官方网站看的头都晕了。。。

论坛徽章:
0
发表于 2009-07-29 22:48 |显示全部楼层
原帖由 wwwxxx286 于 2009-7-29 18:24 发表
在Solaris10下怎么安装WebLogic10.3啊?
bash-3.00$ sh wls1031_solaris32.bin
wls1031_solaris32.bin: 语法错误在行1: `(' 非期望的
这是怎么回事呢?有没有这方面的安装手册啊?官方网站看的头都晕了。。。



看着像你下载的不是for solaris版的。

论坛徽章:
0
发表于 2009-07-30 08:48 |显示全部楼层
说的不清不楚,谁知道你怎么回事啊。

论坛徽章:
0
发表于 2009-07-30 09:46 |显示全部楼层
I have installed a Solaris10 at VM, but a error occurs when I install weblogic10 on it. My operational processes as following.

# adduser……
#addgroup……
#chmod +x wls1031_solaris32.bin
# su - weblogic
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
-sh: H: 没找到
-sh: -o: 不对的选项
$ pwd
/export/home/weblogic
$ ./wls1031_solaris32.bin
./wls1031_solaris32.bin: 不能执行
$ bash
bash-3.00$ sh wls1031_solaris32.bin
wls1031_solaris32.bin: 语法错误在行1: `(' 非期望的
bash-3.00$

  Would you give me some suggestion about this? Thank you so much.

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
发表于 2009-07-30 09:56 |显示全部楼层
.bin是可执行文件

到所在目录,执行./wls1031_solaris32.bin就像

论坛徽章:
0
发表于 2009-07-30 10:08 |显示全部楼层
/:>su root
# cd /export/home/weblogic
# ls
WLI_DIR                  server103_solaris32.bin  wls1031_solaris32.bin
# ./wls1031_solaris32.bin
ksh: ./wls1031_solaris32.bin: 不能执行
# su - weblogic
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
-sh: H: 没找到
-sh: -o: 不对的选项
$ ./wls1031_solaris32.bin
./wls1031_solaris32.bin: 不能执行
$ . wls1031_solaris32.bin
语法错误: `(' 非期望的
$

貌似还是同样的问题。我这个Solaris版本显示SunOS 5.10. 是不是因为这只是sunos,而不是完整的Solaris?WebLogic10.3是在Oracle官网上下的。

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
发表于 2009-07-30 10:14 |显示全部楼层
/:>su root
# cd /export/home/weblogic
# ls
WLI_DIR                  server103_solaris32.bin  wls1031_solaris32.bin
# ./wls1031_solaris32.bin
ksh: ./wls1031_solaris32.bin: 不能执行
# su - weblogic
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
-sh: H: 没找到
-sh: -o: 不对的选项
$ ./wls1031_solaris32.bin
./wls1031_solaris32.bin: 不能执行
$ . wls1031_solaris32.bin
语法错误: `(' 非期望的
$
[/quote]

# su - weblogic
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
-sh: H: 没找到
-sh: -o: 不对的选项


.profile设置有问题,自己查一下



$ ./wls1031_solaris32.bin
./wls1031_solaris32.bin: 不能执行


chmod +x ./wls1031_solaris32.bin

$ . wls1031_solaris32.bin
语法错误: `(' 非期望的


都说了是二进制可执行文件,不要用shell的方式执行

论坛徽章:
0
发表于 2009-07-30 10:41 |显示全部楼层
# cd /export/home/weblogic
# pwd
/export/home/weblogic
# chmod +x ./wls1031_solaris32.bin

$ id
uid=102(weblogic) gid=102(weblogic)

$ ./wls1031_solaris32.bin
./wls1031_solaris32.bin: 不能执行

还是不能执行啊。

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
发表于 2009-07-30 10:46 |显示全部楼层

回复 #8 wwwxxx286 的帖子

ls -l ./wls1031_solaris32.bin

file  ./wls1031_solaris32.bin

看看输出

论坛徽章:
0
发表于 2009-07-30 10:51 |显示全部楼层
$ ls -l ./wls1031_solaris32.bin
-rwxr-xr-x   1 root     root     543918214  7月 29日 17:50 ./wls1031_solaris32.bin
$ file ./wls1031_solaris32.bin
./wls1031_solaris32.bin:        ELF 32-位 MSB 可执行 SPARC 版本 1,动态链接,除去
$

输出就这样的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP