/srv/irclogs.ubuntu.com/2015/03/14/#ubuntu-server.txt

=== 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
umarzukihi, I cannot mount ocfs2 partition (fc device/lun) during boot on ubuntu server 14.0409:00
umarzukierrors: Press S to skip mounting or M for manual recovery The disk drive for /var/www is not ready yet or not present09:00
umarzukii 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:02
Walex2umarzuki: how much do you know about OCFS2?09:19
umarzukiWalex2: only up to what I read sample configuration on blogs09:19
umarzukiI use it on a LUN to have acitve-active access for web server root directory09:21
Walex2umarzuki: it is a clustered filesystem. You need a clustering service for shared mounts or a special mode for local only mount.09:21
umarzukiif you have a better alternative, do share09:21
Walex2umarzuki: 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
umarzukiWalex2: yes, I have configured ocfs cluster config09:22
umarzukithere are 2 members of ocfs cluster09:22
umarzukiwhen I pressed S, it got mounted and services starts okay09:23
umarzukibut I don't want to have to go to kvm each time server reboots09:24
bekksThen you have to ensure that the OCFS master node is up and running, when the other node connects.09:24
umarzukibekks: "service o2cb status" shows all online during that time09:25
umarzukialthough I found that accessing web gave 403 if second node did not go online09:26
bekksI guess you have an according line in /etc/fstab, dont you?09:26
umarzukibekks: 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 successful09:27
bekksWhich is highly expected, since the OCFS services start after the processing of local disks (which is what fstab is for).09:28
umarzukibekks: that's why I tried rc.local but same result09:29
=== FreezingAlt is now known as FreezingCold
lordievaderGood morning.10:28
=== 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
zkvvoobHiya 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:12
zkvvoobPretty please?17:21
Meerkathttps://wordpress.org/support/topic/missing-zlib-extensions-php-error -- looks like you need the package zlib1g or zlib1g-dev.17:49
zkvvoobMeerkat: I ran apt-get install --reinstall zlibc zlib1g zlib1g-dev, it went smoothly I think, but the websites still return the same error randomly17:57
Meerkattry restarting apache.17:57
zkvvoobdid that17:58
jellyzkvvoob: does phpinfo() show the zlib extension is enabled?19:29
zkvvoobjelly: just a minute, I'll check19:29
zkvvoobjelly: Registered PHP Streamshttps, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip19:32
zkvvoobjelly: Registered Stream Filterszlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*19:32
jellyand a whole section named "zlib" I guess?  (scroll down!)19:34
zkvvoobjelly: ZLib Version1.2.819:36
zkvvooband yes, another whole section below19:37
zkvvoobjelly: 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 message19:39
netametahow can i connect to a MSSQL server from a php script on a ubuntu box ?20:36
cryptodanby using the right driver to connect to it20:40
cryptodannetameta: http://php.net/manual/en/book.mssql.php20:41
netametathanks will read20:42
=== bilde2910 is now known as bilde2910|away
netametai got this http://paste.ubuntu.com/10600157/ after doing an apt-get ...23:17
Picinetameta: press q23:18
sarnoldnetameta: q23:18
netametaThanks very much23:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!