cancel
Showing results for 
Search instead for 
Did you mean: 

bpsetconfig to delete an entry

spillo1981
Level 4

Hello to everybody,

 

I need your help..  I would to delete an entry into bp.conf file on a lot of unix hosts.

Is it possible using the "bpsetconfig" ? or with this command i can only add/update a "new" configuration ?

In this last case how can i delete this entry?

bp.conf before:

CLIENT_READ_TIMEOUT = 1800
LIST_FILES_TIMEOUT = 1800
Buffer_Size = 256
 

bp.con after:

CLIENT_READ_TIMEOUT = 1800
LIST_FILES_TIMEOUT = 1800
 

 Many thanks to everybody

R.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Andy_Welburn
Level 6

It seems that the entry "Buffer_Size = 256" *is* a valid entry in-so-much as bpsetconfig *will* allow you to add that value into the bp.conf of a client (tried other spurious entries which *did not*).

Did a little testing & it is a straight-forward *fix*

Using a file myfile.lis with an entry of Buffer_Size = 256 the following command updated the bp.conf of the client with that entry:

bpsetconfig -h client <path-to-file>/myfile.lis

Changing the entry in bpconf.lis to Buffer_Size = & re-running the same command removes the entry from the bp.conf on the client.

Just script it if you've more than a handful of clients to amend.

View solution in original post

10 REPLIES 10

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I cannot find any reference to Buffer_Size as being a valid bp.conf entry.
Seems you will have to manually edit client's bp.conf to remove this entry.

Andy_Welburn
Level 6

It seems that the entry "Buffer_Size = 256" *is* a valid entry in-so-much as bpsetconfig *will* allow you to add that value into the bp.conf of a client (tried other spurious entries which *did not*).

Did a little testing & it is a straight-forward *fix*

Using a file myfile.lis with an entry of Buffer_Size = 256 the following command updated the bp.conf of the client with that entry:

bpsetconfig -h client <path-to-file>/myfile.lis

Changing the entry in bpconf.lis to Buffer_Size = & re-running the same command removes the entry from the bp.conf on the client.

Just script it if you've more than a handful of clients to amend.

spillo1981
Level 4

Hello,

 

i tried with your suggestion but unfortunately the problem persist. I think that the only solution is to delete manually the entry into each bp.conf

Andy_Welburn
Level 6

Curious in that I managed to get it to work.

Any format or typos issues in your "Buffer_Size =" entry? That's the only reason I can think of at the moment why it doesn't work.

spillo1981
Level 4

I tried with

Buffer_size = "

Buffer_size = ""

#Buffer_size =

whit the same result.. The entry is still present..

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Seems Andy had success with:
Buffer_Size =

spillo1981
Level 4

With this entry

Buffer_Size =   

the entry is deleted if the target host is a windows server... but it doesn't work with unix server ( in my case Linux RH and AIX server.. )  the parameter become "0"

 

It is very strange..

 

Andy_Welburn
Level 6

As you say, strange.

Just tried: Master - Solaris 9 -> Client RHEL without issue (previously Solaris9 -> Solaris 10)

NB6.5.6 throughout (sssshh, keep *that* quiet!)

spillo1981
Level 4

Nothing..

I tried with a linux and an Aix O.S. but the entry Buffer_Size become = 0

 

Andy_Welburn
Level 6

That's unfortunate.

Looks like you'll have to do it 'long-hand' then ......