=== markthomas is now known as markthomas|away === Lcawte|Away is now known as Lcawte === koolhead17 is now known as koolhead11 === koolhead11 is now known as koolhead17 [09:00] hi, I cannot mount ocfs2 partition (fc device/lun) during boot on ubuntu server 14.04 [09:00] errors: Press S to skip mounting or M for manual recovery The disk drive for /var/www is not ready yet or not present [09:02] i tried removing o2cb and ocfs2 startup and put these 2 lines before 'exit0' inside rc.local 'service ocfs2 start', 'service o2cb start', and 'mount /dev/vg/lv /var/www/' [09:19] umarzuki: how much do you know about OCFS2? [09:19] Walex2: only up to what I read sample configuration on blogs [09:21] I use it on a LUN to have acitve-active access for web server root directory [09:21] umarzuki: it is a clustered filesystem. You need a clustering service for shared mounts or a special mode for local only mount. [09:21] if you have a better alternative, do share [09:22] umarzuki: if you are using it in clustered mode you need to check that the LUN is indeed available and the cluster manager is in a good state. [09:22] Walex2: yes, I have configured ocfs cluster config [09:22] there are 2 members of ocfs cluster [09:23] when I pressed S, it got mounted and services starts okay [09:24] but I don't want to have to go to kvm each time server reboots [09:24] Then you have to ensure that the OCFS master node is up and running, when the other node connects. [09:25] bekks: "service o2cb status" shows all online during that time [09:26] although I found that accessing web gave 403 if second node did not go online [09:26] I guess you have an according line in /etc/fstab, dont you? [09:27] bekks: I have tried "/dev/vg/lv /var/www/ ocfs2 defaults 0 0" and "/dev/vg/lv /var/www/ ocfs2 _netdev 0 0" but both were not successful [09:28] Which is highly expected, since the OCFS services start after the processing of local disks (which is what fstab is for). [09:29] bekks: that's why I tried rc.local but same result === FreezingAlt is now known as FreezingCold [10:28] Good morning. === bilde2910|away is now known as bilde2910 === bilde2910|away is now known as bilde2910 === lugan__ is now known as lugan_ === JanC_ is now known as JanC === obi_ is now known as obi_de === obi_de is now known as obi12341 [17:12] Hiya folks! Could you tell me how to install a missing zlib extension? I get this error message sometimes on a Wordpress site: "Abort class-pclzip.php : Missing zlib extensions" [17:21] Pretty please? [17:49] https://wordpress.org/support/topic/missing-zlib-extensions-php-error -- looks like you need the package zlib1g or zlib1g-dev. [17:57] Meerkat: I ran apt-get install --reinstall zlibc zlib1g zlib1g-dev, it went smoothly I think, but the websites still return the same error randomly [17:57] try restarting apache. [17:58] did that [19:29] zkvvoob: does phpinfo() show the zlib extension is enabled? [19:29] jelly: just a minute, I'll check [19:32] jelly: Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip [19:32] jelly: Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.* [19:34] and a whole section named "zlib" I guess? (scroll down!) [19:36] jelly: ZLib Version 1.2.8 [19:37] and yes, another whole section below [19:39] jelly: If it's any help, I'm pretty confident that only one plugin for Wordpress is behind the error - iThemes Security; what I mean is that when I disable it, I don't see anymore of this message [20:36] how can i connect to a MSSQL server from a php script on a ubuntu box ? [20:40] by using the right driver to connect to it [20:41] netameta: http://php.net/manual/en/book.mssql.php [20:42] thanks will read === bilde2910 is now known as bilde2910|away [23:17] i got this http://paste.ubuntu.com/10600157/ after doing an apt-get ... [23:18] netameta: press q [23:18] netameta: q [23:18] Thanks very much