Re: startup scripts not working
O/H Howard Goldstein έγραψε: None of the scripts work, they show the same behavior, and i ran them as root. I don't have any of those installed but most of the local rc.d scripts need an enable flag in /etc/rc.conf . Take a look at your rc.d scripts and see if they need them to. You can also run these with -x to see what's happening (eg., sh -x /usr/local/etc/rc.d/apache22 start) Since the original question has been answered I'll just add a little more detail. Whenever you install some software that has a run script in /usr/local/etc/rc.d, there is an easy way to figure out which parameters need to be enabled in /etc/rc.conf. Just run the script with the "rcvar" parameter. (eg /usr/local/etc/rc.d/apache22 rcvar) The same applies for system services (sshd, inetd) that have their start scripts in /etc/rc.d -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: startup scripts not working
Ghirai wrote: > Hello list, > > Suddenly, the startup scripts for various applications won't work. > I have these in /usr/local/etc/rc.d: > apache22, ircservices, postgresql, pure-ftpd, unrealircd > > When i run any of them without parameters, they give out the parameters. > But when i use any of the params, nothing happens. > > Starting the binaries themselves (from /usr/local/sbin, etc, > depending on the application) works, and the applications > themselves work fine. > > None of the scripts work, they show the same behavior, > and i ran them as root. > > I'm running 6.2-RELEASE-p4. > > Any hints/help is appreciated. > > Thanks. > I suggest you investigate what happens in your /etc/rc.conf script. For example is there an apache22_enable="YES" line in there? If not, running the /usr/local/etc/rc.d/apache22 start command will have no effect. Is it possible that somehow your /etc/rc.conf script is somehow damaged / renamed ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: startup scripts not working
Hello Howard, Friday, May 11, 2007, 1:09:01 AM, you wrote: > Ghirai wrote: >> Hello list, >> >> Suddenly, the startup scripts for various applications won't work. >> I have these in /usr/local/etc/rc.d: >> apache22, ircservices, postgresql, pure-ftpd, unrealircd >> >> When i run any of them without parameters, they give out the parameters. >> But when i use any of the params, nothing happens. >> >> Starting the binaries themselves (from /usr/local/sbin, etc, >> depending on the application) works, and the applications >> themselves work fine. >> >> None of the scripts work, they show the same behavior, >> and i ran them as root. > I don't have any of those installed but most of the local rc.d scripts > need an enable flag in /etc/rc.conf . Take a look at your rc.d scripts > and see if they need them to. You can also run these with -x to see > what's happening (eg., sh -x /usr/local/etc/rc.d/apache22 start) You were right, i forgot to add the flag in rc.conf. Thanks for the quick replies everyone. -- Best regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: startup scripts not working
Ghirai wrote: Hello list, Suddenly, the startup scripts for various applications won't work. I have these in /usr/local/etc/rc.d: apache22, ircservices, postgresql, pure-ftpd, unrealircd When i run any of them without parameters, they give out the parameters. But when i use any of the params, nothing happens. Starting the binaries themselves (from /usr/local/sbin, etc, depending on the application) works, and the applications themselves work fine. None of the scripts work, they show the same behavior, and i ran them as root. I don't have any of those installed but most of the local rc.d scripts need an enable flag in /etc/rc.conf . Take a look at your rc.d scripts and see if they need them to. You can also run these with -x to see what's happening (eg., sh -x /usr/local/etc/rc.d/apache22 start) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
startup scripts not working
Hello list, Suddenly, the startup scripts for various applications won't work. I have these in /usr/local/etc/rc.d: apache22, ircservices, postgresql, pure-ftpd, unrealircd When i run any of them without parameters, they give out the parameters. But when i use any of the params, nothing happens. Starting the binaries themselves (from /usr/local/sbin, etc, depending on the application) works, and the applications themselves work fine. None of the scripts work, they show the same behavior, and i ran them as root. I'm running 6.2-RELEASE-p4. Any hints/help is appreciated. Thanks. -- Best regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"