[Gluster-users] Permission denied

Dongmin Yu min at hostway.co.kr
Mon Apr 26 06:52:18 UTC 2010


Hello,

I'm getting Permission Denied error when I connect to brick server. I'm using 2(distributed)*2(replication) configuration.
Apache runs with apache user/group and my apache module invoke GlusterFSClient. Server daemon and Client libraries were installed through CentOS rpms.

Here're client log. I tried with fuse client with same configuration file from root account. All File operations were fine.
Is there any caution when I run non-root privileges ?


[2010-04-25 21:21:58] D [xlator.c:740:xlator_set_type] xlator: dlsym(notify) on /usr/lib64/glusterfs/3.0.4/xlator/performance/io-threads.so: undefined
 symbol: notify -- neglecting
[2010-04-25 21:21:58] D [xlator.c:745:xlator_set_type] xlator: dlsym(dumpops) on /usr/lib64/glusterfs/3.0.4/xlator/performance/io-threads.so: undefine
d symbol: dumpops -- neglecting
[2010-04-25 21:21:58] D [xlator.c:740:xlator_set_type] xlator: dlsym(notify) on /usr/lib64/glusterfs/3.0.4/xlator/performance/read-ahead.so: undefined
 symbol: notify -- neglecting
[2010-04-25 21:21:58] D [xlator.c:740:xlator_set_type] xlator: dlsym(notify) on /usr/lib64/glusterfs/3.0.4/xlator/performance/write-behind.so: undefin
ed symbol: notify -- neglecting
[2010-04-25 21:21:58] D [xlator.c:740:xlator_set_type] xlator: dlsym(notify) on /usr/lib64/glusterfs/3.0.4/xlator/performance/io-cache.so: undefined s
ymbol: notify -- neglecting
[2010-04-25 21:21:58] D [xlator.c:745:xlator_set_type] xlator: dlsym(dumpops) on /usr/lib64/glusterfs/3.0.4/xlator/performance/io-cache.so: undefined
symbol: dumpops -- neglecting
[2010-04-25 21:21:58] D [xlator.c:740:xlator_set_type] xlator: dlsym(notify) on /usr/lib64/glusterfs/3.0.4/xlator/performance/quick-read.so: undefined
 symbol: notify -- neglecting
[2010-04-25 21:21:58] D [write-behind.c:2526:init] writebehind: disabling write-behind for first 1 bytes
[2010-04-25 21:21:58] D [read-ahead.c:884:init] readahead: Using conf->page_count = 16
[2010-04-25 21:21:58] D [io-threads.c:2841:init] iothreads: io-threads: Autoscaling: off, min_threads: 32, max_threads: 32
[2010-04-25 21:21:58] D [client-protocol.c:6603:init] client04: defaulting frame-timeout to 30mins
[2010-04-25 21:21:58] D [client-protocol.c:6614:init] client04: defaulting ping-timeout to 42
[2010-04-25 21:21:58] D [transport.c:123:transport_load] transport: attempt to load file /usr/lib64/glusterfs/3.0.4/transport/socket.so
[2010-04-25 21:21:58] D [xlator.c:285:_volume_option_value_validate] client04: no range check required for 'option remote-port 6996'
[2010-04-25 21:21:58] D [transport.c:123:transport_load] transport: attempt to load file /usr/lib64/glusterfs/3.0.4/transport/socket.so
[2010-04-25 21:21:58] D [xlator.c:285:_volume_option_value_validate] client04: no range check required for 'option remote-port 6996'
[2010-04-25 21:21:58] W [client-protocol.c:6664:init] client04: WARNING: Failed to set 'ulimit -n 1M': Operation not permitted
[2010-04-25 21:21:58] D [client-protocol.c:6672:init] client04: Failed to set max open fd to 64k: Operation not permitted
[2010-04-25 21:21:58] D [client-protocol.c:6603:init] client03: defaulting frame-timeout to 30mins
[2010-04-25 21:21:58] D [client-protocol.c:6614:init] client03: defaulting ping-timeout to 42
[2010-04-25 21:21:58] D [transport.c:123:transport_load] transport: attempt to load file /usr/lib64/glusterfs/3.0.4/transport/socket.so
[2010-04-25 21:21:58] D [xlator.c:285:_volume_option_value_validate] client03: no range check required for 'option remote-port 6996'
[2010-04-25 21:21:58] D [transport.c:123:transport_load] transport: attempt to load file /usr/lib64/glusterfs/3.0.4/transport/socket.so
[2010-04-25 21:21:58] D [xlator.c:285:_volume_option_value_validate] client03: no range check required for 'option remote-port 6996'
[2010-04-25 21:21:58] W [client-protocol.c:6664:init] client03: WARNING: Failed to set 'ulimit -n 1M': Operation not permitted
[2010-04-25 21:21:58] D [client-protocol.c:6672:init] client03: Failed to set max open fd to 64k: Operation not permitted
[2010-04-25 21:23:09] E [socket.c:1089:socket_connect] client04: connection attempt failed (Permission denied)
[2010-04-25 21:23:09] E [afr.c:2662:notify] replicate02: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:09] W [name.c:443:client_bind] client04: cannot bind inet socket (34) to port less than 1024 (Permission denied)
[2010-04-25 21:23:09] E [socket.c:1089:socket_connect] client04: connection attempt failed (Permission denied)
[2010-04-25 21:23:09] E [afr.c:2662:notify] replicate02: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:11] W [name.c:443:client_bind] client01: cannot bind inet socket (35) to port less than 1024 (Permission denied)
[2010-04-25 21:23:11] E [socket.c:1089:socket_connect] client01: connection attempt failed (Permission denied)
[2010-04-25 21:23:11] E [afr.c:2662:notify] replicate01: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:11] W [name.c:443:client_bind] client01: cannot bind inet socket (35) to port less than 1024 (Permission denied)
[2010-04-25 21:23:11] E [socket.c:1089:socket_connect] client01: connection attempt failed (Permission denied)
[2010-04-25 21:23:11] E [afr.c:2662:notify] replicate01: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:11] W [name.c:443:client_bind] client02: cannot bind inet socket (35) to port less than 1024 (Permission denied)
[2010-04-25 21:23:11] E [socket.c:1089:socket_connect] client02: connection attempt failed (Permission denied)
[2010-04-25 21:23:11] E [afr.c:2662:notify] replicate01: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:11] W [name.c:443:client_bind] client02: cannot bind inet socket (35) to port less than 1024 (Permission denied)
[2010-04-25 21:23:11] E [socket.c:1089:socket_connect] client02: connection attempt failed (Permission denied)
[2010-04-25 21:23:11] E [afr.c:2662:notify] replicate01: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:11] W [name.c:443:client_bind] client03: cannot bind inet socket (35) to port less than 1024 (Permission denied)
[2010-04-25 21:23:11] E [socket.c:1089:socket_connect] client03: connection attempt failed (Permission denied)
[2010-04-25 21:23:11] E [afr.c:2662:notify] replicate02: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:11] W [name.c:443:client_bind] client03: cannot bind inet socket (35) to port less than 1024 (Permission denied)
[2010-04-25 21:23:11] E [socket.c:1089:socket_connect] client03: connection attempt failed (Permission denied)
[2010-04-25 21:23:11] E [afr.c:2662:notify] replicate02: All subvolumes are down. Going offline until atleast one of them comes back up.
[2010-04-25 21:23:11] W [name.c:443:client_bind] client04: cannot bind inet socket (35) to port less than 1024 (Permission denied)
[2010-04-25 21:23:11] E [socket.c:1089:socket_connect] client04: connection attempt failed (Permission denied)

Thanks

DongMin Yu

HOSTWAY IDC Corp. / R&D Principal Researcher
TEL. +822 2105 6037
FAX. +822 2105 6019
CELL. +8216 2086 1357
EMAIL: min.yu at hostwaycorp.com<mailto:min.yu at hostwaycorp.com>
Website: http://www.hostway.com

NOTICE:  This email and any file transmitted are confidential and/or legally privileged and intended only for the person(s) directly addressed.  If you are not the intended recipient, any use, copying, transmission, distribution, or other forms of dissemination is strictly prohibited.  If you have received this email in error, please notify the sender immediately and permanently delete the email and files, if any.


More information about the Gluster-users mailing list