Bind $GENERATE Statement Overriding

Nov 5, 2007

I am configuring a bind reverse DNS zone to use the $GENERATE statement. This works well. But If I add a single IP record after or before the $GENERATE statement I get 2 PTR records for that IP (which is expected I guess).

Does anyone know if it's possible to report only 1 PTR record for a single IP (host) record?

View 1 Replies


ADVERTISEMENT

Statement Works On Your Machine

Oct 19, 2007

Try following PHP code
<?php echo 2022886285 & -2147483649; ?>
It should return 2022886285

- On my current Web hosting: It works OK.
IXWebhosting.com
Dell PowerEdge 2650
DUAL Intel Xeon 2.8GHz, 512K Cache
RedHat - 7.3 OS on your server

- On my new Dedicated Web hositn: It return just 0. Problem!
HostGator.com
Pentium 4 2.4Ghz
CentOS Enterprise.

Why One simple Bitwise statement doesn't work on CentOS?

New Hosting company support from HostGator tells me
It's code problem or php problem.
However it works on others.

Please test the statement in your site and Reply the result if it returns proper value or not.

View 14 Replies View Related

Bash And Remote Files In If Statement

Jun 22, 2007

I am trying to see if a file exists on a remote server but am not getting what I expect. (This is my first Bash script).

Code:
remotefile=[url]
localfile=globaldown.sh

if [ -f "$remotefile" ]
then echo "we have the file remote"
else echo nothing to download from remote server "$remotefile"
fi

if [ -f $localfile ]
then echo we have the local file "$localfile"
else echo "no local file"
fi
it is seeing the local file but not the remote file.

I can copy and past the "echo $remotefile" into my browser and the path is correct.

also wget will fetch the remote file so it should see that it exists.

View 3 Replies View Related

How To Disallow Php.ini Overriding

Jul 11, 2007

if i enabled phpsuexec the client can remove all disable_functions and every thing if he just uploaded php.ini to his public_html folder

i thought about this:
ln -s /usr/local/lib/php.ini /home/user/public_html/php.ini

and it work perfectly but if the user triad to make edit via FTP to the file he will see the file content but can't edit

i triad to chmod to 0 but it will stop PHP

is there any solution to stop the user see the content for the file?

View 9 Replies View Related

Person Is Overriding Php.ini File

Nov 6, 2009

There is a user on my server that uploaded a php.ini file to their home directory, that disabled the "disable_functions" in the server php.ini. Is it possible to stop people from doing this?

View 1 Replies View Related

Prevents Users From Overriding System Php.ini In SuPHP Mode

May 25, 2008

this is simple steps to Prevents users from overriding system php.ini in suPHP mode .... in CPanel servers

first : you must make sure that suphp is installed as default handler
than just edit your httpd.conf file or php.conf file ( will be better to use php.conf )

now add this line :

Quote:

suPHP_ConfigPath /usr/local/lib

or ( Zend )

Quote:

suPHP_ConfigPath /usr/local/Zend

if you need to use only php.ini config file :

Quote:

suPHP_Config /usr/local/lib/php.ini

View 0 Replies View Related

Generate Primary Zendid

Aug 9, 2008

How can you generate a Primary Zendid?

Here is what we get:

[root@test /]# cd /usr/local/Zend/bin/
[root@test bin]# ./zendid No primary IDs was detected. Try option 'allid' to see secondary IDs.
[root@test bin]# ./zendid allid
P:K66AJ-QD99H-R55T9-8LGHW
M:5S9EX-2JC3Q-CJ4E4-KFZPV
[root@test bin]#

Can a Primary Zendid be created? And if so, how?. This is on a Centos VPS with:

PHP 5.2.5 (cli) (built: Aug 1 2008 22:54:27)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

View 1 Replies View Related

Software Used To Generate This Network Weather Map?

Dec 5, 2007

Does anyone know the software used to generate this graph? Or perhaps, similar ones?

View 1 Replies View Related

How Do You Create/generate Config Files

Jul 10, 2009

When deploying new server/servergroup/cluster to your IT infrastructure, deployment (simplified) consist of following steps:

OS installation: to do it over network, boot server must be configured for this new server/servergroup/cluster,

configuration/package management: configuration server has to be aware of the newcomer(s),

monitoring and alerting: monitoring software must be reconfigured,

performance metrics: a tool for collecting data must be reconfigured.

There are many excellent software solutions for those particular jobs, say configuration management (Puppet, Chef, cfengine, bcfg2), monitoring hosts and services (Nagios, Zabbix, OpenNMS, Zenoss, etc) and performance metrics (Ganglia, etc). But each of these tools has to be configured independently or at least configuration has to be generated. What tools do you use to achieve this?

For example, when you have to deploy a new server, how do you create configs for, let's say, PXE boot server, Puppet, Nagios and Ganglia, at once?

View 2 Replies View Related

How Can I Generate/Download A Full Backup In SSH

Jun 5, 2008

my site is suspend from hosting companey

then i ask him to open SSH

they open it and open ftp

but when i try to do Generate/Download a Full Backup

using cpanel say to me that i can not because of too space

my all space 5 gb

the i try to zip all directry file home directry

and i do it and take ll files

can i do Generate/Download a Full Backup using SSH and FTP

the hosting copany say to me that the didi not oofer users to trasnfer site and suspend it
how can i solve it

the site is one site of my friends and i try to help hem

i buy to him VPS but we waiting any cooand of SSH help us to Generate/Download a Full Backup

View 13 Replies View Related

How Do I Generate A Certificate For Mail.mydomain.com

Sep 6, 2007

After successfully installing postfix+dovecot on Debian, I've run into a problem using Thunderbird email client on my home pc to receive email. I get: "Security Error: Domain Name Mismatch"

How, then, do to I generate a certificate for mail.mydomain.com?

Before installing postfix+dovecot, I created an MX record for mail.mydomain.com, and an A record for mail.mydomain.com. Should I have also added mail.mydomain.com to /etc/hosts?

When setting up Thunderbird, I told it my Pop Server was mail.mydomain.com. When I attempted to Get Mail, then I got "Security Error: Domain Name Mismatch".

View 5 Replies View Related

W2k3 Server Cant Generate Logs All Of A Sudden

Feb 23, 2007

One of my servers stop generating server logs, ftp logs etc all of a sudden since yesterday. It is a windows IIS 6 server, anyone have any idea on how to repair?

View 2 Replies View Related

Apache :: HTTPS - Generate Certificate And SSL Module

May 26, 2013

How to be able to fix my problem that is related to the https using apache2 (enabling https in apache2) at opensuse:

By the way, my opensuse version is:

openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus

1) At the /etc/apache2/vhosts.d/vhost-ssl.conf, and if I do not have a name (as the server will be accessed using its IP address), can I place in the ServerName 192.168.0.5? Do I have to place it 192.168.0.5:443 or it is enough to be 192.168.0.5?

2) Is there a relation between the SSLCipherSuite values and the used method to generate the certificate?

3) I am afraid from the way that I am using to generate the certificate and the ssl module that is coming with apache2 at my machine which has opensuse. How can I select the right way?

Actually I used following commands to generate the .crt, .key and the .csr:

openssl genrsa -des3
openssl req -new -x509
openssl x509 -req

And that was from this link: [URL] .... But did not work with me !

Meanwhile I am placing:

SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

4) Do I have to configure the virualhost? Do I have to create files under the directory /etc/apache2/vhosts.d? Because I will have one application to be browsed .. nothing more.

View 2 Replies View Related

Unix Plesk: Generate Webserver Config Files

Sep 4, 2007

Is there any command to generate it? The httpd.include is there but httpd.conf is not picking it up. Suppose there is a "middle" man to connect the vhosts httpd.include and httpd.conf

View 1 Replies View Related

Apache :: Generate Crash Dump In Windows 2008 Server R2

Sep 5, 2014

generate crash dumps for apache 2.4.9 at the time freeze or crash in windows environment 2008 server R2.

View 2 Replies View Related

Plesk 11.x / Linux :: Unable To Generate Web Server Configuration File

Jul 18, 2015

On Plesk 11.5.30 I have just patched with SSLfix.sh. [URL] ......

When I run an ssl check I get - Certificate name mismatch

I am also getting the following message

Unable to generate the web server configuration file on the host because of the following errors:
Template_Exception: apache2: Syntax error on line 211 of /etc/apache2/apache2.conf: Syntax error on line 73 of /etc/apache2/mods-enabled/ssl.conf: </IfModule>SSLHonorCipherOrder without matching <IfModule>SSLHonorCipherOrder section

[Code] .....

View 4 Replies View Related

Plesk 12.x / Linux :: Unable To Generate Web Server Configuration File After Upgrade To V12

Jun 21, 2014

I get this error after upgrade from Parallels Plesk 11.5 for Linux to 12.0.18 (Ubuntu 12.04.4 LTS):

Template_Exception: nginx: [emerg] PEM_read_bio_X509_AUX("/opt/psa/var/certificates/certI3Fakms") failed (SSL: error:0906D064EM routinesEM_read_bio:bad base64 decode) nginx: configuration file /etc/nginx/nginx.conf test failed

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0

Reconfigure all does not work:

web:Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )
Details: [2014-06-22 02:23:16] ERR [util_exec] proc_close() failed [2014-06-22 02:23:21] ERR [util_exec] proc_close() failed

[Code] .....

View 19 Replies View Related

Plesk 11.x / Linux :: Unable To Generate Web Server Configuration File On Host

Jun 25, 2014

version: Parallels Plesk Panel v11.5.30_build115130819.13
os: centos 6.5 (final)

I recently received this messsage from in my mailbox "Unable to generate the web server configuration file on the host <nsxxxxxxx.ovh.net>" which is coming now every hour for 4 days now.

I first tried to regenerate an apache conf file with the magic on my Centos 6:

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

but it gives me this output:

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart

[Code] .....

At line 10 in my server.conf file I have a bunch of ipv6 address that looks like this:

NameVirtualHost xx.xx.x.xx:80
NameVirtualHost [xxxx:xxxx:8:5b11::1000]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1001]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1002]:80

[Code] ....

View 2 Replies View Related

Plesk 12.x / Linux :: Unable To Generate Web Server Configuration File On Host

Jul 28, 2014

After the last update, I get this error:

Unable to generate the web server configuration file on the host <xxx.de> because of the following errors:

Template_Exception: nginx: [emerg] PEM_read_bio_X509_AUX("/usr/local/psa/var/certificates/certRHXRsQy") failed (SSL: error:0906D064EM routinesEM_read_bio:bad base64 decode)
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

the websites of my customer are not reachable now....

View 2 Replies View Related

Plesk 12.x / Linux :: Sites Inaccessible - Unable To Generate Web Server Configuration File

Aug 31, 2014

I have some error with my server. All my sites are inaccessible.

Code:
Template_Exception: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/opt/psa/var/certificates/cert-ao0glw") failed (SSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:Type=X509_ALGOR error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:Field=pkeyalg, Type=PKCS8_PRIV_KEY_INFO error:0907B00D:PEM

[Code] .....

View 2 Replies View Related

How To Generate PHP Error.log Files In The Directory Of Error

Jun 15, 2008

unable to get any php5 error logs

Here are my settings in the /etc/php5/apache2/php.ini file:

display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
error_log = /var/log/php5/error.log

However unfortunately I never see any error log being generated in the /var/log/php5/error.log file?

Also with my shared hosting site one thing which I noticed was, due to some configurations set by them, the error.log used to generate in the folder where the error occured. This is a cool thing which they used to do, but I just dont understand how did they do that.

View 2 Replies View Related

Upgrade Bind To Bind-9.4.1-P1

Nov 18, 2007

I upgrade bind with this :

# wget [url]
# tar xvfz bind-9.4.1-P1.tar.gz
# cd bind-9.4.1-P1
# ./configure
# make
# make install

but doesnt work I have always bind version is

PHP Code:

[root@server bind-9.4.1-P1]# named -vBIND 9.2.4 

how can I make upgrade with the correct way?

View 2 Replies View Related

DNS And BIND 9

Jul 23, 2009

i work in a new ISP company, and ive been assigned to the DNS server, and before this i have never even heard of BIND, but now im in need of learning it ....and im only fairly familiar to Linux..so here are me questions:

1. where can i find a beginners guide to DNS and BIND?

2. what distribution is best suited for the server?

3. are there any default templates for the BIND config files that one could start with and modify?

4. how many files are there? i mean every time a read a bit about BIND pops up a new file name.. so how many files are enough?

5. would any1 care to help me out step by step throught my ordeal?

6. are there any training courses that i could take? are there any onlline ones? or videos that i could grab off the net?

7. how many times does a swallow have to flap its wings to maintain airspeed velocity in order to carry a coconut?

View 5 Replies View Related

BIND Or NSD

Apr 12, 2009

which one is better for me?

VPS 512 ram and cpanel/whm centos

BIND or NSD?

and what's different between them?

View 7 Replies View Related

Bind An IP To A UID

Jun 22, 2008

This has been troubling me for a long time.. I know you can do this in FreeBSD with ipfw but I'm wanting to do this in linux.

Basicly bind an IP address say eth0:1 to a UID or GID so that this user may only listen on that particular IP, etc.

View 7 Replies View Related







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