General :: Debugging A Preseeded Installation?
Dec 28, 2010
What's the best way to debug an automatic installation. I created an iso with a custom menu and that all seems fine... but when I launch my new menu item I get a blank screen with a blinking cursor and nothing else.
View 7 Replies
ADVERTISEMENT
May 21, 2009
Does anyone know how can one improve his debugging skills or how can one narrow down the problem and try to get to the solution ASAP.Or rather how once should approach a problem.I know this is a bit vague question but I want to know how you people approach?
View 3 Replies
View Related
May 12, 2010
I installed a packge redmine apt-get install redmine It went without any error. But I found later that it was not working. Another package I installed was red5 during installation it says it can not start red5-server. How can I debug the package installations. If there would have been some script I would have set some thing like set -vmx in it.
As an example while installing red5 I got a message to issue the following
Code:
See [url] for more information about dependency based boot sequencing. To reattempt the migration process run 'dpkg-reconfigure sysv-rc'. Even then it failed.
View 1 Replies
View Related
Apr 25, 2015
Ever since I started to tinker with GNU/Linux on my machine, ACPI has been a thorn in my side.
I can't find any BIOS updates or DSDTs for my laptop, either.
The only distro I've ever gotten to boot without acpi=off is Fedora 20 with the 3.11 kernel and nohz=off parameter. Which leads me to believe a change in the kernel after 3.11 is to blame.
Anyways, I have installed wheezy 7.8 XFCE with LVM encrypted, but alas I am stuck booting with the ACPI=off parameter.
The installation CD booted perfectly, with my wireless card working (an indication of ACPI functioning) as well.
This leads me to believe that it is possible to have a stable wheezy install on this machine.
The install disc used the parameters: video=vesa :ywrap,mtrr and vga=788.
I tried these, but the boot hanged after "switching to clocksource: acpi_pm".
How I could track down the problem with ACPI on my machine?
View 1 Replies
View Related
Feb 24, 2011
Is it possible to debug a makefile? In a bash script I can use "set -x" so that all variables are shown with their values. I am looking for such feature in makefile to see the variables and their values.
View 2 Replies
View Related
Feb 28, 2011
I tried to debug a C++ project in Eclipse Helios, last release. I set breakpoints in some non-main functions, but the debug function never stops there, and I get a warning message which says
"breakpoint attribute problem installation failed" What could be the reason?
PS: The same problem also happens with Eclipse Galileo, last release PS2: I found here info about the bug but no solution:[URL]..
View 1 Replies
View Related
May 1, 2010
I have just installed Ubuntu 10.04. When trying to run a Java Applet on a web page I discovered that Java is not installed in 10.04 and the SUN Java JRE is not available to install any more so I installed the OpenJDK and IcedTea Plugin.
Most applets work fine but one specific, for me a very important one, dos not. Specifically the log inn applet used in my net bank: URl... See login entry on top left.After entering userID I am redirected to a page giving the following error message:HTTP 404 - The resource cannot be located. The file cannot be found. This applet runs fine in Windows.I have started Firefox in a terminal window but do not get any error messages there when trying to start the applet.The applet runs fine in Opera (though slow start up) in Ubuntu 10.04. Opera does not use plug in but run the applet directly from JRE. This indicates that the problem could be in the IcedTea plugin.
View 9 Replies
View Related
Sep 14, 2011
I'm preparing for an interview and came across this question in a forum:
If your browser crashes, how would you debug it only using the command line?
For simplicity, let's assume it's a Firefox browser on a *nix environment.
View 2 Replies
View Related
Mar 11, 2010
Recently I have been having trouble debugging in Eclipse. I an writing a Java Applet and testing it using Eclipse's Applet Viewer but when I attempt debug mode it sometimes causes my GUI to freeze. I am able to break out to the prompt using ctrl-alt-f1 and restart the gui, but that's annoying because I then have to restart all the apps running on it.
Eclipse (Galileo)
Java JDK 1.6
Ubuntu 9.10 with Gnome 2.28.1
View 4 Replies
View Related
Oct 11, 2010
I have created a Radius startup script in /etc/init.d for Debian which looks like this:
Now this works but when I boot my server it shows as ready to process requests and it doesnt login. I cant get a login prompt. If I do a CTRL C to try close this it doesnt work and just shows CTRL C on the screen, I can type in kill radius but nothing happens.
I guess its because my script is in debugging mode, most of the suggestions for a script said I should use:
However the radiusd a doesnt work and if I try to run using command radiusd in it comes up and says invalid command and I dont have the option to use
So if this script runs on my server, I could connect to the server through a putty session via port 22 and log on fine and do what I need too, but if I try to connect to the server directly after boot its just sitting on ready to process requests and I cannot do anything when directly at the server. On one particular server I didnt have the network confg right so I couldnt putty to it and now Im a bit stuck. Will I need to rebuild my server? As I canït break out of this ready to process requests and I cannot login as its just sitting there, I have tried connecting through serial management via my laptop but I cant do anything this way either the only way I could do anything was if I could get through to the server on putty.
There must be a way when directly at the server to cancel the radius and get logged in? As Ive mentioned CTRL C doesnt work. I can get to the ok prompt but not sure what command to use and if I could change the network config at the ok prompt or if I could somehow cancel the startup script at the ok prompt? I thought I could use the init commands to start the server without the script starting but the init commands don�t work and the server just sits there.
Also I guess I shouldnt be using radius X in my startup script, to prevent this problem is there something else I should be using? I tried using radius x (the small x) and I hit enter and then no process for radius starts .
View 1 Replies
View Related
Aug 4, 2010
Been trying to setup my xorg.conf file to have a 1920x1200 screen.Strange behavior: when my X starts up, I see my mouse cursor, can move it around. It's small enough to suggest the 1920x1200 resolution took, is working.However, the rest of the screen remains black. No login prompt.I've looked at /var/log/xorg.conf, no errors.Is there something else I can look at?
View 1 Replies
View Related
Nov 9, 2010
I am trying to debug a problem where I can't connect to a remote SSH server. I do not have admin rights on the box, however I have a valid account and can login fine with a password, I just wanted to use my public key instead.
I copied over my ~/.ssh/id_rsa.pub to the remote server to ~/.ssh/authorized_keys. I tried to connect to the server but it is not allowing me to authenticate when I ask it to use public keys instead of passwords.
Code:
ryan@TehLaptop:~$ ssh -v -o PreferredAuthentications=publickey ryan@unix.xxxxxxx.xxx
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to unix.xxxxx.xxx [xxx.xxx.xxx.xxx] port 22.
[Code].....
View 8 Replies
View Related
Dec 3, 2010
This hasn't happened to me before, but I develop for the Android platform and (perhaps needless to say) I really need to be able to debug on a real device. On past installs, my device was recognized automatically and debugging was as easy as checking "debug" in the Android's settings, but now (after updating to Maverick from Lucid) the phone registers with adb as?It mentions some necessary tasks for set-up on Ubuntu, but only mentions this process for Dapper/Gutsy/Hardy. Is there any personal experience out there that can confirm that this works and/or is necessary on Maverick?
View 1 Replies
View Related
Aug 23, 2010
i need to debug a application which is using many threads. i am using eclipse with GDB debugger but it is not possible to debug it since it has a lot of different threads and i can not not debug it as wre debug in case of single thread(main) . So i would like to know, is there a way to debug such an application, if there is some tutorial that would be nice to know.
View 8 Replies
View Related
Feb 17, 2011
I am trying to find some ideas on debugging clients and servers. For example, what would be -really great- is to
1. start a debugger with a server (running on a port)
2. start up the client (using a debugger).
Run the client and then trace the processing from the client side to the server side.
How can one accomplish this?
I have downloaded valgrid and Qt Creator - but not sure how one can use both.
View 1 Replies
View Related
Dec 24, 2010
I am trying to do remote debugging of kernel 2.6.30 form fedora 11 (2.6.29).For this gdb and kgdb are there in the kernels. But am not able to use it.I have not any manual for this.so plz tell me the procedure of remote debugging.
View 7 Replies
View Related
Jan 12, 2010
I'm running Ubuntu server 9.10 karmic koala and my client is also ubuntu 9.10 karmic. I've installed xdebug on the server and added to the php.ini file:
zend_extension = /full/path/to/xdebug.so
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_host = localhost
xdebug.remote_handler = dbgp
Vim and the proper plugins (debugger.vim and debugger.py) are both installed. I load the php file under consideration in my browser on the client with ?XDEBUG_SESSION_START=1 as part of the URL. I then vim the php file, press F5 and reload the page in firefox. Vim shows that it is waiting for 5 seconds for the connection. After 5 seconds it shows an error message that says:
[Code]....
After some googling it has become apparent that these messages mean nothing and the problem is that the connection is just never happening. Xdebug is supposed to be working on port 9000. I've looked at /etc/services and nothing else is mapped to port 9000. I've tried ssh -p 9000 xxx@a.b.c.d and had the connection refused (ssh without a port spec works fine). Now I don't know what to do to get this thing working and I really want it working.
View 1 Replies
View Related
Oct 19, 2010
I'm running gdb across a network using gdb server. I've got it up and running. However I can't see any source or variables for my code (in ddd /gdb). At start up gdb says (no debugging symbols found). I've got a g in my make file,
CPFLAGS = -Wall -Os -g -pedantic
I've tried loading symbols in using "symbol-file testarm", this sort of works in that I can view symbols but not names, e.g. if I ask dd to show x y and z, rather than
x = 10
y = 20
x = 30
It says:
display
10/20/30
Also ddd does not show anything in the source window, is there a way I can get it to show this? I think it's because I've started ddd with ddd arm-linux-gdb, as I'm calling a crosscompiler gdb. So can I tell ddd to point to the correct folders? What commands I need to set in gdb/ddd to view variable names (it's hard to keep track when it bunches them all together) and how to view my source code.
View 2 Replies
View Related
Feb 11, 2011
How to switch between processes when debugging with gdb?
View 2 Replies
View Related
Apr 30, 2010
I have squid running on F12 fully updated. Pretty much stock config except bigger cache size.
Over time it seems to start lagging and occupying more memory. Currently using ~400Mb after a couple of months. I'm sure its causing some lag / refreshes because if I turn if off and go direct to internet the same site I had to hit refresh on, loads instantly.
Going through the logs in /var/log/squid I don't see anything suspicious with the untrained eye, whats a better way of debugging it to see where/why the delays are happening? Its a single user setup (for fun really lol) so theres a lot of misses in access.log. cache.log just has a handful of bad img headers which does not line up with lagging websites.code...
View 5 Replies
View Related
Apr 30, 2009
I'm having trouble with this developing tool... I dunno why but when I build my program, Lazarus compiles it, but keeps debugging and don't generate the file. Do anyone knows which may be the problem?
View 9 Replies
View Related
Aug 20, 2011
im having problems with 1 mount from several shared, AFAIK identically from windows Vista Home
Quote:
root@server2:~# mount.cifs -v //gaia/thunderbirdMail /mnt/gaia -o user=guest,password='',domain=WORKGROUP, debug=8
mount.cifs kernel mount options: ip=192.168.2.6,unc=\gaia hunderbirdMail,,ver=1,u ser=guest,domain=WORKGROUP,pass=********
mount error(13): Permission denied
[Code]...
View 1 Replies
View Related
Jul 7, 2010
I'm looking for a tool which will record everybit of information is sent to internet by a particular software and let to inspect the data later
View 1 Replies
View Related
Oct 2, 2010
If you have a script that works sometimes and doesn't work other times in Kate and there just might be error outputs that kate isn't passing around in any obvious manner, how would one know how to find out what's going wrong?I'm talking about the user-made scripts under Tools/External Tools. When you run those scripts and an error happens, I don't see any error output.
View 2 Replies
View Related
Oct 28, 2010
A thread-aware version of gdb receives a system notification when a thread starts in the app it is debugging. GTK+ has hidden threads associated with loading icons into menus. So trying to debug a GTK+ program, even one that is apparently single-threaded, can produce a deadlock between gdb, the app and XWindows. The app (actually GdkPixbufLoader) grabs the focus, the mouse and the keyboard and then starts a thread when a menu is opened. If gdb has trouble with threads, it leaves the app blocked but still holding the mouse, et. al. Then you can't talk to gdb or any other GUI interface. To make gdb happy, all GTK+ apps need to be linked with -pthread, if you have the source. If not, gdb cannot be used. In order to break the deadlock, you need a non-GUI shell. If your /etc/inittab starts agetty, mingetty, or the like, and you can get to it with <CRTL><ALT><F3...F6>, you can do a kill -KILL <pid> on the offending app, recover and then go back to XWindows with <CTRL><ALT> <F1/F2>. Otherwise it's reboot time.
View 3 Replies
View Related
Jun 13, 2011
I need to debug "ls". I downloaded coreutils and compiled them in debug mode."ls" uses readdir() kernel API to fetch files/directories from a file system. readdir() fetch data from any file system (suppose FAT or ext3).I have debug version of FAT/ext3 and installed, I also have debug version of coreutils (ls) as well.Now I want to debug from "ls" to "FAT/ext3 readdir()".How to do that?
View 6 Replies
View Related
Dec 5, 2010
I found on the Internet a rough suggestion to debug code which says to add a line:
An example shows this lists the lines of source that do work.
I do not know where these lines are supposed to go and whether the "notdeadyet" should be a call to a subroutine or what. I only found that "%define" is used to link to external files, so I am confused because what I tried did not work.
(I am unable to use (and learn) any debugging tool for another few weeks and I'd like to progress on this If I can.)
View 2 Replies
View Related
Jan 31, 2011
First step will obviously be to compile the QT project with -g option, but how to do that through command line?
View 6 Replies
View Related
Jul 14, 2011
Im using gdb for debugging my application.. I was able to debug child process(when fork comes) .. and in child process we have an exec call to .... So the problem is, when the control come to exec , the exec process is executing at a time... I could not debug the exec. process... error is stack curruption due to same frame So, is there any way to debug the exec process
View 1 Replies
View Related
Feb 24, 2010
I have an environment where i have recursive make files (that is one main and in each directory of a project a file.mk with rules for that directory).Since i'm not the one who wrote it i'm not familiar with it. I would like to explore when i run certain targets how the rules work, which files cause dependency rules to work and why. Also i would like to know ALL the targets that are available to me. i couldn't find any way to 'debug' makefiles or to put it in such debug mode that i see all the information i need when i run a certain target.
View 4 Replies
View Related