---
title: "exp操作错误 map : Permission Denied"
author: "lasol"
date: "2011-11-30T10:00:06Z"
tags: []
categories: ["数据库"]
slug: "exp-map-permission-denied"
draft: false
lastmod: "2011-11-30T10:00:06Z"
id: 1285162
url: "https://lasol.iteye.com/blog/1285162"
---

从应用服务器导出数据库服务器的数据库dump，提示错误：


map : Permission Denied
分段错误


查相关文档：
Unix permissions problem under ORACLE_HOME
Apparently this is a known Oracle bug, after installing Oracle 10.2.0 Unix permissions underORACLE_HOME are not set correctly, so directories and files are accessible to theinstallation user and group (i.e. oracle:dba) but not to the reset of the world (others). Ifyou get any of the following errors the problem may be caused by this permissions bug.$ sqlplus /ld.so.1: sqlplus: fatal: /apps/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1: PermissiondeniedDid you set the permissions on the whole directory or just that one library?$ sqlplus /Error 6 initializing SQL*PlusMessage file sp1<lang>.msb not foundSP2-0750: You may need to set ORACLE_HOME to your Oracle software directory$ sqlplus /SP2-1503: Unable to initialize Oracle call interfaceSP2-0152: ORACLE may not be functioning properlyOne way to fix this is to run:$ chmod -R o=g $ORACLE_HOMEHowever, make sure this doesn not violate your security policy.

所以使用root用户，执行#chmod -R o=g $ORACLE_HOME