General :: Radius Has Started In Debugging Mode Upon Boot And Cannot Login
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
ADVERTISEMENT
Aug 5, 2010
i booted up my Ubuntu 10.04 and at the login promt I changed from GNOME to xterm session. Then i logged in and opened my programs and it didn't have the gtk theme enabled that i have when I start my ubuntu in GNOME session mode. How do i enable gtk themes there so everything looks pretty again? I like starting from xterm because it's very fast..
This is how it looks, notice the ugly buttons and everything... the gtk theme is not loaded and i don't know how to enable it..
[URL]
And here i will show you how it should look and how it normally looks with the gtk theme loaded up... basically i would like it to look like this even when i start it from xterm..
[URL]
Really, I would like to know how i can enable gtk themes when I run my computer in xterm session mode. Is there another application that i have to run? I don't want to run the full GNOME environment, i really don't.
View 3 Replies
View Related
Jun 10, 2009
i installed freeradius 2.1.3 on fedora 10 and want to use it with ieee802.1x using peap. when i run command to start radius service in debug mode the following output come
[Code]....
View 4 Replies
View Related
Nov 10, 2010
I am writing a device driver on x86 machine,Ubuntu distribution,kernel version 2.6.35.I want to debug my driver in kernel mode.I tried KGDB(Kernel Level Source Debugger).But support is given for kernel version 2.6.13.But I want to make KGDB work on version 2.6.35.Could anyone help me where can I get help to make KGDB work on 2.6.35 version?Or is there any other method to debug my driver using some other tool?
View 1 Replies
View Related
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
Oct 29, 2010
Ubuntu, and I sure know a little about Shell language. But now I need make my ubuntu boot into text mode directly and login automatically, without entering username/password by manual? I had make ubuntu boot into text mgrub fileRUB_CMDLINE_LINUX_DEFAULT="quiet splash text" , but I don't kown how to make system auto login. I'd like ubuntu login with administrator privilege then run some application automatically.
View 5 Replies
View Related
May 25, 2011
I am installing fedora 15 in vmware 7.1.4.It tells me "Gnome3 failed to load and started in the fall back mode" when accessed in live-cd.Ever since fedora 15 beta or any other distros take gnome3 as default destop,I haven't experienced a beautiful normal gnome3
View 14 Replies
View Related
Aug 13, 2011
i have installed Fedora 15 from USB and it error
Quote:
GNOME 3 Failed to Load
Unfortunately GNOME 3 failed to start properly and started in the fallback mode.This most likely means your system (graphics hardware or driver) is not capable of delivering the full GNOME 3 experience.
.The interface is now Gnome 2. I have not change screen resolution 1280�720, now is 1024x768.
Result of xrandr -q
Quote:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 0.0*
View 1 Replies
View Related
Jun 28, 2010
i want to do that whenever root is logged in he cannot get GUI mode,he only get text mode or virtual console mode.
View 6 Replies
View Related
Mar 22, 2010
I'm running debian lenny. Suddenly when I rebooted my system I was unable to login. I type root and the password and it tells me the login is incorrect.If I boot into single user mode, it accepts the password just fine. Looking in the /etc/shadow file, it appears to be fine as well.Running passwd to set a new password sets a new password just fine, i can login to single user mode with the new password, however, I cannot login at a higher runlevel with the password.
If I delete a password in the /etc/shadow file, then try to login as that user, it simply says "Login Incorrect" without even asking for a password.
View 14 Replies
View Related
May 24, 2011
I am facing the problem that when I login to the machine in graphical mode the machine get reboot and same time when I login to the same machine through ssh using another machine, it is successfully login to that machine,and also ,if I do ctr+lalt+f1 and login to the machine in text mode it also works,
I am using Centos 5
View 1 Replies
View Related
Sep 30, 2010
I have installed FreeRadius to a Debian Linux server.
I have configured an account called Support to run the Radius as I didnt want Root to be the user to run this.
I want Radius to start up automatically after the system is rebooted but I don�t know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?
I have had a good search about scripts but with my limited knowledge it isnt too easy.
So far Ive read it says to create a script in /etc/init.d which Ive done and named start-my-radius.sh I think Ive made It execuatable by chmod 777, if thats right?
The script looks like this:
But I dont know if thats even right? The radiusd is located in the /usr/local/sbin/ and the radacct and radius.log is located in / usr/local/var/log/radius
Some stuff I have read says it needs to link into /etc/rc.d but there isnt a rc.d directory, I have other rc directories which are rc1.d rc6.d.
After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.
Let me know if I am on the right track? Will the start-my-radius.sh script work after the system is rebooted without someone actually login and how do I get it to work?
View 1 Replies
View Related
Oct 12, 2010
My startup script for Radius now works so it starts at boot time, the script is in /etc/init.d and looks like this
#!/bin/sh
/usr/local/sbin/radiusd -d /usr/local/var/log/radius/radacct/ -d /usr/local/etc/raddb/
After rebooting radius starts up automatically which is what I want.
However for security I dont want this to run under root, but I want to it run under a user and group called support
I have edited the radius.conf file and added
# for some finer-grained access controls.
#
user = support
group = support
[Code]....
View 5 Replies
View Related
Oct 3, 2010
i want to use squid with free radius and mysql. i am able to authenticate user if i am changing client browser. but i want to do authetication authorization and accounting without doing any change in client browser( transparent mode).
View 5 Replies
View Related
Apr 14, 2010
I've set up a triple boot system (Ubuntu Karmic, Windows Vista and OSX86 -- a patched OS X which works on a PC) on a Dell 9200 (C2D 2.13 GHz, 4GB RAM, nVidia G210). I sue Grub2 as the bootloader and update-grub picks up OS X and it boots without any problem.
However, although when booting OS X using its own Darwin bootloader, I can apply the boot option "Graphics Mode"="1680x1050x32" to ensure that I get the screen resolution that I want, when OS X boots from Grub2, the only resolution available is 1024x768 which is disappointing. I have tried adding gfxmode=1650x1050x32 to the OS X section of /boot/grub/grub.cfg in Ubuntu but this does nothing.
View 3 Replies
View Related
May 17, 2011
just upgraded to gnome 3.0.1 but it started in fallback mode ...! and i really don't know where to go next Here is my kernel version
Code: OpenSuSe 11.4 Linux linux-6rb4.site 2.6.37.6-0.5-default #1 SMP 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux Here is hardware
System : LapTop HP G62
Processor : Intel® Coreâ„¢ i3 CPU M 350 @ 2.27GHz × 4
Graphic : Intel® Ironlake Mobile GEM 20100330 DEVELOPMENT x86/MMX/SSE2
View 9 Replies
View Related
Aug 30, 2010
Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
View 3 Replies
View Related
Dec 14, 2010
I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx
View 2 Replies
View Related
Apr 23, 2010
how do I make grub boot to allow me to choose, like safe mode and normal mode and all that second, how do I do automated back ups (preferably using file copy) for something like every sunday at 11:00 am using the command line, i use to know but forgot.
View 1 Replies
View Related
Nov 18, 2010
I attempted to install Catalyst 10.11 for my ATI HD 2600XT and the system now only displays lines and a large block of pixels where the mouse would go. CTRL-ALT-F1 kills the system and does not provide a command prompt. This is a single installation, not dual-boot, but there is no Press Esc to access the Grub menu during startup so I cannot choose safe mode. I attempted to get into Recovery mode using the flash drive that I used to install the system and it tells me there is no Recovery kernel (I used the 64-bit Desktop installer, not alternative). Does anyone know an alternative to get into the Grub menu other than ESC during bootup? Alternatively, do I need to download the 64-bit Alternative ISO and create a new boot disk with it so I can access Recovery mode? Is there something else I'm not thinking of?
View 5 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
Mar 10, 2011
I need boot in emergency mode (not single user mode), from docs:
[URL]
in red hat enterprise 5 it's ok, not in red hat 6.
View 1 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
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
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
Jul 23, 2010
I'm working from the set of Debian instructions following this post. I have saved the correct image file to my USB flash drive per the instructions for Intel x86. I've got a Celeron HP, 512 RAM, 1.3 Ghz processor, XP Home SP3. After saving file to USB flash drive, I extract file and a single boot file then appears next to zip folder. I tried extracting by command: # zcat boot.img.gz > /dev/sdX and that does not work; not recognized or something (I'm going from memory). Command line is C:/User/Docs and Settings or such, no option for G: drive in Command line, if that helps. I am no Command line pro. Got there by Accessories/ Command line. (Is this the same thing as Start/Run/msconfig, dnsflush etc?)So since I can't extract with Command line it follows that the "mount" instructions don't work for me either: mount /dev/sdX /mnt. So I just re-booted with USB drive in, and pressed Del and Esc alternately like a madman for about 5 boots, but does not open in BIOS; instead Windows opens normally.
I know my way around a little PHP/MySQL/Javascript libraries, but if the Linux world is this difficult at the outset, I can only imagine the nightmare I'm in for if I succeed in getting my system converted--which is what I would want to do--not set up partitions, etc. There is an all-in-one file hd-media/boot.img.gz which contains all the installer files (including the kernel) as well as syslinux and its configuration file.Note that, although convenient, this method does have one major disadvantage: the logical size of the device will be limited to 256 MB, even if the capacity of the USB stick is larger. You will need to repartition the USB stick and create new file systems to get its full capacity back if you ever want to use it for some different purpose. A second disadvantage is that you cannot copy a full CD image onto the USB stick, but only the smaller businesscard or netinst CD images.After that, mount the USB memory stick (mount /dev/sdX /mnt), which will now have a FAT filesystem on it, and copy a Debian netinst or businesscard ISO image to it. Unmount the stick (umount /mnt) and you are done.
View 7 Replies
View Related
May 11, 2011
I have never touched Linux. Always been intrigued, but never toyed around with it until now. So please bear with me. I normally run Windows 7 Pro but would like to dual boot Ubuntu. I have installed Ubuntu 11.4 with Wubi 4-5 times, and it starts out fine, and then stops working on me. I tried recreating it to see what was causing the problem, but with no avail. The problem it has is as soon as I pick Ubuntu from the GRUB it boots to some sort of bootup (non GUI) and gets to a point where it says something about a system audit, and never loads from there. The only way to fix it is to uninstall Ubuntu (through Add/Remove Programs) and reinstall.
I am not in a place where I can partition drives or anything like that. I do not care so much about using Wubi, but either that, or help booting from a USB would work fine for my needs.
View 1 Replies
View Related
Jul 18, 2011
I've got CentOS 6 installed and am wondering if it's necessary to have installation media in order to run 'linux rescue'. (I have to do some LVM resizing and would rather do it from rescue mode than in a running system.)
What I've read about booting into linux rescue is that it seems to be necessary to have installation media and boot into that. But I'm wondering if it's possible to do it some other way, like from the grub menu? But it doesn't seem to be possible to enter 'linux rescue' from the grub command line (which I got to by typing 'c' in grub menu screen) - typing 'linux rescue' at grub command line says 'command not found'.
Maybe there's another way to do this? Or some fancy way to have loaded a rescue image or something onto my disk so I don't need installation media. There's 2 reasons why I'd like to enter linux rescue without installation media, both because my computer is very old. 1) My computer can't boot from USB, and 2) My CD/DVD tray is very unstable and keeps popping out intermittently, so I'd need to hold the tray in place during the whole LVM process and it's a real pain, and I wouldn't want to risk data corruption if the process is interrupted by my CD/DVD tray popping out.
I'm hoping there's some way - it'd also be nice to know how to do this if some urgent situation arose where I needed to enter linux rescue mode but didn't have installation media handy and it'd take to long to retrieve or create new installation media.
View 3 Replies
View Related
Feb 26, 2010
I am running Ubuntu 9.10, and every time the computer starts, cups does not appear to be running. I have to run the following from the command line:
Code:
sudo /etc/init.d/cups start
After cups is started, printing works fine. Does anyone know how I can get cups to start on it's own when the computer boots?
View 9 Replies
View Related