Displaying 20 results from an estimated 300 matches similar to: "nfs webroot 403's"
2014 Jun 10
1
apache server-status permission denied
Hey all,
I'm having a slightly weird issue with apache server-status on just one of
my nodes.
In my httpd.conf I have the following:
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 10.10.160
</Location>
If I do a ps grep I know that I'm using the right config:
[root at webhosta apache2]# ps -ef |
2011 Aug 13
1
proftpd can't login locally
Hello list!!
I am trying to setup very simple authentication for proftpd under centos 5.6. But for some reason it isn't working and I was hoping to get some advice into how to resolve the issue.
Machine info:
[code]
[root at VIRTCENT07:~] #cat /etc/redhat-release
CentOS release 5.6 (Final)
[root at VIRTCENT07:~] #uname -a
Linux VIRTCENT07 2.6.18-238.el5xen #1 SMP Thu Jan 13 17:49:40 EST
2011 Aug 26
1
mysql authentication in proftpd
Hello list,
I was able to get passive mode worked out. I'm really glad I was able to do this. I'm able to log into the ftp server, list directories, enter subdirectories and upload/download files. However my next task is to enable virtual users using mysql. I have installed proftpd-mysql and enabled the sql modules in the config.
I found a good article on how to do this here:
2010 Nov 21
0
LDAP clients fail to connect with SSL enabled
I am attempting to setup SSL/TLS support on my openLDAP 2.4 server on FreeBSD.
LBSD2# pkg_info | grep openldap
openldap-sasl-client-2.4.23 Open source LDAP client implementation
with SASL2 support
openldap-sasl-server-2.4.23 Open source LDAP server implementation
I put my cert file, key file and CA certfile in a directory called
/usr/local/etc/openldap/cacerts
Here's how it looks:
[root at
2015 Aug 16
0
wordpess can't connect to DB but mediawiki can
You were doing this (looking at the mysql.db table) on your
"db.example.com" machine, correct?
------------ Original Message ------------
> Date: Saturday, August 15, 2015 19:32:25 -0400
> From: Tim Dunphy <bluethundr at gmail.com>
> To: CentOS mailing list <centos at centos.org>
> Subject: Re: [CentOS] wordpess can't connect to DB but mediawiki
can
>
2015 Aug 15
2
wordpess can't connect to DB but mediawiki can
>
> "Use" that db and then issue:
> select * from db where Db='jfwiki' or Db='jokefire' order by Host;
Well yeah. I used the mysql database before I issued that command.
MariaDB [(none)]> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
Then if I
2015 Aug 16
0
wordpess can't connect to DB but mediawiki can
Hi Richard,
I actually made some progress on this. The problem was SSL. Once I I took
the SSL requirement out of the picture for the user everything worked. The
test php script and the wordpress site both. Originally when I setup my
wiki it NEEDED SSL. Because there was some sensitive data in it. My
website, however, is just a goofball toy project of mine. And doesn't
really need that. But
2015 Aug 15
0
wordpess can't connect to DB but mediawiki can
> Date: Saturday, August 15, 2015 17:57:03 -0400
> From: Tim Dunphy <bluethundr at gmail.com>
>>
>> [this isn't really a centos issue, even if you're using centos,
>> which isn't obvious. that said ...]
>
>
> Yeah that's true. But this list tends to be rather helpful for
> general problems that are less specific to centos. Sometimes. :)
2015 Aug 16
2
wordpess can't connect to DB but mediawiki can
>
> You were doing this (looking at the mysql.db table) on your
> "db.example.com" machine, correct?
db.example.com is a load balanced VIP. The VIP is being handled by
keepalived and HA/Proxy. There are two DB's setup in master/master
replication. The two databases and two load balancers are on AWS. The web
server and varnish servers are on digital ocean.
I setup a grant
2013 Jul 17
3
sudo add user script
Hello list,
I took another stab at finding a way to add a sudo user remotely and it
gets you most of the way there. If you execute the script as root it works
beautifully and does just what you want. Which is add the user to the
group and gives that user group rights to certain commands.
But if you execute it as a user who only has sudo access to the
/etc/sudoers file it errors out.
cloud:~]
2015 Aug 15
2
wordpess can't connect to DB but mediawiki can
>
> [this isn't really a centos issue, even if you're using centos,
> which isn't obvious. that said ...]
Yeah that's true. But this list tends to be rather helpful for general
problems that are less specific to centos. Sometimes. :) Really seems to
depend...
Incidentally I am using centos on all hosts:
#cat /etc/redhat-release
CentOS Linux release 7.0.1406 (Core)
OK
2015 May 01
0
Could not complete SSL handshake to Amazon EC2 host
>
> Oh my mistake. I mean nrpe without parameters. It should say something
> about SSL/TLS aktiv or so.
> You could test nrpe without SSL. Use nrpe -n - H host
This is what I see about ssl if I just run nrpe on the client without any
flags:
[root at ops:~] #nrpe| head -8
NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2008 Ethan Galstad (nagios at nagios.org)
Version: 2.15
2015 May 01
0
Could not complete SSL handshake to Amazon EC2 host
Hi Eric,
> NRPE: Error receiving data from daemon
> Seems as this is not a SSL Problem. Do you have a nagios user account? Cat
> /etc/passwd
Yep! Both hosts have nagios user accounts.
Demonstrating from the client:
[root at ops:~] #id nagios
uid=2002(nagios) gid=2002(nagios) groups=2002(nagios),2008(nagioscmd)
And this is from the monitoring server:
[root at monitor1:~] #id
2015 Apr 02
1
mounted NFS does not show in df -h
Hey guys,
This is kind of odd, so I wanted to do a sanity check.
I mounted an NFS share like so:
[root at web1:~] #mount -t nfs nfs1.jokefire.com:/home /mnt/home
Seemed to go ok. Then I took a look at the output of df -h and didn't see
it!
[root at web1:~] #df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda 40G 24G 14G 64% /
devtmpfs
2011 Apr 17
3
timezone issue
hey list!
having a slightly odd time issue on one host... can I get some help with this?
This is the current time from a working system:
Sun Apr 17 00:28:18 EDT 2011
However from the problem system this is the time:
Sat Apr 16 20:30:01 EDT 2011
I have set the time zone as such:
lrwxrwxrwx 1 root root 23 Apr 16 19:41 /etc/localtime -> /usr/share/zoneinfo/EST
But when I run ntpdate
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
Hi
NRPE: Error receiving data from daemon
Seems as this is not a SSL Problem. Do you have a nagios user account? Cat
/etc/passwd
Am 01.05.2015 18:45 schrieb "Tim Dunphy" <bluethundr at gmail.com>:
> >
> > Oh my mistake. I mean nrpe without parameters. It should say something
> > about SSL/TLS aktiv or so.
> > You could test nrpe without SSL. Use nrpe -n -
2015 Nov 02
2
use pssh to restart a service
Hey Gordon,
Sorry, man my bad! Disabling the tty requirement for my sudo user does
indeed work. I had a type-o in the sudoers file, and when I corrected it,
my sudo command via pssh started working!
#pssh -i -h es_list "/bin/sudo /bin/systemctl restart elasticsearch; sleep
10"
[1] 20:31:32 [SUCCESS] bluethundr at es3.jokefire.com
Stderr: sudo: sorry, you must have a tty to run sudo
2015 Aug 15
2
wordpess can't connect to DB but mediawiki can
Hey guys,
I'm running both a wordpress site as well as a mediawiki off of the same
web servers. The mediawiki site works great! The wordpress site, meh. Not
so much. I keep getting the common database connection error:
Error establishing a database connection
And as far as I can tell the settings between the mediawiki site and the
wordpress site are nearly identical.
Here's the media
2015 May 03
2
can't disable tcp6 on centos 7
>
> is it working on localhost or not???!!! it could be selinux problem also,
> if context is not correct.
It's working on localhost:
[root at puppet:~] #telnet localhost 5666
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
I notice if I stop the firewall on the puppet host (for no more than 2
seconds) and hit NRPE from the monitoring host it works:
2015 May 24
2
specify port on check_memcached.pl
Hey guys,
I'm trying use check_memcached.pl to monitor a couple of memcached services
running on two ports.
I have my command definition setup like this:
# 'check_memcached' command definition
define command {
command_name check_memcached
command_line $USER1$/check_memcached.pl -H $HOSTADDRESS$ -p $ARG1$
}
And I have my service definitions setup like this:
# Define a