Admin panel

Services and status

What this does: the Services and status group shows whether your server is healthy, lets you restart the programs that serve your customers, and tells you by email when something goes wrong.

When you need it: every day, to check that everything runs. And whenever a customer says their site or their mail has stopped working.

To open a tool of this group, sign in to the admin panel, click Services and status in the menu on the left, then click the tool's name. Two words come up on almost every page:

Service status

What this does: shows at a glance which services run, and how busy the server is: load, memory, disk and accounts.

When you need it: first thing when something seems wrong, and as a daily check.

Where: Services and status > Service status

To check that every service is running

  1. Open Services and status > Service status.
  2. Read the line under Services. When all is well it says "All 14 services are running." (the number depends on what is installed on your server).
  3. Look down the Status column. Every service should say Running, and Starts with the server should say Yes.
  4. To read the state afresh, click Check again, the button at the very top of the page, above the Services card. The time next to it shows when the page last looked.
The Service status page: the Check again button at the top (4), then all 14 services running, from the panels and the server agent to the web server, PHP 8.3, MySQL databases, DNS, mail, FTP, cron jobs and login protection, and below them the Server and How busy it is cards

If a service is not running, restart it on Services.

To see how busy the server is

  1. On the same page, look at the Server card. It shows the hostname, the system, how long the server has been up, the load over 1, 5 and 15 minutes, the memory and the disk in use, and the number of accounts.
  2. Look at How busy it is. The bar shows the load per CPU core over the last minute: the first load number divided by the number of cores. Below 1.00, all is well.
The Server card: server.example.com on AlmaLinux 9.8, up for 14 days, load 0.42, 4 CPU cores, 3.2 GB of 8.0 GB memory and 30 GB of 200 GB disk in use, 3 accounts, and How busy it is at 0.10 of 1.00

If something goes wrong

Services

What this does: restarts, stops and starts the services freePanel installs, and chooses which ones start by themselves when the server starts.

When you need it: when a service has stopped, or after you changed a setting that only takes effect when the service restarts.

Where: Services and status > Services

To restart a service

  1. Open Services and status > Services.
  2. Find the service, for example Web server (httpd), and click Restart on its row.
  3. Wait for the message. It says "Web server was restarted." when it worked.
The server's services: all 14 running; the panels and the server agent can't be changed here, and the Restart button of the Web server is marked 2

The panels and the server agent are part of freePanel itself. They can't be changed here; they are changed by upgrading freePanel.

To stop or start a service

  1. Click Stop on the service's row. The panel tells you what stops working, for example "Every website on this server stops answering."
  2. Click Stop it to confirm. The page says the service was stopped.
    The Web server row asking: Stop Web server? Every website on this server stops answering, with the Stop it button marked 2
  3. To start it again, click Start on the same row.

To choose whether a service starts with the server

  1. Click Don't start at boot on the service's row, then confirm. The service keeps running now, but won't come back by itself after a restart.
  2. To undo it, click Start at boot.

If something goes wrong

Which log to read for each service:

ServiceLog on the Logs page
Web server (httpd)Web server errors
Mail sending, Mailboxes, Mail signing, Mail sender checkMail
MySQL databases (mariadb)MariaDB
Cron jobs (crond)Scheduled jobs
Login protection (fail2ban)Blocked addresses (fail2ban)
The panelsThe panel's web service
The server agentThe panel's root agent
PHP, DNS, FTP and any other serviceSystem messages

Anonymous FTP

What this does: lets accounts that have their own IP address offer files to anyone over FTP, without a password. FTP is an old way to copy files to and from a server; "anonymous" means anyone may sign in.

When you need it: only when a customer must share files with the public over FTP. It is off until you allow it.

Where: Services and status > Anonymous FTP

To allow anonymous FTP on the server

  1. Open Services and status > Anonymous FTP.
  2. Tick Allow anonymous FTP.
  3. In Anonymous sessions at once, keep the number or type another one from 1 to 500. In Speed per session (KB/s), type 0 for no limit.
  4. Click Save. The FTP server restarts; sessions that are open carry on.
Anonymous FTP on this server: Allow anonymous FTP ticked (2), Allow anonymous uploads, the sessions and speed limits, and the Save button (4)

Each account still turns it on for itself in its hosting panel (Files > Anonymous FTP), and needs an IP address of its own (see IP addresses). Visitors can only read the account's public_ftp folder. Accounts that turned it on lists them.

This works only if the FTP server is installed. To check, open Server profile: the FTP role must say Running. If it says Not on this server, this page changes nothing.

If you also tick Allow anonymous uploads, you must tick I accept this for the accounts that turn uploads on: anyone on the internet will be able to leave files on your server.

Turning it off ends anonymous access for every account at once. Their folders and files stay.

If something goes wrong

Web Disk settings

What this does: turns your customers' Web Disk on or off for the whole server, makes every drive read-only, and limits how long a file stays locked. Web Disk lets a customer open their website's files as a network drive on their own computer.

When you need it: when you want to stop all changes over Web Disk for a while, or a program keeps files locked too long.

Where: Services and status > Web Disk settings

To change the Web Disk settings

  1. Open Services and status > Web Disk settings.
  2. To close every drive, untick Web Disk is on. Leave it ticked to keep Web Disk working.
  3. To let customers read but not change files, tick Every drive is read-only.
  4. In Longest a file stays locked, in minutes, keep 60 or type a number from 1 to 60. A program that opens a file can lock it so nobody else changes it at the same time; this is how long such a lock may last.
  5. Click Save. The page says "Saved. The server now uses these settings." A change reaches the drives within 15 seconds.
Web Disk: Web Disk is on (2), Every drive is read-only (3), the longest lock in minutes (4), and the Save button (5)

Customers still reach their files in the File Manager while Web Disk is off.

If something goes wrong

FTP server settings

What this does: sets, for every FTP login on the server, whether the login must be encrypted, how many may connect at once, and how long an idle connection stays open.

When you need it: when a customer's FTP program can't connect, or you want to require encryption.

Where: Services and status > FTP server settings

To change the FTP server settings

  1. Open Services and status > FTP server settings.
  2. In Encryption, choose Required (the safe choice) or Optional. Required refuses programs that don't encrypt the login, so nobody can read passwords on the way.
  3. Change Connections at once, Connections from one address or Idle time before a connection is closed, in minutes if you need to.
  4. Click Save. The page says "Saved. The server now uses these settings."
FTP server: Encryption set to Required (2), the connection limits, the idle time, Work around faulty clients, and the Save button (4)

Tick Work around faulty clients only if one customer's FTP program fails and nothing else helps.

If something goes wrong

Service memory limits

What this does: gives a service the most memory it may use, so one service that grows can't starve the others. Memory (RAM) is the server's fast working space.

When you need it: when one service, often the database, keeps using so much memory that the rest of the server slows down.

Where: Services and status > Service memory limits

To set a memory limit

  1. Open Services and status > Service memory limits. Uses now shows how much memory each service uses.
  2. Click Set a limit (or Change) on the service's row, for example MySQL databases.
  3. Type the limit in megabytes (MB), for example 2048 (2 GB). Start well above the figure under Uses now: a database or a web server needs room for its caches. (The Processes page counts in MiB; a MiB is almost the same as a MB, about 5% more.)
  4. Click Save. The page says, for example, "MySQL databases may now use at most 2,048 MB."
Memory limits: the MySQL databases row uses 1,380 MB, its limit box holds 2048 (3) and its Save button is marked 4

To take a limit away, click Remove the limit on the row, then confirm.

If something goes wrong

Server profile

What this does: shows which roles this server plays (web, PHP, email, DNS, databases, FTP, login protection) and whether each one is running. A role is a job the server does for your customers.

When you need it: to see at a glance what this server does, for example before you move accounts to it.

Where: Services and status > Server profile

To see the server's roles

  1. Open Services and status > Server profile. The line at the top says how many roles are on this server.
  2. Read each role. Running means all its services run; Partly running or Stopped means one or more have stopped; Not on this server means it was not installed.
  3. To start a stopped service, click Open Services at the bottom and use Services.
Roles of this server: 8 of 9 roles are on it; freePanel, Web server, PHP, Email, DNS, MariaDB, FTP and Login protection are all Running, and PostgreSQL is Not on this server

Roles are chosen when the server is installed. This page only shows them.

Processes

What this does: shows what is running on the server now and what uses the most, lets you end a hosting account's process, and ends some programs by itself. A process is one program running on the server.

When you need it: when the server is slow and you want to know why, or a customer's script hangs.

Where: Services and status > Processes

To end a hosting account's process

  1. Open Services and status > Processes. The list shows the processes that use the most memory first. Memory is in MiB (mebibytes, about a megabyte each). Processor seconds is how much processor time the process has used since it started. State says what it is doing now: Running, or Sleeping (waiting for something, which is normal).
  2. To find one, type a name, an account or a number in Find, or tick Only hosting accounts' processes.
  3. Click End on the process's row. The process is asked to stop, and may save its work first.
  4. Click End again to confirm. If it doesn't stop, click Force and confirm: it stops at once, and loses what it has not saved.
Running processes: node of the account demo at the top with its End button marked 3; httpd and systemd (the system's own program that starts all the others) belong to the system and can't be ended here

The panel never ends the server's own processes, only those of hosting accounts.

To end some programs automatically

  1. On the same page, go to Background process killer.
  2. Tick End these programs automatically, then tick the programs to end. The list holds chat bots and chat servers (IRC programs, such as eggdrop, psybnc, znc and ircd) and crypto miners (such as xmrig and minerd), which are often misused on shared servers. If you don't know them, tick them all: a normal website never needs them. You can type more names in Other programs.
  3. Click Save. Every five minutes, the server ends those programs when a hosting account runs them. Run now does it at once.
Background process killer: End these programs automatically (2), the list of programs, Other programs, and the Save button (3) next to Run now; Recently ended shows eggdrop of demo

Further down, Daily process log shows how much each login used each day, Background tasks shows the panel's own jobs, and When maintenance runs sets the time of the panel's daily jobs.

If something goes wrong

Logs

What this does: shows the newest lines of the logs the server keeps, so you can read them without signing in to the server. A log is a file where a program writes down what it did, including its errors.

When you need it: when a service fails, mail isn't delivered, or someone can't sign in.

Where: Services and status > Logs

To read a log

  1. Open Services and status > Logs. Logs on this server lists the logs you can read, for example Mail, Web server errors or Sign-ins and sudo (who signed in to the server, and who used sudo, the command that runs something with root's rights). A log marked System journal is kept in the journal, the system's own store of log lines, rather than in a file.
  2. Click Read next to the log, for example Mail.
    Logs on this server: the panel's services, updates, system messages, sign-ins, scheduled jobs, Mail, web server errors and more, with the Read button of Mail marked 2
  3. In Lines to show, choose how many of the newest lines to show.
  4. To see only some lines, type a word in Only lines that hold, for example refused.
  5. Click Show lines. The newest line is last, at the bottom.
    The Mail log with 200 lines chosen (3), refused typed in Only lines that hold (4), the Show lines button (5), and the matching lines below

Nothing here changes a log. A log can hold addresses and the names people tried to sign in with, so only you, the server admin, can read them.

To keep the panel's logs from filling the disk

  1. On the same page, go to Rotation of the panel's logs. Rotation moves old log lines into separate copies and deletes the oldest copies.
  2. Choose How often, the number of Old copies kept, and whether to Compress old copies. Every week, 4 copies and compressed are safe choices. Leave Rotate early from this size (MB) and Most room for the journal (MB) at 0, which means "no extra limit".
  3. Click Save rotation. The page says "The rotation settings were saved."
Rotation of the panel's logs: the two log files to rotate, How often (2), Old copies kept, Compress old copies, the size and journal limits, and the Save rotation button (3)

If something goes wrong

Server contacts

What this does: keeps the email addresses the server writes to when something needs attention, such as a full disk, a busy server or a service that stopped.

When you need it: right after you install freePanel. Without a contact, the server has no one to tell.

Where: Services and status > Server contacts

To add a contact

  1. Open Services and status > Server contacts and go to Add an address.
  2. In Email address, type the address, for example night-shift@example.org. Use an address that is not at a domain hosted on this server, such as a mailbox at another email provider: if this server has a problem, its own mailboxes may have it too, so the server never writes to them.
  3. In Note, write whose address it is, if you like. Only you see it.
  4. Click Add address. The page says the address is added.
Add an address: night-shift@example.org in Email address (2), Night shift as the note, and the Add address button (4)

You can list up to 10 addresses. No one on the list sees the others.

To check that the messages arrive

  1. Open Services and status > Server contacts and look at Addresses the server writes to.
  2. Click Send a test to all (or Send a test next to one address).
  3. Look in each inbox. The panel can only say that the server's own mail took the message; the inbox tells you it arrived.
Addresses the server writes to: admin@example.org (the owner) and ops@example.org, each with Send a test, Change and Remove, and the Send a test to all button (2)

Further down, Where root's mail goes sends the server's own mail to root (the output of scheduled jobs, warnings about disks) to one address. Type it in Address for root's mail and click Save root's address.

If something goes wrong

Notification rules

What this does: sets when the server writes to its contacts about a full disk or a busy server.

When you need it: right after you add your contacts, so you hear about problems before your customers do.

Where: Services and status > Notification rules

To get a message when the disk is full or the server is busy

  1. Add at least one address on Server contacts first.
  2. Open Services and status > Notification rules and tick Write when the disk is too full.
  3. Tick Write when the server is too busy.
  4. Click Use the suggested values to fill in sensible limits, or type your own in Disk used, in percent and Load per CPU.
  5. Click Save rules. The page says "The rules are saved."
Rules: Write when the disk is too full (2) and Write when the server is too busy (3) ticked, the limits filled in by Use the suggested values (4), and the Save rules button (5)

Nothing is written until you turn a rule on. A limit counts as passed only when two looks a minute apart both find it passed, so a short spike sends nothing. Remind every (hours) writes again while the limit stays passed. Latest notices lists what was sent.

If something goes wrong

Failed-service alerts

What this does: writes to the server contacts when a service fails, and can try to start it again by itself.

When you need it: right after you add your contacts. Both choices are off at first.

Where: Services and status > Failed-service alerts

To be told when a service fails

  1. Add at least one address on Server contacts first.
  2. Open Services and status > Failed-service alerts and tick Write when a service has failed.
  3. Tick Try to start a failed service again if you want the panel to restart it (at most 3 times an hour).
  4. Click Save rules. The page says "The settings are saved."
Alerts and restarts: Write when a service has failed (2) and Try to start a failed service again (3) ticked, and the Save rules button (4)

You get one message when a service has failed on two looks in a row, a reminder while it lasts, and one when it runs again. Services that have failed now at the top lists any service that is down right now.

If something goes wrong

Site status

What this does: shows which customer sites answer now, their uptime over the last 30 days, and sets how often the server checks them. Uptime is the share of time a site was working.

When you need it: to spot a site that is down before its owner tells you.

Where: Services and status > Site status

To see which sites are down

  1. Open Services and status > Site status. The line at the top counts the sites that are up, down and not checked yet.
  2. Read the State column. Up or Down comes with the time it changed; Last check shows the answer and how fast it came. For example, 200 in 84 ms means the site answered with code 200 ("all is well") in 84 milliseconds (less than a tenth of a second).
Sites on this server: example.com and shop.example.com of demo are Up with 99.88 % uptime, and site3.example.net of the suspended account site3 is Not checked yet

Suspended accounts are not checked, so a suspended account's site shows Not checked yet. Customers can see their own sites' details in their hosting panel, under Stats and logs > Site monitor.

To choose how often sites are checked

  1. In Checks, keep Check every site regularly ticked.
  2. Choose how often in How often, for example Every 5 minutes.
  3. Click Save.
Checks: Check every site regularly ticked, How often set to Every 5 minutes (2), and the Save button (3)

If you untick Check every site regularly, the server stops checking; customers can still check a site themselves.

Audit log

What this does: lists who changed what on the server, and when, newest first. Every sign-in, every account made or suspended and every setting changed is written here.

When you need it: when something changed and you want to know who did it, or to see failed sign-ins.

Where: Services and status > Audit log

To find an entry

  1. Open Services and status > Audit log.
  2. In Find in the log, type a word, for example account. for every account change, a username such as site2, or an address.
  3. Read the matching rows: When, Who, Action, On (what it was done to), Result (Done, Refused or Failed), From address and Detail.
The audit log filtered by account. (2): root created site2 and suspended site3, both Done
  1. To look further back, click Show older entries at the bottom.

If something goes wrong