KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

rma script chech problem
Goto page 1, 2  Next
 
Post new topic   Reply to topic    KS-Soft Forum Index -> RMA for UNIX
View previous topic :: View next topic  
Author Message
bsd3000



Joined: 28 Jan 2006
Posts: 6

PostPosted: Sat Jan 28, 2006 10:27 am    Post subject: rma script chech problem Reply with quote

I use a lot of sh script to check raid status, log status, inode status, queue mail status, etc etc
it runs by rma
If i run by hand one scrpt a time there are no problem, but when
hostmonitor check a folder, runs all script at the same time
and i see:

RMA: 301 - Script execution error: exec error: Text file busy

How can i do to work all script test at the same time?


kind regards
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sat Jan 28, 2006 11:07 am    Post subject: Reply with quote

1) What version of the agent do you use?
2) What system do you use? Linux? FreeBSD? Solaris? some other? version?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
bsd3000



Joined: 28 Jan 2006
Posts: 6

PostPosted: Sat Jan 28, 2006 11:10 am    Post subject: Reply with quote

rma 1.22
I use freebsd 6.0
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sat Jan 28, 2006 11:23 am    Post subject: Reply with quote

We have not tested version 6.0 yet. Could you provide telnet access to your system? Do you have gcc installed?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
bsd3000



Joined: 28 Jan 2006
Posts: 6

PostPosted: Sat Jan 28, 2006 11:29 am    Post subject: Reply with quote

Also on 5.4, I have the same problem
rma work fine for all test
but only with script test i have a problems
may be a concurency problem?
which text are busy?

I can't give u an ssh account at this moment

thnaks 4 help
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Jan 30, 2006 7:19 pm    Post subject: Reply with quote

Theoretically such error may happen if several scripts use the same file as standard output. RMA creates temporary file for this purpose.
But I do not see how RMA may assign the same file for different scripts. Each test (script) is started in separate thread and RMA creates unique file name using pid and thread id.
Looks like we need to install FreeBSD 6 for testing.. Sorry, cannot do that right now, too busy with new release.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
jromariz



Joined: 03 Apr 2002
Posts: 264
Location: Brasil

PostPosted: Thu Feb 09, 2006 12:04 pm    Post subject: Reply with quote

Hi Alex,


I´m facing the same problem on Red Hat using client 1.22.

Any ideas?

Regards,


Jromariz.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Feb 09, 2006 9:15 pm    Post subject: Reply with quote

I am trying to download FreeBSD 6 or 5.4 but ftp.freebsd.org is not accessible.
Can you access FreeBSD FTP server from your location (just for testing)
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/ ?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Yoorix



Joined: 14 Dec 2005
Posts: 177

PostPosted: Fri Feb 10, 2006 2:50 am    Post subject: Reply with quote

Hi Alex.

I've tried to access FreeBSD FTP and was successfully connected.
Following files are ready to download:
2005 Nov 03 14:25 File 6.0-RELEASE-i386-bootonly.iso (45,936,640 bytes)
2005 Nov 03 16:13 File 6.0-RELEASE-i386-disc1.iso (578,408,448 bytes)
2005 Nov 03 17:45 File 6.0-RELEASE-i386-disc2.iso (682,371,072 bytes)
2005 Nov 03 17:45 File CHECKSUM.MD5 (207 bytes)
2005 Nov 03 17:45 File CHECKSUM.SHA256 (312 bytes)

By default, most of the ftp clients use passive mode.
Could you try to set option to use active mode for your ftp client?
Probably it helps.

Regards,
Yoorix
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Feb 22, 2006 3:47 pm    Post subject: Reply with quote

We spent 2 days trying to install FreeBSD 6.0 or FreeBSD 5.4 and cannot complete installation
Various problems and errors, the most frequent is "/mnt: write failed, filesystem is full".
On the same system FreeBSD 4.5 works fine (its installed on different hard drive). But hard drive is new empty drive, disk/surface tests do not show any error. We have tried different configurations: all filesystems on the same disk partition; tried to create separate partition for swap and /usr; tried to install FreeBSD on 1st and 2nd partition. Doesn't matter, still doesn't work.
Any recommendations?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 07, 2006 8:15 pm    Post subject: Reply with quote

Finally we have installed FreeBSD 6.0. It was hard... we tried different distributives, different installation options, changed computers and hard drives, nothing helped (spent a week). Until we tried Maxtor hard drive, it works!! Looks like FreeBSD doesn't work with Western Digital Caviar (we tried 2 drives).

Will test RMA tomorrow...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Mar 09, 2006 5:32 pm    Post subject: Reply with quote

Ok, we spent 2 weeks to reproduce the problem, about 1 hour to find the problem and 2 min to fix it.
Update (RMA 1.23 for FreeBSD 6.0) available for download at http://www.ks-soft.net/hostmon.eng/downpage.htm

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
r3boot



Joined: 08 Jun 2005
Posts: 7

PostPosted: Fri Apr 14, 2006 7:44 am    Post subject: Reply with quote

I would like to add that we're getting this error too. About 20~30 times a day. This happens on rhel3 and rhel4 x86 machines. I don't know what the actual bugfix was for FreeBSD, but possibly it also applies for Linux? I don't know. But a fix would be really nice.
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Apr 17, 2006 2:07 pm    Post subject: Reply with quote

Update available at
www.ks-soft.net/download/rma123_rhes3.tgz - RMA 1.23 for RedHat ES3
www.ks-soft.net/download/rma123_rhes4.tgz - RMA 1.23 for RedHat ES4

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
jromariz



Joined: 03 Apr 2002
Posts: 264
Location: Brasil

PostPosted: Tue Jul 11, 2006 12:54 pm    Post subject: Reply with quote

Hi Alex,

Even using this version of RMA for RH3 still facing the problem some times during the day:


11/07/06 18:41:56 LINHAS NA TABELA BILLINGUCACCCHANGE_BAC Unknown RMA: 301 - Script execution error: exec error: Text file busy Shell Script


Regards,

Jromariz.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> RMA for UNIX All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index