Tag Info

New answers tagged

1

1) Remember - Apache uses either httpd.conf or ssl.conf depending on how Apache was configured - since ssl.conf is preferred make sure the "failing" server is NOT using ssl.conf instead. 2) Have you tried copying the httpd.conf file from the working server to the "failing" server. If everything else is the same, that should make SSL work, if it doesn't ...


0

So I was making this far more complicated in my head than it actually is. The manifests are for the image viewers (like open seadragon, or miradore). The image server only needs an image to function, and it turns out I was just placing the image in the wrong spot. The location is stored in the loris2.conf file, and defaults to /usr/local/share/images. ...


3

You shouldn't have installed mysql-community-release-fc21-5.noarch in the first place. That RPM is clearly labelled that it's for fedora core 21. yum erase mysql-community-release-fc21-5.noarch. Next you're trying to install mysql-community-release-el5-5.noarch.rpm. Do that and you're back to where you started, with a slightly different error message. ...


0

If I understand your query, then you want to your share to be accessbile to only a selected user(s). Try this: [Creative] Comment = Creative path = /mnt/project/Creative valid users = @valid-smb-sys-user1, @valid-smb-sys-user2 write list = @valid-smb-sys-user1, @valid-smb-sys-user2 read list = @valid-smb-sys-user1, ...


0

What if you move that particular line to another location in your crontab file? Does some other cron job then start failing? The fact that the cronjob sometimes works makes this more difficult to solve. Have you ever tried to run strace against the cron process around 21:00 and see what it does?


1

The original cron required each entry to end with a newline so yes sometimes you do need a blank line or something at the end. Although cron requires that each entry in a crontab end in a newline character, neither the crontab command nor the cron daemon will detect this error. Instead, the crontab will appear to load normally. However, the ...


0

One should restart rsyslogd after changing the timezone so that the new timezone is reflected in the logs. Do this with: service rsyslog restart


1

Are you experiencing any site performance issues? The thing with Linux is that it's not a bad thing for top to show that all your RAM is in use. Try giving us the output of free -m. When an application is finished with the memory it used, the kernel doesn't immediately purge the pages of data and mark it as free memory again. For instance, my desktop VM I ...


0

WordPress uses a lot of RAM - and cpu. There's not much to do, than to upgrade your server if you want to continue using WordPress. The alternate could be to use another system for your server, or get someone to code your website. In that way, the RAM-usage will not be as high - if the coder does his job right, of course. Not sure if this helped, but that's ...


1

Both approaches are OK. What you want is for your swap to be continuous and not fragmented, and both approaches will ensure that. LVM can cause fragmented volumes, if you extend/shrink them often, but since swap is defined at creation time, it should stay pretty much continuous. With second approach, you have a downside of not being able to easily extend ...


2

Apperently you also configured the Webtatic yum repository to get a newer version of PHP (php56w) than what is included by default in CentOS or provided by EPEL. That conflicts with the PHP version the EPEL phpMyAdmin package expects. It could well be that phpMyAdmin still works well with a (much) newer PHP version and then the suggested --skip-broken is a ...


0

Change order, make test.example.com VirtualHost in front (before) example.com VirtualHost, follow by restarting httpd service. Listen 80 NameVirtualHost *:80 <VirtualHost _default_:80> </VirtualHost> <VirtualHost _default_:80> ServerName test.example.com DocumentRoot /www/test </VirtualHost> <VirtualHost _default_:80> ...


-1

It works fine for me: mv /boot/grub/grub.conf /boot/grub/bk_grub.conf yum -y update && yum -y reinstall kernel


1

Chances are good that are sending cookies in your request. Varnish doesn't cache anything with cookies in them. This from the builtin.vcl for Varnish 4: 47 sub vcl_recv { 48 if (req.method == "PRI") { 49 /* We do not support SPDY or HTTP/2.0 */ 50 return (synth(405)); 51 } 52 if (req.method != "GET" && 53 ...


1

I'm not sure you're setting up grace mode correctly. The varnish book seems to indicate that you should be setting some of this in vcl_fetch and perhaps vcl_recv. (I'm not familiar with Varnish, but I hope to be soon). Core grace mechanisms A graced object is an object that has expired, but is still kept in cache Grace mode is when Varnish uses a ...


0

You can try increasing the ttl value to beresp.ttl = 30m; i think varnish has a default ttl value of 120 seconds. Is the Age: header's value increasing on every next hit?.


0

Check what headers are being sent to Varnish by Apache. You can also explicitly set the TTL of the content in Varnish.


-1

InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery Whenever database get crashed, we used to get this. Innodb mechanism tries to recover spontaneously. Use innodb_force_recovery to force the InnoDB storage engine to start up If this is happening regularly at the same time check for any cron or any logrotation ...


0

"InnoDB: Database was not shut down normally!" Seems like some other process on the server is killing mysql process. you might need to check the CPU Load as well. Is your server running out of memory?


0

EPEL redis package are kind of outdated, on RHEL6 you can use Remi's Repository: http://rpms.famillecollet.com/. They are up to date, also with the latest releases from 3.0 and 2.8 versions. Have a look here for a description of the latest packages.


0

xenconsoled was not running. After starting it, the problem was gone. Why it was not running is a different question...


2

Just use shell command postcat -qbh queueid | sendmail -f sender forward_address@example.com Source: man postcat, man sendmail and this thread Postfix: change sender in queued messages


2

If you ssh into your Dom0 (Xen Core).. Su to root... . then do a 'xm list' first is your Centos domU vm running? or is it powered off by defualt. If it is you can do a 'xm start xxxxx' where xxxxx is the name that was shown in the 'xm list' Then wait a couple of seconds and try 'xm console xxxxx' where again xxxxx is the name of the vm your trying to ...


0

It will not work. Apart from some warnings there are stuck low-level commands as well.


1

To make shutdown work from outside the guest on CentOS 6, you need to install the acpid package and start the acpid service. yum install acpid chkconfig acpid on service acpid start


0

As it turns out, Gmail was under the impression that the mailman emails were spam...


0

Your ServerName "reptool.dev:443" doesn't look right to me, it should not have the port in it. Try: ServerName reptool.dev


0

Actually, I just re-read this Oracle Blog post: https://blogs.oracle.com/wim/entry/fast_reboots_for_oracle_linux So, as long as you use the UEK kernel, you can do the kexec fast reboot on OEL5 and OEL6. This is not related to ksplice (which is about not rebooting in the first place!) and not needed a license or anything to use.


0

php-soap is in EPEL, so I wouldn't bother with compiling it. Install like this: yum install epel-release yum makecache yum install php-soap


0

Whay I ended up doing and worked for me: yum list installed | grep @rpmforge rpm --erase --nodeps <list obtained with first command> Then disabled rpmforge repos from the config files yum install <list obtained with first command>


2

If SELinux is in Enforcing mode, it won't let you do that... Try changing this boolean to true: setsebool -P httpd_enable_homedirs on Please note, I don't recommend disabling SELinux! There are many tools out there which can help you use SELinux to secure your system. Please see the CentOS documentation here: http://wiki.centos.org/HowTos/SELinux ...


1

Use yum history list to see recent yum transactions. Use yum history info <ID> to view the details of a transaction. Use yum history undo last to revert the most recent transaction, or yum history undo <ID> to revert a specific transaction.


-1

The files /etc/pki/tls/certs/localhost.crt and /etc/pki/tls/private/localhost.key are created by the postinstall script of the mod_ssl package. You can find the spec file here: https://git.centos.org/blob/rpms!!httpd.git/6f7de23710cf2fb30178692d962a51a8252842f6/SPECS!httpd.spec. Here is the script from CentOS 7: postinstall scriptlet (using /bin/sh): umask ...


0

You need to change your hosts_require_auth and hosts_require_tls options to the following: hosts_require_auth = <; $host_address hosts_require_tls = <; $host_address The problem will occur when using IPv6 to send. When sending with IPv6, $host_address will be an IPv6 address and will therefore contain colon characters (:). Colon is usually used ...


4

By default cloud-init expects to receive metadata from an Amazon EC2-compatible metadata service, such as that included with OpenStack and possibly other services. If you aren't running your VM under such a service, you have two options: Disable or uninstall cloud-init. This is the easiest option and if you aren't running in a cloud service then you ...


2

You can not attach two different security labels to the same directories. So, you had to select a single label and let the other process to read/write the files with that label. Problem is that doing that you are effectively granting the second process read/write access to the files owned by the first process, which is exactly what you don't want to do. ...


2

It would have been helpful to see the state of your iptables while you are experiencing the problem. fail2ban doesnt actually perform the blocking of connection requests, it only adds the rules to the iptables firewall when it detects a bannable action, as defined in your jail.conf.local. So you should first be checking the state of iptables sudo iptables ...


0

In case you want to know which packages are excluded due to priority protections you can use yum list updates -d3


0

You can use a GeoIP service to obtain the list of known China IP, and then forbid their connection with iptables. Have a look here GeoLite2 Free Downloadable Databases and download the CSV file. From the file GeoLite2-Country-Locations-en.csv you can find that China has a geoname id of 1814991. You then use that value to filter ...


-1

Well, get the IP range of all public IPs in China, add them to iptables with DROP. Stupid idea though, you should be using some DDOS-avoiding options (for apache for example: mod_evasive or mod_security) or even plain old limits in iptables like: iptables -A INPUT -p tcp --dport 80 -m state --state NEW -m limit --limit 50/minute --limit-burst 200 -j ...


4

If you're trying to mitigate DDOS attacks, then you need to have your ISP block the bad actors at their level. Once the DDOS traffic has hit your router/firewall/server, it's already eating up your bandwidth.


2

Replace -i eth0:1 with -d 1.1.1.1/32 I believe you have used ifconfig to create interface alias. Actually you can assign more than one IP for interface with iproute2 utility(ip addr add ..). It's better to use IP addresses in iptables rules.


0

To see what optical devices are available, you can run this as root: % wodim --devices As for "reading the values and apply it on to the application" you need to be more specific. What exactly are you trying to accomplish?



Top 50 recent answers are included