Posts

Showing posts with the label Linux

WebDav Client on Linux

"Web Distributed Authoring and Versioning (WebDAV), an extension to the HTTP-protocol, allows authoring of resources on a remote web server. davfs2 provides the ability to access such resources like a typical filesystem, allowing for use by standard applications with no built-in support for WebDAV." (http://savannah.nongnu.org/projects/davfs2) While working on IBM WebSphere Portal 8 theme customization, I had a few issues copying and pasting from Nautilus builtin webdav client (Centos). This is the easy way of mounting a webdav share from the command line.   1. Install davfs2           sudo yum install davfs2 2. Mount remote resource (you might be prompted for credentials)           sudo mount -t davfs http://localhost:8000/webdav  /mnt/dav 3. Access the remote resource locally in /mnt/dav directory.

"Too many open files" ERROR on IBM WebSphere Portal 7 startup (CentOS, RHEL, Fedora)

Temporary fix: ulimit -n 65536 Permanent fix: 1. Edit /etc/security/limits.conf 2. Add the folowing lines:   *    soft    nofile    65536   *    hard    nofile    65536 3. Reboot NOTE: It seems that 65536 might be a better value. In some cases 10240 still gives 'Too many open files' error.