Plesk 12.x / Linux :: Server Running Out Of Memory By Sort Command

Mar 26, 2015

Why servers are being run out of memory by the 'sort' command even when the logs are small? Here's what is currently on a site:

-rw-r--r-- 2 root root 22392143 Mar 26 11:40 access_log
-rw-r--r-- 2 root root 68018869 Mar 26 10:50 access_log.processed.1
-rw-r--r-- 3 root root 67671664 Mar 26 09:50 access_log.processed.2
-rw-r--r-- 1 root root 69908 Mar 26 10:50 access_log.stat

[Code] .....

View 1 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Email Domains Disappearing After Running Mchk Command

Apr 21, 2015

We found an issue after running plesk mchk command to restore all the mail server settings with SpamAssiassin settings enabled for all email accounts on the Plesk Server.

After running the mchk command, we found many warning messages in the psa maillog as following "authpsa : No such user [Email account] in mail authorization database".

We checked the mysql database for records on the Email Account that the error is referring to but found that the Domain Email Database was deleted (email address, password, email data). Is this something normal that the plesk mchk command does? Plesk 12.0.18 Update #37

View 2 Replies View Related

Netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

Feb 1, 2007

What does this string do? I copy and paste it into my SSH Shell and i get ip addresses and numbers next to them.

Each number means one connection?

netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

View 1 Replies View Related

Plesk 12.x / Linux :: Server Crashing Randomly With Out Of Memory Error

May 12, 2015

it's starting to kill child processes and eventually stops/hangs.

#plesk version
Product version: 12.0.18 Update #45
Update date: 2015/05/08 03:13
Build date: 2015/01/26 15:00
Build target: CentOS 7
Revision: 334346
Architecture: 64-bit
Wrapper version: 1.2

#free -m
total used free shared buff/cache available
Mem: 3782 647 2281 45 854 2875
Swap: 2047 0 2047

View 1 Replies View Related

Plesk 12.x / Linux :: Brand New CentOS 6.5 Server Running 12.0.18 Crashing Randomly

Aug 19, 2014

I have a brand new A8i server from 1&1 that has crashed twice today and could only be rebooted through the 1&1 control panel (not Plesk). Out of the blue the server is not accessible from the Plesk CP and is not responding to pings. I have looked through the logs and do not see anything that stands out (I am not very Linux savvy). Is there somewhere specific that I can look that would tell me why it is locking up/crashing? I have only had the server about 2 weeks and am only running email on it (no websites besides webmail and Plesk CP). It is possible that there is a hardware issue, but I cannot have 1&1 check it until after hours tonight.

Server is an 8 core Intel Atom 2.6GHz with 8GB RAM.

View 8 Replies View Related

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server - Cannot Allocate Memory

Jun 22, 2015

PleskLog File

104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Jun 22 15:33:11 2015] [error] [client 176.10.112.11] Premature end of script headers: import_cop.php

and Apache Log

[Mon Jun 22 11:06:57 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Jun 22 15:46:17 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
PHP Warning: Module 'zip' already loaded in Unknown on line 0

How can I fix this problem? The Script is 100% i/O because it has worked onder PHP 5.2 and its comp. whit 5.4.

View 12 Replies View Related

Keep Command Running On Power Off

Feb 22, 2008

is there any way by which we can keep the command running on PUTTY even when there is Power Failure on our local computer.

What i mean is -

Suppose i am running a TAR command on my BOX and suddenly Power goes off my local PC, so when i relogin i have to start from starch,

is there any way to avoid it, and login back to putty and resume the session?

View 9 Replies View Related

Memory Info In Top Command

Dec 5, 2007

They have a server with 4GB RAM installed, but unlike all other servers, this one shows only 3.6GB (3631816k) in top command. How to fix it to show correct 4GB ram?

top - 06:58:47 up 2 days, 45 min, 1 user, load average: 0.11, 0.12, 0.09
Tasks: 160 total, 2 running, 158 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.2%us, 0.9%sy, 0.0%ni, 92.9%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3631816k total, 3462364k used, 169452k free, 226280k buffers
Swap: 2096440k total, 92k used, 2096348k free, 2688668k cached

View 5 Replies View Related

Plesk 12.x / Linux :: How CLI DNS Command With Wildcard

May 3, 2015

I want to run a script that will loop through all of the domains on a particular server and remove all MX records with mail.*.I am testing on a single test domain at the moment but I'm not sure how to do the wildcard./usr/local/psa/bin/dns -d example.com -mx '' -mailexchanger mail.*

The following example command is from: URL....To add an MX resource record mail3.example.com specifying domain name mail.example.com as the mail exchanger for the record, and setting the mail exchanger's priority to the DNS zone on the domain example.com to 15:

# ./dns -a example.com -mx mail3 -mailexchanger mail.example.com -priority 15..​What does the mail3.example.com got to do with it? Isn't it just adding a MX record mail.example.com?

View 1 Replies View Related

VPS Running Out Of Memory

May 29, 2007

My hosting company is telling me my VPS is running out of memory. Lets look at the stats of the site and the server.

Server:
Centos
384 megs of ramm
1 gig burst ramm
20 gig hard drive
cPanel
My total traffic for last month was about 7 gigs.

Webite:
Vbulletin 3.6.5 with a few mods
database is about 16 megs
99 members
The most ever online was 20

Yesterday my site started showing a database error page, instead of the website index page. The stats at the bottom of the page showed only 7 people on the site at the time. When I contacted my hosting provider, they told me I was maxing out my memory and burst ram.

So how can a website this small max out the given ram? This is really starting to TICK me off. I have left two hosting companies because of poor performance, why cant things just work right? How is my community supposed to grow if my users keep getting a database error instead of the web page?

View 14 Replies View Related

Plesk 11.x / Windows :: Unable To Sort Domains By Renewal Date?

Nov 27, 2013

After upgrading the panel from 10.4.4 to 11.5.30 Update #23, I am not able to sort domains based on the "Renewal Date" column. With 10.4.4, I was able to sort. Is there anyway I can do this on 11.5.30?

View 7 Replies View Related

Plesk 11.x / Linux :: Command To Validate All MUs Have Been Applied?

May 19, 2014

With the endless security patches, is there a command that can be used to verify that all current microupdates have been applied?

View 4 Replies View Related

Plesk 12.x / Linux :: Cannot Remove PTR Record With DNS Command

Mar 10, 2015

i have to delete all PTR records in over 80 domains in a Plesk 12 panel, when i tried to run the dns command to remove the PTR record from a domain, i got the error :

Code: Unable del record in DNS server: unable find DNS record ...

There is a KB article about this specific problem : [URL] .... , but it refers to older Plesk versions (8.x-10.x). I gave it a shot by copying the fix file from all 3 different versions to /usr/local/psa/admin/plib/api-common/ and i got the following PHP errors:

Code:

PHP Warning: include_once(class.PHostingManager.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
PHP Warning: include_once(): Failed opening 'class.PHostingManager.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals'); File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4

[URL] ......

Is there any workaround this PTR issue? Also, is Parallels going to update the article and provide solution for Plesk 12?

View 4 Replies View Related

Plesk 12.x / Linux :: Command Died With Status 100

Mar 30, 2015

Up till the last update Plesk was working correctly. After the latest update I can't send out mail in any form:

webmail, pop3, wordpress forms, etc.

This is the error message I get:

Command died with status 100: "/usr/bin/spamc".
Command output: Mail handler 'limit-out' said: REPLY:554:5.7.0
Your message could not be sent. The user spamfilter is not allowed to send email.

When I reverted back to the last snapshot before the update everything works fine again. But the automated update bot messes it all up again when it downloads the newer version.

View 2 Replies View Related

Plesk 12.x / Linux :: Postfix - Command Rejected

Jul 25, 2014

I just upgraded my Plesk 11.5 on Plesk version: 12.0.18 Update #9 , and after the upgrade the Postfix stop working. And forwarding, receiving is not working at all and I am getting message bellow.

OS: CentOS 6.5 (Final)
Plesk version: 12.0.18 Update #9

This is the mail system at host nsXXXXX.ovh.net.You can delete your own text from the attached returned message. mail system

<xyz@gmail.com>: Command rejected

Final-Recipient: rfc822; xyz@gmail.com
Action: failed
Status: 5.7.1
Diagnostic-Code: X-Postfix; Command rejected

View 2 Replies View Related

How Save All History And All Command Running In Putty

Jul 18, 2008

i use for login to ssh by putty

and i run very command and result

how may i saved all this command and result in putty?

View 5 Replies View Related

What Sort Of Security Should I Have On My Server

Jun 7, 2008

I have a dedicated server which I access via remote desktop.

The firewall is not enabled. What kind of security should I have on my server?
Ive read that if I enable Windows Firewall my remote desktop connection will be blocked & this will mean me having to contact the server company via phone etc.

View 9 Replies View Related

Physical Memory Running Out

May 14, 2009

recently brought a dedicated server with fasthosts.

Currently my site has

Physical80.31% 84Mb Free (428Mb Total)

Virtual2.99% 1987Mb Free (2048Mb Total)

The physical memory has shot up, do I need to reduce it somehow?

View 14 Replies View Related

VPS Crashing Due To Running Out Of Memory

Jun 19, 2009

I run a drupal site on a VPS running Lighttpd with 128MB ram and 15GB disk space. Every so often the server crashes and I have no access to even reboot via the shell, I have to get my host to reboot the VPS. They say its most likely due to the server running out of memory. I would have no more than 5 users plus 5 guests online at the same time. So my question is this...

How can I find out exactly what is consuming the memory and causing the server to crash? I have looked at drupal logs and the server logs, but I'm no wiser as to whats causing it. What should I be looking for and what can I do to try and solve this?

View 14 Replies View Related

Memory Usage :: Running Out Of RAM

Nov 19, 2008

I have a VPS with 512 MB ram. I have 6 sites hosted on my VPS, of which 3 contains only static pages. My site is not very traffic heavy. Infact I moved to my VPS only 3 months back, until then it was running on a shared server with no problem.

But still, I am always running out of RAM. I have upgraded my account to 512 MB ram from 256MB because of this. Can anyone please tell me how I can find out what is the cause of this excessive memory usage? On rebooting my server, the RAM usage goes down to about 250MB.

View 10 Replies View Related

Plesk 12.x / Linux :: Cron Not Running

Dec 30, 2014

I have just recently moved to Plesk web admin from cpanel. I have been trying to get the cron to run for the past 48 hours but no luck. Bellow is the code i have been trying to execute via cron but It does not run.

"/usr/bin/php /var/www/ vhosts/mydomain. com /httpdocs/billing/index.php cron"

View 8 Replies View Related

Plesk 12.x / Linux :: Not Running On CLoudlinux?

Dec 12, 2014

I have installed plesk on cloudlinux

But I can not see an login prompt when i try to connect with https://myserverip:8443

netstat -tulpen gives me the Output

EN 0 183156 69422/httpd
tcp 0 0 :::8443 :::* LIST

View 1 Replies View Related

Plesk 12.x / Linux :: Command Line CLI DNS Template Changes Warning

Jul 23, 2015

I'm using this script as a cron to generate DKIM keys for the domains I have. It's an easy script. And it does it's job just OK. I have the necessary software installed and configured.

The way it works is:

The script check if the domain in queue has a record for it. If it doesn't, OpenDKIM generates a one time DKIM record for mail._domainkey that I am entering to my dns records for all the domains I have.

After creating the DKIM record, it checks and deletes mail._domainkey records if there's any. Then adds the generated DKIM to plesk dns zones and disables/enables greylisting to create the appropriate dns entry.

If it does have a DKIM recors on the hdd already, then it removes

mail._domainkey​and
TXT o=-​entries.

After that it basically adds the already generated DKIM record and it disables/enables the greylisting for each domain in order to recreate "TXT o=-"

Up till here, it works fine. I can see these entries when I check the DNS Settings. They are there.

But whenever I run this script either via cron or manually, I get an error message on my panel: (You can check the screenshot as well)

Code:

Warning: The DNS zone was modified. If you would like to apply DNS template changes to this zone, either click the 'Apply DNS Template Changes' button on this page or choose the 'Apply the changes to all zones' option in Server Administration Panel > Tools & Settings > DNS Template Settings > Apply DNS Template Changes.

And unless I manually click "Apply DNS Template Changes" for EVERY SITE it doesn't go away.

So, I was wondering, is there a way to scriptize that command? Or how to prevent it?

This is the command I use to generate DKIM and add it to Plesk database, also if any such record exists, delete and re-write it:

Code:

#!/bin/sh
ADMIN_PASS=`cat /etc/psa/.psa.shadow`
MYSQL_BIN_D=`grep MYSQL_BIN_D /etc/psa/psa.conf | awk '{print $2}'`
mysql="${MYSQL_BIN_D}/mysql -N -uadmin -p${ADMIN_PASS} psa"

query="select name from domains;"
domains=`echo $query | $mysql `
for i in ${domains}; do
echo "Processing $i"

[Code] ....

View 4 Replies View Related

Plesk 12.x / Linux :: CLI - Scheduled Backup From Command Line

Apr 9, 2015

I'm looking to set up a schedulled backup from command line.

I haven't found the correct command, could you tell me if it's possible and how ?

Additional question: I'm looking too, to set for the server the max number backup file to save, do you know how to do it from cli ?

View 8 Replies View Related

Plesk 12.x / Linux :: Remove Backup Via Command Line?

Jan 17, 2015

Is there a command line way of removing Plesk backups?

I'm looking for the command line equivalent of these steps: Log into Plesk as the server admin > "Tools & Settings" > "Tools & Resources" > "Backup Manager" > check a backup and click "Remove".

We have a script that copies the contents of "/var/lib/psa/dumps/" to Amazon S3 for long-term storage of backups. It runs nightly after a scheduled Plesk backup. Once that script completes successfully, we'd like to delete the Plesk backup to free up disk space. We have Plesk's "Maximum number of backups in the repository" set to 1.

But Plesk appears to keep that backup around while creating a new backup (which makes some sense). This is causing us trouble because the server does not have enough disk space for two backups. As a temporary solution, I'm manually deleting the backup each day through the Plesk admin, but would like to automate it if possible. If automation is overly complex/risky, we'll look at upping our disk space instead.

View 4 Replies View Related

Plesk 12.x / Linux :: Command Line Mail In Chroot?

Feb 23, 2015

Is there any way for a client to use command line mail in a script. Client has ssh access via chromed environment.

Wants their script to be able to send an email on completion.

plesk 12 on Centos6.6

View 6 Replies View Related

Plesk 12.x / Linux :: Execution Failed Command - Autoinstaller

Apr 13, 2015

while plesk was trying to update automatically (as per the normal preference settings) but suddenly gave this error

Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
)

Details: Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 17%..26%..37%..47%..57%..78%..88%..100% was finished.
File downloading sitebuilder.inf3: 22%..35%..48%..60%..73%..86%..100% was finished.

[code]....

ERROR: Currently installed version of product with ID 'plesk' is not available from download site anymore.Please upgrade to the next available product version to receive software updates.Seems like the RPM got damaged, but I already fixed that part, now when I put "install" I'm geting the following
Installation started in background..Getting bootstrapper packages to installation list:

Following bootstrapper packages will be installed: (empty)
----------------
Getting packages to installation list:
Following packages will be installed: (empty)
----------------
Loaded plugins: fastestmirror

Patch for plesk 12.0.18 will not be installed since it is already applied.Error: You already have the latest version of product(s) and all selected components installed. Installation will not continue.HOWEVER the "mail" and mail server configuration no longer shows in "tools & settings".

View 1 Replies View Related

Plesk 12.x / Linux :: No Output For Command Mailq After Upgrading To 12.0.18

Apr 2, 2015

We have a plesk server running on a Ubuntu 14.04.2 LTS machine. We check the state of the mailqueue with nagios, executing the "mailq" command. After the AutoInstaller upgraded our installation from 12.0.18 update 38 to 39, we noticed, that the nagios check failed.

After investigating a little bit, it seems that we found the problem:

When I enter "mailq" in the shell, the command is executed and gives me an proper output. But when I try to execute the command with its full path "/usr/bin/mailq" nothing happens, and I have to cancel with [ctrl]+[c]. The which-command delivers exactly the same path as written above...

View 4 Replies View Related

Plesk 12.x / Linux :: Can Have WAF ModSecurity And Firewall Running Together

May 26, 2015

I currently have the Web Application Firewall (ModSecurity) installed but would like a visual interface to block IP's, subnets etc.. Can I install the Plesk firewall as well without any conflict with the Web Application Firewall?

View 3 Replies View Related

Plesk 12.x / Linux :: PHP Scripts Not Running Even As Root

May 14, 2015

I tried to setup a cronjob to run a php script. Something simple like this:

php /var/www/vhosts/onlinehome-server.info/mydomain.co.uk/script.php

didn't worked. So I used the terminal as root and I noticed that php is not running script not even as root.

not even commands like php -v works. I don't get any error back.

Plesk version 12.0

View 5 Replies View Related

Plesk 12.x / Linux :: Can't Turn Off Running Task

Jun 19, 2015

an email notification for this is coming through every day. It says ended successfully so no errors...

Running task: C:Pleskadmininweb_statistics_executor.exe
Started: Fri Jun 19 01:49:01 2015
Ended successfully: Fri Jun 19 01:49:09 2015

If i go to Server -> Scheduled Tasks and look for it, it cannot be found anywhere. Also scheduled tasks only shows system users, not 'Plesk Administrator' as the kb articles refer to.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved