Debian Programming :: How To Trace Broken LIB Files
Dec 5, 2014
The usual answer is debian's ldd(1) and I found broken things due to past lib abuses I previously hadn't understood I'd did - or rather hadn't realized because by looking it "looked ok and worked" - but i had problems. many i fixed.
After I ran a new script: it showed some i'd STILL missed after carefully re-doing /lib by hand (and using /var/lib/dpkg/info/libs.list)
I just made something that might be nice. seems to be the only thing that does it. but its' small and quick and has (tty/stdout) output still.
the had part isn't finding info, objdump(1) does that wonderfully : it's using it..
when I run a tcl script using ns-2.30 and get a result and run the sam script in ns-2.29 and get an error and run the script file in ns-2.33 and get a result but the output filr (out.tr) is less in size than the output file of ns-2.30 i and also in the details of time scale , for example one out.tr file contains 19000 line (2 M byte size) and the other out.tr file for the same tcl file using the ns-2.33 version contains 10000 lines (1. M byte size) . Does that make since ? also in result file nam file for ns-2.30 it has some drops but the ns-2.33 has no drops! when I run the name !!!. is the time scale for simulation tunable or can be aligned?
We recently ported an application over from IRIX to Linux, specifically SUSE Enterprise 11 and gcc (glibc 2.9). On IRIX there was a library trace utility call 'par' that allowed me to execute a C program and trace all the library calls it made, tracking how much time was spent in each call. I have been trying to find something similar for SUSE. I have found the ?trace programs (strace, ltrace, and ktrace) none of which is default installed on SUSE 11.Does any one have a suggestion on which ?trace to install and use or is there something else out there better?
I wrote y bash script that opens YouTube playlist using youtube-dl and VLC applications: the output of youtube-dl is the input of VLC. The only problem is VLC needs to be closed after each playlist item unless I get the error message of the operating system:
"ERROR: unable to write data: [Errno 32] Broken pipe".
I understand the reason but I don't know how to resolve it: it is possible to close previous STDIN of VLC without killing the entire VLC process so that a new youtube-dl instance can connect to the same VLC instance? In short this is my question. The problem is detailed here: Downloading and playing videos and subtitles.
In a kde terminal, apt-get was installing gem when it asked me to restart the kmn daemon (i'm not sure about the "kmn"...) and i hit "yes" when the gui dissapeared and fell back to tty1. I waited a while and then restarted the system but kde didn't start automatically (it used to be so). I tried "startx" and "startkde" but they are unknown. I don't know linux this deep so i don't know what to check or how to trace down this problem.
i'm running debian lenny - latest stable i have recently installed smartcam (mobile phone as webcam over bluetooth) from .deb package , get errors of unmet dependency , but application works like a charm, unfortunately broken dependences block my aptitude , i cant fix them either as latest stable use older versions of dependences even in backports... how do i mark smartcam package as not broken and release my apt?
I need a script that dose the following checks if files exists by read input from a file then compares them to the files listed in the directory if they don’t exists the script would report back which file dose not exists. I also need to format the output so that files are grouped in different groups, group A, B, and C and etc based on file name. I would like the output of that do not exists files to be sorted based on second number in the file name than group according. I understand some of the basics of bash scripting something along of the lines of a loop and if statements might do the trick. Below is what I have so far. I don’t car so much about the script reporting back the file exists I prefer to only know if the file is missing and is less than 3 days old. Problem is if a file dose not exists in the reports file the test compares against the wrong file.
I installed Ubuntu 9.10 on a 100 GB partition of my 120 GB hard disk. I left the other 20 GB as free space. I moved my data (about 20 GB) to my home folder. Everything was fine for two days. Then I installed a few packages with the help of Update Manager.he installation, I was asked to reboot. Upon reboot, I was always taken to the Memtest86+. It was as if GRUB wasn't detecting my ubuntu installation.Then I installed Ubuntu again by taking up 20 GB of the existing 100GB partition. I am currently using this installation. When I try to access the older installation (the 80 GB one), I find that all my data in my home folder is broken. (screenshot attached - homefolderbroken.png). homefolderbroken.jpgWhen I see the properties of the 80GB partition, I can find my data is still present (screenshot attached - data.png
I want to turn an old (2004) compaq computer into a webserver using debian. 2.8ghz celeron, 756mb ram, 80gb IDE HD.I installed debian through the first DVD, without laptop and desktop environments, and did a guided partition.This is the second time this problem has occurred, at first i thought i would try re-installing, but no avail.
As soon as i turn the computer on, i get a grub loader screen with two options, Debian or single user debian. Both choices present same issue. Once i select either one, it seems to load then says "fatal: error inserting fan: no such device." Continues to load, and then "fatal: error inserting thermal, unknown symbol in module"Continues to load then "volume group ***** not found, volume group ***** not found" "enter pass phrase to unlock disk" I enter the pass phrase. "Successful" then a bunch of stuff loads and hangs at "end trace de8............" And it won't let me type anything or do anything except hit the power button.
first of i'm a total noob at Linux / Ubuntu but i still want to learn more about it and stop being a windfag .Anyhow. i first of installed Ubuntu 9.10 and then updated to Ubuntu 10.(04?). and everything was running smooth and good. but when i started my com the next day i got some broken files that was broken. I thought "Okey.. I'll just go to the "Broken Fixer" and get it over with" and i went in to the broken fixer and like marked all and everything stared to update. i went of and got me some coffee and got back to my comp and got this error.
Code: E: /var/cache/apt/archives/ia32-libs_2.7ubuntu21_amd64.deb: subprocess dpkg-deb --control returned error exit status 2
was attepting a boot loop fix when my ubuntu froze half way through uninstalling gnome, I am unable to boot in any mode from the grub and get errors about failing to load duv or sys or something of the kind, I cannot reach any command line either...Now if I boot in a live cd my hdd is visible but I cannot mount it, no problem mounting a windows drive but the ubuntu one will now I get many errors such as a job is pending and others that are similar, I have tried last night for 5hours (not an exagguration) many solutions to get it mounted.
If I boot the windows hdd the ubuntu drive does not display in my computer and.I have the cable and jumpers set correctly.Basically I cannot view what is on the drive at all, I'm wondering is there anyway to copy the drive to another hdd or usb other than what I have done, or could you suggest something to make one of these methods work?Thanks a lot, I need to get some very important files back from the drive, and from now on I will backup A LOT!
So im trying to un rar my rar. files. I use 7-zip, and winrar, Every time i try to unrar them it says broken file, cannot open file. This happens to nearly most of my rar files in the last few weeks, idk what else to do,
I am attempting to write a server application in C on a linux machine which listens for TCP connections and transfers data. I am trying to detecton the server side when the connection is broken. The closest thing that I got to work was looking at the return value from sending data. For example the server�s job is to mainly read data from the socket but to test if the connection is still up the server sends data periodically back to the client. I look at the return value from send() to determine if the connection is broken e.g.
Code:int ret = send(session->clientSocket, &data[sentCnt], count - sentCnt, MSG_NOSIGNAL)I found that this does not immediately return an error when the connection is broken. The reason for this is because even though the connection is broken send() is still successful because it is able to put it on the network buffer. To fix the issue I did the following things;
I run BIND9 in Debian on my server, and did a dist-upgrade last night. Prior to the dist-upgrade, everything worked fine. It does not appear that any of the configuration or zone files were changed. Right now, I am seeing ServFail replies to the A queries:
I am building a python script which works same as SMTP protocol. I have build separate functions in that for each command of SMTP, and after this i have integrated all those functions in a new function named as send_mail(so that i don't have to execute every function separately for every command). Now, when i execute the script for the first time it runs successfully, but for the second time it gives the error of "BROKEN PIPE". I really can't make out how the socket is getting closed.
I run a dedicated opensuse 11.1 server with apache (2.2.10-2.9.1) installed. This box has been running for nearly 2 years hosting several low traffic websites. I must admit that I did not give lots of love/attention to the machine over that period. It ran rock solid. The different websites each have their own associated user account and are stored in their own /home/name/public_html/ folder. It was setup through Webmin. Each domain name is also linked to a unique IP (the box has multiple available IPs), however this is configured at my domain provider. All in all a very simple and straightforward setup that never let me down most of the past decade.
Recently the sites on the machine were no longer responding. This happens each other year or so since I write my logfiles to a separate partition. Was df -h and indeed, partition was full. Removed logfiles manually, and while I was at it I decided it was time to run an online update (yast2 / online update that is). Rebooted machine after yast telling me to do so. Sites are no longer working. Can no longer login to webmin. Only thing what works is the 'root' webpage (/srv/www/htdocs folder), which makes me rather clueless as the other sites are just not responding at all, not even a timeout or error message.While I know that deleting logfiles manually is quite stupid, I've done it fore and not really ended up in trouble.
Hence my questions: does this sound familiar to anyone and do you mind to give me a clue about where exactly I should start to look. It's been ages since I actually administrated apache, so I might overlook the obvious. Long story short: any tips are very welcome about what I should check first, what config files might have been changedith the update, etc ...
I've multiple jpegs uploaded form IP cam via FTP, I use mencoder to periodically pack them into single avi file, problem is that sometimes one or two jpegs submitted by cam are broken, and this make mencoder exit, without producing movie
Today encoders are getting smarter. They can compress Blu ray similar quality in 700MB. It seems header of video file contain info about frame rate, audio/video encoder etc. which can't be guessed. In MPEG audio , every part of file is independently playable. If a movie is binary split into 6 parts & I don't have the first part then it is unplayable.
Code: example ls -rwxrwxrwx 1 root root 280M 2010-12-07 20:23 irn2-cd1.mkv -rwxrwxrwx 1 root root 50M 2011-05-26 13:09 last-50M-cd2 -rwxrwxrwx 1 root root 50M 2011-05-26 13:44 first-50M-cd1 file * first-50M-cd1: Matroska data last-50M-cd2: data irn2-cd1.mkv: Matroska data
I just did a fresh install of Kubuntu 9.10. The GUI regularly locks up. I can SSH to it from another machine everytime it locks up. Top shows Xorg consuming 99% cpu. I think downgrading the nvidia driver to 173 from 185 helped reduce the lockups. Before they seemed very random and very often. Now it seems to happen when copying a large amount of files over the network but I'm not entirely sure. It ran the electricsheep screensaver all day today with no problems and the RSS euphoria GL screensaver all day yesterday. If I copy 2GB of files from one local directory to another no problem, if I do it through cifs mounted samba shares it will lock up for sure. Small amounts seem ok. Apt-get install has had some lock ups too.
I don't really know how to trace what's going on beyond installing ssh and finding out that it's totally alive inside. I don't know what to look for in log files nor which ones to look at. I didn't recognize anything wrong in Xorg log. In the system log I look for the time gap between when it locked up and I shut down and when I rebooted but I didn't notice anything.
I manage a dedicated webserver running OpenSuse 11 which is currently hosting about 30 sites. I have never had any big problems until these last 2-3 months. One site after the other was being hacked and the unwanted visitor installed all kind of php shell scripts followed by torrent servers, ... etc. All hacked sites were sites using Joomla, so what I did was to close down those sites one by one. Well, I guess we all know Joomla is not a great solution if you just install it out of the box like those users were doing.
When trying to trace the intruder only some african junk IPs and IPs from a company selling VPN connections thru paypal show up (yeah great, love those guys ... do they really think that serious VPN users will pay with paypal) I checked all apache and FTP logs (yes, he even managed to get some FTP login) but only those damn 'proxy' IPs come up. The weird thing is that the guy seems to know how the server was 'build' since he manages to copy stuff from one site to the other. That is why I am suspecting someone who worked for a clients company, but I need proof. One way would be to let him hack a site and try to feed him something that would make him traceable, but what?
seems like after a recent upgrade of stretch, i get a message (in italian)
Code: Select all $ sudo apt-get install kde-full Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto Alcuni pacchetti non possono essere installati. Questo può voler dire che è stata richiesta una situazione impossibile oppure, se si sta usando una distribuzione in sviluppo, che alcuni pacchetti richiesti non sono ancora stati creati o sono stati rimossi da Incoming. Le seguenti informazioni possono aiutare a risolvere la situazione:
On my Sid laptop with iwlagn as the wireless driver, I use gnome with network manager. I lost all wireless capability when laptop failed to come out of suspend. I have the power manager set up to suspend when the lid is closed. This morning when I opened the lid I got a blank screen with a blinking cursor. Without thinking, I forced shutdown with the power button. I know, don't say it. When I booted up I had no wireless at all. lspci doesn't recognize wlan0 lsmod shows iwlagn is still there I performed the following:
# modprobe -r iwlagn # modprobe iwlagn
Now I have two drives on this laptop and Squeeze is on the other drive. When I boot into squeeze I have wireless activated.
I have an offline machine and the full 8 DVD repository set and have added them to the system and they work fine to install packages. I used jigdo to download the update 6.0.1 DVD and the "packages" file and the one inside of "packages.gz" are empty files. This prevents the disk from working at all. I'm not sure who to report this to.