@@randommall if you can help me. After I writed "sudo strace -p 155", they showed me this (strace: attach: ptrace(PTRACE_ATTACH, ...): No such process). If you can please tell me what to do here.
@emmaatieno8221 If ps aux | grep apache did not show any PID for apache, try pidof apache pidof httpd pgrep apache pgrep httpd If none of them worked, check that you are working on the expected terminal. The one set up for the project.
@bantu_queen Destroy one sandbox to be able to run the one for this project. They made it so that only two can run at a time, you need a third one? Destroy one of the available two.
Hi,@randommall after using this command sudo strace -p , this is the error I am getting "strace: could not attach to process. If your uid matches the target process , check the settings of /proc/sys/kernel/yama/ptrace_scope. kindly assist, I have tried my best but I am still getting the same error.
looks like you are trying to use a different user to attach strace to a process been run by a different user. Ensure you are attaching strace using 'sudo'. if this is what you are doing already, try using root. sudo -u root strace -p
Strace is a powerful tool for debugging system calls made by a process. Nginx failing and returning a 500 error indicates an issue with configuration file(s). How Strace Helps: Strace allows us to monitor every system call made by the Nginx process during startup. By analyzing these calls, we gain valuable insights into the start-up attempt, we can see every response from every system call, that way, we will pin-point the configuration(file) that has any particular error or unexpected response. Finally we can trace the error to its nginx configuration file and deal with the issue.
Once again, I come back to thank you! I had no idea on how to do it. thanks man
Welcome. Glad it helped
Please like the video, and then subscribe to this channel if you're yet to do so. Thank you
Can you kindly assist with code for 0x16 api_advanced I’ll truly appreciate your help
I will, when I get home.
docs.google.com/document/d/1lcddaJ-khf00x8wMQK7dii-o9PS6orL8kvy_7bE1bBY/edit?usp=sharing@@SasafenViko
@@randommall thank you
@user-py9hw5yp1y welcome
ran it but gave me 200 ok msg not 500 error why and how to fix it?
You are a legend. Thanks bro
Nice One Boss, can you do anything on 0x16 API Advanced
i just did the advanced task.
th-cam.com/video/wUPSq26aXJ0/w-d-xo.html
Hi please kindly help with the code
What's the name of the sandboxe you using in the video ??
Can't remember. Been a while
@@randommall if you can help me. After I writed "sudo strace -p 155", they showed me this (strace: attach: ptrace(PTRACE_ATTACH, ...): No such process). If you can please tell me what to do here.
@classlol2785 you have to use the container provided for the task. It has been set up for this task.
@@randommall I found the right container but still nothing changes.
Hello @RANDOMMALL no pid is running in mine, and i followed thesame thing you did by typing "ps aux | grep apache" can please help out?
Ensure you are using the provided container for the project.
And my PC is down.😂
@@randommall sorry about u pc, by container you mean the sandbox or??
Yeah.
Hello chief... no pid is running in mine, and i follow thesame thing you did by typing "ps aux | grep apache"
I have the same issue as well. RANDOMALL kindly assist on this, And thank you for your wonderful videos
@emmaatieno8221
If ps aux | grep apache did not show any PID for apache, try
pidof apache
pidof httpd
pgrep apache
pgrep httpd
If none of them worked, check that you are working on the expected terminal. The one set up for the project.
@@randommall hie. ive tried all options above and no success.the provided sandboxes doesnt open just spins and displays limit reached
@bantu_queen
Destroy one sandbox to be able to run the one for this project.
They made it so that only two can run at a time, you need a third one? Destroy one of the available two.
Hi,@randommall after using this command sudo strace -p , this is the error I am getting "strace: could not attach to process. If your uid matches the target process , check the settings of /proc/sys/kernel/yama/ptrace_scope. kindly assist, I have tried my best but I am still getting the same error.
looks like you are trying to use a different user to attach strace to a process been run by a different user.
Ensure you are attaching strace using 'sudo'. if this is what you are doing already, try using root.
sudo -u root strace -p
@@randommall Thank you, let me try this
how did strace helped I didn't understand?
Strace is a powerful tool for debugging system calls made by a process.
Nginx failing and returning a 500 error indicates an issue with configuration file(s).
How Strace Helps:
Strace allows us to monitor every system call made by the Nginx process during startup. By analyzing these calls, we gain valuable insights into the start-up attempt, we can see every response from every system call, that way, we will pin-point the configuration(file) that has any particular error or unexpected response. Finally we can trace the error to its nginx configuration file and deal with the issue.
hey can u help us with this project Python - Web framework if u can it would be cool
You mean AirBnB clone - Web Framework?
@randommall, please provide link of the files for referral
Link to the files?
how to install sudo>>
Thank you so much, this really helped
You're welcome.
SIMPLY THE BEST
Thank you Ma'am.
stop putting sound it makes it so boring and un matured please!!!!!!!!!!!!!
Alright. Thank you for your input.