Delete Cacti Weathermaps Config files

刪除不了Weathermaps Config files

rm -fr /var/www/html/cacti/plugins/weathermap/configs/simple_conf.conf

mysql -u root -p

MariaDB [(none)]> use cacti;

MariaDB [cacti]> select * from weathermap_config_cache;
+--------+------------------+-----------------------------------------------------------------+----------+-----------------+--------+---------------------+---------------------+---------+
| map_id | filename | realfile | filesize | title | status | create_time | modify_time | present |
+--------+------------------+-----------------------------------------------------------------+----------+-----------------+--------+---------------------+---------------------+---------+
| 0 | simple_conf.conf | /var/www/html/cacti/plugins/weathermap/configs/simple_conf.conf | 1265 | Simple Map Copy | | 2024-08-26 22:52:07 | 2024-08-26 22:52:07 | 1 |
| 0 | simple.conf | /var/www/html/cacti/plugins/weathermap/configs/simple.conf | 1260 | Simple Map | | 2024-08-26 22:51:29 | 2024-08-26 22:51:29 | 1 |
+--------+------------------+-----------------------------------------------------------------+----------+-----------------+--------+---------------------+---------------------+---------+

MariaDB [cacti]> DELETE FROM weathermap_config_cache WHERE `weathermap_config_cache`.`filename` = 'simple_conf.conf';

發佈留言

*