Hide Php/mysql Errors On Live Domain

Apr 27, 2009

how can i stop php and mysql errors from being displayed on a live site. I'd rather just check the error log than have the errors displayed to all users.

View 4 Replies


ADVERTISEMENT

Hosting Live Zilla (live Chat Software)

Mar 30, 2009

I need to host livezilla (live chat software) . It needs php and mysql. Which host provider would you recommend? Its not running from my own server. I don't know why, but giving so many errors! I have seen people are using it ..

so, where do i host livezilla?

View 14 Replies View Related

Mysql Errors &

Sep 14, 2007

This is the second time this has happened last time my host fixed it and they should be right now but why does this happen to a server?

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/xxxxx/domains/xxxxx.com/public_html/includes/open_db.php on line 12
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

View 2 Replies View Related

Log All Mysql+php Errors

Feb 3, 2007

I'm running an IPB 2.2.1 Forum on a VDS, 512 RAM, DEBIAN SARGE, PHP4+Eaccelerator,MYSQL 4.1,Apache 1.3.

I get the famous ipb mysql error :

IPS Driver Error

There appears to be an error with the database.

You can try to refresh the page by clicking here

I don't know what thsi error come from, i want to log all Mysql/Php errors.

Ipb already log mysql errors in the /cache directory ..But there are no errors in ther, so i want to try server's logs.

View 4 Replies View Related

MYSQL Installation Errors

May 22, 2009

Im trying to get 64bit MYSQL 5.1 installed on a CENTOS 5.2 64bit box. But after a week of wrangling with it I just dont seem to be able to get it running. I have tried both installing via the MYSQL.com RPM's and via a added YUM Repo.

Below is my error log.

Quote:

090522 15:33:04 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
090522 15:33:04 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 472 error messages,
but it should contain at least 630 error messages.
Check that the above file is the right version for this program!
/usr/libexec/mysqld: Unknown error 1146
090522 15:33:04 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
090522 15:33:04 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
090522 15:33:04 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
090522 15:33:04 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
090522 15:33:04 InnoDB: Started; log sequence number 0 0
090522 15:33:04 [ERROR] Aborting

090522 15:33:04 InnoDB: Starting shutdown...
090522 15:33:05 InnoDB: Shutdown completed; log sequence number 0 46409
090522 15:33:05 [Warning] Forcing shutdown of 1 plugins
090522 15:33:05 [Note]
090522 15:33:05 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

View 5 Replies View Related

High Load And Mysql Errors

Jun 17, 2007

My server very slow and the is very loaded. How can I fix this problem? My server specialities and loaded softwares which are below. And sometimes there is "mysql connect failed", "Lost connection to MySQL server during query" errors. Thanks for kinds...

---
Speed:
100Mbs

LOAD:
Load avarage : 5-30 +
Cpu usage: %30-95 +
Ram usage: %70-95 +

SYSTEM INFO:
2gb ram, P4 3200 cpu, 2x250 GB SATAII hdd, Plesk 8.1.1, centos 4.5 os, apache 2.0.59, php 4.4.7, mysql 4.1.21(client),
mysql 5.0.41(server), zend optimizer, kernel 2.6.19.1.SM #5 SMP, mod_evasive, plesk firewall, qscanq+clamav,
spamassain and system up-to-date.

SOFTWARE:
phpbb 2.0.22
4images 1.7.4
joomla 1.0.12

ONLINE USER:
100-500 user online
on 2 website

How to optimization?

I installed tuning-primer.sh

but I can’t understand this code:
I don’t know. How to set values, example?
NOTE: Red value

-------------------------
[root@lavinya bin]# tuning-primer.sh

-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -

MySQL Version 5.0.41-log i686

Uptime = 3 days 4 hrs 34 min 17 sec
Avg. qps = 92
Total Questions = 25406284
Threads Connected = 1

Server has been running for over 48hrs.
It should be safe to follow these recommendations

To find out more information on how each of these
runtime variables effects performance visit:
.............

SLOW QUERIES
Current long_query_time = 5 sec.
You have 115 out of 25406302 that take longer than 5 sec. to complete
The slow query log is enabled.
Your long_query_time seems to be fine

WORKER THREADS
Current thread_cache_size = 8
Current threads_cached = 7
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine

MAX CONNECTIONS
Current max_connections = 500
Current threads_connected = 2
Historic max_used_connections = 110
The number of used connections is 22% of the configured maximum.
Your max_connections variable seems to be fine.

MEMORY USAGE
Max Memory Ever Allocated : 835 M
Configured Max Per-thread Buffers : 3 G
Configured Max Global Buffers : 46 M
Configured Max Memory Limit : 3 G
Total System Memory : 3.96 G

Max memory limit exceeds 85% of total system memory

KEY BUFFER
Current MyISAM index space = 35 M
Current key_buffer_size = 32 M
Key cache miss rate is 1 : 73658
Key buffer fill ratio = 34.00 %
Your key_buffer_size seems to be too high.
Perhaps you can use these resources elsewhere

QUERY CACHE
Query cache is enabled
Current query_cache_size = 4 M
Current query_cache_used = 1 M
Current query_cach_limit = 1 M
Current Query cache fill ratio = 29.83 %
MySQL won't cache query results that are larger than query_cache_limit in size

SORT OPERATIONS
Current sort_buffer_size = 2 M
Current record/read_rnd_buffer_size = 1 M
Sort buffer seems to be fine

JOINS
Current join_buffer_size = 1.00 M
You have had 14127 queries where a join could not use an index properly
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.
If you are unable to optimize your queries you may want to increase your
join_buffer_size to accommodate larger joins in one pass.

Note! This script will still suggest raising the join_buffer_size when
ANY joins not using indexes are found.

OPEN FILES LIMIT
Current open_files_limit = 2500 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine

TABLE CACHE
Current table_cache value = 256 tables
You have a total of 636 tables
You have 256 open tables.
Current table_cache hit rate is 1% , while 100% of your table cache is in use
You should probably increase your table_cache

TEMP TABLES
Current max_heap_table_size = 16 M
Current tmp_table_size = 32 M
Of 2271787 temp tables, 3% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Created disk tmp tables ratio seems fine

TABLE SCANS
Current read_buffer_size = 1 M
Current table scan ratio = 28 : 1
read_buffer_size seems to be fine

TABLE LOCKING
Current Lock Wait ratio =1 : 112
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
If you have a high concurrentcy of inserts on Dynamic row-length tables
consider setting 'concurrent_insert=2'.

[root@lavinya bin]#
----------------------

if your reply me message I will be happy

View 1 Replies View Related

Bastille Firewall Causing Mysql Connection Errors

Jan 27, 2008

The main function of my dedicated server is the vBulletin forum that we run.

Ever since I had bastille firewall installed and configured on my server we have been getting regular vBulletin errors.

Everything runs pretty smoothly most of the time, we can carry lots of connections without any issues, server has plenty of free RAM and CPU is never overloaded even during peak hours. I have been told bastille firewall (iptables) is configured correctly, all ports that need to be open are open.

But about twice per day we have a MySQL "disconnect" that lasts about 30-60 seconds per incident. For example we will start getting the following message via e-mail, and it will amount to 20-30 e-mails like this during the 30-60 second incident. After that, the e-mails and problems will go away, until next time.

vBulletin Database Error!
mysql_connect(): Can't connect to MySQL server on 'sql.datacolony.com' (4)
/hsphere/local/home/site/site.com/forum/includes/class_core.php on line 274
MySQL Error :
Error Number :
Date : Saturday, January 26th 2008 @ 07:53:05 PM
Script : [url]
Referrer : [url]
IP Address : 92.3.190.54
Username :
Classname : vb_database

The server is running CentOS 4.6, PHP 4.4.7, MySQL 5.0.45. The vBulletin software has been patched to the latest version. The vBulletin people are not sure why this could be happening.

Well we never believed that the firewall was causing the issue BUT it only started happening on the day the new firewall was installed. So we tried stopping the firewall for a full week and the MySQL database errors stopped happening, completely. So I'm convinced the problem is the firewall blocking MySQL connections but I can't figure out why?

There are no entries in the MySQL .err logs pertaining to this. Can't figure this out, any help or ideas is appreciated since the people who installed the firewall are not sure either.

View 3 Replies View Related

Plesk 12.x / Linux :: Fail2ban Errors In Log After Domain Change

Feb 4, 2015

After changing website domain name (from development one -dev-domain.com- to production one) we have this error in fail2ban.log :

2015-02-01 06:46:41,176 fail2ban.filter [2848]: ERROR Unable to open /var/www/vhosts/system/dev-domain.com/logs/proxy_access_log
2015-02-01 06:46:41,176 fail2ban.filter [2848]: ERROR [Errno 2] No such file or directory: '/var/www/vhosts/system/dev-domain.com/logs/proxy_access_log'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/server/filter.py", line 520, in getFailures
has_content = container.open()
File "/usr/lib/python2.7/dist-packages/server/filter.py", line 601, in open
self.__handler = open(self.__filename)
IOError: [Errno 2] No such file or directory: '/var/www/vhosts/system/dev-domain.com/logs/proxy_access_log'

View 3 Replies View Related

Email Errors - 550 Callback Errors

Feb 13, 2007

I'm noticed I was getting bounced email errors from a company I was sending email through and I further investigated this by running a dnsreport on my domain.

Turns out that it fails at Acceptance of NULL <> sender, Acceptance of postmaster address, and Acceptance of abuse address. The domain that I ran a test on is using a new IP that I had recently added to my Direct Admin server. None of the other domains on my server are having issues like this.

Is is possible that I need to do something to enable these new IP addresses in exim? I mean, exim obviously responds to that IP address, but it seems to be having some issues with it.

View 5 Replies View Related

Hide Directory

Jul 9, 2008

I want hide the directory of my site:

[url]

How to hide the content list there?

View 4 Replies View Related

Hide Your Hosting

Apr 18, 2008

i was checking this [url] does any1 know how can i hide my domain & Hosting companies names? i don't want any1 know what hosting i am using

View 14 Replies View Related

Hide Server's IP

Mar 17, 2007

I've a windows 2003 server, I need to hide this server IP, that's mean I need no one can know IP of my server.

Service running on servrer:
- DNS
- IIS
- DigiChat

View 4 Replies View Related

What To Hide ....From Whois Lookups

Apr 13, 2008

Is there a way you can hide from the whois lookups how many site's you have hosted on your server? Like, for the reverse IP, usually it'll mention how many sites are hosted on the server when you do a whois lookup.

Is there a way to prevent it from doing that?

View 2 Replies View Related

How Can I Hide Server Type

Jun 16, 2008

How Can i Hide My Server Type

And writing Secureb By ....

And how Can i Hide uname -a: Linux server.xxxx.net 2.6.18-ovz028stab053.14-enterprise #1 SMP Mon Jun 2 18:25:30 MSD
2008 i686

From Php Shell Like c99

i do some way to hide it But I cant hide it from php shell

View 9 Replies View Related

How To Hide The Page Extension

Jan 6, 2007

The problem is that i want to hide the php extension from the visitor so that no one knows what scripting language lies beneath..

If I use the following solution {

I think I should write snippets of php codes inside html files.. so i want apache to go through each html file to see if there are php code or not..

I write the following mime types with cpanel:

application/x-httpd-php .php .adp
application/x-httpd-php .php .htm
application/x-httpd-php .adp
}

Then {
Error appears when I go to any page in the site "Internat Server Error"
}

Else if {
I can use .htaccess to do the same effect in a particular directory
}

Then {
The same error appears "Internal Server Error"
}

Else {
What can I do?
}

View 0 Replies View Related

How To Hide Server Messages

Nov 18, 2007

messages such as

Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_jk/1.2.25 mod_mono/1.2.4 mod_auth_passthrough/2.1 PHP/5.2.4

when you go to browse a folder with no index file..

is there away to remove this?

View 3 Replies View Related

Hide Files/directories On Apache

Jan 20, 2008

how can i hide all files and directories in public_html so when using apps suck Flash Get Site Explorere and similar software it will not show any file or directories in public_html.

View 5 Replies View Related

How To Hide DNS Info On WHOIS Lookup

May 18, 2007

I want to hide my NS records on WHOIS lookup, or show a fake or something so that no one can find me, Is it possible,

View 5 Replies View Related

How To Hide A Subdirectory Pointing To A Subdomain

Apr 25, 2007

On most servers using a vhost you can make a subdomain point to a subdirectory.

so www.host.com/stuff would be stuff.host.com

That works fine for me. I now want to avoid people being to access the www.host.com/stuff and always have to go via the subdomain.

If I create a rewrite rule I'll get an infinite loop as the subdomain and subdirectory will keep on going to each other.

What is the proper way of disabling access via the subdirectory?

View 1 Replies View Related

How To Hide Nameserver, Using ENom DNS Dns1.name-services.com

Jan 15, 2009

I have a dedicated server using one of my domain as the nameserver; basically ns1.mydomains.com / ns2.mydomains.com

Lately my sites are getting hacked and want to use DNS nameserver provided by the registrar, eNom to hide my domains. For example, if I use dns1.name-services.com/dns2.name-services.com or ns1.domaincontrol.com (GoDaddy), it will be harder for people to track of what domains I own, etc.

Once I change the nameservers to dns1.name-services.com, what do I need to do on the dedicated server/WHM side? A records, CNAME, MX records?

View 9 Replies View Related

Apache :: Hide Port 8080 On Display?

Nov 4, 2013

i m using xampp on window. how to hide port on url?

View 5 Replies View Related

Plesk 12.x / Linux :: Hide / Remove WordPress Toolkit

Jan 23, 2015

Is it possible to completely remove the WordPress Toolkit.

Or at least to remove the button from the Basemenü at "Server Management"->"WordPress" ....

View 2 Replies View Related

Plesk 11.x / Linux :: Hide Certain Folder From Showing In Downloads Tab Of Webstat

Dec 25, 2014

I need to know how to configure awstats (Plesk's webstat) not to show report of downloads from a certain directory on my website.

(Plesk version 12.0.18)

View 1 Replies View Related

Plesk 12.x / Linux :: Hide Controls For Rejection Messages Not Working

Jun 1, 2015

I'm running Plesk 12 (installed last week) on a Centos 7 box. I'm running in ISP View, and in the Interface Controls Visibility section I've checked the box for "Hide controls for rejection messages for non-existent mail addresses".

However, when I log in as a subscriber, I can still see those controls.

View 3 Replies View Related

Plesk Automation :: Possible To Hide CCP File Manager And Disable FTP Access Completely

Jan 3, 2014

We will be hosting our own closed source solutions and need to be able to not give customers access to the files in their webspace.FTP and SSH access will be blocked in the firewall, so that it easy.I see it is possible to disable access to FTP users information, but the file manager is still usable in the CCP (Customer Control Panel / Hosting Panel).Can this file manager be disabled as well?

View 6 Replies View Related

Hide (Apache Configuration Files) Related Messages From Plesk Customers / Resellers

Nov 25, 2014

How to hide from our clients (end users: Plesk customers/resellers) any message related to Apache configuration files failed, like this one:

"Error: Web server configuration for some of your domains may be inconsistent. Please contact server administrator to resolve the problem."

We already see the message within Plesk admin interface, so our customers don't really need to see that, as there's nothing they can do for that.

View 1 Replies View Related

MySQL DNS (Domain Name Server) Lookup

Feb 18, 2008

My MySQL server slowed down to a crawl a few days ago, and I finally fixed it by starting it without DNS lookups via "--skip-name-resolve".

I tested domain name resolution on the MySQL machine and it was able to return IPs from domains rather quickly, so I'm at a loss as to why DNS was the problem here? I am using "192.168.1.6" as the MySQL server's IP, in case that matters?

I have a couple of questions:Why is DNS resolution so slow when in the command line it's running normally?

Why does MySQL need to do DNS lookups at all? I don't see any log files that's converting IPs to host names or vice versa.

View 3 Replies View Related

How To Limit Http/mysql Connections Per Domain

Jun 22, 2007

how i can limit http and mysql connection limit on per domain basis.

View 2 Replies View Related

Plesk 12.x / Linux :: MySQL Resources Used By Domain

Jul 3, 2015

I am migrating some clients between Plesk panels ...

After migrate 10 domains the Health monitoring growup from MSQL from 1gb to 4.5gb

All 10 websites are small, how can i see to identify which domain/subscription is consuming a lot of resources?

View 6 Replies View Related







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