vsftpd-issue

vsftpd-issue
Connected to 192.168.67.130.
220 (vsFTPd 2.2.2)
User (192.168.67.130:(none)): root
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/root
500 OOPS: priv_sock_get_cmd
Connection closed by remote host.
C:\Downloads>ftp 192.168.67.130
Connected to 192.168.67.130.
220 (vsFTPd 2.2.2)
User (192.168.67.130:(none)): root
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/root
500 OOPS: priv_sock_get_cmd
Connection closed by remote host.

Solution:

run this command

#sudo setenforce 0

Whats new with Solaris-11


google-site-verification: google7f87748f3f187261.html IPS - Image packaging system - A BE boot environment is an instance of Oracle Solaris 11 OS image.
Multiple boot environment can be maintained.
BEs can have different versions.
UPdate Manager GUI is available to do this.
beadm command can also be used.

#beadm create
#beadm list
#beadm rename
#beadm activate
#beadm destroy
Automated Installer can install multiple servers at same time.
Install scripting is hard in IPS
Analysis is slow in IPS
Patching hundreds of server will take with minimum time.
Minimize downtime due to Upgrades

ZFS is default File system in Solris 11
Root file system is strictly ZFS
ZFS is the 1st 128 bit file system

RBAC - role based access control
No root login required
Every action is recorded with Auditing.
DTrace and DTrace Toolkit are available in Solaris 11.

Solaris 11 is world's First Cloud OS.
Solaris Zones are integrated with ZFS and IPS.

What is this site all About

Topics:

1. HP UNIX volume manager - How to add disk to VG
http://unixadvice.blogspot.in/2008/06/hp-unix-volume-manager-tasks.html

2. Veritas License Expired Issue - Solaris
http://unixadvice.blogspot.in/2008/09/veritas-license-expired-issue-solaris.html

3. How to convert a Filesystem to Largefiles with Online JFS - HP-UX
http://unixadvice.blogspot.in/2009/07/how-to-convert-filesystem-to-largefiles.html

4. Clustering : HP-UNIX serviceguard how to change the node timeout value
http://unixadvice.blogspot.in/2010/06/hp-unix-serviceguard-how-to-change-node.html

5. HP-UX extending strict/ distributed volumes with PVG
 http://unixadvice.blogspot.in/2010/06/hp-unix-serviceguard-how-to-change-node.html

6. Solaris issues and Solaris 10 command reference
http://unixadvice.blogspot.in/2010/10/os-sun-solaris-810-hardware-fire-v880.html

7. HP-UX - How to convert Strict/Distributed to normal Volume
http://unixadvice.blogspot.in/2010/06/hp-ux-how-to-convert-strictdistributed.html

8. VXVM -vxdg rmdisk and vxdg init - examples
 http://unixadvice.blogspot.in/2009/12/dubai-2009.html

9. VSFTP issue - 500 OOPS: cannot change directory
 http://unixadvice.blogspot.in/2012/12/vsftpd-issue.html

10. How to get a Job in MNC - Career Guidance on how to create an effective Resume and give Interviews.
http://unixadvice.blogspot.in/2007/12/how-to-get-job-in-mnc.html


http://unixadvice.blogspot.in/2007/12/hot-to-get-job-in-mnc-continued.html


http://unixadvice.blogspot.in/2007/12/how-to-get-job-in-mnccontinued.html

service guard upgrade HP-UX

How to upgrade service guard version from 11.18 to 11.19

1. Take the backup of all the configuration files in /etc/cmcluster
cp -pR /etc/cmcluster /etc/cmcluster.date
copy the whole content of the directory.
2. copy /etc/cmcluster.conf

also do a cmgetconf of the current configuration

3. Halt the PKGs running on the first node.
#cmhaltpkg testpkg1
#cmhaltpkg testpkg2
#cmhaltnode
4. uninstall the service guard depot
swlist |grep -i service

swremove -x enforce_dependencies=false

--you will get the swinstall TUI screen select the Service Guard 11.18 depot and remove

5. Install the new version of Service Guard 11.19 from the remote location or from local where you downloaded
Install with swinstall TUI mode
6. After installation check the new version with swlist |grep -i service

8. start the node
cmrunnode
9. Check the status with
#cmviewcl

-------------------------
Follow the same steps on the alternate node.

Finally start all the PKGs, check failover.
Check the syslog for any errors.

----------------------------------------------------------------------------------------------------



Redhat Linux Cluster Tips

To view the cluster status:
#clustat

To Failover the services from one node to other
#clusvcadm -r -m

-r = relocate
-m=member

ex:
#clusvcadm -r DEVDB -m host2

in case if the status of the service is Failed, when you try to failover, try this:

#clusvcadm -d DEVDB -m host1
# clusvcadm -e DEVDB -m host2

In the above example -d switch will Disable the service on the host1 and will enable it on the host2.
-e switch will enable the service.

LUCI is the web based tool used to manage the RHCS - Redhat Cluster Service.

To freeze the particular service:

# clusvcadm -z DEVDB -m host1

To unfreeze the particular service:

# clusvcadm -Z DEVDB -m host1

Installing Ingress Controller - Kubernetes

Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...