CyberPanel Log Files and Config File Locations: Where Everything Lives
When something breaks on a CyberPanel server, the answer is almost always in a log file. The hard part is knowing which one. Here's the map, checked on our CyberPanel 3.0 test server.
Log files
Here are the log files that existed on our fresh server with one website:
Reading logs fast
Tip: reproduce the problem with running in a second SSH window. The new lines that appear are the ones that matter.
Config file locations
All checked on our server:
Before you edit a config file
More CyberPanel guides
Tested on CyberPanel 3.0 (build 8, OpenLiteSpeed edition) on Ubuntu 24.04, October 2026. Menu names can change slightly between versions.
When something breaks on a CyberPanel server, the answer is almost always in a log file. The hard part is knowing which one. Here's the map, checked on our CyberPanel 3.0 test server.
Log files
Here are the log files that existed on our fresh server with one website:
Code:
/home/cyber.adminslab.com/logs/cyber.adminslab.com.access_log
/home/cyber.adminslab.com/logs/cyber.adminslab.com.error_log
/home/cyberpanel/error-logs.txt
/usr/local/lscp/logs/access.log
/usr/local/lscp/logs/error.log
/usr/local/lscp/logs/error.log.2026_10_24
/usr/local/lscp/logs/error.log.2026_10_24.01
/usr/local/lscp/logs/error.log.2026_10_24.02
/usr/local/lscp/logs/error.log.2026_10_24.03
/usr/local/lscp/logs/error.log.2026_10_24.04
/usr/local/lscp/logs/lsrestart.log
/usr/local/lscp/logs/stderr.log
/usr/local/lsws/logs/access.log
/usr/local/lsws/logs/error.log
/usr/local/lsws/logs/lsrestart.log
/usr/local/lsws/logs/stderr.log
/var/log/installLogs.txt- CyberPanel (the panel itself): . Errors from panel actions: creating sites, issuing SSL, backups.Code:
/home/cyberpanel/error-logs.txt
- Panel web server (lscpd, port 8090): andCode:
/usr/local/lscp/logs/error.log. Older entries move to dated files likeCode:access.log(ours had four on install day), so check those too.Code:error.log.2026_10_24.01
- OpenLiteSpeed (all websites): ,Code:
/usr/local/lsws/logs/error.log,Code:access.log(PHP fatal errors often land here) andCode:stderr.log.Code:lsrestart.log
- One website: andCode:
/home/yourdomain.com/logs/yourdomain.com.access_log.Code:.error_log
- Installer: . Read it if the install or an upgrade failed.Code:
/var/log/installLogs.txt
- Mail (Postfix, Dovecot, OpenDKIM): Ubuntu 24.04 had no on our server; use the journal:Code:
/var/log/mail.log.Code:journalctl -t postfix/smtp -t postfix/smtpd -t opendkim -n 100
- Any service: (alsoCode:
journalctl -u mariadb -n 50 --no-pager,Code:lscpd,Code:lsws,Code:pdns,Code:pure-ftpd-mysql).Code:dovecot
Reading logs fast
Code:
tail -f /usr/local/lsws/logs/error.log # watch live, Ctrl+C to stop
tail -n 50 /home/cyberpanel/error-logs.txt # last 50 lines
grep -i "error" /home/yourdomain.com/logs/*error_log | tail -20
journalctl -u lscpd --since "1 hour ago" --no-pagerCode:
tail -fConfig file locations
All checked on our server:
- OpenLiteSpeed main config: Code:
/usr/local/lsws/conf/httpd_config.conf - A website's virtual host: (edit it from the panel: website > Config > vHost Conf)Code:
/usr/local/lsws/conf/vhosts/yourdomain.com/vhost.conf
- PHP per version: (see changing PHP settings)Code:
/usr/local/lsws/lsphp83/etc/php/8.3/litespeed/php.ini
- Website rewrite rules: Code:
/home/yourdomain.com/public_html/.htaccess - Postfix: ; Dovecot:Code:
/etc/postfix/main.cf; OpenDKIM:Code:/etc/dovecot/dovecot.confandCode:/etc/opendkim.confCode:/etc/opendkim/ - Pure-FTPd: (one setting per file)Code:
/etc/pure-ftpd/conf/
- PowerDNS: Code:
/etc/powerdns/pdns.conf - MariaDB: Code:
/etc/mysql/my.cnf - CyberPanel's own app settings: (don't edit unless you know why)Code:
/usr/local/CyberCP/CyberCP/settings.py
- Saved passwords: (root only; see resetting the admin password)Code:
/etc/cyberpanel/
Before you edit a config file
- Copy it: Code:
cp file file.bak-$(date +%F) - Change one thing at a time.
- Restart only the service you touched (,Code:
systemctl restart lsws...), then check its log.Code:postfix
- CyberPanel regenerates some files (vhost configs, OpenDKIM tables) when you change settings in the panel, so prefer the panel's editors where they exist.
More CyberPanel guides
- Fail2ban brute-force protection
- Change PHP version per website
- Git deployment from GitHub
- SSH key login, passwords off
- Create a website
- Issue SSL and fix failed certificates
- Subdomains, addon domains and aliases
- Rewrite rules, force HTTPS, HSTS
- Install WordPress with LiteSpeed Cache
- Cron jobs and a real WP-Cron
- Redis object cache for WordPress
- Databases and phpMyAdmin
- Email, DKIM, SPF and DMARC
- Email forwarding, catch-all, plus-addressing
- Mail queue, spam senders, blacklists
- CyberPanel DNS vs Cloudflare
- Packages and website limits
- Deploy Laravel on CyberPanel
- WordPress staging (clone) fixes
- Backups: create, restore, schedule
- File Manager and FTP
- Reset the admin password from SSH
- Check and restart services
- First steps after install
- ModSecurity + OWASP rules (fix)
- CLI cheat sheet
- Install CyberPanel on Ubuntu 24.04
- Firewall explained
- Install PHP extensions
- Change PHP settings (php.ini)
- Update CyberPanel safely
- Server Error (500) after a fresh install
- Packages, users and ACLs
- Upgrade CyberPanel safely
- Real visitor IPs behind Cloudflare
- Docker apps on your domain with SSL
- Import a large SQL file over SSH
- Remote MySQL access for one IP
- Move WordPress to CyberPanel by hand
- Fix "Error establishing a database connection"
- Fix PHP2Shell (CVE-2026-109618/109619)
- Run your own nameservers (PowerDNS)
- CyberPanel on a small VPS: RAM tuning
Tested on CyberPanel 3.0 (build 8, OpenLiteSpeed edition) on Ubuntu 24.04, October 2026. Menu names can change slightly between versions.

