Questions tagged [binary]
The binary tag has no usage guidance.
48
questions
76
votes
5
answers
320k
views
How do I grep through binary files that look like text?
I have binary files that should be text (they're exported logs), but I can't open it with less (it looks ugly - it looks like a binary file). I found that I could open it with vi and I can cat it (you'...
55
votes
6
answers
138k
views
Linux Command to find Strings in Binary or non ascii file
Is there any linux command to extracts all the ascii strings from an executable or other binary file? I suppose I could do it with a grep, but I remember hearing somewhere that such a command existed?
18
votes
5
answers
27k
views
Error importing large MySQL dump file which includes binary BLOBs in Windows
I'm trying to import a MySQL dump file, which I got from my hosting company, into my Windows dev machine, and i'm running into problems.
I'm importing this from the command line, and i'm getting a ...
17
votes
4
answers
50k
views
ASCII vs Binary vs Auto?
I'm transferring files between servers and just started noticing that some of them are getting modified to be one long continuous line as opposed to having the returns and line-breaks they originally ...
16
votes
2
answers
13k
views
what is the point of stripping a binary/elf program?
I'm just wondering if stripping a program file has more benefits than just saving disk space.
12
votes
1
answer
35k
views
How to send 0x80 byte to a tcp port using netcat or similar tool?
I'm trying to make a Memcached server respond as if I were using a binary protocol. If possible just command line answers pls, no code snippet in any programming language.
11
votes
1
answer
48k
views
How can I get information about a binary file that won't execute?
When I run one of my user's applications named "myfile".
$ ./myfile
I receive the following output
bash: ./myfile: cannot execute binary file
My user expects the binary file to run. I assume ...
7
votes
1
answer
4k
views
Command to refresh binary paths in CentOS?
This is probably really easy and I just can't seem to find it.
I'm moving binaries around between /usr/bin and /usr/sbin, and even though both folders are in my $PATH, moving one binary to the other ...
5
votes
4
answers
3k
views
Strange stuff in apache log
I'm building some kind of webapp, and currently the whole thing runs on my machine. I was combing down my logs, and found several "strange" log entries that made me a bit paranoid. Here goes:
***.***....
5
votes
3
answers
12k
views
Set binary registry setting through GPO
I've got a REG_BINARY registry key that I'd like to set via GPO. However, the GPO interface to add registry settings simply has a 'Value Data' text field.
I can set the type to REG_BINARY, but what ...
5
votes
2
answers
147
views
Multi-Architectures and Their Binaries
Why is there a /usr/lib and a /usr/lib32 directory but only a /usr/bin and no /usr/bin32 directory on a AMD64 64-bit-install of Ubuntu? If or when Debian/Ubuntu start supporting multi-target-...
4
votes
2
answers
6k
views
Why do I sometimes get numbers back from the FileSystemRights access field when checking the ACL Access?
Sometimes I'll run a command like this, and I'll get back some easy to read, easy to interpret text:
PS D:\test> (get-acl test.txt).Access | Select FileSystemRights
FileSystemRights
----...
4
votes
2
answers
4k
views
Is there a diff/merge utility to compare binary files and synchronize data bit-by-bit in either direction based on differences in binary data?
I have a tricky dilemma. I've got some files on two different destination drives, copied from the same source drive. The source drive had been failing, so I used dd to copy over the data to one ...
4
votes
1
answer
2k
views
call binary from docker container inside another docker container?
What would be the way to load a certain binary from a certain container in docker from inside another container?
container 1: web
container 2: ffmpeg
I would want to call ffmpeg binary living in ...
3
votes
1
answer
4k
views
Can statically linked binary require shared libraries?
I have a binary here that is apparently statically linked:
$ file wkhtmltopdf-amd64
wkhtmltopdf-amd64: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux),
statically linked, ...
3
votes
2
answers
6k
views
mongod cannot execute in ubuntu
I am installing mongodb on ubuntu terminal from this url (http://mongojs.org/install-mongodb-ubuntu-11-04-natty)
I am on the step where you type in ./mongod
when I type that I get the following: ...
3
votes
1
answer
2k
views
Postgres Restore Not Restoring Binary Data
This is a very urgent situation.
We have a postgres 9.4 database installed on a CentOs machine.
We are trying to take a backup from a Heroku Postgres database and restore it to the database on ...
3
votes
1
answer
223
views
Re-packaging commercial software into RPM packages
The situation is this - I have a small CentOS 5 "cluster" (currently 7 machines, but potential for more) which run a commercially available software package that's distributed essentially in tarball ...
2
votes
1
answer
4k
views
FTP - Is transferring ascii files in binary a bad thing?
We have a local development server that we develop websites on. To push a website live it is FTPed (SSH/SFTP/Rsync is not an option unfortunately) to our webhost.
I want to run some scripts that ...
2
votes
4
answers
16k
views
how to find mysql binary in redhat
I am working with a Redhat distribution. The network admin is inaccessible so I have no ability to request information.
Using bash, how do I find the mysql binary so that I can run sql commands?
...
2
votes
2
answers
7k
views
MySQL Binary Log activated = high-end server damn slow
On MySQL 5.1(.57-1.dotdeb), I have a ~2.0Gb database, and an average of ~350 requests per second.
All is running fine if I don't activate the binary log. The CPU usage is decent (~15% of 1 CPU core)....
2
votes
1
answer
230
views
Why is MySQL writing hundreds of 125 byte binary log files?
My MySQL Master (with no connected slaves right now) writes out a 125 byte file every minute or so:
-rw-rw---- 1 mysql mysql 125 2012-12-28 16:46 snapshot-mysql-v2-bin.004876
-rw-rw---- 1 ...
2
votes
0
answers
1k
views
How to send binary data in netcat to an already established connection?
I can do the following to send binary data in netcat:
echo -e '\x80' | nc host port
But I don't want to do it like this, what I want is to connect to a server:
nc 192.168.1.115 12345
And then send ...
2
votes
0
answers
646
views
How to run binary file using vagrant and keep it running in the background?
I have a binary file which I need to deploy or run on my linux server.
Currently I'm using a vagrant, here is my Vagrantfile :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(...
2
votes
1
answer
2k
views
Enable binary logging MySQL
How exactly can I enable binary logging on MySQL server. Conf.file? Server Startup Parameter? If possible give me an example.
1
vote
4
answers
7k
views
Whats the difference between "bare-metal" hypervisor and full virtualization?
I am presenting to my class on virtualization.
While researching, I am confused between a bare metal hypervisor an full virtualization mode with binary translation.
Could someone please explain that ...
1
vote
3
answers
275
views
PHP Cron Job without PHP Binary?
I am looking to run a PHP script with a cron job, but it seems I don't have a PHP binary. Looks like I don't have PHP installed as a CGI, so without reinstalling/configuring my PHP, what is the best ...
1
vote
1
answer
674
views
MySQL hangs up after binlog rotation
Been having a strange problem lately and wondered if anyone had any input. I'm running a mysql replication setup, with 1 master and 3 slaves. Every 3 hours or so the binlog on the master fills up and ...
1
vote
1
answer
1k
views
Monit sshd binary Checksum Check and Restart
I'm going over a monit config file and something doesn't seem right. I'm using monit to monitor the checksum of the sshd binary, if its different from whats expected it should reload a known binary. ...
1
vote
1
answer
3k
views
Running binary in Google Cloud Function
I have a cloud function that generates a pdf. The cloud functions is in Python3.7 and it uses the module pdfkit==0.6.1. This pdfkit has a dependency of wkhtmltopdf. The OS env where the instance is ...
1
vote
1
answer
290
views
64Bit ubuntu and 32Bit apps
I am trying to run a 32bit server process on my VPS, however when I do so it is having problems loading the shared libraries the process needs.
When googling around they suggest "sudo apt-get install ...
1
vote
0
answers
221
views
What if AIX dynamic library imports one of symbols from wrong place
I have a legacy AIX ppc64 library mylib.so.
Inspecting dump -Tv output, I noticed it expects that Foo symbol would be present in even older library oldfoo.so. However, it seems after new foo release, ...
1
vote
0
answers
34
views
Globus GridFtp truncates end lines in text files
I am using this configurations for the server side:
Globus gridFTP server 10.6 (1467236171-85)
Fedora 22, 64-bit GNOME Version 3.16.2
As for the client side I am using different clients:
libcurl ...
1
vote
3
answers
2k
views
Where can I download PostgreSQL 8.0 Windows binary files?
I need the PostgreSQL 8.0 binaries for me to recover the data from a crashed server, which has no backup whatsoever. I've looked at the official website link for downloads http://www.postgresql.org/...
0
votes
2
answers
716
views
CentOS - binary won't run unless typed with absolute path
I'm not sure if it's a quirk of the program I'm trying to run (amidelnx) or if it's something with the way some binaries in general function. Also, I've read this question but it is not the same as ...
0
votes
1
answer
6k
views
How can I make all unrecognized file types as binary in Apache2?
I'm building a web server distributing variety kind of binary files. (with Ubuntu) They have vary extensions and sometimes has wrong extension. But currently, my Apache server serves unknown files as ...
0
votes
1
answer
280
views
Run a 32-bit binary on Google Cloud Run
The title say it all. I need a way to run a 32-bit binary on Cloud Run, which seems to only support 64-bit
What I'm looking for is some sort of emulator or compatibility layer that I could install.
I ...
0
votes
2
answers
1k
views
binary executable working in centos but not in ubuntu
I was trying to install weblogic 9 to test if an application is working correctly when migrated from a previous release. I downloaded the "Oracle WebLogic Server 9.2 MP3" and I was able to install it ...
0
votes
1
answer
192
views
Does rsnapshot save binary diffs?
I use rsnapshot for some years under Kubunt/Linux. But I am not sure how it (and underlying rsync) handles binary diffs: Image a large Thunderbird mailbox file or a 10 MB jpg photo and I change the ...
0
votes
1
answer
133
views
linux pseudo files for rotating streams
i've got some problem with rotating files. Situation is next:
one program like wireshark or vlc dumps all to one file, say netstream.bin
If i mv netstream.bin to netstream.bin.rotate program will ...
0
votes
1
answer
231
views
Executing a linux binary [closed]
Well I've run across a very weird thing today and I don't know if its something to do with my OS or Virtualization. I've been running game-server binaries and they've always worked. A simple ./binary +...
0
votes
0
answers
9
views
How to convert simpleproxy trace binary output to text
I have simpleproxy running on an Ubuntu server, but there are some issues with one of my proxies, so I restarted the proxy with the -rt flag to trace it & output to a file. The only issue is that ...
0
votes
0
answers
24
views
Running Linux commands execute hidden command to regenerate Backdoor [duplicate]
My CentOS server compromised, the backdoor uploaded in /var/www/html/, I have deleted the backdoor and browsed the backdoor - to be sure it's deleted - it's surly deleted, but when I run any command ...
0
votes
1
answer
1k
views
Best way to update a binary?
So I'm making a load balancer that compiles to a binary. This will be scaled across multiple servers.
To update, the program itself will check a GitHub repo for a new release every 5 minutes, if there ...
0
votes
1
answer
5k
views
cronjob error "/bin/sh: /path/to/file: No such file or directory" [duplicate]
i've installed a python software that allows to run javascript on the server
i've put the binary file (jsrunner) in this address
/usr/local/bin/jsrunner
so in the ssh when i try it it works fine
...
-1
votes
2
answers
441
views
cygwin's xd. what package is it in? [closed]
I am looking for the unix utility xd for Cygwin. What package do I need to install?
-2
votes
1
answer
68
views
Does Source Based Linux Distro's Have Lower Download Size for Packages Rather Than Binary? [closed]
I looked all over the internet and couldn't find the answer to my question. If you use a source based distro, does that lower download sizes, compared to binary? If so, how significant is it? (Provide ...
-2
votes
1
answer
2k
views
What is the difference between .msi file and binary version of apache? [closed]
I am new to web programming , Could anyone please explain what the difference between .msi and binary version of apache ? Actually I want to use apache 2.4 I am not sure which version to download and ...