I have the following problem: When i try to restart the nameserver service i get the following error:
# service named restart Stopping named: [ OK ] Starting named: Error in named configuration: /etc/named.conf:87: unknown option 'e' /etc/named.conf:120: unexpected end of input [FAILED] my named.conf as follows:
options { /* make named use port 53 for the source of all queries, to allow * firewalls to block all ports except 53: */ query-source port 53;
// Put files that named is allowed to write in the data/ directory: directory "/var/named"; // the default dump-file "data/cache_dump.db"; statistics-file "data/named_stats.txt"; /* memstatistics-file "data/named_mem_stats.txt"; */ };
logging { /* If you want to enable debugging, eg. using the 'rndc trace' command, * named will try to write the 'named.run' file in the $directory (/var/named). * By default, SELinux policy does not allow named to modify the /var/named directory, * so put the default debug log file in data/ : */ channel default_debug { file "data/named.run"; severity dynamic; }; };
// All BIND 9 zones are in a "view", which allow different zones to be served // to different types of client addresses, and for options to be set for groups // of zones. // // By default, if named.conf contains no "view" clauses, all zones are in the // "default" view, which matches all clients. // // If named.conf contains any "view" clause, then all zones MUST be in a view; // so it is recommended to start off using views to avoid having to restructure // your configuration files in the future.
view "localhost_resolver" { /* This view sets up named to be a localhost resolver ( caching only nameserver ). * If all you want is a caching-only nameserver, then you need only define this view: */ match-clients { 127.0.0.0/24; }; match-destinations { localhost; }; recursion yes;
zone "." IN { type hint; file "/var/named/named.ca"; };
// include "/var/named/named.rfc1912.zones"; // you should not serve your rfc1912 names to non-localhost clients.
// These are your "authoritativ zone "smpl.splinteredmedia.net" { type master; file "/var/named/smpl.splinteredmedia.net.db"; };
e" internal zones, and would probably // also be included in the "localhost_resolver" view above : };
view "external" { /* This view will contain zones you want to serve only to "external" clients * that have addresses that are not on your directly attached LAN interface subnets: */
recursion no; // you'd probably want to deny recursion to external clients, so you don't // end up providing free DNS service to all takers
// all views must contain the root hints zone: zone "." IN { type hint; file "/var/named/named.ca"; };
// These are your "authoritative" external zones, and would probably // contain entries for just your web and mail servers:
// BEGIN external zone entries
};
z zone "smpl.splinteredmedia.net" { type master; file "/var/named/smpl.splinteredmedia.net.db"; };
- foo.com, with a mail account info@foo.com. - bar.com, with domain forwarding to foo.com.
Sending an email message to info@foo.com works.
Sending an email message to info@bar.com doesn't work. When using the ZoneEdit SMTP test utility I get the following error message:
Code: > RCPT TO:<info@bar.com> < 550 5.1.1 User unknown: info@bar.com I checked "/etc/vdomainaliases/bar.com" and "/etc/localdomains", they are configured properly.
how to fix rkhunter from; 'not found' in local files and unknown for exim and php 5.2.5.
System checks * Allround tests Checking hostname... Found. Hostname is Checking for passwordless user accounts... OK Checking for differences in user accounts... OK. No changes. Checking for differences in user groups... OK. No changes. Checking boot.local/rc.local file... - /etc/rc.local [ OK ] - /etc/rc.d/rc.local [ OK ] - /usr/local/etc/rc.local [ Not found ] - /usr/local/etc/rc.d/rc.local [ Not found ] - /etc/conf.d/local.start [ Not found ] - /etc/init.d/boot.local [ Not found ]
* Application version scan - Exim MTA 4.68 [ Unknown ] - GnuPG 1.2.6 [ Old or patched version ] - Apache [unknown] [ OK ] - Bind DNS 9.2.4 [ OK ] - OpenSSL 0.9.7a [ Old or patched version ] - PHP 5.2.5 [ Unknown ] - PHP 5.2.5 [ Unknown ] - Procmail MTA 3.22 [ OK ] - OpenSSH 3.9p1 [ OK ]
I have set up my Virtual Private Server and uploaded all my site's files to /var/www folder. Before that, there was an old simple 'index.html' file
Code: <html> <head> <title>INDEX</title> </head> <body> <h1>IT WORKS!!!!</h1> </body> </html> and when I typed the address www.mydomain.com it displayed correctly. Then I deleted this html and uploaded my files through FTP and now the browser says :
Code: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/var/www/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
Has anyone else here experienced a 24 hour barrage of malformed GETs with "ronzoo.com" showing in the Agent or Referrer log entries. At first it looks like a genuine search engine spider, with a GET to the default "robots.txt" which is then followed by a 18 to 24 hour barrage of malformed GET requests coming in at the rate of 7,500 to 8,000 a minute.
The malformed GET takes the form of:
[url]
The above is just an example - but the resultant 404 error then shows just the "Go" part. In the original request you sometimes see "ronzoo.com" in the referrer.
These started showing up on the 27th January and are continuing every 2 or 3 days. The source IP addresses are changing between RoadRunner and Hughs.Net DSL accounts, three examples:
70.121.44.37 69.19.14.37 66.82.9.49
We have had 18 attacks - which is really what they are - across a number of different servers we own and operate - against popular websites owned by our clients. The worst lasted 36 hours before we were able to block the source IPs at our perimeter firewall. The shortest attack lasted 5 hours.
We have alerted the relevent ISP's but would be interested if anyone else here has seen this in their logs.
My site is hosted on eUKhost, and there are some users who get an incomplete download of an msi-file (about 12 MB in size) hosted on my website. They don't get an error in their browser, it's just like they have a complete download.
The incomplete file users download is usually about 2.7 MB big. When they re-download the file afterwards, they never seem to have the problem again.
It seems to happen completely at random and I haven't got a clue what the reason could be.
My site is hosted on siteground, and i offer a few mp3s for download on my site. But, when my visitors download the songs, only a part of the song is downloaded, not completely. Siteground says this problem is about the apache server limitations on the http protocol downloads.
Can any user defined apache handler be defined to increase the http timeout value? I am on shared hosting.
When i try to install BotNET 1.0 on my dedicated, i got this error :
root@leet [~/botnet/BotNET-1.0]# . install.sh Compiling source code . . . In file included from src/main.c:9: src/../include/bot.h:43: error: array type has incomplete element type src/../include/bot.h:57: error: array type has incomplete element type src/../include/bot.h:89: error: array type has incomplete element type src/main.c: In function: src/main.c:146: error: type of formal parameter 1 is incomplete Here is my install.sh file: Code: #!/bin/bash # BotNET installation script. # If this script causes problems, try "make all" instead. # Usage: . install.sh
if [ "$bot" != "1" ]; then echo "Installation complete." echo "Executables will be found in bin/" else echo "Errors encountered during compilation!" fi
My OS is centOs 5.x Kernel : Linux 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux * I have tried all other way to install (make all) and other *
I am having issues in receieving emails. For some reason, the rbl lists I had setup are causing the server to reject emails (retry - timeout). So, I need to take this rbl list completely. How can I do that? exim.conf is locked and using the advanced editor is no fun even though I tried it putting the dnslists without the rbl causing the problem.
and once in a while, i check all the root folders to find a folder that holds 40GB of folder in a folder in a folder... (i never get to the actual files)
The thing is that my sysadmin told me that he get filesize and eta when downloading a file from my server while all of my user and myself get unknown flesize and no eta. got Web Server apache2handler centos 5.1 64bit
I'm using Plesk on one of my webhosts (GoDaddy) and would like to know if anyone knows of a good Cpanel Fantastico-like option that allows you to update a string of sites with the latest updates. I'm more familiar with Cpanel.
I'm fed up with the overloaded 1&1 shared hosting, looking into VPS now as I'm finally getting serious about one of my sites.
I tried offloading scripts and images to amazon s3, which helps a bit, but any sort of php application processing is painful.
Admittedly, I haven't implemented caching at all yet and my query count is definitely bad but even so load times seems excessive as the site isn't getting any real use yet, just me testing (and I will make heavy use of caching for all entry points in the near near future).
My must-have:
-PHP5
-2 seperate MySQL databases
-htaccess/mod_rewrite
-fast initial response time on loads
-unlimited subdomains would be nice
Don't really care about the control panel as long as it does what I need. I'm fine with command line and managing myself... looking for a cheap option that will allow me to grow to a medium sized site before I consider a full dedicated option.
Also, don't need an outrageous amount of bandwidth as I'm using S3 for css,js,images, and video right now.
I will be running two domains on this site... one is the actual site and one is a single sign on gateway that won't put too much load on the cpu but needs to serve up pages in timely fashion.
if I should continue paying an extra $25 per month for Cpanel. Is it that hard to do without it? All I really do with Cpanel is configure Spamassassin, setup emails, and backups.
I've bought a basic unmanaged VPS, purely to learn things from it. The best way to learn imo is to hammer the hell out of things, break it, then try to fix it. Anyway, I think I'm part way there, pretty sure I've broken something
When I start the consoleSSH I get this at the top: