Bug 762905 (GLUSTER-1173) - -bash: ./autogen.sh: /bin/sh: bad interpreter: Bad address
Summary: -bash: ./autogen.sh: /bin/sh: bad interpreter: Bad address
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1173
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.0.4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Pavan Vilas Sondur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-20 07:34 UTC by Lakshmipathi G
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Lakshmipathi G 2010-07-20 07:34:17 UTC
Setup has two servers both  qa tools shares directory /opt.

From server1 installation works fine - while trying to install glusterfs-nfs-beta-rc10  from server2

# ./autogen.sh 
-bash: ./autogen.sh: /bin/sh: bad interpreter: Bad address

Same error message appeared while trying with other packages like arequals in server2. But Installation on server2 local disk works.

Comment 1 Lakshmipathi G 2010-07-21 04:32:22 UTC
log details 
Given volfile:
+------------------------------------------------------------------------------+
  1: volume client1
  2:   type protocol/client
  3:   option transport-type tcp     # for TCP/IP transport
  4:   option remote-host 10.196.107.16  #10.245.222.227     # IP address of the remote brick
  5:   option remote-port 6696
  6:   option remote-subvolume brick        # name of the remote volume
  7: end-volume
  8: 
  9: volume client2
 10:   type protocol/client
 11:   option transport-type tcp
 12:   option remote-host 10.210.46.197
 13:   option remort-port 6696
 14:   option remote-subvolume brick
 15: end-volume
 16: 
 17: volume replicate 
 18:   type cluster/replicate
 19:   subvolumes client1 client2
 20: end-volume
 21: 
 22: volume ra
 23:   type performance/read-ahead
 24:   subvolumes replicate            # In this example it is 'client' you may have to change it according to your spec file.
 25:   option page-size 1MB         # default is 256KB
 26:   option page-count 4          # default is 2
 27:   option force-atime-update no # defalut is 'no'
 28: end-volume
 29: 
 30: volume wb
 31:   type performance/write-behind
 32:   subvolumes ra         # In this example it is 'client' you may have to change it according to your spec file.
 33:   option flush-behind on    # default value is 'off'
 34:   option window-size 2MB
 35:   option aggregate-size 1MB # default value is 0
 36:   option enable_O_SYNC no  # default is no
 37:   option disable-for-first-nbytes 128KB #default is 1 
 38: end-volume
 39: 
 40: 
 41: volume ioc
 42:   type performance/io-cache
 43:   subvolumes wb         # In this example it is 'client' you may have to change it according to your spec file.
 44:   option page-size 1MB      # 128KB is default
 45:   option cache-size 64MB    # 32MB is default
 46:   option force-revalidate-timeout 5 # 1second is default 
 47: end-volume

+------------------------------------------------------------------------------+
[2010-07-21 03:27:06] D [glusterfsd.c:1382:main] glusterfs: running in pid 21617
[2010-07-21 03:27:06] W [xlator.c:656:validate_xlator_volume_options] ioc: option 'force-revalidate-timeout' is deprecated, preferred is 'cache-timeout', continuing with correction
[2010-07-21 03:27:06] W [xlator.c:656:validate_xlator_volume_options] wb: option 'window-size' is deprecated, preferred is 'cache-size', continuing with correction
[2010-07-21 03:27:06] D [write-behind.c:2526:init] wb: disabling write-behind for first 131072 bytes
[2010-07-21 03:27:06] D [write-behind.c:2577:init] wb: enabling flush-behind
[2010-07-21 03:27:06] D [read-ahead.c:884:init] ra: Using conf->page_count = 4
[2010-07-21 03:27:06] D [client-protocol.c:6603:init] client2: defaulting frame-timeout to 30mins
[2010-07-21 03:27:06] D [client-protocol.c:6614:init] client2: defaulting ping-timeout to 42
[2010-07-21 03:27:06] D [transport.c:123:transport_load] transport: attempt to load file /old_opt/3.0.4/lib/glusterfs/3.0.4/transport/socket.so
[2010-07-21 03:27:06] D [transport.c:123:transport_load] transport: attempt to load file /old_opt/3.0.4/lib/glusterfs/3.0.4/transport/socket.so
[2010-07-21 03:27:06] D [client-protocol.c:6603:init] client1: defaulting frame-timeout to 30mins
[2010-07-21 03:27:06] D [client-protocol.c:6614:init] client1: defaulting ping-timeout to 42
[2010-07-21 03:27:06] D [transport.c:123:transport_load] transport: attempt to load file /old_opt/3.0.4/lib/glusterfs/3.0.4/transport/socket.so
[2010-07-21 03:27:06] D [xlator.c:285:_volume_option_value_validate] client1: no range check required for 'option remote-port 6696'
[2010-07-21 03:27:06] D [transport.c:123:transport_load] transport: attempt to load file /old_opt/3.0.4/lib/glusterfs/3.0.4/transport/socket.so
[2010-07-21 03:27:06] D [xlator.c:285:_volume_option_value_validate] client1: no range check required for 'option remote-port 6696'
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client1: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] D [name.c:155:client_fill_address_family] client1: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client1: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] D [name.c:155:client_fill_address_family] client1: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client2: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client2: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:06] W [glusterfsd.c:548:_log_if_option_is_invalid] ioc: option 'page-size' is not recognized
[2010-07-21 03:27:06] W [glusterfsd.c:548:_log_if_option_is_invalid] wb: option 'enable_O_SYNC' is not recognized
[2010-07-21 03:27:06] W [glusterfsd.c:548:_log_if_option_is_invalid] wb: option 'aggregate-size' is not recognized
[2010-07-21 03:27:06] W [glusterfsd.c:548:_log_if_option_is_invalid] ra: option 'page-size' is not recognized
[2010-07-21 03:27:06] W [glusterfsd.c:548:_log_if_option_is_invalid] client2: option 'remort-port' is not recognized
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client1: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client1: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client2: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] D [client-protocol.c:7027:notify] client2: got GF_EVENT_PARENT_UP, attempting connect on transport
[2010-07-21 03:27:06] N [glusterfsd.c:1408:main] glusterfs: Successfully started
[2010-07-21 03:27:06] E [socket.c:762:socket_connect_finish] client2: connection to  failed (Connection refused)
[2010-07-21 03:27:06] E [socket.c:762:socket_connect_finish] client2: connection to  failed (Connection refused)
[2010-07-21 03:27:06] D [client-protocol.c:7041:notify] client1: got GF_EVENT_CHILD_UP
[2010-07-21 03:27:06] D [client-protocol.c:7041:notify] client1: got GF_EVENT_CHILD_UP
[2010-07-21 03:27:06] D [fuse-bridge.c:3100:fuse_thread_proc] fuse:  pthread_cond_timedout returned non zero value ret: 0 errno: 0
[2010-07-21 03:27:06] N [fuse-bridge.c:2950:fuse_init] glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 kernel 7.8
[2010-07-21 03:27:06] N [client-protocol.c:6246:client_setvolume_cbk] client1: Connected to 10.196.107.16:6696, attached to remote volume 'brick'.
[2010-07-21 03:27:06] N [afr.c:2632:notify] replicate: Subvolume 'client1' came back up; going online.
[2010-07-21 03:27:06] N [client-protocol.c:6246:client_setvolume_cbk] client1: Connected to 10.196.107.16:6696, attached to remote volume 'brick'.
[2010-07-21 03:27:06] N [afr.c:2632:notify] replicate: Subvolume 'client1' came back up; going online.
[2010-07-21 03:27:17] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:17] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:27] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:27] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:37] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:37] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:47] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:47] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:57] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:27:57] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:28:07] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:28:07] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:28:17] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:28:17] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:28:27] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6
[2010-07-21 03:28:27] D [name.c:155:client_fill_address_family] client2: address-family not specified, guessing it to be inet/inet6






----------------

Comment 2 Vijay Bellur 2010-07-22 03:47:37 UTC
Can you confirm if some files on the backend were touched / edited directly?

Comment 3 Lakshmipathi G 2010-07-23 06:54:05 UTC
(In reply to comment #2)
> Can you confirm if some files on the backend were touched / edited directly?

since it's qa tools backend,normally we won't access them directly.
from the above logs - a connection failed with second server.

[2010-07-21 03:27:06] E [socket.c:762:socket_connect_finish] client2:
connection to  failed (Connection refused)

Comment 4 Lakshmipathi G 2010-08-03 11:09:52 UTC
found that few opt shares are mounted using nfs releases,which caused this issue.
using 3.0.4 version works,fine now.


Note You need to log in before you can comment on or make changes to this bug.