Unable To Save Changes In My.cnf
Jun 13, 2007As root I can't save any changes inside my.cnf. Allways getting this error:
Could not open file for writing: Permission denied
I checked file permissions twice - everything seems to be normal.
As root I can't save any changes inside my.cnf. Allways getting this error:
Could not open file for writing: Permission denied
I checked file permissions twice - everything seems to be normal.
In my dedicated server I have MS SQL 2005 Server whose backup is scheduled at night 2:00 am through Management Console. Now, once the backup is over I wish compress it and give the current date as the name to the compressed file.
I had tried to do it using PK Zip server but was not successful in doing so. Can any body help me in accomplishing this.
I grepped an IP address on a domain log and it showed thousands of lines. How do I save this grep result to a txt file so I can send it to someone?
View 4 Replies View RelatedMy site is going down lot of times due to high cpu quota and when i check cpu exceeded logs i could see some ip addresses trying to open non existenet permalinks i.e. my site is smartdesis.com and they try to open smartdesis.com/xxx which gives a 404 error which is causinf high cpu usage. Repetedly they are trying to open differnt urls by appending /xxx to them, i banned nearly 100 ips but they seem to be growing.
View 10 Replies View Relatedhow can i save /etc/passwd there is many linux order which show my users on server
such as :
cat /etc/passwd
cat /var/cpanel/acounting.log
ls -la /etc/valiases
ls /var/named
-----------------
and how can i disable the geting orders
such as :
wget
curl -o
lynx
I switched from Resellerzoom to wiredtree with a vps. I also have accounts with liquidweb and softlayer. All are reliable and uptimenot an issue but as far as getting help Wiredtree is just far above.
I have been there now only a few months but so far so good. If your not a real tech person wiredtree is your best bet. ANd the email response time wow!! I tried to call them once but by time I picked up the phone and waiting on hold for about 2 minutes my email was already responded to.
I am sure there are thousands of good host out there but I know on this boards when i looked no one would tell me whichto go with , they all said it depends on this and that. What I am saying is if your looking for a good VPS and your not a technical person go with Wiredtree save yourself the headache I had with others that are great host but just not ready to deal with us stupid people who dont know how to "harden" a server .
for save my server from perl shells , many hakers can haked by cgi-telnet & r57 shell with perl how can save perl without stop it because if i stop it cpanels was disabled any one have any way to save my server from shell perl?
View 11 Replies View Relatedi 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?
Display some text in a web browser from a file called text.txt
text.txt will have many lines and some of them I do not want users to be able to modify and overwrite.
config_item_1=user can edit
config_item_2=user should see but not edit (could be on any line)
config_item_3=user can edit
config_item_4=user can edit
The user has made their changes in the web browser and clicks submit. I then need this info to be saved as the text.txt file however some checking needs to be done first. Anything matching config_item_2 should be removed. This could be on any line. Anything not matching should be permitted and added.
i use the following perl script(created by me) to save server load every 30 minutes to a log file i just keep it running in the background(probably would be more effective using cron)
#!/usr/bin/perl
while(1) {
$w = `w`;
#print $w;
$w =~ /load average: (.+)
/;
$log = $1;
my ($sec, $min, $hour, $mday, $mon, $year) = localtime;
my $rightnow = sprintf("%04d-%02d-%02d %02d:%02d:%02d ", $year + 1900, $mon + 1, $mday, $hour, $min, $sec);
$log = $rightnow . ": " . $log ."
";
open (OUTFILE, ">>top_logfile.txt");
print OUTFILE "$log
";
close (OUTFILE);
#sleep for 30 minutes
sleep(1800);
}
Panel-Version11.5.30 Update #38
BSDebian 7.4
Save Web Hosting Settings takes a long time. The Domains (Apache Server) are not reachable for 36 seconds.
I want to save the access logs of our websites on an external server. If I do this now with the default setup, the gets overwritten every day. The desired file name format whould be: websitedomain-tld-access-2014-10-24.log
How can I tell Plesk to do this and how can I make sure the statistics keep working?
On our other servers we use rotatelogs for this.
If I try to download a plesk backup to my local machine it saves a file a few bytes in size in .xml.tar.html format
My other non plesk 12 machines correctly save the file in .tar format ....
I've got a 256mb cpanel vps and since I use enom's dns for all the domains going to the server, could I actually disable named (Berkely Name Server Daemon BIND) and get back 64mb ?
View 5 Replies View RelatedI am unable to start apf firewall in openvz vps, i have following error:
root@server [~/apf-0.9.6-3]# /usr/local/sbin/apf -s
apf(9352): {glob} activating firewall
apf(9405): {glob} unable to load iptables module (ip_tables), aborting.
apf(9352): {glob} firewall initalized
apf(9352): {glob} fast load snapshot saved
How can resolve this issu?
I am running a website with a huge traffic on a single server with 2GB Ram and its working fine from last 3 years but from last 1 week the website is being unstable, not all the time but sometimes,
Following are the conditions when the problem occures:-
- When we enter the URL in browser and hit enter, it takes bit long on connecting...before reaching to the website, once the title appear at the top of the browser the page loads normally and while browsing the website, sometimes it gives page cannot be displayed error and we have to refresh the page.
- at that time when I check the result from [url]it gives bit high Average Response Time.
- On the other everything seems to be normal on SSH,
load average: 0.90, 0.96, 0.79
Mem: 3116360k total, 2841948k used, 274412k free,
root@silver [~]# netstat -alpn | grep :80 | awk '{print $4}' |awk -F: '{print $(NF-1)}' |sort |uniq -c
1 0.0.0.0
1197 ***.101.37.**
This is the normal traffic, not the attack and site was working fine from 3yrs but I guess some recently made changes is causing this issue.
I am using Plesk 8.6 with Mail Enable standard edition.
Since past two weeks the things were working fine. Yesterday I had activated the antispam option given in the admin panel of plesk. And since today morning nobody is able to login into their mailboxes. Outlook gives error message as:
"Task 'mail.absoluteinternational.net - Receiving' reported error (0x800CCC92) : 'Your e-mail server rejected your login. Verify your user name and password in your account properties. Under Tools, click E-mail accounts. The server responded: -ERR Unable to log on. Only one connection to a mailbox permitted at a time.' "
And webmail gives error message as "Login Failed".
Also if I do test account settings in MS Outlook, all the tasks would come as completed except Log on to incoming mail server (POP3). If I check the POP logs I get the error message as:
"07/21/09 01:17:28POPS368122.169.82.167PASSPASS *-ERR Unable to log on. Only one connection to a mailbox permitted at a time.018"
The filesystem mounted at /home/johnn on this server is running out of disk space.
cPanel operation has been temporarily suspended to prevent something bad from happening.
Please ask your system admin to remove any files not in use on that partition.
I get this message upon logging onto cpanel. It's the first time seeing this. How do I disable cpanel from doing this?
I have nameservers setup on my server. As I have changed my servers, I need to resolve the sites. I changed the nameservers Ips to resolve to new one:
67.159.33.250 and 67.159.33.251
But my sites and my clients sites are going down.
[url]
And similar report by dnsreport is being given saying that NS didnt responded timely.
i'm trying to configure PHP, as I really need to turn magic quotes off and raise the memory limit. i don't want to use .htaccess - too many sites
I got plesk 8.2.1, php5.1
well, to make it short, I ran 'phpinfo()' to see where php.ini was: etc/php.ini
I change that, restart httpd, nothing happens. restart the server, nothing still. my changes are not applied when I run 'phpinfo()' again.
i try 'locate php.ini' from the terminal, there are a few!
/usr/local/psa/admin/conf/php.ini
/usr/local/psa/admin/conf/php.ini.def
/usr/local/sitebuilder/php.ini
/etc/php.ini
/etc/php.ini.
/etc/php.ini.saved_by_psa
/etc/php.ini.rpmsave
... plus some in the opt folder (that should be just the cache, uh?)
the problem is that I tried to open all of them, to see where the hell php was getting the settings from, but none of them seem to reflect php's settings.
meaning, I don't know what file I can use to configure PHP.
all of them, for instance, say 'memory_limit: 32M', but php is set at 8M, and phpinfo() tells me memory_limit 8M.
any idea why this might be happening?
does Plesk have some tool to configure PHP that makes PHP ignore my changes?
i have a problem uninstalling spamassassin
I use the command rpm -e spamassassin
I get error msg saying error: package spamassassin is not installed
I recently updated all my cPanel software, and now when I try to Edit a DNS zone, I get:
Unable to parse zone: Error while parsing zonedata for *DOMAIN NAME HERE*.com: expected valid rname, line 4 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.
I am unable to connect to corehoster at all again --
I have been having issues since I opened my alpha master reseller account
Any reseller account I create cant create cleints..
I am even unable to enter tickets or send email to them since they are unreachable
Nick S refuses to refund my account .
Any one else having issues with core hoster
I would like to offer to my customer Mumble?
but I cant install it - documentation are very poor, I need to be able to use with CentOS + admin pannel
im using fireftp and i chmod the folders to 777 but it seems that im still unable to delete the folders as i get the message 550 directory not empty etc.
View 9 Replies View RelatedI am having major problems getting php-gd working properly in my LAMP environment. I am running 64 bit CentOS and PHP 5.2.6. I am trying to get gd working with PHP. Here are my currently installed packages related to gd:
rpm -qa | grep gd
gdb-6.5-25.el5_1.1
gdbm-1.8.0-26.2.1
php-gd-5.1.6-20.el5
gd-2.0.33-9.4.el5_1.1
sysklogd-1.4.1-40.el5
gd-2.0.33-9.4.el5_1.1
I have copied the gd.so from /usr/lib64/php/modules to the "extension location" specified in my php.ini and I have enabled the gd extension. But when I restart apache I get this error in the error log:
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20050922, debug=0,
thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to ma
tch
in Unknown on line 0
And when I look at phpinfo(), gd does not show up.
ERROR: Unable to include the DB/mysql.php file for `mysql://poweradmin-user:***@localhost/pmwh'
Does someone has an idea? I'v installed it according this howto:[url] yet it is giving me this error .