Php.ini - Editing It Messed My Whole Server Up

May 11, 2008

I have changed one value in /etc/php.ini
safe_mode = On then restarted apache.

Now, when I try to access any mysql based sites, like forum or gallery - I get a blank page.

I went back and changed safe_mode back to 'Off'. Restarted the server - but I am still unable to load any pages.

Running CentOS.

View 6 Replies


ADVERTISEMENT

Plesk Messed Up

Sep 8, 2007

I've had Plesk 8.0 Linux fedora (leased version) running on my dedicated server fine until a gray-skilled PHP coder logged in as root to fix some issues and messed it up all.

I get a 404 error now: [url]

I think some plesk files (or plesk entirely) are deleted, how do I check? If its indeeded deleted, how do I reinstall?

View 2 Replies View Related

One Server - File - Two Users Editing It, Third Errors Out

Sep 25, 2009

There is 1000MBPS network set up between three computers and server.

Server has files which program saves.

Program is being run in three different computers.

Each computer tries to get into same file (eg last bill) that was created before. First computer goes in within seconds. second minutes and third just crashes. No matter which computer runs it first, last one crashes.

So called "server" is running on Windows XP pro since it just needs to keep one program files. However I cant find out whats causing file sharing over network bug that crashes access to same file if connection from many computers.

View 7 Replies View Related

Editing DNS Zones In WHM

Jul 16, 2009

I'm in the process of migrating a site to a new server. we're not ready to move email yet, so ideally i would like to just move web traffic at this time. i would like to be able to do this without changing the nameservers with the domain's registrar at this time.

which records to i need to manipulate in order to do this?

can i just change the A record for domain.com to point to a new IP and this won't impact the current email or do i need to move the entire site?

My biggest concern right now is impacting email by moving the everything to the new server.

View 2 Replies View Related

Editing A DNS Zone

Mar 11, 2008

to edit a DNS Zone (via WHM=> DNS Zone Edit) of a domain hosted on my server & which NS's are routed to.

New setting should route domain to a seperate server (i.e HTTP, FTP) and leave EMAIL on my server.

I've changed all settings, except MX & mail CNAME, to the new IP (This includes NS's, A's, CNAME's - WWW & ftp). Still the WWW is not working and email has stopped working localy.

View 9 Replies View Related

CPanel/WHM DNS Zone Editing

Jul 11, 2008

I have recently updated my cPanel/WHM to the latest stable version and with one (and maybe a few more) of the DNS zones I cannot edit using cPanel and I get this error:

Unable to parse zone: Error while parsing zonedata for THISISMYDOMAIN.COM: expected valid serial, line 4 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.

What can I do to fix this as I need to edit this DNS zone urgently.

View 8 Replies View Related

Editing Mime Types

Aug 27, 2008

Whenever I try to validate a page on my website it says it's invalid because the mime type is incorrect.

If I add this code to the top of the page:

PHP Code:

<?php
header("Content-Type: text/html");
?>

The page then becomes valid.

How can I update the mime type on the server so that I wont have to add this code to every page?

My server is a VPS running Apache with Plesk. I have SSH access.

View 3 Replies View Related

FTP Program With Instant Editing

May 2, 2008

I am currently using WinSCP to edit files on remote servers on the fly without having to download them and then open them. WinSCP works fine, but today I experienced a severe problem for a second time.

When saving a file (a css file), WinSCP gave me an error something to the effect of "Lost connection - Could not list directory"...or something like that. When I reconnected, the file has gone corrupt at 0 bytes. Ultimately, the file is history!

Thankfully, I had a backup of the file, but more specifically, I am a fan of "Ctrl+A " then "Ctrl+C" before saving any file when doing live edits. This is what saved my butt!

I have a continuous problem of losing my connection with the remote servers, but when I connect via SSH to my local servers (either locally here or when I am mobile), I do not believe I have EVER lost my SSH connection.

My question is this...

Is there another FTP program out there that anyone can recommend that will allow me to edit files over FTP that does not require download, then open? Filezilla works great, but to my knowledge, I can only download each file, then open.

I have reported the problem to the host and we have gone through the settings with WinSCP and I have also been to WinSCP about this issue...all to no avail.

View 14 Replies View Related

Crontab Editing Error

Jan 13, 2008

I am trying to edit crontab using crontab -e, I seem to get to it okay but I am unable to edit anything in there, at the end of the file there are ~ in there, and I cant even delete them. Its like the file is locked.

View 6 Replies View Related

Putty - Editing File

Oct 26, 2007

putty, and the SSH commands in general

When I open a file using "vi" command, it just open the file and I don't know how to edit it, by removing or adding text to it, so how can I do it?

View 5 Replies View Related

Apache Does Not Restart After Editing Httpd.conf

Jun 12, 2009

I am having a problem on my VPS. I am running the latest version of Apache on Windows Server 2K3, and after editing httpd.conf to allow virtual hosts (#Include /conf/extra/httpd-vhosts.conf) and trying to restart the service, an error appears saying the operation failed.

I have even tried restarting/starting the service via services.msc

If I am not using the default httpd.conf Apache will not restart at all... it is very strange. I have also tried doing a repair of the installation of Apache.

View 11 Replies View Related

Plesk 12.x / Linux :: Persistent Editing Of Postfix Files

Dec 10, 2014

I want to put custom values in /etc/postfix/main.cf, but I'm afraid plesk would overwrite them during upgrade. How can I safely add custom values to main.cf and preserve them duing plesk updates?

View 1 Replies View Related

Plesk 11.x / Linux :: Duplicate Entry When Editing Login Parameters?

Feb 10, 2015

When you try to change the password of the client to login the control panel gives an error: SQLSTATE [23000]: Integrity constraint violation: 1062 Duplicate entry '<login>' for key 'login'

The impression that instead of UPDATE done INSERT.

Parallel Plesk Version: 11.5
OS: Debian Squeeze

View 2 Replies View Related

Apache :: Will Editing HTAccess File In Cpanel Effect All Wordpress Domains And Subdomains

Mar 26, 2014

I added the following to my cpanel .htaccess file on my hosting account:

<FilesMatch ".pdf$">header set x-robots-tag: noindex
</FilesMatch>

This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?

View 4 Replies View Related

Http Messed Up But Not Http

Mar 31, 2008

where when I view my website through http using Firefox, it never stops loading. If I use IE, then I get a "page can not be displayed" error.

If I use https then everything works fine.

I have noticed that if I delete lines from the files, I don't have this problem.

If I try viewing images (so I know it can't be an html of php problem) some look fine (the very small files). But, larger files, around 168 kb, load halfway and the second half is distorted (green and purple chunks and other random colors and lines).

If I view the image through https, the image is perfectly fine!

If I put my site through w3.org's validator (just to see what it would report) it says "500 Line too long (limit is 4096)".

My website used to work, so I know there isn't any code in the pages that would cause this to happen.

Is there an Apache setting I check? Perhaps it is sending a really long header that I can not see? I am not really sure what to do. I have made my site to force https but it's slow and not signed.

View 6 Replies View Related

Improve Performance- Web Server, SSH Server, And Mail Server

May 8, 2007

I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server.

What I've got running:

Apache2, PHP5, MySQL5, Dovecot, Postfix

One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness.

Changing the server software is not an option - Only optimization.

Quote:

Originally Posted by httpd.conf

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 8
MinSpareServers 8
MaxSpareServers 13
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 50
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
Include conf.d/*.conf
User apache
Group apache

Quote:

Originally Posted by my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

View 8 Replies View Related

Remote Upload To Server (url/server To Server)

Mar 7, 2009

I looked a lot - can not find solution ....

I want to transfer a file from [url]to [url]or [url]Without it will pass my localcomputer (slow upload)

It can be also a script i will install like this one - this is only for images
[url](remote)

View 7 Replies View Related

Plesk 11.x / Windows :: Don't Have Root Access To Server As It Is A Webfusion Dedicated Server

Oct 16, 2013

I have Plesk 11.5 (service provider mode) on a Windows 2008 server IIS7.Most of my sites are developed in .asp and therefore i use a custom 500-100.asp error page that check s the IP of the visitor then displays either a friendly error, or if its my IP a full error of what has happened (it also emails me the error). This allows me to debug pages easily whilst developing and to keep an eye on anyone trying SQL Injection hacks on my sites (as the error and email also have session variables and IP address).I dont have root access to the server as it is a Webfusion dedicated server.I have following the Plesk documentation -

1) Switch on custom errors for the subscription
2) Look in virtual directories and navigate to error documents
3) Find the error in question (500:100) and change it to point at either a file or URL

FILE - I had the data centre add in the 500-100.asp error page in to the virtual template so that my page is available in the list of virtual files - this didn't work but that maybe because its not a static page??

URL - when i add the path it says its incorrect, if i add a fully qualified address, it accepts it but it doesn't work.give me a specific example of the URL that can be entered relative to the root as the format in the documentation isn't accepted. The last step is to restart IIS which is also an issue as i cant seem to do this from the Plesk panel..It is as if it isn't catching the 500:100 error, and only catching the general 500 error??

View 1 Replies View Related

Urchin 5 / Google A . Transfering From Server To Server (Serial Already Activated)

Nov 21, 2006

I am currently running Google Analytics/Urchin 5 (v5.7.02), on a server, the server has started to act up, (on its last legs etc) and now I am trying to transfer the Urchin Software to a new server, where it would work effectively.

However upon installing the urchin software on the new server and running it (localhost:9999), I am presented with An Action Items Page, and these following choices

Obtain Demo License
Buy License
Activate Pre-Purchased License

I choose ‘Activate Pre-Purchased License’ pop in the Serial number and complete the registration then…

---------------------------------------------------------
Urchin Licensing Center -- Error!

An error has occured during your transaction, please use the back button and correct the problem. The specific error message is:

• Unable to generate a license. Some possible reasons:

Your serial code is currently active <<< How do I disable it and use it on another server?
---------------------------------------------------------

So all I want to do is deactivate the serial and reactivate it on another server.

Does anyone have experience with this or a similar problem or have a solution to this problem. Any help be most appriciated.

Or even a Contact Number so that i can get some one over the phone!

View 2 Replies View Related

Cpanel Domain Name Server (DNS) Setting For Email On 2 Seperate Server

Nov 7, 2009

This is the scenario, domain.com are setup on server1, however server2 also has the same profile of domain.com as we use ns3 and ns4 using domain.com. This works fine with the nameserver setup on server2.

However I encounter problems as the emails from server2 won't reach server1 as there are duplicate profile on server2.

My question is how do I setup the DNS in cpanel/whm from server2 so the emails from server2 will reach server1?

Server1 (www.domain.com)
ns1.domain.com
ns2.domain.com

Server2
ns3.domain.com
ns4.domain.com

View 6 Replies View Related

File Server Setup With Nginx...how Do I Choose The Config For The Server

Apr 22, 2009

I just want to use a server for file sharing, it will have nginx and that's it. I'm looking at centos, or freebsd, but I been using centos forever now and I'm not sure how to use freebsd, should I just stay with centos?

Do I tell my hosting provider to just install the OS and give me ssh action and that's it? Don't install any control panels or any other stuff? I want one domain and one subdomain on it though and ftp action.

View 8 Replies View Related

Remote Spamassian With Multiple Mail Server (Smartermail Server)

May 12, 2009

Remote Spamassassin for Multiple Smartermail Server

I want to setup Remote Spamassassin(On Linux) for Multiple Smartermail servers. I want to the setup the spamassassin on a linux box

How i can setup this with multiple smartermail servers.

View 6 Replies View Related

How To Tansfer Backup Files From Linux Server To Windows Server

Jul 4, 2007

what is the fast and best way?

View 4 Replies View Related







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