Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-18-2002, 02:05 PM   #1
LQ Newbie
Registered: Mar 2002
Posts: 19

Rep: Reputation: 0
Question Need LDAP-Netmeeting to start automatically

I'm sort of a linux newbie, although I've used it on and off for a couple of years. I've configured SuSE Linux 7.3 to run OpenLDAP to host a Netmeeting directory. I can get the directory to work when I run the 3 required commands manually. However, I haven't figured out how to get these commands to be executed automatically every time the machine is rebooted.

I followed the directions in the Netmeeting directory How-to, and downloaded the Netmeeting Directory kit from This kit included a file called slapd.rcd which is "For systems with /etc/rc.d/ style initialization scripts (like RedHat), the slapd.rc is provided to automate the starting and stopping of the slapds".

The commands I neet to have executed to start the Netmeeting Directory are:

bash# /usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf -u nobody

bash$ /usr/local/libexec/slapd h ldap://localhost:2345/ -f /usr/local/var/openldap-netmeeting/slapd2.conf

bash$ /usr/local/libexec/slapd -h ldap://localhost:2345/ -f /usr/local/etc/openldap/slapd2.conf

What is the best way to have these commands run each time the machine starts up? I've read and read, but can't seem to figure it out. In windows I could create a batch file and put it in the startup folder. Is there something similar in Linux or specifically SuSE 7.3?

Thanks in advance....JB
Old 03-18-2002, 02:55 PM   #2
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
I've been recommending this hack a lot lately. When in doubt, cheat. Every distro comes with a script that is run by init dead last. On most distros its /etc/rc.d/rc.local, but in SuSe its /etc/rc.d/boot.local, because SuSe has to rename everything. Its already a bash script so you can stick those three lines in there as is.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I automatically start a program at start up? victordh Linux - General 7 10-27-2013 06:02 AM
start LDAP on CENTOS! mumux Linux - Software 5 08-10-2005 06:00 PM
start apps automatically on start up? chunlee Linux - Newbie 3 09-04-2004 12:58 PM
Netmeeting <-> Linux FW <-> Netmeeting gboutwel Linux - Networking 0 11-10-2003 08:22 PM
X won't start automatically urinal cake Linux - Newbie 5 03-08-2002 05:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration