Displaying 20 results from an estimated 42 matches for "condrestart".
2006 Aug 18
3
RH init scripts busted ?
...4.3), and RedHat''s killproc is annoying me again.
The process is called ''ruby'' instead of ''puppetmasterd''.
$ ps 7869
PID TTY STAT TIME COMMAND
7869 ? Ss 0:00 ruby /usr/sbin/puppetmasterd [ etc ]
So, service puppetmaster restart|condrestart|stop all fail because RH is
looking for a process called /usr/sbin/puppetmaster, and not ruby.
I''m wondering if anyone else is having problems with this ?
thanks,
-sharif
2010 Sep 20
1
SerNet Samba Updates
...all at SerNet for the timely updates to your Samba packages!
Your CentOS rpms do not automatically restart Samba after an update, so
"yum update" must be followed by "service smb restart". Is this a
deliberate design?
Most RHEL/Fedora daemon packages include a "service x condrestart" in
the postinstall script, so that yum updates can be completely automatic.
Moray.
"To err is human.? To purr, feline"
2005 Oct 24
1
starting a java application as a service
.../usr/bin/jes -K
killproc jes
rm -f /var/lock/subsys/jes
echo
}
[ -f /usr/bin/jes ] || exit 0
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
;;
condrestart)
[ -e /var/lock/subsys/jes ] && (stop; start)
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|condrestart}"
exit 1
esac
exit 0
sample configuration file:
# Options to Jes server for secure javelin connections
# VTNAME IP address of NSVT host...
2006 Jun 21
2
startup script for icecast
Hello,
I was wondering about the feasibility of including a startup script for
icecast for redhat/fedora installs? I've had to do an rpm install on an fc4
box, and a source install, rpms couldn't be found for an rh9 machine, yah i
know that's old. And in both cases i had to drop in a custom-made startup
script, see below. I was wondering esepcially in the case of the rpm, and
2005 Dec 05
1
ANNOUNCEMENT: NSD 2.3.2 released
NSD 2.3.2 is a bugfix release.
Please see the README document for configuration and installation
instructions.
You can download NSD from http://www.nlnetlabs.nl/nsd/
Note: we switched to SHA-1 for tarball digest.
2.3.2
=============
FEATURES:
- Bug #101: add support for the SPF record.
BUG FIXES:
- Bug #100: replaced non-portable use of timegm(3) with
portable
2007 May 19
1
Oddity with 4.5 and linode.com
I just did a "yum update" on my linode instance to update from 4.4 to 4.5.
That worked just fine.
But on reboot it took 3 minutes to do the "checking for new hardware" stage.
I initially thought that's because of a new release, so I did another reboot.
That also took 2 minutes.
OK, a minor issue (I don't reboot often) but... dunno if this is a UML
issue or a linode
2007 May 31
0
suggestion of service
...t; echo -n $"Kill rngd services: "
> killproc rngd
> }
>
> case "$1" in
> start)
> start
> ;;
> stop)
> stop
> ;;
> restart|reload)
> stop
> start
> ;;
> condrestart)
> if [ -f /var/lock/subsys/rngd ]; then
> stop
> start
> fi
> ;;
> status)
> status rngd
> RETVAL=$?
> ;;
> *)
> echo $"Usage: $0 {start|stop|restart|condrestart|status}"...
2015 Dec 15
2
CentOS 7 (1511) is released
On 12/15/2015 02:23 PM, Dennis Jacobfeuerborn wrote:
> On 15.12.2015 03:22, John R Pierce wrote:
>> On 12/14/2015 3:46 PM, Wes James wrote:
>>> I just updated to 7.2 from 7.1. I did lsb_release -a and it says
>>> 7.2.1511. I haven?t rebooted yet, which items would run with new
>>> binaries, anything that isn?t running yet? Ssay I had apache running,
2010 Dec 10
0
Fwd: Problem of updating openssh-4.4p1 to openssh-5.5p1 with MAX_ALLOW_USERS option
...; and configured with this additional options:
> # ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ipv4-default
--with-pam --without-4in6 --without-zlib-version-check
> # make
> # make install.
>
> After compiling and restarting service ssh (# service sshd
condrestart) we had possibility to connect many parallel users to our
server.
>
> Now we want to update a version of OpenSSH from openssh-4.4p1 to
openssh-5.5p1 but have a problem with the maximum quantity of line
"AllowUsers" in file "/etc/ssh/sshd_config" after such o...
2014 Aug 10
3
ipset module loaded at startup on CentOS 6.5
Anybody on here successfully get ipset iptables sets to work _after_ a
reboot?
My question on StackExchange
http://unix.stackexchange.com/questions/149536/upon-bootup-all-iptables-are-lost-because-the-kernel-module-ip-set-is-not-loade
Some of the things that need to be in place, otherwise iptables does not
load:
1.) The kernel module ip_set needs to be loaded.
2.) The "sets" need to be
2006 May 03
3
Starting tomcat on bootup
I just installed Tomcat and when I run the chkconfig -add tomcat, it tells
me that tomcat does not support chkconfig.
Suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060502/a84cc5cb/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
2003 May 05
1
dovecot.spec
hi,
I'm just recoginze that dovecot contains an rpm spec file. unfortunately
it's not too useful since an
rpm -ta dovecot-.x.y.tar.gz
can't be used since just the dovecot.spec.in is in the tarbar and not
the actual spec file (which is in this from not useful in the above
form). anyway here is my patch to the spec.in.
--
Levente "Si vis pacem
2015 Mar 24
2
error building php spec file
...="%{buildroot}"
%clean
rm -rf %{buildroot}
%post
%/sbin/chkconfig php-fpm on
%preun
if [ "$1" = 0 ] ; then
/sbin/service php-fpm stop > /dev/null 2>&
/sbin/chkconfig --del php-fpm
fi
exit 0
%postun
if [ "$1" -ge 1 ]; then
/sbin/service php-fpm condrestart > /dev/null 2>&
fi
exit 0
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_sbindir}/*
%{_includedir}/*
%{_libdir}/*
%{_mandir}/man1/php*
%{_sysconfdir}/*
%{_datadir}/*
%{_initrddir}/*
%exclude /.channels
%exclude /.depdb
%exclude /.depdblock
%exclude /.filemap
%exclude /.lock
%changelog
*...
2001 Feb 18
3
PATCH: Round 2: RH initscripts backward compatibility
...AL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd
- fi
- echo
+ sshd_stop
;;
restart)
- $0 stop
- $0 start
+ sshd_stop
+ sshd_start
+ ;;
+ reload)
+ echo -n $(localized $"Reloading ${PROG}: ")
+ killproc "${SSHD}" -HUP
RETVAL=$?
+ echo
;;
condrestart)
- if [ -f /var/lock/subsys/sshd ] ; then
- $0 stop
- $0 start
- RETVAL=$?
+ if [ -f "${LOCKFILE}" ] ; then
+ sshd_stop
+ sshd_start
fi
;;
status)
- status sshd
+ status "${SSHD}"
RETVAL=$?
;;
*)
- echo "Usage: sshd {start|stop|restart|status|...
2007 Sep 03
0
How to - Samba, winbind and Active Directory
...k that we can write to it... so non-root users
stop here
[ -w /etc/samba/smb.conf ] || exit 0
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
reload)
reload
;;
status)
rhstatus
;;
condrestart)
[ -f /var/lock/subsys/smb ] && restart || :
;;
*)
echo $"Usage: $0
{start|stop|restart|reload|status|condrestart}"
exit 1
esac
exit $?
____________________________________________________________________________________
Building a webs...
2015 Dec 15
0
CentOS 7 (1511) is released
...;>
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
> No they don't (opposite to e.g. Debian).
If updated via rpm/yum, they do a "condrestart", but OPs
context is an 7.1503 to 7.1511 "upgrade". Thus, the execution
environment changes significantly (glibc, kernel etc.) and
this should be addressed with a reboot. If in the future only
a "service" (e.g. httpd) gets an update, then rpm handles the
restarting pro...
2015 Dec 15
2
CentOS 7 (1511) is released
..._______________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>>>
>>
>> No they don't (opposite to e.g. Debian).
>
>
>
> If updated via rpm/yum, they do a "condrestart", but OPs
> context is an 7.1503 to 7.1511 "upgrade". Thus, the execution
> environment changes significantly (glibc, kernel etc.) and
> this should be addressed with a reboot. If in the future only
> a "service" (e.g. httpd) gets an update, then rpm handles...
2015 Dec 15
1
CentOS 7 (1511) is released
On 12/15/2015 08:51 AM, Greg Lindahl wrote:
> The change was made years ago. From the lack of screaming, you can
> tell that rpm is being reasonably clever about it.
I can find no evidence that rpm does anything of the sort. httpd
restarts on upgrade because its maintainers included a command to do so
in the %posttrans scriptlet.
> Apache, for example, checks its config syntax before
2010 Dec 10
1
Problem of updating openssh-4.4p1 to openssh-5.5p1 with MAX_ALLOW_USERS option
...???10000 ????/* Max # groups on deny list. */
and configured with this additional options:
# ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ipv4-default --with-pam --without-4in6 --without-zlib-version-check
# make
# make install.
After compiling and restarting service ssh (# service sshd condrestart) we had possibility to connect many parallel users to our server.
Now we want to update a version of OpenSSH from openssh-4.4p1 to openssh-5.5p1 but have a problem with the maximum quantity of line "AllowUsers" in file "/etc/ssh/sshd_config" after such operations as we had done...
2008 Jun 17
1
Bug in dhclient-script for ntp.conf in Centos 5?
...onf;
done
echo "$localClockFudge" >> /etc/ntp.conf;
if [ -x /usr/bin/diff ] && /usr/bin/diff -q /etc/ntp.conf /etc/ntp.conf.predhclient >/dev/null 2>&1; then
: ;
else
/sbin/service ntpd condrestart >/dev/null 2>&1
fi;
fi
fi;
The problem is that if there are no "fudge' lines in the existing ntp.conf
then localClockFudge will be empty, and this will cause a blank line
to be appended to the end of the new ntp.conf; diff will then think the
file has ch...