batch edit of the name servers in every DNS Zone for every domain on one of my cPanel/WHM boxes. Rather than using WHM to manually modify the NS entries, I would like to find a way to do a batch or mass edit.
I simply need to change all instances of NS1 to NS3 and NS2 to NS4.
I was told a simple one line sed script should do the trick on /var/named but alas, I am woefully incapable of writing such a script.
Does anyone have any ideas? With over 200 domains on this box I'd hate to think this will have to be done manually.
I am having trouble settingt up my email, it used to work until another user changed my dns file zone.
If i send an email i get the following...
----- Transcript of session follows ----- 550 5.1.2 <test@example.co.uk>... Host unknown (Name server: mx2.external-mail-server.com.example.co.uk.: host not found) My Records are...[url]
to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc
I would to use: htdigest -c filename.htpasswd Group usernamein file batch to insert a set of users with password.I can use it without having to enter the password from the keyboard?I tried echo pass| htdigest -c filename.htpasswd Group username but it does not work.
I am trying to change the cname through a batch.. It is successfully done for English language but I want to use Arabic language. When I am using Arabic it appear like this "????".
I've this terrible problem: on my site I start a script that executes a batch process that imports into the Mysql database a lot of products (texts and images). I'm monitoring the query process from Phpmyadmin>Status and I notice that after some minutes the number of queries decreases from ~900 to ~30, that means that the script is stopped! Then I check the error_log and infact there's this error:
[Thu Oct 02 17:09:34 2014] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 02 17:09:34 2014] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: insert_products.php
I am trying to edit my database parameters by editing my /etc/my.cnf file. However I am new to SSH and can't seem to get this working. The parameter I wants to change in /etc/my.cnf file are as follows max_connections 600
I uploaded a joomla template and now need to edit the css file. But it says it is unwritable. Earlier, I had a problem editing an image. My host said, "Since these files were created the webserver, you didnt have ownership to change these files."
So perhaps the same happened with the css file? What do you think?
I have a few customers that want to manage their own content. I don't think a CMS is the way to go (learning curve is too great) so I was wondering if anyone knew of a website software similar to Site Builder (but not Site Builder) that will allow a customer to edit their own content? Or maybe suggest an easy to use CMS~
root@host# free total used free shared buffers cached Mem: 4016936 2598976 1417960 0 138424 1558652 -/+ buffers/cache: 901900 3115036 Swap: 5275640 0 5275640 Eventually, the cache reaches 2600000 and i would like to keep the cache smaller so that the free RAM is always steady around 500k for when a lot of traffic comes through.
my customer seems to have problem sending the picture to page editor upon uploading as after he send, he cant see any picture or code on the editor but for my side it works fine,
linux hosting. Basically i want to edit php.ini inside my dedicated box to include
Code: disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, base64_decode, base64_encodem, proc_terminate but how can i edit php.ini? I know where my php.ini and I have root access.
This is probably a long shot, but is there a workaround way to be able to edit passwords for addon domains in cPanel 11? Apparently you can only manage redirection or remove: ...