Topics

Linbpq Problem

Michael WA7SKG
 

Not really RPi related, but I see there have been linbpq discussions here before. I am trying to set up something for Winlink on my Linux computer (Mint 19). I followed the directions for linbpq on www.cantab.net/users/john.wiseman/Documents/LinBPQ_WinlinkClient.html
Everything went fine until the end of the install script. The script ends with "./linbpq --adduser RMS "" TRUE" but errors with

"Adding User RMS to BBS for forwarding to Winlink
./installWebMail: line 40: ./linbpq: No such file or directory"

Checking the directory and trying to run linbpq I get:

$ ll
total 3384
drwxrwxr-x 3 michael michael 4096 Jan 28 12:07 ./
drwxrwxr-x 5 michael michael 4096 Jan 28 11:43 ../
-rw-rw-r-- 1 michael michael 770 Jan 28 12:07 bpq32.cfg
drwxrwxr-x 2 michael michael 4096 Jan 28 11:43 HTML/
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
-rw-rw-r-- 1 michael michael 4877 Jan 28 11:43 linmail.cfg

$ ./linbpq
-bash: ./linbpq: No such file or directory

The file is there, I can list it, but when I try to run it, I get the "No such file" error.

Any ideas?


Thanks,
Michael WA7SKG

Mark Griffith
 


You have to be sitting in that directory.  Add this to the script before it runs linbpq to add the user "cd linbpq"

Mark
KD0QYN

On Tuesday, January 28, 2020, 3:21:39 PM CST, Michael WA7SKG <wa7skg@...> wrote:


Not really RPi related, but I see there have been linbpq discussions
here before.  I am trying to set up something for Winlink on my Linux
computer (Mint 19). I followed the directions for linbpq on
www.cantab.net/users/john.wiseman/Documents/LinBPQ_WinlinkClient.html
Everything went fine until the end of the install script. The script
ends with "./linbpq --adduser RMS "" TRUE" but errors with

"Adding User RMS to BBS for forwarding to Winlink
./installWebMail: line 40: ./linbpq: No such file or directory"

Checking the directory and trying to run linbpq I get:

$ ll
total 3384
drwxrwxr-x 3 michael michael    4096 Jan 28 12:07 ./
drwxrwxr-x 5 michael michael    4096 Jan 28 11:43 ../
-rw-rw-r-- 1 michael michael    770 Jan 28 12:07 bpq32.cfg
drwxrwxr-x 2 michael michael    4096 Jan 28 11:43 HTML/
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
-rw-rw-r-- 1 michael michael    4877 Jan 28 11:43 linmail.cfg

$ ./linbpq
-bash: ./linbpq: No such file or directory

The file is there, I can list it, but when I try to run it, I get the
"No such file" error.

Any ideas?


Thanks,
Michael WA7SKG



Michael WA7SKG
 

Sorry, I thought it would be clear that getting the directory listing with "ll" would have indicated that I was in that directory, as well as issuing "./linbpq" to run a file in that directory.

Does this help clarify it for you?

michael@Desk4:~/ham_stuff/linbpq$ ll
total 3384
drwxrwxr-x 3 michael michael 4096 Jan 28 12:07 ./
drwxrwxr-x 5 michael michael 4096 Jan 28 11:43 ../
-rw-rw-r-- 1 michael michael 770 Jan 28 12:07 bpq32.cfg
drwxrwxr-x 2 michael michael 4096 Jan 28 11:43 HTML/
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
-rw-rw-r-- 1 michael michael 4877 Jan 28 11:43 linmail.cfg
michael@Desk4:~/ham_stuff/linbpq$ ./linbpq
-bash: ./linbpq: No such file or directory

The linbpq is a binary executable file.

Michael WA7SKG



Mark Griffith via Groups.Io wrote on 1/28/20 1:29 PM:

You have to be sitting in that directory.  Add this to the script before it runs linbpq to add the user "cd linbpq"
Mark
KD0QYN
On Tuesday, January 28, 2020, 3:21:39 PM CST, Michael WA7SKG <wa7skg@...> wrote:
Not really RPi related, but I see there have been linbpq discussions
here before.  I am trying to set up something for Winlink on my Linux
computer (Mint 19). I followed the directions for linbpq on
www.cantab.net/users/john.wiseman/Documents/LinBPQ_WinlinkClient.html
Everything went fine until the end of the install script. The script
ends with "./linbpq --adduser RMS "" TRUE" but errors with
"Adding User RMS to BBS for forwarding to Winlink
./installWebMail: line 40: ./linbpq: No such file or directory"
Checking the directory and trying to run linbpq I get:
$ ll
total 3384
drwxrwxr-x 3 michael michael    4096 Jan 28 12:07 ./
drwxrwxr-x 5 michael michael    4096 Jan 28 11:43 ../
-rw-rw-r-- 1 michael michael    770 Jan 28 12:07 bpq32.cfg
drwxrwxr-x 2 michael michael    4096 Jan 28 11:43 HTML/
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
-rw-rw-r-- 1 michael michael    4877 Jan 28 11:43 linmail.cfg
$ ./linbpq
-bash: ./linbpq: No such file or directory
The file is there, I can list it, but when I try to run it, I get the
"No such file" error.
Any ideas?
Thanks,
Michael WA7SKG

Mark Griffith
 

Sorry, I thought you were asking about the script failing.

There is something wrong with the filename, linbpq.  There may be some hidden character embedded in there somewhere.

I would rename it, if you can.  If not, remove it and copy in a new file.

It may be something else completely.

Also, show the type of the file with the command "file linbpq"

Mark
KD0QYN


On Tuesday, January 28, 2020, 3:45:25 PM CST, Michael WA7SKG <wa7skg@...> wrote:


Sorry, I thought it would be clear that getting the directory listing
with "ll" would have indicated that I was in that directory, as well as
issuing "./linbpq" to run a file in that directory.

Does this help clarify it for you?

michael@Desk4:~/ham_stuff/linbpq$ ll
total 3384
drwxrwxr-x 3 michael michael    4096 Jan 28 12:07 ./
drwxrwxr-x 5 michael michael    4096 Jan 28 11:43 ../
-rw-rw-r-- 1 michael michael    770 Jan 28 12:07 bpq32.cfg
drwxrwxr-x 2 michael michael    4096 Jan 28 11:43 HTML/
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
-rw-rw-r-- 1 michael michael    4877 Jan 28 11:43 linmail.cfg
michael@Desk4:~/ham_stuff/linbpq$ ./linbpq
-bash: ./linbpq: No such file or directory

The linbpq is a binary executable file.

Michael WA7SKG



Mark Griffith via Groups.Io wrote on 1/28/20 1:29 PM:
>
> You have to be sitting in that directory.  Add this to the script before
> it runs linbpq to add the user "cd linbpq"
>
> Mark
> KD0QYN
>
> On Tuesday, January 28, 2020, 3:21:39 PM CST, Michael WA7SKG
> <wa7skg@...> wrote:
>
>
> Not really RPi related, but I see there have been linbpq discussions
> here before.  I am trying to set up something for Winlink on my Linux
> computer (Mint 19). I followed the directions for linbpq on
> www.cantab.net/users/john.wiseman/Documents/LinBPQ_WinlinkClient.html
> Everything went fine until the end of the install script. The script
> ends with "./linbpq --adduser RMS "" TRUE" but errors with
>
> "Adding User RMS to BBS for forwarding to Winlink
> ./installWebMail: line 40: ./linbpq: No such file or directory"
>
> Checking the directory and trying to run linbpq I get:
>
> $ ll
> total 3384
> drwxrwxr-x 3 michael michael    4096 Jan 28 12:07 ./
> drwxrwxr-x 5 michael michael    4096 Jan 28 11:43 ../
> -rw-rw-r-- 1 michael michael    770 Jan 28 12:07 bpq32.cfg
> drwxrwxr-x 2 michael michael    4096 Jan 28 11:43 HTML/
> -rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
> -rw-rw-r-- 1 michael michael    4877 Jan 28 11:43 linmail.cfg
>
> $ ./linbpq
> -bash: ./linbpq: No such file or directory
>
> The file is there, I can list it, but when I try to run it, I get the
> "No such file" error.
>
> Any ideas?
>
>
> Thanks,
> Michael WA7SKG
>
>



Jeff Logullo N0̸MII
 

Looks like there's an asterisk at the end of the file name. You can rename the file to remove it:

$ mv "linbpq*" linbpq

Then try your command again:

$ ./linbpq



On Jan 28, 2020, at 4:04 PM, Mark Griffith via Groups.Io <mdgriffith2003@...> wrote:

michael@Desk4:~/ham_stuff/linbpq$ ll
total 3384
...
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
...
michael@Desk4:~/ham_stuff/linbpq$ ./linbpq
-bash: ./linbpq: No such file or directory


--
Jeff N0̷MII

Michael WA7SKG
 

The asterisk is not part of the file name. It indicates it is an executable file.

Michael WA7SKG


Jeff Logullo N0̸MII wrote on 1/28/20 2:22 PM:

Looks like there's an asterisk at the end of the file name. You can rename the file to remove it:
$ mv "linbpq*" linbpq
Then try your command again:
$ ./linbpq

On Jan 28, 2020, at 4:04 PM, Mark Griffith via Groups.Io <mdgriffith2003=yahoo.com@groups.io <mailto:mdgriffith2003=yahoo.com@groups.io>> wrote:

michael@Desk4 <mailto:michael@Desk4>:~/ham_stuff/linbpq$ ll
total 3384
...
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
...
michael@Desk4 <mailto:michael@Desk4>:~/ham_stuff/linbpq$ ./linbpq
-bash: ./linbpq: No such file or directory
--
Jeff N0Ì·MII

Michael WA7SKG
 

I ran the install script a number of times in different directories, all with the same results. I did eventually run the "file linbpq" command and discovered I was trying to run a 32-bit file on a 64-bit system. After installing the various 32-bit libraries it now works as advertised. I guess what threw me was the "No such file" error when, in fact, it was a 32/64-bit library issue.

Michael WA7SKG


Mark Griffith via Groups.Io wrote on 1/28/20 2:04 PM:

Sorry, I thought you were asking about the script failing.
There is something wrong with the filename, linbpq.  There may be some hidden character embedded in there somewhere.
I would rename it, if you can.  If not, remove it and copy in a new file.
It may be something else completely.
Also, show the type of the file with the command "file linbpq"
Mark
KD0QYN
On Tuesday, January 28, 2020, 3:45:25 PM CST, Michael WA7SKG <wa7skg@...> wrote:
Sorry, I thought it would be clear that getting the directory listing
with "ll" would have indicated that I was in that directory, as well as
issuing "./linbpq" to run a file in that directory.
Does this help clarify it for you?
michael@Desk4 <mailto:michael@Desk4>:~/ham_stuff/linbpq$ ll
total 3384
drwxrwxr-x 3 michael michael    4096 Jan 28 12:07 ./
drwxrwxr-x 5 michael michael    4096 Jan 28 11:43 ../
-rw-rw-r-- 1 michael michael    770 Jan 28 12:07 bpq32.cfg
drwxrwxr-x 2 michael michael    4096 Jan 28 11:43 HTML/
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq*
-rw-rw-r-- 1 michael michael    4877 Jan 28 11:43 linmail.cfg
michael@Desk4 <mailto:michael@Desk4>:~/ham_stuff/linbpq$ ./linbpq
-bash: ./linbpq: No such file or directory
The linbpq is a binary executable file.
Michael WA7SKG

chuck gelm
 

On 1/28/20 4:21 PM, Michael WA7SKG wrote:
Not really RPi related, but I see there have been linbpq discussions here before.  I am trying to set up something for Winlink on my Linux computer (Mint 19). I followed the directions for linbpq on www.cantab.net/users/john.wiseman/Documents/LinBPQ_WinlinkClient.html
Everything went fine until the end of the install script. The script ends with "./linbpq --adduser RMS "" TRUE" but errors with

"Adding User RMS to BBS for forwarding to Winlink
./installWebMail: line 40: ./linbpq: No such file or directory"
I think that error means 'installWebMail' was not found.
Referencing in line 40 of your install script.
Does 'installWebMail' exist on your file system?
if yes, where.
Maybe share line 40 of your install script.

HTH, Chuck

Michael WA7SKG
 

"installWebMail" is the script that was running. The error message indicated line 40 of the installWebMail script threw the error. Line 40, quoted in my message is "./linbpq --adduser RMS "" TRUE" resulted in the File not found error, stating that the file linbpq was not found.

As it turned out, the binary file linbpq was a 32 bit file and the computer is a 64 bit system. Once I installed the necessary 32 bit libraries, the file executed as it should.

Michael WA7SKG


chuck gelm wrote on 1/29/20 11:40 AM:

On 1/28/20 4:21 PM, Michael WA7SKG wrote:
Not really RPi related, but I see there have been linbpq discussions here before.  I am trying to set up something for Winlink on my Linux computer (Mint 19). I followed the directions for linbpq on www.cantab.net/users/john.wiseman/Documents/LinBPQ_WinlinkClient.html
Everything went fine until the end of the install script. The script ends with "./linbpq --adduser RMS "" TRUE" but errors with

"Adding User RMS to BBS for forwarding to Winlink
./installWebMail: line 40: ./linbpq: No such file or directory"
I think that error means 'installWebMail' was not found.
Referencing in line 40 of your install script.
Does 'installWebMail' exist on your file system?
if yes, where.
Maybe share line 40 of your install script.
HTH, Chuck