05-28-2011
Quote:
Originally Posted by
Bharath_M
Could anyone please help me with how this library can be loaded.
Just a guess: have you checked the filemode of the library? To access it you must be able to read it ("r--"-flag) and probably to execute it ("--x"-flag). You also need to have r-x for the directory in which the file is located.
If you are unsure: post the output of "ls -l /path/to/libmarimba.so", of "ls -ld /path/to" and the output of "id".
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. Linux
I have an ant build file im using to build and run a software package im developing. I'm writing an automatic build script that will each night pull a clean project from CVS, build it, and run some tests on it. I have everything running but the tests. The test requires the running of a seperate... (0 Replies)
Discussion started by: kingfinny
0 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
This is my first shell script, so I'm hoping the problem is that I'm just missing something, and not something bigger. I have a Java application that I wrote in WSAD that reads data from an Excel file and inserts values into a DB2 database. I'm able to run it successfully in WSAD. I... (4 Replies)
Discussion started by: loveToBlade
4 Replies
3. Solaris
Hi Guys,
Please help me out. I am new to solaris. I am using solaris 10
___________________________________________________________
public class Filecheck{
public static void main(String args) {
System.out.println("LD_LIBRARY_PATH is : "+System.getProperty("java.library.path"));... (5 Replies)
Discussion started by: josh_chrisin
5 Replies
4. AIX
Hello all, my first post so please be gentle!
I have 2 x AIX 6.1.4.0 environments, one has EFS enabled and the other does not.
I have installed SSH & SSL on both systems, and configured SFTP using SSL authentication between both boxes:
openssh.base.client 5.2.0.5300 COMMITTED Open Secure... (3 Replies)
Discussion started by: PJMCK
3 Replies
5. UNIX for Dummies Questions & Answers
where can I download java1.6 for rhel5 32 bit. find it hard to search on the net. thanks (3 Replies)
Discussion started by: lhareigh890
3 Replies
6. AIX
Hello all. This is my first post on here and I have a question. Recently I was asked how you would go about backing up data from the server to a tape drive that is attached to the RS/6000 system. Assuming that the systems are all new it would be great if someone has a step by step guide that would... (4 Replies)
Discussion started by: aten
4 Replies
7. AIX
Hi all the gurus out there, I am trying to SFTP about 30000 small files (4MB each at most) but I'm getting "xrealloc: out of memory" error. Anyone encountered this before? I'm on AIX6. (4 Replies)
Discussion started by: LuckySkunk
4 Replies
8. AIX
Hello,
I have a problem with an NFS file system. Both AIX servers are AIX6.1 and uses NFS version 3.
The problem is that at some point the client server cannot connect to the NFS anymore and when i do df -k it displays the message NFS server <server> not responding still trying.
i run the... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
9. AIX
How many Core in AIX6 & AIX7 ..
Please guys I want commands to know how many Core in these two different version please i need exact command ? (2 Replies)
Discussion started by: top.level
2 Replies
10. AIX
Dear Guys ..
I'm going to Upgrade one of the servers AIX 6.1
I want to stop rootvg mirror to save the mirror then upgrade to AIX 6.1 this is to help me in rollback if something goes wrong but ..
can anyone help me how to make sure that system is relay mirrored and how to know that second... (10 Replies)
Discussion started by: top.level
10 Replies
LEARN ABOUT DEBIAN
dpns_stat
DPNS_STAT(3) DPNS Library Functions DPNS_STAT(3)
NAME
dpns_stat - get information about a DPNS file or directory in the name server
SYNOPSIS
#include <sys/types.h>
#include "dpns_api.h"
int dpns_lstat (const char *path, struct dpns_filestat *statbuf)
int dpns_stat (const char *path, struct dpns_filestat *statbuf)
int dpns_statx (const char *path, struct dpns_fileid *file_uniqueid, struct dpns_filestat *statbuf)
DESCRIPTION
dpns_stat gets information about a DPNS file or directory in the name server.
dpns_lstat is identical to dpns_stat except for symbolic links. dpns_lstat retrieves information about the link itself, while dpns_stat
gets information about the file/directory referenced by the symbolic link.
dpns_statx returns the same information plus the file unique id (name server hostname and file id). The file can be specified by path name
or by file_uniqueid. If both are given, file_uniqueid is used.
path specifies the logical pathname relative to the current DPNS directory or the full DPNS pathname.
The structure pointed to by statbuf contains the following members:
u_signed64 fileid; /* entry unique identifier */
mode_t filemode; /* see below */
int nlink; /* number of files in a directory */
uid_t uid;
gid_t gid;
u_signed64 filesize;
time_t atime; /* last access to file */
time_t mtime; /* last file modification */
time_t ctime; /* last metadata modification */
short fileclass; /* 1--> experiment, 2 --> user */
char status; /* '-' --> online, 'm' --> migrated */
filemode is constructed by OR'ing the bits defined in <sys/stat.h> under Unix or "statbits.h" under Windows/NT:
S_IFLNK 0xA000 symbolic link
S_IFREG 0x8000 regular file
S_IFDIR 0x4000 directory
S_ISUID 0004000 set user ID on execution
S_ISGID 0002000 set group ID on execution
S_ISVTX 0001000 sticky bit
S_IRUSR 0000400 read by owner
S_IWUSR 0000200 write by owner
S_IXUSR 0000100 execute/search by owner
S_IRGRP 0000040 read by group
S_IWGRP 0000020 write by group
S_IXGRP 0000010 execute/search by group
S_IROTH 0000004 read by others
S_IWOTH 0000002 write by others
S_IXOTH 0000001 execute/search by others
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOENT The named file/directory does not exist or is a null pathname.
EACCES Search permission is denied on a component of the path prefix.
EFAULT path or statbuf is a NULL pointer.
ENOTDIR A component of path prefix is not a directory.
ENAMETOOLONG The length of path exceeds CA_MAXPATHLEN or the length of a path component exceeds CA_MAXNAMELEN.
SENOSHOST Host unknown.
SENOSSERV Service unknown.
SECOMERR Communication error.
ENSNACT Name server is not running or is being shutdown.
SEE ALSO
Castor_limits(4), dpns_chdir(3), dpns_chmod(3), dpns_chown(3), dpns_creat(3)
AUTHOR
LCG Grid Deployment Team
DPNS
$Date: 2003/09/02 07:08:38 $ DPNS_STAT(3)