Displaying 20 results from an estimated 20000 matches similar to: "MySQL - replication - how to restore master?"
2012 Oct 10
2
Perl - strict.pm not found
Hello,
I installed the ClamAV package onto a CentOS 6.3 server using yum. I
then modified the /etc/freshclam.conf file to run a perl script whenever
the ClamAV databases were updated:
OnUpdateExecute /usr/local/bin/xymon_event ...
The 'xymon_event' command is used on several servers, and generally
works with no problems. However, on this server when
the /etc/cron.daily/freshclam script
2012 May 30
1
snmpd not working well with selinux?
Hello,
I am trying to use SNMP on a CentOS 6.2 server, and am using the
'pass_persist' configuration command:
pass_persist .1.3.6.1.4.1.141.1 /usr/local/sbin/snmp-iostat
I have set the file context of 'snmpd_exec_t' on the snmp-iostat
program.
If I disable SELinux, then it all works fine (that is, I can then
snmpget/snmpwalk for OIDs in the configured pass_persist OID,
2010 Aug 14
6
best ways to do mysql backup
we have multiple servers approx 10 and each has about 100 GB of data in
the /var/lib/mysql dir , excluding tar , mysqldump and replication how do we
take backup for these databases on to a remote machine and store them
datewise , ( the remote machine is a 2TB HDD )
currently tar is not feasible as the data is too huge and the same goes
with mysqldump
suggestion will be of great help
--
2014 Dec 03
3
CentOS 7 - not using latest installed kernel
Hello,
I have just installed CentOS 7 onto two servers and applied all the
current patches. There are currently two kernels installed:
# rpm -q kernel
kernel-3.10.0-123.el7.x86_64
kernel-3.10.0-123.9.3.el7.x86_64
However, if I reboot the servers they both start up on the older kernel:
# uname -r
3.10.0-123.el7.x86_64
I would have expected them to restart using kernel 3.10.0-123.9.3.
I know I
2008 Sep 18
2
Security Guide for CentOS/RHEL
Is there a step by step approach to securing CentOS 4X (or even RHEL 4X)? I don't mean the stuff in the docs/security guide but a working step by step guide? There used to be packages like rkhunter and tripwire but I don't know if the ones in rpmforge/kbs repo are up to date.
Thanks,
Josh.
2008 Oct 14
3
Squid Number of hits
Dear all,
I am running squid on centos 5.Is there is any tool to calculate
number of ip's hit the server for month wise.
Even any command to find out the number of hits is also ok.
Regards,
Lingu
2015 Mar 30
1
Fail2Ban Centos 7 is there a trick to making it work?
On Tue, 2015-03-10 at 14:43 +0100, Andrea Dell'Amico wrote:
>
> #============= logrotate_t ==============
> allow logrotate_t fail2ban_client_exec_t:file { ioctl read execute
> execute_no_trans open };
>
Looks like this was already fixed in 'selinux-policy'. See
https://bugzilla.redhat.com/show_bug.cgi?id=1114821
John.
--
John Horne Tel: +44
2000 Nov 15
1
[PATCH]: nchan.c : internal error: we do not read, but chan_read
Attached is the patch I've been using to fix the error message seen in the
subject line. It seems (!) to have caused no problems with the
previous openssh snapshot version openssh-SNAP-20001016, 2.3.0p1 and the
latest snapshot (openssh-SNAP-20001114).
The patch adds 3 lines to nchan.c in a switch stmt (line 100). It simply
caters for the cases where the input channel state is
2018 Dec 04
3
DNS bind - use of /etc/named directory
Hello,
For many years we have modified the '/etc/named.conf' file to include local
settings. The disadvantage with this is of course that when bind is updated, it
creates an '/etc/named.conf.rpmnew' file. We then have to determine what is
new, and apply the relevant changes to our modified named.conf file.
There is, however, an '/etc/named' directory which I assumed was
2019 Nov 15
1
Cron - log when job ends?
Hello,
In trying to resolve a problem with a cron job, we can see when the job starts
by looking in the /var/log/cron log file. However, I was asked if when the job
ends could also be logged. (It seems to be something that crops up every so
often over the years.)
I found on the 'net this article
https://serverfault.com/questions/248915/crontab-is-there-any-log-with-begin-and-end-time
which
2019 Aug 05
3
Peculiar process name in /proc
Hello,
I was looking at a process through the '/proc' file system, and came across a
process name which seemed to contain a hex value:
lrwxrwxrwx. 1 xymon xymon 0 Aug 2 14:07 /proc/58032/exe ->
/usr/sbin/xymond;5d44410e (deleted)
I am aware of what the 'deleted' part means, but have no idea what the
';5d44410e' part means. Is this some sort of thread reference?
The
2018 Dec 04
1
DNS bind - use of /etc/named directory
On Tue, 2018-12-04 at 08:19 +0000, J Martin Rushton via CentOS wrote:
> The '/etc/named.conf.rpmnew' file supplied is a bare minimum to
> "configure the ... server as a caching only nameserver (as a localhost
> DNS resolver only)". As soon as you start adding any structure to it
> things change, not just are added to. See
>
2000 Nov 29
1
Pseudo-tty allocation and -T option
Hello,
I've set up a cron job to use ssh with a remote forced command to delete the
contents of a directory. System A has the cron job and uses a specific key
for system B. No command as such is specified since the key on system B
specifies 'command=/bin/rm -rf ...'. However, I am getting error messages
back from the cron system (or rather from ssh) about it not allocating a tty
since
2015 Aug 07
2
semi-OT: rkhunter, fix "broken links"
Hi, folks,
rkhunter is reporting a broken link on one of our servers. This is
quite reasonable, since it's on a drive whose controller card I have
declared dead the other day. I've been googling, searching in the
manpage, and I've done an rkhunter --propupd, but it still finds the
broken link. Anyone know how to remove the link from the rkhunter d/b?
mark
2007 Dec 04
2
Help to restore mysql data on CentOS 5
Hi ,
Help is needed to restore mysql data
This is the the setup.
2 Servers running on CentOS.
one server has both apache an mysql.
the other server only has mysql database. This server has about 12000
records in the database. Last week, It had about 6000 records. then,
Someone has backed up these 6000 records to the web server. Now , We need
to backup all 12000 records to the webserver.
2020 Jun 07
2
EL8 / certwatch missing
I have some scripts using certwatch from the crypto-utils package. This
rpm seems to be unshipped with EL8. Any ideas whats the "new" tool to
check pem cert files?
--
Leon
2000 Jul 04
1
Control-c not work under openssh?
Hello,
I'm using openSSH 2.1.1p2 from my Linux PC to Solaris 7 and 8 systems (using
2.1.1p1). No problem, except that if I run a program on the Sun, having used
slogin to connect to it, and then try and issue a control-c to break into
the program it seems to be ignored. I can control-z and then kill the
suspended job, but I'd prefer control-c. I tried setting '-e none' on the
2000 Nov 08
1
internal error: we do not read, but chan_read_failed
Hello,
The error message in the subject line occurs with the new 2.3.0 openssh
version and appeared in the previous snapshots on our Solaris systems. As far
as I remember it was reported, but have not seen any more about this. I have
looked into it a little bit.
First, the file session.c (line 1849 onwards):
debug("session_exit_message: release channel %d", s->chanid);
2008 Oct 02
6
Nightly yum update did an "upgrade"
Hy there,
i have a centos (4.?) Box with nightly yum update enabled. Last night, it did an upgrade to 4.7 leading to several problem i.e. not respawning the dhcrelay, which is needed on this box.
Can I control the update policy not to upgrade to new releases in the nightly updates? I would like do to nightly updates, but make release upgrades manual (I get a new kernel, so I have to reboot
2002 May 22
1
Openssh still logs in while passwd is locked (fwd)
-------------- next part --------------
An embedded message was scrubbed...
From: John Horne <J.Horne at plymouth.ac.uk>
Subject: Openssh still logs in while passwd is locked
Date: Wed, 22 May 2002 15:20:08 +0100 (BST)
Size: 2486
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020522/8eef78dd/attachment.mht