l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Feb 26 12:08

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Binary problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Binary problems

On Thu, 26 Feb 2004, Doctorcam wrote:

> I have downloaded a commercial fax program (free version, for
> evaluation).  It is in binary (i.e. *.bin).  I have permissions set to
> execute (100755).  
> It will not run, even as "sh primafax_l.bin".

why would giving a binary executable to bash as an argument improve its
chances of running?

> strace gives me the following (in part - hope the wrapping does not confuse):
> open("primafax_l.bin", O_RDONLY|O_LARGEFILE) = 4
> ioctl(4, TCGETS, 0xbffff79c)            = -1 ENOTTY (Inappropriate ioctl for device)
> _llseek(4, 0, [0], SEEK_CUR)            = 0
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\260\200"..., 80) = 80
> write(2, "primafax_l.bin: primafax_l.bin: "..., 59primafax_l.bin: primafax_l.bin: cannot execute binary file
> ) = 59
> exit_group(126)

You are stracing bash... which is simply telling you it cannot run the
program.  You might want to confirm that it is executable with the
"file" command.  If it is executable, strace the file itself rather thsn

> I presume it cannot find the proper tty.  At the moment I have ttyS0
> and ttyS1 designated elsewhere, so this may be the problem.  I tried
> to set them to mgetty through inittab, but this had no impact.

I don't think I can be much more help, given the information available to

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.