Ubuntu :: Logs To Read To Try To Establish Cause Of A Crash?
May 9, 2011"Which logs should I read to try to establish the cause of a crash?"
View 4 Replies"Which logs should I read to try to establish the cause of a crash?"
View 4 RepliesI left the computer on to download last night, and for the second time I didn�t download anything because KDE logs me out automatically.How can I find out the cause of this logging out?
View 1 Replies View RelatedI am going to read the logs (system log, security log) through my "C" application, operating system is Linux fedora core8. i am only interest in the present logs. How to read this logs through my application ,where to read, what is the logic behind this.
View 2 Replies View RelatedI am new in perl, i have a question i.e 'How to read individual logs from linux server into another log file using perl script', I need to capture the individual logs from different paths and output the result of those log files and store to a file in another location.These Logs are generated in Linux Server..
View 2 Replies View RelatedI'm getting BSOD when I'm booting my main system (debian 8 fully updated). I get a BSOD with a _ sign. URL...because I can't access to failed boots files. Besides having the files
Code: Select allfelipe@debian ~ % ls /var/log/journal
362d07f9e18b45f8aec4575c347f181d 92e8a448f7a348719da129184a7e6821
Code: Select allfelipe@debian ~ % journalctl --list-boots
0 0c51ae5b67f144059c5470dbe345d621 vie 2016-03-25 09:05:29 ART—vie 2016-03-25 09:11:58 ART
I tend to get constant crashes when using internet browsers ( Google Chrome and Firefox ) basically the application hangs not moving in any way, then eventually completely freezes up, the system then locks up and finally crashes.
Upon system re-start I get "Read Error" at boot ( No further information, it literally just says "Read Error" ).
It is sometimes fixed by going into the BIOS and select "Hold on No Error".
I tried installing OpenBios to see if using different BIOS firmware would resolve the issue, but the OpenBios install failed ....so no dice there either.
I am trying to work out if it is a hard drive problem or if it is purely a problem with Fedora.
It was working fine for a couple of months and when it does boot up ... the system works fine, ( Until another crash ).
It seems like the internet browsers crash the system and then the system crashes and can then no longer remember how to boot up.
what this could be that could be software based....if not it looks like I will need a new hard-drive.
I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?
View 1 Replies View RelatedI've crashed and am locked out..can't chmod,chown,or any other device to change Permissions.
I THINK THIS PROBLEM IS UNIQUE as I think I screwed up!
Crash: Wanted to mount BOTH CDrom/dvds (each had different models, port numbers, etc). Disk Utility sees them...but no deal.
-Last week I downloaded a program that included "dpkg," and I didn't realize it was in it...I think that is the problem...conflict w/ apt-get...dunno.
-Best answer (to mount 2 CDROMs) I got was "Insert a blank CD in each drive and reboot." Seemed logical. I did...CRASH!
Now it's a brick wall! I can't change permissions because "read-only." (Cannot be opened or parsed...umask=0022, not using locking for read-only lock file), etc.
If it helps it's the HP n7674n IntelDuoCore -64, Nvidia GeForce 7300le, 4Gb RAM, 2-200Gb.HDDs.
When I try to login as me - it gets pretty far but then something happens and automatically logs out. This happens in Gnome, Kde too. Now - I have no problem logging in a Root. Is there a way I can try to stop the login process before it kicks me out, or is there a way to look at some files to tell me what's going on?
View 3 Replies View Relatedpolicy is to backup mysql with mysql-zrm.However at a certain stage it hangs forever. This is at the "flush logs". I tried this manually and it gave the same result. Even after restarting mysql and the host. After some googling and trying I found out "flush tables with read lock" gives the same result. The tables seem to be MyIsam. I tried with a mysqldump on one server and restore it on a test vm. I used the same config and flush logs still hangs. ALso I tried to change some configuration directives... but with the same result
Edit: btw, I checked the logfile and didn't found anything (/var/log/mysqld.log)
Edit2: I also did myisamchk -s *.MYI (in all direcoties with db files;actually did it with find command) and it did not return anything so datafiles seem ok.
On our app server the logs from the Sybase Mobilink service get logged to /var/log because of that I did a chmod a+rx /var/log and all is well until.... the next day QA logs in goes to check the logs and gets:
Quote:
qa@dwdb [~]$ ls /var/log
ls: /var/log: Permission denied
qa@dwdb [~]$
What I have:
Computer: Dell XPS M1210
Modem: SpeedStream 51000 - It's SBCGlobal
I followed the pppoeconf setup instructions.
cracker@Jack:~$ sudo pppoeconf Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
I then asked it to start the connection.
cracker@Jack:~$ sudo pon dsl-provider
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Checked connection information and got this.
cracker@Jack:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:18:8b:dd:6e:cb
inet6 addr: fe80::218:8bff:fedd:6ecb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
I have set WAN to 'bridged' mode for my D-Link DSL-G604T so that individual devices can connect directly to the internet.
A problem I now face is not being able to connect a computer running Ubuntu 10.04 LTS to the internet via DSL.
The computer connects to the D-Link DSL-G604T router via wireless network connection - which is established, but I am unable to connect to DSL and I don't know why. The DSL connection doesn't even list under the network icon at the top right.
I am trying to establish an ssh connection to my server. I have a regular ssh connection working through the command line, so I know my key works and I have the port forwarding on the router correct.
When I go to Places -> Connect to Server the window comes up properly. The only problem is that the drop down menu only has one option in it for Service Type. It is Custom Location. I have had this set up in the past and there were other options there. I chose the ssh connection and everything was fine. Now it doesn't work.
I have tried to completely uninstall nautilus and reinstall it, but that didn't work. When I did uninstall it, I uninstalled gnome-session as well, and I reinstalled that one too.
I've got an Expect script that establishes a ssh connection to the iLO interface of a server. Problem is it drops me back to the local terminal and I can't enter commands to be executed on the remote host. How do I get it so it logs me into the server then leaves me connected to it?
Code:
expect -f - <<-expect_script_end
spawn ssh -o StrictHostKeyChecking=no $user@$host
match_max 100000
expect "*?assword:*"
send -- "$pass
"
send -- "
"
expect eof
expect_script_end
The ssh server running on the iLO interface appears to be sending eof's which is causing expect to exit. How can I get it to ignore them?
I am trying to set up, I am having problems understanding what steps I need to take but have done the following on recommendation of help from linux forums but am not getting anywhere with what I have done. PC:
Laptop Dell latitude D610
Ubuntu Gnome 2.26.1
I currently have a wired connection to my laptop but am trying to set up wireless, I have put the antenna on the router and have a wireless network showing called NETGEAR, amongst others, which is my primary router name so i'm trying to connect to that but the actual wireless antenna is on the switching hub. For all intents and purposed assume I am a complete newbie with ubuntu and linux command line stuff, I know basics like pwd, ls and so on but need a good bit of help trying to do this. When I click on this wlan network NETGEAR I get asked for the password, on the bottom of the switching hub is a code for WLAN and I put this in, it then asks for a password for a default keyring, which I do not know. How do I find this out?
But I am still not sure what I am supposed to be doing or looking for to resolve this connection problem, not only am I not a network expert I have no knowledge of linux either and steps to follow to establish a connection.
[Code]....
I'm using Ubuntu for almost two years and everything has worked well till now. One day I have reinstall ubuntu in my computer, but then something went wrong. I couldn't anymore establish my internet connection. I have tried everything but nothing helped. I even reinstall my ubuntu multiple times but there was no efekt. Even when I installed Kubuntu or an older Ubuntu 10.10, there was no internet. I'm also using Windows 7 but there is always a internet connection. I didn't change any hardware on my computer, only a new AMD graphic card. I'm using wired optical Internet 10/10 MB.
[Code].....
I'm trying to create a VPN through SSH but encounter the following:
Code:
[18:42:11]root@bronzhip:/home/casey# sudo ssh -w 0:0 97.**.***.221 -i VPN
channel 0: open failed: administratively prohibited: open failed
[code]....
Dual boot Vista Basic and Ubuntu 10.04 on low spec PC. I can connect to the wireless when I am next to it. I move to the room where the computer is normally used and I lose connection. I can still see it but it fails to establish a connection. Okay, sounds like it's just too far way but when I re-boot and use Vista, it works fine (1 or 2 bars, but it works). Is this a driver issue? Anything I can do apart from move my wireless router?
View 9 Replies View RelatedGetting an error while connecting to remote desktop using rdesktop.
View 3 Replies View RelatedI've been living a dormitory for a while and our net connection is very slow because of the download via torrent or rapidshare, hotfile etc.(we have 4megabit speed unfortunately) I want to establish a ubuntu server and there are 45 people in our dormitory. Which ubuntu server version I'll use? How much storage that I have (i thought 4 tb is enough)? What kind of commands do I going to use and permissions. I want to appoint one person as a admin others just can add a file (music, movies vs.) they wouldnt have to delete!
View 2 Replies View RelatedI have just installed Google Desktop. When I do a search it says: Unable to connect Firefox can't establish a connection to the server at 127.0.0.1:38552.
View 3 Replies View RelatedI am kind of new to linux and have installed the lucid lynx ubuntu distro (10.04) and then "upgraded" it to ubuntu studio but it still says is the lucid lynx. I got a Samsung Q430 laptop with the Atheros AR9285 wireless adapter.I have everything up and running EXCEPT my wireless card. The wireless card DOES work, it does see all the connections available, but when I choose to connect it does not, and keeps asking for the password.
Weird thing is that when I use my samsung galaxy tab as the wireless adapter for its 3G signal, it does seem to work fine (although really slow). I have tried looking for a solution, some say to just install the drivers, but ubuntu does not recognize anything to need a driver except the video card. I have installed linux-backports-modules-wireless-lucid-generic I have also tried the bleeding edge drivers.
After a while of experimenting by myself I came with the following, somewhat rudimentary. I managed to fix the problem by installing the windows wireless driver utility. Here is a tutorial on how to do it. So I just installed it, went to system/administration/windows wireless drivers and just installed it. Downloaded the file from here [URL]. It may not be the best way to fix it, but it does work. Still if you can use ethernet, don't hesitate to do it.
I want to transfer files from my laptop to my desktop remotely over the net. Both these computers access net via different service providers and have dynamically assigned IP addresses. If I know the IP address, I can use ssh to accomplish my task. However if I don't have physical access to the desktop, I cannot know the IP address. Is there a way by which a the desktop sends its public IP address to me so that I can establish ssh connection ?
View 2 Replies View RelatedI just got an error message and i have no clue what it means.Error: Unable to establish connection with FAM.Do you have "FAM" or "Gamin" installed and running?I installed the net cd of Lenny and it is up to date so I don't know whats up.
View 2 Replies View RelatedI have a headless server, running Fedora 13. I want to make a ssh tunnel to that server from laptop that is also running Fedora 13. Logging into that server over ssh works well, X11 forwarding also works, but I can't establish a ssh tunnel.
At the moment I was trying to connect two small python tcp sample programs, that communicate through port 8000. Running them both on my laptop works well.
What I am trying to do is that I am making two seperate ssh connections to my server, let's say it's address is myserver.com.
1) I make a 'standard' ssh connection to it
Code:
And run the server program
2) I open another terminal window and make the tunnel
Code:
3) I open 3rd terminal window and try to run the client program, that is trying to connect to localhost:8000.
If I understand it correctly, the client should now connect to localhost:8000, ssh would discover that and send that data to myserver.com port 8000. Then the server program on myserver.com is listening on that port and should get that data and send "hello world" string back to the client. Then the client should get that, print it to stdout and exit.
Unfortunatly all what it does is that it just hangs for about ten seconds and then says "connection lost" (timeout?)
I have tried other programs, they also timout.
By passing the -v argument to ssh it outputs:
Code:
When I try to connect the client it prints four more lines:
Code:
So as you see, it says that the connection times out..Also can anybody tell what the "Unspecified GSS failure." means? The possible break in attempt is caused by connecting to the server using the myserver.com address while being in the same local network with the server. If I connect using server's local ip address (ie. 192.168.1.xxx), the message dissappears.
I have two firewalls, one primary (fw1) and one fall-back/backup (fw2). On the LAN side the fw's reside in the same LAN segment. I have a client who wants VPN redundancy. So I configured two VPN tunnels for this client. One via fw1 and a backup via fw2. Since the default gateway on the VPN server points to fw1 only the tunnel via fw1 is established. OpenVPN can't establish a tunnel via fw2 because of the gateway and just sits there waiting...
View 1 Replies View RelatedI recently upgraded my flavor (Arch, latest version) and now I am unable to connect to samba (latest version; obtained through pacman) either through Windows or Linux. My error logs reveal: (/var/log/samba/log.smbd)
[code]....
nmblookup shows what it should but smbclient -L gives the generic "Error NT_STATUS_UNSUCCESSFUL". I also tried to reinstall Samba. I am not sure why it continues to try for CUPS, as I do not have printers listed in smb.conf.
I try to establish Firebird 1.5.4.4910 on CentOS 5.2. It is established without mistakes. But be connected to a server I can not. The command - xinetd-d deduces:
Service configuration: gds_db
id = gds_db
flags = REUSE IPv4
socket_type = stream
[code]...
At attempt to be connected to a server in magazine there is a message:
May 27 10:20:48 Mikle xinetd[4737]: START: gds_db pid=5399 from=192.168.1.206
May 27 10:20:48 Mikle xinetd[4737]: EXIT: gds_db status=0 pid=5399 duration=0(sec)
May 27 10:20:48 Mikle xinetd[4737]: START: gds_db pid=5404 from=192.168.1.206
May 27 10:20:48 Mikle xinetd[4737]: EXIT: gds_db status=0 pid=5404 duration=0(sec)
I have had long term access to a networked HP Photosmart printer but now I get the following message:
Unable to open device hp:/net/Photosmart_C5100_series?ip=192.168.0.161.
when trying to access it.The ubuntu desktop is wired to the router as is the printer and another iMac wirelessly can still print to the HP. HPLIP status shows the icon for the printer but with a red x indicating no connection to it.The only recent network change was the removal of another router from our network. (service is DSL via a combo modem/router from service provider which previously was connected to a Dlink router which has now been removed from the chain b/c was redundant to the modem/router)