bagio_error

[Solved] CPanel failed to expand condition

I’ve a problem with mailbox permission, but the root of case isn’t permission in mailbox directory but the problem caused by configuration files couldn’t read by user. Please¬†the following error logs:

2012-10-27 11:10:47 H=([127.0.0.1]) 92.239.28.234]:3289 sender verify defer for <[email protected]>: require_files: error for /home/bagio/etc/bagio.co.id: Permission denied
2012-10-27 11:11:19 H=([192.168.5.6]) [122.248.36.18]:3365 sender verify defer for <[email protected]>: require_files: error for /home/bagio/etc/bagio.co.id: Permission denied

and also the following errors:

2012-10-27 11:08:55 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/$local_part/.boxtrapperenable} {true} {false}}}}” for virtual_boxtrapper_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:08:55 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{true}}” for virtual_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:13:33 1TRxlx-0000YV-2N spam acl condition: cannot parse spamd output
2012-10-27 11:17:45 failed to expand condition “${if exists {$home/etc/$domain/quota}{${if > {${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{0}{${if eq {${if exists {$home/mail/$domain/$local_part/maildirsize}{1}{0}}}{0}{${if > {${run {/usr/local/cpanel/bin/eximwrap GETDISKUSED $local_part $domain}}}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{true}{false}}}{${perl{checkuserquota}{$domain}{$local_part}{$message_size}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}}}{$home/mail/$domain/$local_part/maildirsize}}}}}{false}}}{false}}” for virtual_user_maildir_overquota router: failed to open /home/bagio/etc/bagio.co.id/quota for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:17:45 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/$local_part/.boxtrapperenable} {true} {false}}}}” for virtual_boxtrapper_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:17:45 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{true}}” for virtual_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)

Ok, the following step will fix the problem in above:

1. Force to change the ownership of user directory, this step is required when cpanel fixperms script doesn’t work.
# chown -R bagio.bagio /home/bagio

2. Then fix directory permission using /scripts/fixperms
# /scripts/fixperms -a bagio

If the steps in above doesn’t work, please submit a ticket to tickets.cpanel.net or send your root password to me and I’ll try help as I can.
Hope this help.


error_fpm

PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)

This article referring to another article that not published yet, I had some issue with session.save_path in php-fpm setup. For security improvements¬† I want to make PHP execute under individual user accounts insted of a system user like nginx (default www user and group). In apache environments I can use suPHP or suExec and in Nginx I can use php-fpm with custom “pool” each web server and that makes PHP scripts executed by owner and groups that describe in each pool. Continue reading “PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)” »


Compiz Logo

Solved Ubuntu icons close minimize maximize disappeared!

Compiz LogoTonight I have a plan to maintenance two servers in my office, but my laptop seems not good, sometimes desktop is freeze and can’t click anything, so I have to restart for several times. Ok, let’s change back from Unity to Gnome classic, and after changed to Gnome classic my desktop seems good. Something stupid make me broken, I’ve enable some effect in Compiz config manager and make some menus disappeared!. Where is “close, minimize, maximize” window menu? Continue reading “Solved Ubuntu icons close minimize maximize disappeared!” »


error

kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0

Tersisa satu hari dan beberapa jam kesempatan saya merasakan keramahan, kekeluargaan karyawan karyawati PTLI, lusa aku sudah tidak bekerja lagi untuk perusahaan ini dan siap-siap menyongsong pekerjaan baru. Semalam saya tidur setelah subuh untuk melakukan developtment help desk support system berbasis web, jadi harap maklum kalau datang ke kantor agak telat hehehe. sebelum mandi sudah ada telepon yang melaporkan koneksi internet dan ke server mati, waduh!!! pasti router ngadat lagi!!

Setelah datang dan merestart router (CentOS 5.5 i686) mesin Intel Celeron 2.2 GHz muncul error messages seperti dibawah ini:

Jul 20 15:34:27 router snmpd[2508]: error finding row index in _ifXTable_container_row_restore
Jul 20 15:45:58 router kernel: skge 0000:02:09.0: PCI error cmd=0x7 status=0x82b0
Jul 20 15:45:58 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:45:58 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:45:58 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:45:58 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:00 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:01 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:02 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:02 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:04 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:05 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:18 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:52 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:53 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:46:55 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:00 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:00 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:07 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:35 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:36 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:36 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:36 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:36 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:36 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:36 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:37 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:37 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:38 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:38 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:38 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:38 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:40 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:40 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 15:47:43 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 16:32:57 router snmpd[2744]: error finding row index in _ifXTable_container_row_restore
Jul 20 18:23:51 router snmpd[2544]: error finding row index in _ifXTable_container_row_restore
Jul 20 18:37:26 router kernel: skge 0000:02:09.0: PCI error cmd=0x7 status=0x82b0
Jul 20 18:37:26 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 18:41:08 router kernel: skge 0000:02:09.0: PCI error cmd=0x7 status=0x82b0
Jul 20 18:41:08 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 18:44:46 router kernel: skge 0000:02:09.0: PCI error cmd=0x7 status=0x82b0
Jul 20 18:44:46 router kernel: skge 0000:02:09.0: PCI error cmd=0x147 status=0xc2b0
Jul 20 18:44:51 router snmpd[2326]: error finding row index in _ifXTable_container_row_restore

Error diatas disebabkan oleh PCI (LAN Card) yang terpasang mengalami kerusakan, dan setelah diganti server kembali normal.