General :: Get Radius To Start After A Reboot ?

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


ADVERTISEMENT

Server :: Trying To Get Radius To Start After Reboot Automatically

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 didn't 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 isn't too easy.

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.Please can someone help out with this and 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?Please explain clearly as this is all a bit technical for my liking and not understanding it well!

View 2 Replies View Related

Fedora Networking :: Start Radius Service In Debug Mode + 10 + Errors

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

General :: ASM Will Not Start Automoatically After A Reboot

Nov 3, 2010

Running close to a go live date of 11/10/10 and need to have this fixed. DBA is pointing to the OS which is RedHat Enterprise Release 5.3. with Oracle RAC 10G

Oracle works fine it just won�t start up automatically after a reboot. After a reboot a person with root access has to increase the number of semaphores and then oracle will start and function. The next time the machine is bounced the same issue will arise and the semaphores need to be increased again by hand. Every time the machine is bounces the semaphores need to be increased by hand. This is not normal for a Unix machine. Semaphores are not part of the oracle install, it is a kernel parameter on Unix machines. Eventually after several reboots the semaphore parameter will be too high for the box to function. Once the semaphores have hit their peak, we reset them back to the original value and the whole process starts over again. This is a Unix build issue that has only surfaced on the production machines. The DAS development machines have the exact same oracle build and do not have this issue.

View 1 Replies View Related

General :: Unable To Start Winbind After Reboot

Jan 9, 2011

After adding the box to the domain I restart the box, since then the Winbind service stops working and I 'm not able to start it.

when I do Service Winbind Start it tells me FAILED .

What would cause the Winbind service to stop working?

View 6 Replies View Related

General :: Reboot The Server The Process Doesn't Start?

Mar 5, 2011

I need help adding a nohup command in this command line: su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhyth" When I execute the script using root on the command line it works fine. But, when I reboot the server the process doesn't start. This script will go into the etc/init.d and rc2.d directory.

#!/bin/bash
case $i in
start)
su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhythx"
;;

[Code]...

View 2 Replies View Related

General :: Configure Radius To Run Script Under Different User

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

General :: Use Squid With Free Radius And Mysql?

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

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 View Related

General :: Embedded Reboot Crash - Error Executing The Reboot Command

May 4, 2011

I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.

View 2 Replies View Related

General :: Will Not Reboot After Install (Arch) - -bash: /sbin/reboot: Input/output Error

Oct 7, 2010

I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.

View 6 Replies View Related

Fedora Installation :: 12 Doesn't Start After Reboot?

Dec 9, 2009

I just installed Fedora 12 on my HP laptop. And everthing has gone smooth, and I decided to reboot my machine. And it rebooted and the Fedora Loading logo camep and after it finished, it went to a black screen with a "|" just flashing and it's stuck on that

View 8 Replies View Related

Ubuntu :: OpenVPN Server Won't Start After Reboot

Jul 15, 2010

I had recently setup an OpenVPN server on x64 10.04 via the guide found at: [url]

Everything was working perfectly, all clients were able to connect etc.

Today I needed to reboot for a completely unrelated issue - only to find that upon logging in, openVPN was no longer running.

When I tried to execute 'sudo /etc/init.d/openvpn start' I'm presented with an interesting message...

This *used* to say Server. I've double checked all the configs and scripts used in the config and they all check out OK. I purged and reinstalled openVPN to no avail...

View 2 Replies View Related

Ubuntu :: Can't Get ISCSI Initiator Start After A Reboot

Oct 19, 2010

I am currently wanting to connect to an NAS unit that I have. I have installed open-iSCSI and have made the following changes to the iscsi_conf file:

Quote:

# To set a CHAP username and password for initiator
# authentication by the target(s), uncomment the following lines:
node.session.auth.username = "user"
node.session.auth.password = "12 digit pass"

[Code].....

My goal is to get the iSCSI initiator to connect after a reboot. Mounting after connecting I am sure this will be another challenge.

View 1 Replies View Related

Server :: After Reboot Tomcat 5 Will Not Start On RHEL3

Mar 20, 2011

We have three production websites running on RHEL 3 AS running tomcat 5. After a reboot last night Tomcat will not start and has the following in the catalina.out log:

Mar 20, 2011 4:09:31 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org/apache/naming/resources/ProxyDirContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308) .....

I have spoken with our Java Developers and they seem to think it is something up between httpd and tomcat at an OS level. Since Tomcat is not starting and giving an error that it is all ready running, I think you have a stale lock file. Look for the file /var/run/tomcat5.pid and cat or less it to see what the PID number is. If it matches the error, then delete the file and try to start Tomcat again. It should start this time.

Most common problem with Tomcat5. Try following :
1) Search PID in /tmp, if found delete it or else stop your tomcat.
2) Undeploy your application
3) Check out this link [URL] to know what causing tomcat to generate this error.

If none of them work then check your application configuration settings. [URL]. When I do start tomcat it appears to start:

[root@RPSI-2 san00]# service tomcat5 start
Starting tomcat5: Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME: /usr/java/jdk1.6.0
[root@RPSI-2 san00]#

But then I try to find if it is running via ps -ef | grep tomcat5, I only receive my query. I perform the same query on Java and it also only returns my query.

View 8 Replies View Related

Server :: Dovecot Failed To Start After Reboot

Mar 19, 2011

Few days ago we had a server maintenance. The system was shutdown, we fix the CPU fan, and start the system again. But somehow when the system starts, our IMAP server - dovecot is not running. It just sit like a rock. Because the machine had a CPanel/WHM, I tried to restart dovecot using cpanel and got a message:

Code:

That was not really useful....

When I tried to restart dovecot using command line, I got nothing. really nothing.

Code:

How to find out what happens to my IMAP/dovecot? And anyway to make it run again?

I'm using CentOS 5.5 X64 with dovecot 1.2.16

View 5 Replies View Related

OpenSUSE :: Can Only Start Firefox Once Have To Reboot To Get It Open A 2nd Time

Aug 28, 2011

I will open firefox then scroll to file-quit firefox, firefox closes fine but when i want to open firefox again it wont, i have to restrate opensuse 11.4 linux 2.6.37.6-0.7 kde 4.6.0.0.

View 3 Replies View Related

OpenSUSE Install :: SUSE 11.3 Wont Start After PC Reboot?

Oct 4, 2010

I recently installed open SUSE 11.3 on my computer which I built myself and the problem I have is after rebooting the computer, I get a black screen. It will not boot the operating system. Here is my component specification:

Video Card: BFG GeForce 8800GTX 768MB 384-bit GDDR3 PCI Express
Motherboard: DFI LP DK 790FX-M2RS AM2+/AM2
CPU: AMD Phenom II X4 955 Black Edition 3.2GHz
Memory: CORSAIR XMS2 4GB (4 x 1GB) DDR2 800 (PC2 6400)
HD: Western Digital Caviar SE16 320GB 7200 RPM 16MB Cache SATA 3.0Gb/s

Another question is, where can I purchase SUSE 11.3 and if I do purchase, will I get help on the phone installing it ? Pleas keep in mind that I have little experience with SUSE Linux.

View 9 Replies View Related

Ubuntu Networking :: Proxy Wont Start Until A Reboot?

May 4, 2010

Everytime i start my computer, proxy server (with transparent proxy) wont start at first boot. It produces an error when i tried to start it manually (from webmin).

Code:
2010/05/05 05:51:58| parseConfigFile: squid.conf:4970 unrecognized: 'httpd_accel_host'
2010/05/05 05:51:58| parseConfigFile: squid.conf:4971 unrecognized: 'httpd_accel_port'
2010/05/05 05:51:58| parseConfigFile: squid.conf:4972 unrecognized: 'httpd_accel_with_proxy'
2010/05/05 05:51:58| parseConfigFile: squid.conf:4973 unrecognized: 'httpd_accel_uses_host_header'
Rebooting the computer fixed it.

Is there a way to make it work the first time i turn on my computer? Those errors, httpd_accel, i enter those manually in squid.conf.

View 1 Replies View Related

Ubuntu :: Gnome-schedule Doesn't Start At Reboot

Jun 6, 2010

I've scheduled a task in gnome-schedule to run at each reboot. When I click on "preview task" it initiates a one-time run just fine. However, after reboot it just doesn't want to start the task.

View 3 Replies View Related

Ubuntu :: Directory Is Corrupted During A Cold-start Reboot

Jul 3, 2010

I urgently need expert assistance. During a cold-start reboot, something corrupted my / directory making it impossible to access much of anything. I was able to log into a recovery console and do "ls /" which shows most of the critical directories although "media" is missing. However attempting to "ls /home" gets the "no such file or directory" error message, as do attempts to ls most of the others. Doing "ls -l /" gets one item listed, followed by a single record out of /var/log/syslog, then nothing at all.

Attempting a normal login (I've disabled the quiet and splash options, so I see all the startup messages) gets to doing fsck on the swap partition, and that stalls out at 14% complete. The fsck on the root partition completed okay, apparently. This machine is my router, firewall, FTP server, and also hosts VirtualBox VMs that contain all of my customer support tools. The VMs themselves are partially backed up on another box, fortunately, but it took me a couple of months to get the failed box configured properly so if possible I need to recover it. For lack of space, I've never been able to do a full backup of it -- and permissions have foiled portions of all my other backup attempts on it.

Complicating matters is the fact that I have a moderately large data recovery job scheduled to arrive this evening (July 3) to be done while the customer's business is shut down for the holiday. Without the FTP server I'm unable to receive the files, which will total from 100 to 200 MB in all. Is it likely that testdisk may be able to rebuild the borked main root directory, if run from a live CD? The system is Hardy LTS 8.04.4, with 3 GB of RAM and a 250 GB SATA drive. I'm posting this from my WinXP laptop, which doesn't get along with my LAN so connects from a different router than the one that's down.

View 3 Replies View Related

Ubuntu Servers :: VMWare Server Does Not Start After Reboot

Nov 30, 2010

Ok so I followed the instructions here [url] and this works great for the install however if the machine is rebooted the VMWare server refuses to start back up stating that it knows that its installed but it was not installed with the right installer.

This is on a Dell Server I can't remember the model right now but its got Dual PIII in it. I'm running Ubuntu Server 32bit 10.10 on the box as well. Thank you in advance for your assistance with this. Once I get this first server figured out I'll get my other one fired back up.

View 2 Replies View Related

Software :: MD Raid5 Kicked Out Two Members And Won't Start After Reboot

Apr 14, 2010

Suddenly I noticed that all my file system had gone into read-only mode. My first thought was that the Sata data cable had got loose for one of the drives, but that wasn't it. All cables were connected correctly. So I booted up again, but I only came to a rescue mode terminal.

I have four software MD raid volumes:

Code:

Running mdadm -D on the volumes told me that the sdc drive had been kicked out from both md0 and md1. However, md3 had kicked out two drives, so I couldn't get any information from mdadm -D on that. For md0 and md1 I could just add the kicked-out partitions back into the volume, but for md3 I don't even know which partitions got kicked out...

Here are some outputs:

Before I rebooted the first time I saved the 200 last rows of dmesg to a memory stick. Here they are:

Code:

Trying to restart the md3 volume in the rescue mode terminal:

Commands:

Code:

Output:

Code:

The "Array State" row seems interesting. I guess that AAAA means all four drives are OK. But then why does the array state differ between the members?

Does anyone know how to figure out which two members that got kicked out? And how do I get them back in (assuming that they're OK)?

View 3 Replies View Related

Ubuntu :: Wireless Constantly Fails \ Reboot But It Will Start To Fail Again?

Mar 19, 2010

reason my wireless is constantly failing. the only solution is a reboot but it will start to fail again. I use hp mini 210 ubuntu netbook remix.here is a log file

Mar 19 19:37:37 nicky-laptop NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Mar 19 19:37:37 nicky-laptop NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (

[code]...

View 4 Replies View Related

Ubuntu Servers :: How To Start Automatically Vsftpd In Server After Reboot

Aug 5, 2010

how to start automatically vsftpd in my server after reboot?

View 5 Replies View Related

Ubuntu :: Make Kde Not To Start/memorize Previous Session After Reboot?

Aug 25, 2010

i am one gnome-user, but need to set up kde/Kubuntu/Mint 9 KDE on my wifes computer. So, i have few questions:

1) how to make kde not to start/memorize previous session after reboot?

2) in gnome-power-manager i can read Battery Health (mAh, Design Capacity...)-something like that in KDE? In KDE Power manager i have no such readings.

3) is there some cleaning tool as for gnome ubuntu-tweak?

View 5 Replies View Related

Ubuntu :: Automatically Start Lsyncd Daemon On Server Reboot?

Jun 14, 2011

My problem now is that lsyncd does not automatically start if the server reboots. I need lsyncd to start automatically also using the --delay 5 option.

I've had trouble finding any info on this other that some Japanese sites (I cant read japanese) using chkconfig, although it didn't work as I think chkconfig is depreciated anyway.

View 3 Replies View Related

Slackware :: Put Slackpkg On The Current Mirror - Reboot The System And KDM Don't Start

Mar 10, 2011

I put my slackpkg on the Current mirror, to install all the new sofware, including the new kernel... Now I tried to reboot the system and verify the speed of the all new packages, but KDM don't start! When I call KDM, it shines a little, show the mouse pointer and backs to term. When I call the XDM its a little different, it let me put my user and password, but after back to term too...

View 10 Replies View Related

Fedora Installation :: Force The Gnome Fallback To Start Up Directly On A Reboot?

Aug 12, 2011

After a great deal of pain I have Fedora 15 running in Virtual Box 4.1 on a older Mac Book Pro running Lion. When I boot Fedora 15 I get a black screen. I can get a virtual console by banging on the fn ctrl option f2 keys I can then use 'startx' to get another black screen but clicking around for a bit gives me the gnome fallback windowing. Is there any way I can force the gnome fallback to start up directly on a reboot?

View 5 Replies View Related

Ubuntu Networking :: Likewise-open Lsassd Service Won't Start After Reboot?

Jul 27, 2010

Im having an issue after I install likewise-open it works fine until i restart the machine the lsassd service won't start for any reason and it's status is dead. Any one run into this issue before?

View 9 Replies View Related







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