=== 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 | ||
umarzuki | hi, I cannot mount ocfs2 partition (fc device/lun) during boot on ubuntu server 14.04 | 09:00 |
---|---|---|
umarzuki | 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:00 |
umarzuki | 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:02 |
Walex2 | umarzuki: how much do you know about OCFS2? | 09:19 |
umarzuki | Walex2: only up to what I read sample configuration on blogs | 09:19 |
umarzuki | I use it on a LUN to have acitve-active access for web server root directory | 09:21 |
Walex2 | umarzuki: it is a clustered filesystem. You need a clustering service for shared mounts or a special mode for local only mount. | 09:21 |
umarzuki | if you have a better alternative, do share | 09:21 |
Walex2 | 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 |
umarzuki | Walex2: yes, I have configured ocfs cluster config | 09:22 |
umarzuki | there are 2 members of ocfs cluster | 09:22 |
umarzuki | when I pressed S, it got mounted and services starts okay | 09:23 |
umarzuki | but I don't want to have to go to kvm each time server reboots | 09:24 |
bekks | Then you have to ensure that the OCFS master node is up and running, when the other node connects. | 09:24 |
umarzuki | bekks: "service o2cb status" shows all online during that time | 09:25 |
umarzuki | although I found that accessing web gave 403 if second node did not go online | 09:26 |
bekks | I guess you have an according line in /etc/fstab, dont you? | 09:26 |
umarzuki | 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:27 |
bekks | Which is highly expected, since the OCFS services start after the processing of local disks (which is what fstab is for). | 09:28 |
umarzuki | bekks: that's why I tried rc.local but same result | 09:29 |
=== FreezingAlt is now known as FreezingCold | ||
lordievader | Good 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 | ||
zkvvoob | 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:12 |
zkvvoob | Pretty please? | 17:21 |
Meerkat | https://wordpress.org/support/topic/missing-zlib-extensions-php-error -- looks like you need the package zlib1g or zlib1g-dev. | 17:49 |
zkvvoob | 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 |
Meerkat | try restarting apache. | 17:57 |
zkvvoob | did that | 17:58 |
jelly | zkvvoob: does phpinfo() show the zlib extension is enabled? | 19:29 |
zkvvoob | jelly: just a minute, I'll check | 19:29 |
zkvvoob | jelly: Registered PHP Streamshttps, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip | 19:32 |
zkvvoob | jelly: Registered Stream Filterszlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.* | 19:32 |
jelly | and a whole section named "zlib" I guess? (scroll down!) | 19:34 |
zkvvoob | jelly: ZLib Version1.2.8 | 19:36 |
zkvvoob | and yes, another whole section below | 19:37 |
zkvvoob | 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 | 19:39 |
netameta | how can i connect to a MSSQL server from a php script on a ubuntu box ? | 20:36 |
cryptodan | by using the right driver to connect to it | 20:40 |
cryptodan | netameta: http://php.net/manual/en/book.mssql.php | 20:41 |
netameta | thanks will read | 20:42 |
=== bilde2910 is now known as bilde2910|away | ||
netameta | i got this http://paste.ubuntu.com/10600157/ after doing an apt-get ... | 23:17 |
Pici | netameta: press q | 23:18 |
sarnold | netameta: q | 23:18 |
netameta | Thanks very much | 23:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!