Jumat, 09 Desember 2022
Selasa, 25 Oktober 2022
ZIMBRA – UNABLE TO START TLS: SSL CONNECT ATTEMPT FAILED ERROR
Starting ldap...Done.
Unable to start TLS: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed when connecting to ldap master.
Solusi
su - zimbra zmlocalconfig -e ldap_starttls_required=true zmlocalconfig -e ldap_starttls_supported=1 zmcontrol restart
Minggu, 09 Oktober 2022
Laravel migration menambah kolom di tabel
Nama tabel students, kolom yang ingin ditambahkan user_id
php artisan make:migration add_user_id_to_students_table --table=students
Kamis, 22 September 2022
Kamis, 25 Agustus 2022
Proxmox Resize Disk Decrease LVM
Mengubah ukuran disk lvm di proxmox 6.
Backup container.
Jalankan perintah untuk restore dengan ukuran yang baru, sebagai contoh ukuran 10G
pct restore 110 /data/dump/vzdump-lxc-100-2022_01_03-12_20_07.tar.zst --rootfs local-lvm:10
Sabtu, 16 Juli 2022
Minggu, 03 Juli 2022
Laravel 6 schedule:work
Laravel 6 schedule:work
Dapet dari sini https://github.com/laravel/ideas/issues/2338
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
class ScheduleListen extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'schedule:listen';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Listen for scheduled tasks';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$this->line('Listening for scheduled tasks..');
while (true) {
if(now()->startOfMinute()->is(now())) {
Artisan::call('schedule:run');
$output = Artisan::output();
if($output != 'No scheduled commands are ready to run.') {
$this->line($output);
}
}
sleep(1);
}
}
}
Senin, 02 Mei 2022
1 Syawal 1443H
Allahu akbar.. Allahu akbar... Allahu akbar..
Kamis, 21 April 2022
Ramadhan 1443
Rabu, 06 April 2022
Ramadhan 1443
Selamat datang Ramadhan, bulan yang penuh berkah dan ampunan.
Semoga kita diberi kekuatan untuk beribadah sebaik mungkin dibulan yang penuh dengan kemuliaan ini.
1 Ramadhan 1443 Hijriah jatuh pada hari Ahad 3 April 2022
Senin, 14 Februari 2022
Zimbra amavis cannot connect port
This did not work for me initially as I did not have this line in /etc/sysctl.conf
# Name the NIC explicitly; seems to be required on Ubuntu 18:net.ipv6.conf.ens18.disable_ipv6 = 1
After adding this line, doing sysctl -p and zmamavisdctl restart amavis was listed as Running.
Before the above, the alternative solution I found was this:
Edit /opt/zimbra/conf/amavisd.conf.in
add this line:
$inet_socket_bind = '127.0.0.1';
Restart zimbra amavis:
zmamavisdctl restart