• Error attempting to run 'between' script

    From Rj Clay@1:120/419 to All on Fri Oct 12 12:07:13 2012
    All,

    Something I've been seeing that I'm trying to figure out:

    -----<cut>----------------------------------
    % 11:16:58 System: between
    % 11:16:58 execvp returned -1, errno is 2.
    ? 11:16:58 Error executing program. -----<cut>---------------------------------

    IIRC, the error being returned is 'No such fail or directory'. The script is present and is executable, and it runs fine when executed manually. I've not (so far) found in the config a way to explicitly set the filename and path for the script, so I've thought it should be in the directory where irex (rexl) is running...



    Jame

    --- GoldED+/LNX 1.1.5--b20111217
    * Origin: RJC eeePC (1:120/419)
  • From Roy Witt@1:387/22 to Rj Clay on Sat Oct 13 21:05:35 2012

    Rj Clay wrote to All:

    All,

    Something I've been seeing that I'm trying to figure out:

    -----<cut>----------------------------------
    % 11:16:58 System: between
    % 11:16:58 execvp returned -1, errno is 2.
    ? 11:16:58 Error executing program. -----<cut>---------------------------------

    IIRC, the error being returned is 'No such fail or directory'. The script is present and is executable, and it runs fine when executed manually. I've not (so far) found in the config a way to explicitly
    set the filename and path for the script, so I've thought it should
    be in the directory where irex (rexl) is running...

    Not having any experience at all with the L version, I can only guess.

    Is the 'script' a reference to the 'batch' file used in the DOS or Win
    version, as in between.bat? Is Linux looking for a file with a .SCR
    extension? Are *.SCR files executable in Linux?

    R\%/itt


    ... Mark Owen: "Hey, did you ever hear anything about that beer?
    ... Fellow SEAL: "You believed that s**t, I bet you voted for change too,
    ... SUCKER."


    --- GoldED+/W32 with D'Bridge 3.82
    * Origin: Texas Lone-Star - Texan, American, USAian (1:387/22)
  • From Rj Clay@1:120/419 to Roy Witt on Sun Oct 14 08:57:31 2012
    Roy,

    13 Oct 12 21:05, you wrote to me:
    Rj Clay wrote to All:

    Something I've been seeing that I'm trying to figure out:

    -----<cut>----------------------------------
    % 11:16:58 System: between
    % 11:16:58 execvp returned -1, errno is 2.
    ? 11:16:58 Error executing program.
    -----<cut>---------------------------------

    IIRC, the error being returned is 'No such fail or directory'.

    Is the 'script' a reference to the 'batch' file used in the DOS or Win version, as in between.bat?

    A 'script', as in; "a small program written for a command interpreter...".
    And yes, on DOS or Windows systems, they've been commonly referred to as 'batch' files.


    Is Linux looking for a file with a .SCR extension? Are *.SCR files executable in Linux?

    On linux/unix systems, there is no requirement for using an extension on a file name (like '.bat' or '.cmd') in order to identify a file as a batch or script file, although it's not unusual to use one for other reasons. (The command line shell checks the first line in the file for the sequence "#!" at the beginning of the line; if present, then what follows on that line is the path & name to the program to be used to process the rest of the file.)

    So to me, the line "System: between" noted above indicates that IRex is attempting to run the batch/script file named "between", which the error says it can't access and/or find. That file is in the base directory where Internet Rex is installed, where the Irex executables are installed, including 'rexl'. It is set as an excutable.








    --- GoldED+/LNX 1.1.5--b20111217
    * Origin: RJC eeePC (1:120/419)
  • From Roy Witt@1:387/22 to Rj Clay on Sun Oct 14 16:32:48 2012

    Rj Clay wrote to Roy Witt:

    Something I've been seeing that I'm trying to figure out:

    -----<cut>----------------------------------
    % 11:16:58 System: between
    % 11:16:58 execvp returned -1, errno is 2.
    ? 11:16:58 Error executing program.
    -----<cut>---------------------------------

    IIRC, the error being returned is 'No such fail or directory'.

    Is the 'script' a reference to the 'batch' file used in the DOS or
    Win version, as in between.bat?

    A 'script', as in; "a small program written for a command interpreter...". And yes, on DOS or Windows systems, they've been
    commonly referred to as 'batch' files.

    OK...

    Is Linux looking for a file with a .SCR extension? Are *.SCR files
    executable in Linux?

    On linux/unix systems, there is no requirement for using an
    extension on a file name (like '.bat' or '.cmd') in order to identify
    a file as a batch or script file, although it's not unusual to use
    one for other reasons. (The command line shell checks the first line
    in the file for the sequence "#!" at the beginning of the line; if present, then what follows on that line is the path & name to the
    program to be used to process the rest of the file.)

    Ok with that too.

    So to me, the line "System: between" noted above indicates that
    IRex is attempting to run the batch/script file named "between",
    which the error says it can't access and/or find. That file is in the
    base directory where Internet Rex is installed, where the Irex
    executables are installed, including 'rexl'. It is set as an
    excutable.

    Experience with Irex tells me that you need to point rex at that file, including drive and path before it will execute it. Dunno how Linux would
    do that, but I'm sure you get what I mean...

    Tag Days Start Next Command
    A All 00:00 00:45 -fsq 1:387/6 (must be run - yes)
    B All 00:00 00:45 e:\Irex\inbetween.bat (external event, yes)

    R\%/itt


    ... Mark Owen: "Hey, did you ever hear anything about that beer?
    ... Fellow SEAL: "You believed that s**t, I bet you voted for change too,
    ... SUCKER."


    --- GoldED+/W32
    * Origin: Texas Lone-Star - Texan, American, USAian (1:387/22)
  • From mark lewis@1:3634/12 to Rj Clay on Mon Oct 15 13:11:06 2012

    So to me, the line "System: between" noted above indicates that
    IRex is attempting to run the batch/script file named "between",
    which the error says it can't access and/or find. That file is in
    the base directory where Internet Rex is installed, where the Irex executables are installed, including 'rexl'. It is set as an
    excutable.

    enter that script's name in irex as ./script and see if it can find it then...

    )\/(ark


    * Origin: (1:3634/12)
  • From Rj Clay@1:120/419 to Roy Witt on Tue Oct 16 22:44:23 2012
    Roy,

    14 Oct 12 16:32, you wrote to me:

    Experience with Irex tells me that you need to point rex at that file, including drive and path before it will execute it. Dunno how Linux
    would do that, but I'm sure you get what I mean...

    Tag Days Start Next Command
    A All 00:00 00:45 -fsq 1:387/6 (must be run - yes)
    B All 00:00 00:45 e:\Irex\inbetween.bat (external event,
    yes)

    I don't currently have an event like that configured. Is that required in order to have the 'between' script run?





    --- GoldED+/LNX 1.1.5--b20111217
    * Origin: RJC eeePC (1:120/419)
  • From Rj Clay@1:120/419 to mark lewis on Tue Oct 16 22:45:38 2012
    mark,

    15 Oct 12 13:11, you wrote to me:

    So to me, the line "System: between" noted above indicates
    that IRex is attempting to run the batch/script file named
    "between", which the error says it can't access and/or find.
    That file is in the base directory where Internet Rex is
    installed, where the Irex executables are installed, including
    'rexl'. It is set as an excutable.

    enter that script's name in irex as ./script and see if it can find it then...

    As in "./between"? But where is that configured? I wondered if that might be at least part of the issue but haven't found where that might be set. (Perhaps I don't have the right 'User level' setting?)





    Jame


    --- GoldED+/LNX 1.1.5--b20111217
    * Origin: RJC eeePC (1:120/419)
  • From mark lewis@1:3634/12 to Rj Clay on Wed Oct 17 16:17:48 2012

    So to me, the line "System: between" noted above indicates
    that IRex is attempting to run the batch/script file named
    "between", which the error says it can't access and/or find.
    That file is in the base directory where Internet Rex is
    installed, where the Irex executables are installed, including
    'rexl'. It is set as an excutable.

    enter that script's name in irex as ./script and see if it can find it then...

    As in "./between"?

    it was a pure WAG... i didn't realize that you were speaking of the between script... i think that one is hardcoded but...

    But where is that configured?

    i have no clue... i don't do IREX :?

    I wondered if that might be at least part of the issue but
    haven't found where that might be set. (Perhaps I don't have the
    right 'User level' setting?)

    what are the permissions on the files? what user is IREX running as?

    )\/(ark


    * Origin: (1:3634/12)
  • From Roy Witt@1:387/22 to Rj Clay on Wed Oct 17 22:04:04 2012

    Rj Clay wrote to Roy Witt:

    Experience with Irex tells me that you need to point rex at that
    file, including drive and path before it will execute it. Dunno how
    Linux would do that, but I'm sure you get what I mean...

    Tag Days Start Next Command
    A All 00:00 00:45 -fsq 1:387/6 (must be run -
    yes) B All 00:00 00:45 e:\Irex\inbetween.bat (external
    event, yes)

    I don't currently have an event like that configured. Is that
    required in order to have the 'between' script run?

    At the end/bottom of each event is a question that asks if you want to
    run the between.bat (DOS and Win), dunno what it says in Linux mode.

    But highlighting that question and pressing the F1 key will give you some config clues on the use of such a file.

    R\%/itt


    ... Mark Owen: "Hey, did you ever hear anything about that beer?
    ... Fellow SEAL: "You believed that s**t, I bet you voted for change too,
    ... SUCKER."


    --- GoldED+/W32
    * Origin: Texas Lone-Star - Texan, American, USAian (1:387/22)
  • From Roy Witt@1:387/22 to mark lewis on Wed Oct 17 22:07:00 2012

    mark lewis wrote to Rj Clay:


    So to me, the line "System: between" noted above indicates
    that IRex is attempting to run the batch/script file named
    "between", which the error says it can't access and/or find.
    That file is in the base directory where Internet Rex is
    installed, where the Irex executables are installed, including
    'rexl'. It is set as an excutable.

    enter that script's name in irex as ./script and see if it can find
    it then...

    As in "./between"?

    it was a pure WAG... i didn't realize that you were speaking of the between script... i think that one is hardcoded but...

    Yeup, found at the bottom/end of an event config window.

    But where is that configured?

    i have no clue... i don't do IREX :?

    8^)

    I wondered if that might be at least part of the issue but
    haven't found where that might be set. (Perhaps I don't have the
    right 'User level' setting?)

    what are the permissions on the files? what user is IREX running as?

    It should work even for the lowest User Level, as it is a batch file that
    can be executed while an event is in progress...using the F1 key when in
    that event config window on the line that asks if you want to run
    BETWEEN.BAT (win and DOS) you can check for various other flags, etc...

    Dunno how it is worded in the Linux version.

    R\%/itt


    ... Mark Owen: "Hey, did you ever hear anything about that beer?
    ... Fellow SEAL: "You believed that s**t, I bet you voted for change too,
    ... SUCKER."


    --- GoldED+/W32
    * Origin: Texas Lone-Star - Texan, American, USAian (1:387/22)
  • From mark lewis@1:3634/12 to Roy Witt on Thu Oct 18 20:38:15 2012

    I wondered if that might be at least part of the issue but
    haven't found where that might be set. (Perhaps I don't have the
    right 'User level' setting?)

    what are the permissions on the files? what user is IREX running as?

    It should work even for the lowest User Level, as it is a batch
    file that can be executed while an event is in progress...

    not on linux (or even modern winwhatever)... it is entirely possible that the user that IREX is running as doesn't even have access to the directory... but that means that IREX wouldn't run, either... so we look closer and it is possible that the user doesn't have access to the between script because it was
    written by another user and the permissions only allow that originator to even see it... then, on linux, there's also an executable bit in the permissions... one user may be able to see and edit a script but not execute it... *nix doesn't use extensions or file majik to determine if a file is executable... they use the bit and it is set for each of owner, group, and/or everyone...

    )\/(ark


    * Origin: (1:3634/12)
  • From Roy Witt@1:387/22 to mark lewis on Fri Oct 19 15:38:59 2012

    mark lewis wrote to Roy Witt:


    I wondered if that might be at least part of the issue but
    haven't found where that might be set. (Perhaps I don't have the
    right 'User level' setting?)

    what are the permissions on the files? what user is IREX running as?

    It should work even for the lowest User Level, as it is a batch
    file that can be executed while an event is in progress...

    not on linux (or even modern winwhatever)... it is entirely possible
    that the user that IREX is running as doesn't even have access to the directory... but that means that IREX wouldn't run, either... so we
    look closer and it is possible that the user doesn't have access to
    the between script because it was written by another user and the permissions only allow that originator to even see it... then, on
    linux, there's also an executable bit in the permissions... one user
    may be able to see and edit a script but not execute it... *nix
    doesn't use extensions or file majik to determine if a file is executable... they use the bit and it is set for each of owner,
    group, and/or everyone...

    You'll have to address this to a Linux user, as I'm not one. I know that between.bat is called by DOS and/or Win when it is set up in the config
    area of an event. There is also a config in an event you can answer yes/no
    to, answering yes to "Must be Run" makes Irex run that event and
    between.bat, if it's called for.


    R\%/itt


    ... Mark Owen: "Hey, did you ever hear anything about that beer?
    ... Fellow SEAL: "You believed that s**t, I bet you voted for change too,
    ... SUCKER."


    --- GoldED+/W32
    * Origin: Texas Lone-Star - Texan, American, USAian (1:387/22)
  • From mark lewis@1:3634/12 to Roy Witt on Fri Oct 19 20:47:27 2012

    You'll have to address this to a Linux user, as I'm not one.

    i know... i was explaining it to you so you would know and understand it for possible later support that you may give...

    I know that between.bat is called by DOS and/or Win when it is set
    up in the config area of an event. There is also a config in an
    event you can answer yes/no to, answering yes to "Must be Run"
    makes Irex run that event and between.bat, if it's called for.

    and as i explained previously, it is possible on today's winwhatever machines that the user IREX is running as doesn't have access to that script... today's winwhatever has (finally) gotten closer to real security like the *nix world has had ;)

    )\/(ark


    * Origin: (1:3634/12)
  • From Roger Nelson@1:3828/7 to mark lewis on Sat Oct 20 07:47:50 2012
    On Fri Oct-19-2012 20:47, mark lewis (1:3634/12) wrote to Roy Witt:

    You'll have to address this to a Linux user, as I'm not one.

    i know... i was explaining it to you so you would know and
    understand it for possible later support that you may give...

    I know that between.bat is called by DOS and/or Win when it is set
    up in the config area of an event. There is also a config in an
    event you can answer yes/no to, answering yes to "Must be Run"
    makes Irex run that event and between.bat, if it's called for.

    and as i explained previously, it is possible on today's
    winwhatever machines that the user IREX is running as doesn't have
    access to that script... today's winwhatever has (finally) gotten
    closer to real security like the *nix world has had ;)

    Nonsense! I saw Carrie-Anne Moss break the *nix security code in a movie.


    Regards,

    Roger (-:
    --- timEd/386 1.10.y2k+
    * Origin: NCS BBS - Houma, LoUiSiAna - (1:3828/7)
  • From mark lewis@1:3634/12 to Roger Nelson on Sat Oct 20 14:03:49 2012

    and as i explained previously, it is possible on today's
    winwhatever machines that the user IREX is running as doesn't have
    access to that script... today's winwhatever has (finally) gotten
    closer to real security like the *nix world has had ;)

    Nonsense! I saw Carrie-Anne Moss break the *nix security code in a
    movie.

    that was that old xyzzy code... that's been broken for decades ;)

    )\/(ark


    * Origin: (1:3634/12)
  • From Roger Nelson@1:3828/7 to mark lewis on Sat Oct 20 16:39:23 2012
    On Sat Oct-20-2012 14:03, mark lewis (1:3634/12) wrote to Roger Nelson:

    and as i explained previously, it is possible on today's
    winwhatever machines that the user IREX is running as doesn't have
    access to that script... today's winwhatever has (finally) gotten
    closer to real security like the *nix world has had ;)

    Nonsense! I saw Carrie-Anne Moss break the *nix security code in a
    movie.

    that was that old xyzzy code... that's been broken for decades ;)

    LOL!


    Regards,

    Roger
    --- timEd/386 1.10.y2k+
    * Origin: NCS BBS - Houma, LoUiSiAna - (1:3828/7)
  • From Roy Witt@1:387/22 to mark lewis on Sat Oct 20 17:14:28 2012

    mark lewis wrote to Roy Witt:


    You'll have to address this to a Linux user, as I'm not one.

    i know... i was explaining it to you so you would know and understand
    it for possible later support that you may give...

    That's fine, but I would also need an eyeball on the config window to be
    able to relate to it.

    I know that between.bat is called by DOS and/or Win when it is set
    up in the config area of an event. There is also a config in an
    event you can answer yes/no to, answering yes to "Must be Run"
    makes Irex run that event and between.bat, if it's called for.

    and as i explained previously, it is possible on today's winwhatever machines that the user IREX is running as doesn't have access to that script...

    In W2k, there was a directory labeled MSDOS7 and it contained the
    executable command.com/exe ... which doesn't exist in XP...However, there
    is still a DOS file called command.com in the system32 directory under
    Windows in XP. In fact, rather than do a DIR /g/whatever, all you need to
    do is run tree.com and you can see the entire C: drive structure...who
    knows, if you play with tree.com /x you might even be able to see a page
    at a time.

    today's winwhatever has (finally) gotten closer to real security like
    the *nix world has had ;)

    I'd have to look at the System32 directory on my Vista laptop, but I
    already know that it will execute batch files. Not to mention that one can still open a DOS window and it will run Irex just as it did in W2k.

    Windows 7 & 8 might be without that command file, but I doubt it.

    R\%/itt


    ... Mark Owen: "Hey, did you ever hear anything about that beer?
    ... Fellow SEAL: "You believed that s**t, I bet you voted for change too,
    ... SUCKER."


    --- GoldED+/W32
    * Origin: Texas Lone-Star - Texan, American, USAian (1:387/22)
  • From Robert Wolfe@1:116/18 to mark lewis on Mon Feb 25 08:40:58 2013
    As in "./between"?

    it was a pure WAG... i didn't realize that you were speaking of the between script... i think that one is hardcoded but...

    But where is that configured?

    Since you asked, it is located in the same directory as the rest of Internet Rex.

    --- BBBS/NT v4.10 Dada-1
    * Origin: Omicron Theta | Memphis, TN | Yes, We Are Still Here! (1:116/18)
  • From Robert Wolfe@1:116/18 to Rj Clay on Mon Feb 25 08:53:00 2013
    Experience with Irex tells me that you need to point rex at that file,
    including drive and path before it will execute it. Dunno how Linux
    would do that, but I'm sure you get what I mean...

    Tag Days Start Next Command
    A All 00:00 00:45 -fsq 1:387/6 (must be run - yes)
    B All 00:00 00:45 e:\Irex\inbetween.bat (external event,
    yes)

    I don't currently have an event like that configured. Is that required in order to have the 'between' script run?

    No. "between" is run after mail is received and before any is sent when a manual poll is run from the command line. Be sure you "chmod a+x" your between
    script (located in your IREX directory) so that Internet Rex can execute it.

    --- BBBS/NT v4.10 Dada-1
    * Origin: Omicron Theta | Memphis, TN | Yes, We Are Still Here! (1:116/18)
  • From Roy Witt@1:387/22 to Robert Wolfe on Mon Feb 25 10:31:59 2013

    Robert Wolfe wrote to Rj Clay:

    Experience with Irex tells me that you need to point rex at that
    file, including drive and path before it will execute it. Dunno how
    Linux would do that, but I'm sure you get what I mean...

    Tag Days Start Next Command
    A All 00:00 00:45 -fsq 1:387/6 (must be run - yes)
    B All 00:00 00:45 e:\Irex\inbetween.bat (external event,
    yes)

    I don't currently have an event like that configured. Is that required
    in order to have the 'between' script run?

    No. "between" is run after mail is received and before any is sent
    when a manual poll is run from the command line. Be sure you "chmod
    a+x" your between script (located in your IREX directory) so that
    Internet Rex can execute it.

    I dunno where B came from, because there is no such event in my IREX...in
    fact, there is no such batch file as inbetween.bat on this system...


    R\%/itt


    --- GoldED+/W32 1.1.5-31012
    * Origin: Texas Lone-Star - Texan, American, USAian (1:387/22)
  • From Robert Wolfe@1:116/18 to Roy Witt on Mon Feb 25 13:45:16 2013
    Tag Days Start Next Command
    A All 00:00 00:45 -fsq 1:387/6 (must be run - yes)
    B All 00:00 00:45 e:\Irex\inbetween.bat (external event,
    yes)

    I don't currently have an event like that configured. Is that required
    in order to have the 'between' script run?

    No. "between" is run after mail is received and before any is sent
    when a manual poll is run from the command line. Be sure you "chmod
    a+x" your between script (located in your IREX directory) so that
    Internet Rex can execute it.

    I dunno where B came from, because there is no such event in my IREX...in fact, there is no such batch file as inbetween.bat on this system...

    The back up your .REX files and delete the B entry. Strange that it should appear there out of nowhere like that. But, I have seen stranger things happen - like IREX not sending out mail to uplinks that have it (but BBBS sends the same mail out just fine).

    --- BBBS/NT v4.10 Dada-1
    * Origin: Omicron Theta | Memphis, TN | Yes, We Are Still Here! (1:116/18)
  • From mark lewis@1:3634/12.42 to Robert Wolfe on Mon Feb 25 15:35:55 2013

    As in "./between"?

    it was a pure WAG... i didn't realize that you were speaking of
    the between script... i think that one is hardcoded but...

    But where is that configured?

    Since you asked, it is located in the same directory as the rest of Internet Rex.

    i didn't ask... that was someone else ;)

    )\/(ark

    ---
    * Origin: (1:3634/12.42)
  • From Robert Wolfe@1:116/18 to Mark Lewis on Wed Feb 27 12:04:36 2013
    As in "./between"?
    it was a pure WAG... i didn't realize that you were speaking of
    the between script... i think that one is hardcoded but...
    But where is that configured?
    Since you asked, it is located in the same directory as the rest of
    Internet Rex.
    i didn't ask... that was someone else ;)
    )\/(ark

    In any case, I answered :D

    LOL!

    Peace!

    --- BBBS/NT v4.10 Dada-1
    * Origin: Omicron Theta | Memphis, TN | Yes, We Are Still Here! (1:116/18)