Slackware :: When Does Login Get Called During System Init

May 11, 2010

I'm trying to find that line in the init files, but I don't see anything blatantly referring to login yet.

View 4 Replies


ADVERTISEMENT

General :: Ubuntu Init.d Script Not Being Called On Startup

Oct 29, 2010

I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct

-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test

[code]....

The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:

#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script

[code]....

When the machine starts, I don't see "script called" or "start called" in the test.log at all.

View 1 Replies View Related

General :: Exactly Which Files Are Called When I Login Into Server ?

May 11, 2011

Exactly what sequence of files are called as in the .my_profile,.profile,.vimrc,.vim. These are few files that I are there on the server. I want to know which file is called first and what sequence. Also can you point me to some links that tell exactly what are these files for.

View 1 Replies View Related

Programming :: Destructor Called On Objects In Deque Without It Being Called Explicitly

Jul 13, 2011

I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.

Code:

This prints:

Code:

Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:

Code:

However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).

So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.

View 4 Replies View Related

General :: Program Called Keyboard Jedi / Equivalent For System?

Feb 21, 2011

In windows there is a program called keyboard jedi that shows what keys are pressed on the keyboard. is there an equivalent for linux?

View 4 Replies View Related

Slackware :: Way To Add Init Script Automatically ?

Jul 19, 2011

I have a task: install some software package. I have wrote SlackBuild which builds package. doinst.sh does some configuration actions. The second task of doinst.sh - to make software start automatically during system bootup(have ready /etc/rc.d/rc.mysoft script). A good place start it is /etc/rc.d/rc.local (and shutdown in /etc/rc.d/rc.local_shutdown).

Question: how to do it? How in bash/sh script correctly patch rc.local and rc.local_shutdown ? And how correctly unpatch it? I can do it manually, but I interested in automatic mechanism. The task is complicated by fact I'm going to install more than one of such (independent)packages, and start/stop sequences must be in strict order(i.e start A, then B, then C, then D, and this order should be strict independently of package installtion order).

View 10 Replies View Related

Slackware :: Init 4 Wont Startx After Upgrade?

Jan 28, 2010

Thing is : I have an Install DVD created from current with the script from AlienBob about two months ago, I use it as my "default" Slackware64 13 install.

I had my drivers working ( KO modules loaded in kernel 2.6.29.6 ) I had to build for Broadcom Wireless and Nvidia GPU. Today I decided to make an upgrade w slackpkg, blacklisted kernel kernel headers, and everything pertaining to it. Still the damn thing installed 2.6.32.x. anyway, ran lilo to take notice of the change, and rebooted. booted allright, only when i Init 4, it failed to startx. new kernel, new mods needed to be loaded, i picked my DVD with drivers, and tried to run the Nvidia proprietary installer...

It uninstalled the previous driver and started compiling a new kernel module..I had the previous DVD installer of Slackware64 Current, as well as my private repo of packages, either built by me with src2pkg or makepkg, or from slackbuilds, I had my /home partition mounted apart, so i regenerated my system in about one hour...

View 5 Replies View Related

Slackware :: Keyboard And Mouse Do Not At All Work In Init 4 Mode?

Feb 26, 2010

Well, just as the title of this post says, I am having keyboard and mouse problems. Here's the storyMy friend Cody wanted me to take a look at his computer for him (I'm sort of known as a Linux nerd in my school lol) because his keyboard and mouse do not at all work in init 4 mode. I've tried reconfiguring the keyboard and mouse by trying a different module. I've even tried reconfiguring X alltogether by running "X -configure", which didn't work

View 3 Replies View Related

Slackware :: Patch To Script 'init' Which In Mkinitrd-1.4.6-i486-5 -current

Mar 15, 2011

Make the code work when RESUMEDEV is a symbolic link which has a relative path.

[Code]....

View 9 Replies View Related

Slackware :: ERROR: No /sbin/init Found On Rootdev ( Or Not Mounted )

Apr 21, 2010

I'm running Slacware current. Ran the updates this morning, including kernel 2.6.33.2. I always get nervous about that since something often goes wrong. Sure enough -

trying to boot I get No kewrnel modules found for Linux 2.6.33.2-smp mount: mounting /dev/sda9 on /mnt failed: No such device ERROR: No /sbin/init found on rootdev ( or not mounted ) and failure to proceed with booting. I got an original warning about the initial ram disk being too big to fit and switched to using generic kernel, and yes I did run lilo afterwards and did add the initrd.gz line. I run Ubuntu on the same laptop and have to boot into that and work as chroot in my Slackware partition to try and fix things.

View 14 Replies View Related

Debian :: System Mixed With Init?

Aug 28, 2015

ow Debian init system is organized actually (btw i am using stretch) ? I see systemd installed, with some services run from it (systemctl shows a small list), but at the same, i still see /etc/init.d full of traditional init scripts.

View 3 Replies View Related

Fedora :: Can't Boot System Even Into Init Mode 3?

Jun 24, 2011

I upgraded to Fedora 15 using preupgrade after I failed to upgrade or install it clean through DVD. But, after the preupgrade process finished, I can't boot my system even into init mode 3. I am able to boot into the init mode 1 and can see that many of the packages have been upgraded to fc15. I tried to start the x server from init mode 1. My nVidia screen even popped up. But after that the screen went totally blanked.

View 6 Replies View Related

General :: Informaton On Systemd Init System?

Jun 4, 2011

I've just upgraded to Fedora 15 and have been fiddling with the new systemd which replaces sysvinit. I googled quite a bit, but was really unable to find any real information about how it works and why it's better.

View 1 Replies View Related

Red Hat :: 5.3 Hang At INIT - Unable To Boot System Anymore

May 23, 2010

After a kernel update action, it seems that I'm unable to boot a system anymore. First off, after installing the kernel, and trying to shutdown to boot to the new kernel, the system replied with INIT: no more processes left in this runlevel. Kernel update was performed from to the following versions 2.6.18-128.el5.img -> 2.6.18-164.11.1.el5.img . The system is a VMWare virtual machine. When trying to reboot, the system passes GRUB, starts initializing and after loading the dm it stops for a few seconds at the message Waiting for new devices, show the following message:

Setting up new root fs no fstab.sys, mounting internal defaults. After this and a few other messages, it displays : INIT: version 2.85 booting INIT - No more processes left in this runlevel INIT: Id "x" respawning too fast : disabled for 5 minutes And then it just hangs. This is the output of my inittab:

[code]...

The system boots into failsafe, but still shows the errors mentioned.

View 5 Replies View Related

CentOS 5 :: Ctrl S During Init Script Can Cause System Hang?

Sep 6, 2010

I am running Centos 5.5 with all the GUI stuff, including nx server and webmin.Sometimes while watching the bootup messages because my eyesight is very poor.I hit <ctrl s> to pause the output so I can read some details. If I do this late in the init sequence - it often briefly stops the output then the screen disappears under a blue wash (presumably something to do with the GUI login screen ot screensaver??)but the login screen never appears. Also it seems that the script never completes because the imap, webmin and http servers don't appear to have started.

I haven't found any satisfactory way out of it. I can't get back to a console terminal (I've tried ctrl c, d, z, etc.). As luck would have it the nx server has started so I can open an nx session. If I open a terminal in an nx session as root.I can't do a normal restart (shutdown -r now). Nothing happens presumably it can't run the init script because it is still running.The only way I have found to get the system back to life is to run "shutdown -r -n now" in the nx terminal session.There are probably better ways out of this predicament that I am unaware of. Otherwise it is probably somewhere between an annoyance and a bug. I would be interested in any advice the centos "board" may have as to whether this is worth raising as a redhat bug.

View 3 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

General :: Gentoo - INIT Process Necessary For An Ultralight System Installation?

Jul 30, 2011

I am working on a light version of linux for no particular reason other than to see how small I could make it. I was wondering if INIT was necessary, or if I could perform all of the INIT-related tasks (fsck, unmounting, etc) by hand/bash scripts?

I do not need multi-user functionality (Or much of anything for that matter). I started off with a Gentoo base 2.0.2 Install with kernel 2.6.38.

View 2 Replies View Related

Ubuntu :: Targe File System Doesn't Have /sbin/init?

May 26, 2010

I have a Lenovo X60 with Intel Centrino Duo Core @ 1.83GHz 1.83GHz, and 0.99 GB of RAM. I am running a dual boot with Windows XP SP3 and the latest version of Ubuntu desktop. My problem is that after I ran the Defrag my C: drive in Windows, I can into my ubuntu.I was greeted with the following error message when i tried to boot into ubuntu {Target file system doesn't have /sbin/init}

View 2 Replies View Related

Slackware :: Software RAID 1 Versus LILO / Kernel-generic - ERROR: No /sbin/init Found On Rootdev

Jul 1, 2011

I'm currently trying to setup Slackware 13.7 on a server, using software RAID 1. I'm using the README_RAID.TXT document at the root of the Slackware disc as a reference. Anyway, here's what I have so far.

/dev/md1 -> /boot partition
/dev/md2 -> swap partition
/dev/md3 -> / partition

Code:

[root@raymonde:~] # fdisk -l /dev/sd{a,b}
Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes

[code]....

I created an initrd image using mkinitrd -F, added an according stanza to /etc/lilo.conf and ran 'lilo' after that. Now I can boot on the vanilla huge kernel all right. But I can't seem to boot on the generic kernel. Whenever I try to do this, the boot process stops short on the following error message:

Code:

mount: mounting /dev/md3 on /mnt failed: Device or resource busy
ERROR: no /sbin/init found on rootdev

View 5 Replies View Related

Ubuntu Installation :: 10.04 And 10.10 Recurringly Crash (target System Does Not Have Requested /sbin/init )?

Jan 16, 2011

After trying most of the solutions I could think of, including reinstalling and upgrading, I'm posting here hoping someone would take me out of this misery now.Laptop:thinkpad t500I was running Ubuntu 10.04 and it froze. I rebooted and it shows the following message and gives me the "initramfs" prompt:Quote:

BUG: unable to handle kernel paging request at 00f44000
...
...

[code]....

View 1 Replies View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 Replies View Related

Slackware :: Can't Reach Main Slackware Directory - Login Required

May 20, 2011

The Slackbook reads:

Quote: The precompiled Slackware kernels are available in the /kernels directory on the Slackware CD-ROM or on the FTP site in the main Slackware directory. I am unable to reach it, what's the proper login?

[Code]....

View 3 Replies View Related

General :: System-auth Configuration \ Can't Login And/or Can't Login In The GUI Interface And A Terminal?

Apr 20, 2010

I'm hoping someone can help me out.I made configurations changes to/etc/pam.d/system-auth and /etc/pam.d/login. When these files are configured the way they are, I can't login and/or I can't login in the GUI interface and a terminal. Contents of /etc/pam.d/login

Code:
#%PAM-1.0
#line added per security guide

[code]....

View 2 Replies View Related

Ubuntu :: On Booting System I Get Login Menu But Unable To Login, It Says Some Critical Error Occurred?

Mar 15, 2010

System was fine with :Ubuntu 9.04 (had also installed kde )then....I wanted to try some change to gdm so i downloaded gdm while building it , it asked "PAM" libraries to be installed so i installed PAM ... but ignored the instruction to reinstall SHADOW (library i guess..),Now :on booting system i get login menu but i am not able to login , it says some critical error occured

1) install new copy of UBUNTU and remove old

ps :1) i can log into system through live cd

2) i can use recovery mode boot and log into terminal as root(startx is not working from this terminal..

View 9 Replies View Related

Programming :: Init Scripts In /etc/init.d?

Sep 17, 2010

I have written an init script and placed it in /etc/init.d/ directory.What I would like to know is, will the script run automatically or we need to install the script using "install_initd" command.If I have to invoke this command manullay, what will be the best place to do this ? Can I add this to "/etc/init.d/rcS" file

View 6 Replies View Related

Debian :: INIT : Cannot Execute /etc/init.d/rc?

May 7, 2011

I'm trying to boot Emdebian lenny on my compact flash and it shows the following errors during boot time :

Code:
Mounting local filesystems ... done .
/etc/rc.d/S35mountall.sh : line 45 : uname : command not found .

[code]...

View 3 Replies View Related

Software :: Stuck In Init 3 Although Indicates Its Init 5?

Mar 17, 2011

openSUSE 10.3 on Itronix IX260+ Stuck on command line, init 3, and all attempts at graphic init 5 fail. Get these messages:(EE) No devices detected; Fatal screen error: no screens found; AIGLX disabled Primary Device is PCI 01:00:0kernel:device-mapper:multipath round-robin:version 1.0.0 loaderkernel:device-mapper:table:253:0:multipath: error getting device
kernel:device-mapper:ioctl: error adding target to tableProblem would seem to be with the device-mapper, but have no idea how to fix it.

View 3 Replies View Related

Slackware :: ERROR: Unable To Find File "slib/guile.init" In Load Path

Dec 3, 2010

trying to install gnucash 2.2.9 from SlackBuilds. I have the current versions of slib and guile installed (slib from slackbuilds and guile from slackware). when installing slib I get the following:

Executing install script for slib-3b2-i486-2_SBo.tgz.
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "slib/guile.init" in load path
Package slib-3b2-i486-2_SBo.tgz installed.

Slib is installed. Try to run gnucash and I get the following: gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

ERROR: In procedure primitive-load-path: ERROR: Unable to find file "slib/guile.init" in load path guile.init is in usr/lib/slib as it should be. I'm lost - where should I look next?

View 13 Replies View Related

Ubuntu :: Can't Login In Visual Login System

Jul 31, 2010

I was a user from China. I login Ubuntu 10.04 used gdm and kdm can't login. The login system just fash some times and go back to login sytem.

I can only use startx to login system.

And I see system Log, I find those log:

ul 22 23:02:04 owen-desktop gdm-session-worker[4623]: pam_unix(gdm:auth): conversation failed
Jul 22 23:02:04 owen-desktop gdm-session-worker[4623]: pam_unix(gdm:auth): auth could not identify password for [zou]

[Code].....

I didn't use Ubuntu for a long time for this issue.

View 2 Replies View Related







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