LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-05-2016, 03:01 PM   #16
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965

Quote:
Originally Posted by gentlesome View Post
I am still polite .... who is not polite here ... the person who is giving orders to people trying to school people .. or a person who is still being thankful to people using a wrong language is not at all related to you and you have no right to jugde ....
Telling someone they're using the wrong word isn't a bad thing, and you're flipping out over it with the "school people" stuff. Grow up; no one is judging you, but to say you'll still say it wrong because someone pointed it out is plain childish.
Quote:
If you like it you answer you don't like it just leave it ......
And if you don't like it, YOU can 'just leave it' as well.
Quote:
and oine more time : you requested the distribution , i already provided it to you .... my solution did not work for me because noit all processes are re-started ..... And please point me to the reason this make any difference if it's for work for school for fun for self-education ....
The distro makes ONE question you answered, and even then it was "give example"...not even a solid "yes, I'm using RHEL 5.11". RHEL is not only not free (as in, YOU NEED TO PAY FOR IT), but old. There are tools available in current distros that you don't have. You ignore ALL the other questions, such as:
  • WHY you need it to be so the other user doesn't notice things (huge red flag there)
  • What you are currently doing now, by posting what you have done/tried (as mentioned in the "Question Guidelines" for the forum)
  • What isn't working with it
  • What diagnostics you've run, message(s)/error(s)/ANYTHING aside from "not working"
  • Why the -STOP or -TSTP flags won't work for your current question
These are ALL RELEVANT to showing this is not a homework question that you want answered with no work of your own, and for determining that you're not doing something shady (i.e. "why the other user can't know anything happened"). Again...we are happy to help, but we WILL NOT write your scripts/programs for you, or give you a handout. Show the work you've done, and answer questions, period. Simple.
Quote:
I am so sorry that i had to ask aperson like you for help ... sure i don't have the knowledge that you have in this field .. yes it's my fault i gave the opportunity to person like you to be haughty .....
And we are sorry persons such as you post questions, then get combative when asked for details. You say you've been 'polite':
  • First reply by you: "i am currently not quite writing any script". Again, against forum guidelines...YOU have to show your work, and have flat out said you haven't done any.
  • Second reply by you: "This is very simple case". Talking down to people who are TRYING to help you isn't good.
  • Third reply by you: "let someone else maybe can be more open to help other than being arrogant .." Calling someone names after you STILL haven't answered the questions they've asked by trying to help you isn't good.
  • Fourth reply by you is where you go off about Eleanor Roosevelt...NONE of that was polite or nice.
  • Fifth reply by you: "you only apply rules you like and bypass rules you don't like ...", etc. Again, we are STILL trying to get you to answer questions.
You started off saying "this is so simple", and keep going. You've been disrespectful since your first reply, by purposefully ignoring forum rules, and not answering direct questions by people trying to help you.

Just stop. Either participate in the conversation, answer the questions, or don't bother posting. We WILL NOT do this assignment for you.
 
Old 12-05-2016, 03:21 PM   #17
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
Sorry, but I can't help not to chuckle a bit.

@gentlesome, not to be rude or something but I get what TB0ne means. Are you able to show any of your attempt rather than just the design?
 
1 members found this post helpful.
Old 12-05-2016, 03:24 PM   #18
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I'd love to help but I haven't seen a clear explanation of what is needed and what has been done.
 
1 members found this post helpful.
Old 12-06-2016, 12:35 AM   #19
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
[SOLVED]? For now anyway? But WHY change user? "re-start" from beginning or CONTinue?

Quote:
Originally Posted by gentlesome View Post
Thank you so much for your help and very interesting information

Thanks
You're welcome. Maybe mark this Thread as '[SOLVED]' (for now anyway, while you study)[?]

To debug "the issue is when maintenance process try to start those [app.] processes, some of them are [re?]started and some stay stopped..",
you would look into the process state, via `ps axlww|grep <app.name>` (or /proc/<pid>/...)

I still wonder: why do you want to: change user [from app. to maint.]? And do you want to "re-start" app. from the beginning, or just CONTinue it, from where it was STOPped?
Note: app. is abbreviation for application; STOP/CONT refer to 'signals' (via `kill`).

Last edited by Jjanel; 12-06-2016 at 12:51 AM.
 
1 members found this post helpful.
Old 12-06-2016, 04:23 PM   #20
gentlesome
LQ Newbie
 
Registered: Nov 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Telling someone they're using the wrong word isn't a bad thing, and you're flipping out over it with the "school people" stuff. Grow up; no one is judging you, but to say you'll still say it wrong because someone pointed it out is plain childish.

And if you don't like it, YOU can 'just leave it' as well.

The distro makes ONE question you answered, and even then it was "give example"...not even a solid "yes, I'm using RHEL 5.11". RHEL is not only not free (as in, YOU NEED TO PAY FOR IT), but old. There are tools available in current distros that you don't have. You ignore ALL the other questions, such as:
  • WHY you need it to be so the other user doesn't notice things (huge red flag there)
  • What you are currently doing now, by posting what you have done/tried (as mentioned in the "Question Guidelines" for the forum)
  • What isn't working with it
  • What diagnostics you've run, message(s)/error(s)/ANYTHING aside from "not working"
  • Why the -STOP or -TSTP flags won't work for your current question
These are ALL RELEVANT to showing this is not a homework question that you want answered with no work of your own, and for determining that you're not doing something shady (i.e. "why the other user can't know anything happened"). Again...we are happy to help, but we WILL NOT write your scripts/programs for you, or give you a handout. Show the work you've done, and answer questions, period. Simple.

And we are sorry persons such as you post questions, then get combative when asked for details. You say you've been 'polite':
  • First reply by you: "i am currently not quite writing any script". Again, against forum guidelines...YOU have to show your work, and have flat out said you haven't done any. ===> there are many many ways to ask, we are not here to accept any orders ...
  • Second reply by you: "This is very simple case". Talking down to people who are TRYING to help you isn't good. ==> not taking anyone down, i said it's a simple case because you keep focusing on the orthograph mistakes rather than the information
  • Third reply by you: "let someone else maybe can be more open to help other than being arrogant .." Calling someone names after you STILL haven't answered the questions they've asked by trying to help you isn't good. ==> rather than judging good or not, you should have only left it ... very very simple... if you don't like it and you have the admin privildges delete the post and we are good === rather then judging people
  • Fourth reply by you is where you go off about Eleanor Roosevelt...NONE of that was polite or nice.==> that's an information for you so you understand what you are doing none of us here can accept orders
  • Fifth reply by you: "you only apply rules you like and bypass rules you don't like ...", etc. Again, we are STILL trying to get you to answer questions.
===> very simple again, instead of beying rude, there are many many ways to ask question
You started off saying "this is so simple", and keep going. You've been disrespectful since your first reply, by purposefully ignoring forum rules, and not answering direct questions by people trying to help you. ===> you say "purposefully" did you open my mind and read what is happenening !!!1 again assuming a lot of thing and trying to apply that to people .... Sir i am not responsible of what you thing or what you assume and pleas don't apply that to me

Just stop. Either participate in the conversation, answer the questions, or don't bother posting. We WILL NOT do this assignment for you.
I never asked you to do any assignment that's not my problem if you keep assuming thing that not even exist , and i am not here to get an orders from you "Just stop" ... ... as i mentioned before again :

this is not assignment and stop being rude, when you are telling childish or Grow up that's none of your business , i was respectful to all people here .... and yet you are still being rude and giving orders ... i am not sure what you think you are!!
if you have a complex of inferiority do not give me orders ...[*]WHY you need it to be so the other user doesn't notice things (huge red flag there) : those are 2 different users one is application user and the other one is maintance user, the application user can notice anything he want it's not a problem ... what i meant by not noticing anything is the application user does not bother with any locks in case needs to restart or stop the process.

[*]What you are currently doing now, by posting what you have done/tried (as mentioned in the "Question Guidelines" for the forum) : As i mentionned, waht i did is start and stop using the application user and maintenance user but all process are not coming up
[*]What isn't working with it ==> again what is not working : all process are not coming up.[*]What diagnostics you've run, message(s)/error(s)/ANYTHING aside from "not working" : there is not error becasuse when i try to start the processes they are not coming up[*]Why the -STOP or -TSTP flags won't work for your current question ==> i am only user not a root and thanks for pointing to me i did not try it before
 
Old 12-06-2016, 04:26 PM   #21
gentlesome
LQ Newbie
 
Registered: Nov 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by c0wb0y View Post
Sorry, but I can't help not to chuckle a bit.

@gentlesome, not to be rude or something but I get what TB0ne means. Are you able to show any of your attempt rather than just the design?
I really thought it's simple case, because really, i am stopping one process (that was started by an other process ) and restarting the same process back.... That's what i did and that's what i see can be done as a test case...
Please could you help me to see what else i can do and information i can provide ...

Thanks so Much for your help
 
Old 12-06-2016, 04:29 PM   #22
gentlesome
LQ Newbie
 
Registered: Nov 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Jjanel View Post
You're welcome. Maybe mark this Thread as '[SOLVED]' (for now anyway, while you study)[?]


To debug "the issue is when maintenance process try to start those [app.] processes, some of them are [re?]started and some stay stopped..",
you would look into the process state, via `ps axlww|grep <app.name>` (or /proc/<pid>/...)

I still wonder: why do you want to: change user [from app. to maint.]? And do you want to "re-start" app. from the beginning, or just CONTinue it, from where it was STOPped?
Note: app. is abbreviation for application; STOP/CONT refer to 'signals' (via `kill`).
as i mentionned before, maintance user need to do clean up for some files tat application user is putting locks on..... so in do order to do a clean up i have to stop the process, and restart them back

Thanks
 
Old 12-06-2016, 04:33 PM   #23
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by gentlesome View Post
I never asked you to do any assignment that's not my problem if you keep assuming thing that not even exist , and i am not here to get an orders from you "Just stop" ... ... as i mentioned before again :

this is not assignment and stop being rude, when you are telling childish or Grow up that's none of your business , i was respectful to all people here .... and yet you are still being rude and giving orders ... i am not sure what you think you are!!
If you're unable to understand what was told to you, that's not my concern. Again, you are NOT respectful..and have not been, and examples were provided to you. Telling someone you're going to keep doing something wrong, because you were TOLD it was wrong *IS* childish. You don't seem to be getting this.
Quote:
if you have a complex of inferiority do not give me orders ...
Again, grow up.
Quote:
[*]WHY you need it to be so the other user doesn't notice things (huge red flag there) : those are 2 different users one is application user and the other one is maintance user, the application user can notice anything he want it's not a problem ... what i meant by not noticing anything is the application user does not bother with any locks in case needs to restart or stop the process.
And you still avoid the "why do you have to do this so user 2 doesn't notice" question. Again, re-stating your question doesn't tell us anything new...still.
Quote:
[*]What you are currently doing now, by posting what you have done/tried (as mentioned in the "Question Guidelines" for the forum) : As i mentionned, waht i did is start and stop using the application user and maintenance user but all process are not coming up
And you still don't post your code/script/whatever you're using to actually DO THIS, as you have been asked for multiple times.
Quote:
[*]What isn't working with it ==> again what is not working : all process are not coming up.
Right...again, re-stating a simple "not coming up" is pointless. Without code and more to go on, no one, anywhere, will be able to help you.
Quote:
[*]What diagnostics you've run, message(s)/error(s)/ANYTHING aside from "not working" : there is not error becasuse when i try to start the processes they are not coming up
Back to "what/how are you doing this currently, post your code, and how are you troubleshooting things". Still not answering.
Quote:
[*]Why the -STOP or -TSTP flags won't work for your current question ==> i am only user not a root and thanks for pointing to me i did not try it before
You were pointed to it early on, yet seem to ignore everything, and requests from not only myself but others to actually clarify things and show us your own work.

And is there some reason you can't just use "su" to assume the ID of the second user??? and use the -STOP or -TSTP flags then??? Or are you going to continue being nasty, and not showing your work? Again, if you're not going to, then post your junk somewhere else, where they may be willing to babysit you.
 
Old 12-06-2016, 04:34 PM   #24
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Yes. Provide some commands and output. In this entire 24 comment thread I see not one example of what you are ACTUALLY typing or what commands you are using. Are you doing it in a program? in C? In java? Are you running a bash script? Are you using 'bash -c'? Are you using subshells? Are you using 'su' or 'sudo'?

These things matter and without ACTUAL examples of what you are doing, we will not be able to answer you.

Get it?

You have provided NO commands and NO examples AT ALL.

As you might have noticed, "General" explanations are not helping. So provide concrete examples of your commands/scripts whatever... and maybe the community will be able to help you.

Help us help you.
 
Old 12-06-2016, 07:07 PM   #25
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by szboardstretcher View Post
Yes. Provide some commands and output. In this entire 24 comment thread I see not one example of what you are ACTUALLY typing or what commands you are using. Are you doing it in a program? in C? In java? Are you running a bash script? Are you using 'bash -c'? Are you using subshells? Are you using 'su' or 'sudo'?

These things matter and without ACTUAL examples of what you are doing, we will not be able to answer you.

Get it? You have provided NO commands and NO examples AT ALL.

As you might have noticed, "General" explanations are not helping. So provide concrete examples of your commands/scripts whatever... and maybe the community will be able to help you. Help us help you.
Good luck with that. I've asked numerous times point-blank for the same information, and provided the OP with the flags for kill, jjanel has tried, as well as you and c0wb0y. The fact that the user hasn't said why user2 can't know/leave any traces that something has changed, is a huge red-flag, coupled with the OP's hesitance to answer the "What are you trying to accomplish?" question.

Even something like: "We have a motion-control system we have to pause for scheduled maintenance. I'd like to be able to do this without having the end-users console go totally down, but just to show "paused" or at least not respond during maintenance." would be great. So far, nothing. It's gone from "I just want to know" to "given example with gedit", but nothing concrete. And as I've told the OP before, unless they show some actual work of their own, as they claim to have done, I'm not going to do their job/homework for them....

Last edited by TB0ne; 12-06-2016 at 07:15 PM.
 
Old 12-07-2016, 02:27 AM   #26
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Provide the [complete/exact] way for us to reproduce the problem, then we can resolve it.
(Similar to a bug report or even a car problem, the repair person needs to see the problem occur.)
 
  


Reply



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
User migration issues bitwiseguy Linux - Newbie 9 05-31-2015 02:19 AM
User Profile Issues gvphubli Linux - Newbie 3 05-31-2010 07:12 PM
XGL User Issues guitarboy1016 SUSE / openSUSE 0 04-27-2006 12:11 AM
new user issues lukeprog MEPIS 3 11-03-2005 11:38 AM
New user, got some issues... Turtle25 Linux - Newbie 2 11-16-2004 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:43 PM.

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