Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8619829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:26:05+00:00 2026-06-12T06:26:05+00:00

#usr/sbin/chroot /var/snmp3/ /usr/local/bin/ionline /usr/sbin/chroot: syntax error near unexpected token `execve(/var/snmp3/,’ /usr/sbin/chroot: /usr/sbin/chroot: line 1:

  • 0
#usr/sbin/chroot /var/snmp3/ /usr/local/bin/ionline
/usr/sbin/chroot: syntax error near unexpected token `execve("/var/snmp3/",'
/usr/sbin/chroot: /usr/sbin/chroot: line 1: `execve("/var/snmp3/", ["/var/snmp3/", "/usr/local/bin/ionline2"], [/* 25 vars */]) = -1 EACCES (Permission denied)'


#usr/sbin/chroot /var/snmp1/ /usr/local/bin/ionline
    /usr/sbin/chroot: syntax error near unexpected token `execve("/var/snmp3/",'
    /usr/sbin/chroot: /usr/sbin/chroot: line 1: `execve("/var/snmp3/", ["/var/snmp3/", "/usr/local/bin/ionline2"], [/* 25 vars */]) = -1 EACCES (Permission denied)'

Here is my binary named “ionline” and I am trying to run it with mode “chroot” here I have defined /var/snmp3 as chroot.

my chroot is showing following errors…. what are these ? What is happening here? Can anyone guide me? how to solve them ?
Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:26:06+00:00Added an answer on June 12, 2026 at 6:26 am

    It looks like you overwrote your /usr/sbin/chroot with the output from strace at some point…you will probably have to replace the binary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My setup as below # export PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin # ./configure --prefix=/usr/local/nginx --user=webservd --group=webservd --with-http_stub_status_module --with-openssl=/usr/local/ssl/bin/openssl
sudo echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/lubuntu/Tools/android-sdk-linux/platform-tools adb exists in /home/lubuntu/Tools/android-sdk-linux/platform-tools Then I executed adb start-server :
In my .bash_profile I have the following lines: PATHDIRS= /usr/local/mysql/bin /usr/local/share/python /opt/local/bin /opt/local/sbin $HOME/bin
I have system path vickey@tb:~/work/sayonara$ echo $PATH /usr/local/Trolltech/Qt-4.8.0/bin:/home/vickey/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/vickey/bin:/home/vickey/tunebasket/p2p/ vickey@tb:~/work/sayonara$ cd /usr/local/ I want to
when i do echo $PATH is see: /opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql84/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mysql/bin:/usr/X11/bin I want to move the /opt/local
Adams-MacBook-Pro% brew doctor Error: /usr/bin occurs before /usr/local/bin This means that system-provided programs will
When I echo $PATH on my command line, it returns /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/MAMP/Library/bin:/usr/local/git/bin:/usr/X11/bin When I execute
my crontab is as follows: SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ 01 04 * * *
I am getting following error while starting apache. Can't locate /usr/sbin/webmux.pl in @INC (@INC
I've got the following variable set in my cygwin $HOME/.bashrc PATH=/bin:/usr/sbin:/cygdrive/c/Program Files/Java/jdk1.6.0_26/bin:$PATH Problem is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.