Re: bash error after ksh installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not sure if this would work but why dont you add an additional user with a default shell of ksh. When you need to run ArcServe just su to the other user.

HTH
Jeff

On Thu, 16 Sep 2004 10:30:55 -0700, Brian D. McGrew wrote:
> Well, you're off into the major complexities of the login
> environment now.  Now if take a login like mine which has about 100
> files in it, all sorts of functions and macros and then throw on
> top of that the fact that I login with csh as my default shell and
> then my .csh.once file starts bash, it should be anywhere.
>
> I'd start by first removing ARCserve and switching to Veritas it'll
> save you a lot of headaches in the future (I know, probably not
> feasible).
>
> Secondly, I'd go though all your startup files (.bash_alias,
> .bash_profile, .bash_login, etc.) and adding echo statements for
> create yourself a debug() shell function that you can call as your
> login is parsed.  Most likely the error is coming from an 'if [
> whatever];' statement that's not being properly evaluated now.
>
> HTH,
>
>
> -brian
>
>
> Brian D. McGrew                { brian@xxxxxxxxxxxxxxxxxxx ||
> pacemakertaker@xxxxxxxxx }
> --
>> YOU!  Off my planet!
> On Sep 16, 2004, at 10:23 AM, <cnorton@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
>> Thursday, September 16, 2004
>>
>>
>> We needed to install ksh on our RedHat 9 system.  A backup
>> product, ArcServe
>> requires it.  After this installation, our logins receive this
>> message, and I'd like to correct the problem:
>>
>> Last login: Thu Sep 16 13:18:15 from 10.100.6.12
>> -bash: [: too many arguments
>> -bash: [: too many arguments
>>
>>
>> I'm not sure what to correct, and any pointers would be helpful.
>> tnx cmn
>>
>> Charles M. Norton
>> Manager of Software Development
>> Town of Arlington, MA
>> Data Processing Department
>> 869 Massachusetts Avenue
>> Arlington, MA 02476
>>
>>
>> cnorton@xxxxxxxxxxxxxxxxxxxx
>>
>>
>> (781) 316-3340 - voice
>> (781) 316-3339 - fax
>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-
>> request@xxxxxxxxxx?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux