LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2009, 01:28 AM   #1
HeartBeat
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
sync Issue


Hi,
I am newbie to this forum. I am facing one problem but i am unable to figure out the root cause. I would just explain what the issue is
I have a Manager Task which shall spawn 4 prosesses and would monitor the processes activeness by geting the Health check acknowledgement.
But before spawning the processes my script (which shall spawn processes)rmoves one folder and do untar
Ex: #rm PNG -rf
#tar -xzvf PNG.tgz
Then the script runs the Manager task and all the processes are spawned but the problem is the Manager Task not able to get the ACK from the processes for ~2 secs. This is would be resolved in susequent boot up.

Please help me out.

Thanks,
HeartBeat
 
Old 05-11-2009, 09:02 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,681

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by HeartBeat View Post
Hi,
I am newbie to this forum. I am facing one problem but i am unable to figure out the root cause. I would just explain what the issue is
I have a Manager Task which shall spawn 4 prosesses and would monitor the processes activeness by geting the Health check acknowledgement.
But before spawning the processes my script (which shall spawn processes)rmoves one folder and do untar
Ex: #rm PNG -rf
#tar -xzvf PNG.tgz
Then the script runs the Manager task and all the processes are spawned but the problem is the Manager Task not able to get the ACK from the processes for ~2 secs. This is would be resolved in susequent boot up.

Please help me out.

Thanks,
HeartBeat
Help you out with what?? What's failing? What's your error/question? You've explained what you WANT, but no real details. What version/distro of Linux? What programming language(s) are you using for your "Manager Task"?
 
Old 05-11-2009, 11:30 PM   #3
HeartBeat
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Smile

TBone sorry for the non-clarity..
After I untar (on VFAT file system)the PNG file (tar -xzvf PNG.tgz)Manager Task (C++) should be executed to spawn the processes (on MV Linux 3.0 Edition). As per my implementation Manager Task Should get Health Check ACK from each processes for every second. If I execute the Manager Task Immediately after the untar operation my Manager Task doesn't get the Health check ACK, so as per the implementation it is going for shutdown. But in the next consecutive boot ups it is working fine (Manager Task getting ACK) since the PNG dir is existing and untar will not happen.

My question is why this is happening only after untaring the files. Do we need to give any command after untar opertaion is completed?. if so what should be given?

PS:
Script should untar the PNG.tgz if the PNG dir is not existing in the system.

Thnaks in advance
HeartBeat
 
  


Reply

Tags
sync



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble mounting ipod. Hal issue and mount point issue. okos Slackware 2 05-10-2009 11:51 PM
Ffmpeg and Xing header - iTunes issue and Duration issue JavaNinja Linux - Software 7 02-04-2009 09:14 AM
linux ydl 5 on ps3 sixaxes sync issue live1 Linux - General 1 07-24-2008 07:29 AM
(Newbie) Yet another Palm sync issue Fluctifragus Linux - Hardware 3 06-22-2005 10:53 PM
Sync for Samsung Sync master Naphoon Linux - Hardware 1 10-16-2004 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration