Liferay with S3 – The action Create Object in bucket cannot be performed with an invalid bucket: null

15. June 2016 AWS 0
Liferay with S3 – The action Create Object in bucket cannot be performed with an invalid bucket: null
Issue You are trying to integrate AWS S3 bucket with your Liferay Application. You have a dedicated IAM user, Access Key, Secret Key for the bucket. You are getting the below error. “ERROR: ” com.liferay.portal.kernel.exception.SystemException: org.jets3t.service.S3ServiceException: The action Create Object in bucket cannot be performed with an invalid bucket: null”” Resolution Makesure the below policy ...

fatal: parameter inet_interfaces: no local interface found for ::1

11. June 2016 RHEL 0
fatal: parameter inet_interfaces: no local interface found for ::1
Issue You are note able to restart / start postfix and getting the below error. fatal: parameter inet_interfaces: no local interface found for ::1 Solution Edit the file /etc/postfix/main.cf vim /etc/postfix/main.cf search for the line inet_interfaces = all And change it to: inet_interfaces = 127.0.0.1, 10.10.11.12 10.10.11.12 is your local IP address :wq! Save and ...

DROWN – Cross-protocol attack on TLS using SSLv2

DROWN – Cross-protocol attack on TLS using SSLv2
Its the time for another openssl update, Update your openssl and openssl-libs packages with below commands. RHEL / CentOS / OEL (rpm based) yum update openssl Ubuntu / Debian Based (apt based) apt-get update openssl Check your installation at https://drownattack.com For more details : https://access.redhat.com/security/vulnerabilities/drown

CentOS 7 / RHEL 7 – AWS ec2 – how to set hostname persistent across reboots

07. February 2016 AWS, RHEL, SysAdmin 0
CentOS 7 / RHEL 7 – AWS ec2 – how to set hostname persistent across reboots
Issue how to set hostname persistent across reboots in CentOS 7 / RHEL 7 on AWS ec2 CentOS 7 / RHEL 7 Hostname changes after reboots in aws ec2 Solution Set the hostname with the below command hostnamectl set-hostname hostname.yourdomainname.com Now run the below to change the cloud.cfg echo "preserve_hostname: true" >> /etc/cloud/cloud.cfg Reboot the ...

Copy and CudaDrive services will be discontinued

03. February 2016 Hot News 0
Copy and CudaDrive services will be discontinued
Copy.com (an alternative to Dropbox) by Barracuda announced today that the Copy and CudaDrive services will be discontinued on May 1, 2016. You can migrate your existing data from copy.com to Ondrive though Mover.io Blog Link on How to migrate : https://techlib.barracuda.com/COPY/MoveData Below is the official announcement from copy.com Copy and CudaDrive have provided easy-to-use ...

Sudo access to a single service – RHEL 7 / CentOS 7

24. January 2016 SysAdmin 0
Sudo access to a single service – RHEL 7 / CentOS 7
Issue You need to give only the apache / httpd restart permission to the developers via sudo. Solution Add the below lines to /etc/sudoers Cmnd_Alias WEBDEVS = /sbin/service httpd * user1 ALL = NOPASSWD:WEBDEVS Now the user can run the below commands to any action (start / stop / restart etc) on httpd service. sudo ...

PPTP VPN with CSF firewall

17. January 2016 SysAdmin 0
PPTP VPN with CSF firewall
Issue PPTP VPN is not working after installing CSF firewall. How to allow PPTP in cPanel server with CSF firewall ? Solution Create a file /etc/csf/csfpre.sh with the below contents. iptables -A INPUT -i eth0 -p tcp --dport 1723 -j ACCEPT iptables -A INPUT -i eth0 -p gre -j ACCEPT iptables -A OUTPUT -p gre ...