New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

can't start mysqld

Started by ereo, October 06, 2014, 05:59:20 AM

Previous topic - Next topic

ereo

hello
today i've got trouble with mysql, i can't login because trouble with mysql, the browser give me notification

Quotemysqld is stopped

Trying to start mysql server, please reload browser!

Could not connect: No such file or directory

how to fix it?

erm3nda

You didn't supply ANY info about your server details nor log info, so it's difficult to help you.

If mysql do not work, this may be a problem from installation. Is this the first time?

You can try restart whole cwp service by command `service cwpsrv restart` or only mysql by command `service mysql restart` or `/etc/init.d/mysqld restart`.

If not, try to reinstall mysql server using command `yum reinstall mysql-server`.



8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

ereo

after checking with tail,
Quotetail -n 30 /var/log/mysqld.log

it tell's me
Quote141006 12:54:47 mysqld_safe mysqld restarted
141006 12:54:47 mysqld_safe Number of processes running now: 0
141006 12:54:47 mysqld_safe mysqld restarted
141006 12:54:47  InnoDB: Initializing buffer pool, size = 8.0M
141006 12:54:47  InnoDB: Completed initialization of buffer pool
141006 12:54:48  InnoDB: Initializing buffer pool, size = 8.0M
141006 12:54:48  InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
141006 12:54:48  InnoDB: Retrying to lock the first data file
141006 12:54:48  InnoDB: Started; log sequence number 0 103960
141006 12:54:48 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
141006 12:54:48 [ERROR] Can't start server: can't create PID file: No space left on device
141006 12:54:48 mysqld_safe Number of processes running now: 1
141006 12:54:48 mysqld_safe mysqld process hanging, pid 23371 - killed
141006 12:54:48 mysqld_safe mysqld restarted
141006 12:54:48 mysqld_safe Number of processes running now: 0
141006 12:54:48 mysqld_safe mysqld restarted
141006 12:54:48  InnoDB: Initializing buffer pool, size = 8.0M
141006 12:54:48  InnoDB: Completed initialization of buffer pool
141006 12:54:48  InnoDB: Initializing buffer pool, size = 8.0M
141006 12:54:48  InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
141006 12:54:48  InnoDB: Retrying to lock the first data file
141006 12:54:48  InnoDB: Started; log sequence number 0 103960
141006 12:54:48 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
141006 12:54:48 [ERROR] Can't start server: can't create PID file: No space left

ereo

solved after removing some folders and file, thanks for the help  ;)

erm3nda

Glad to know i forced you to use logs  ::)

Quote141006 12:54:48 [ERROR] Can't start server: can't create PID file: No space left
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

MarceloMG

Quote from: ereo on October 06, 2014, 07:38:35 AM
solved after removing some folders and file, thanks for the help  ;)

Hi, which folders you remove? I have the same problem...

chatig89

Quote from: ereo on October 06, 2014, 07:38:35 AM
solved after removing some folders and file, thanks for the help  ;)

Can you tell me which folders you remove? same problem

LiXuS

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_hosting-lv_root
                       50G   47G     0 100% /
tmpfs                 1.9G     0  1.9G   0% /dev/shm
/dev/sda2             477M  198M  255M  44% /boot
/dev/sda1             200M  268K  200M   1% /boot/efi
/dev/mapper/vg_hosting-lv_home
                      864G   37G  784G   5% /home


wich folder or file can i del?
/var/www/home.ro

Administrator

probably the best for start would be to check server logs in /var/log and /usr/local/apache/logs

locvfx

#9
Quote from: chatig89 on July 07, 2016, 02:46:20 PM
Quote from: ereo on October 06, 2014, 07:38:35 AM
solved after removing some folders and file, thanks for the help  ;)

Can you tell me which folders you remove? same problem

I guess you ran out of disk space
You can delete all unused log files or root's email. It happened to me after few months of using

du --max-depth=1 -h /   : List folder size
find / -type f -size +100M   : Find files with the size above 100MB
ls -1 -sh   : list folder and file
du -msh Folder_Name   : Get size of a  folder