FreeBSD: Inaccurate "df" Reporting
Oct 2, 2007The disk space reported by "df" is not accurate. How do i check/fix the FS w/o turning the server off?
View 5 RepliesThe disk space reported by "df" is not accurate. How do i check/fix the FS w/o turning the server off?
View 5 Repliesif there is anyway that IIS 6.0 can do reporting of the websites that are running on it. For example I would like to get the local IP address and host header values for them. I can do it manual by going to each website but that will take forever. It seems like there should be a easier way.
View 1 Replies View RelatedI am maintaining a dedicated server ( which have apache,mysql,ftp,dns servers) for my organization , i want to produce a weekly report on server like,
1)Avg Server load for current week
2)Avg Memory usage for current week
3)No.of time apache,mysql,dns was killed in current week
As above i want produce a report ,How can take such kind of report from server? Is there is any tool for report generation?
We developed an Exim server on debian that sending mails outside to our customers. It's an IP based auth server. For bounce reporting and management, what would you recommend us?
Is there anything like; send all bouncing mails that sent from this server to myaccount@gmail.com? We need this to be done in MTA level..
I have several servers and I need a tool to measure CPU/disk/memory performance.
I no nothing about hardware (and I also don't want/need to know).
The tools is to compare only - I don't care about the measure unit, I just need a way to compare the performance between my servers like which one as a faster CPU and so on...
Anyone knows such a FREEWARE (and not bloatware) tool?
If the tool has some kind of hardware report... well.. even better.
One friend I host sites for is reporting 492MB in WHM, but running DU reports 5.4GB for just one site!!! I've had the DC run Quotafix, but it's still not correct. The site is drupal and DC said they can't even list the tmp folder for that account. Any suggestions so I don't loose $45/month in extra charges? I have no clue how many months this is been going on, but it's costing me allot it seems.
View 6 Replies View RelatedI just leased a server through EV1. It's Linux (I think), Apache, and Plesk 8.0. I'm trying to get error reporting to work for my php scripts. I opened up the php.ini file (I'm about 90% sure that it's the right php.ini file) found in the /etc folder. I changed error reporting to "on" and restarted my server with Plesk.
PHP errors are still not showing up.
I got mod_evasive installed and its working fine. Its detecting the IPs, blocking the IPs and sending me the emails.
The emails I'm getting only have the sender name "Apache" and the content shows the IP address is blocking.
How can I enhance the email report to display the following:
1) get a proper Subject header in the email
2) change the From header to include the hostname - i.e.
apache@web.domain.tld
3) have the program do a reverse lookup on the ip, and include that in the body.
Do I need to include a script using the DOSSystemCommand to do this?
Wondering if anyone knows of an email DNSBL that are have a real time reporting tool which directly feeds the DNSBL?
I have been using Spamcop for reporting in hopes I might be able to get some IP's listed. However so far I have not seen any IP's listed until many hours or days after they are reported (possibly going through a validation process?).
Wondering if anyone knows a more pro-active DNSBL that is fed directly by reporting and administrators?
How would I go about reporting a website for illegal hacking and other activities?
Their host is fully supporting them. They have even given them the ip address of the proxy I used, in which case the client of theirs have added the proxy to their htaccess deny list.
I rebooted my server and now munin is not showing any eth0 traffic. All other graphs are fine. I can see there is a ton of apache accesses so there is definitely eth0 traffic. Munin logs report no errors. I restarted munin and munin-node. I even did 'yum remove munin munin-node' and reinstalled again but it still doesn't work for eth0.
View 4 Replies View RelatedWe've got a client who is using both AWstats and Webalizer and they are claiming the numbers are different between the two and that the numbers reported are not accurate. They need a specific list on how many impressions they are getting on a daily, weekly and monthly time period for advertisers.
View 7 Replies View RelatedAnyone else sign up for this?
Did microsoft require your host email them and say "[you] have exclusive sending rights for this IP"?
Here is the part of the email from microsoft:
xx, unfortunately, we have not received an e-mail confirmation from
your ISP, [host], for your IP
x.x.x.x. Please ask them to re-send the e-mail confirmation to [email] with the [id] subject. Please also
ask them to include you on the "To" or "Cc" field in case that we fail
to receive their e-mail confirmation.
Is this a requirement for everybody?
I signed up for AOL's junk reporting program a few months ago and I didn't have to bother anybody about it.
If I recall correctly, all AOL cared about was whether or not my reverse DNS was set properly.
Telia is reporting a fiber cut in the US - any other carriers impacted?
from Telia:
We regret to advise that we are currently experiencing a cable cut in
the United States. This outage is causing degradation in our IP
backbone, which may affect your service.
The fault has been brought to the attention of senior management, and we
are actively working to resolve the fault. Unfortunately we do not know
when the fault will be resolved.
We will update you as soon as we have further information, and apologise
for the inconvenience caused to you and your customers.
whether if i will an increase in performance or security if I upgrade from 6.3 to 7.0?
View 12 Replies View RelatedHow do I check if SMP is on in FreeBSD? And if its off what do I need to do to turn it on?
View 8 Replies View RelatedI know someone probably asked this question... I am looking for a VPS provider that offers unmanaged VPSes with FreeBSD + Cpanel, 512RAM guaranteed, ~250-300GB bw, and 10-15GB hdd, for a price of $40-55/mo.
Can anyone recommend a good VPS provider that meets the above requirements?
Can anyone please suggest a good FreeBSD VPS hoster?
View 2 Replies View RelatedI haven't really messed with FreeBSD very much, but I'm picking up a FreeBSD server and needed to know of a good free firewall for it.
On my CentOS/Debian servers I use CSF and have had good luck with it, so I would like something like that if there is one out there.
I installed FreeBSD 6.3 with minimum packedges. (pkg.txt on attach)
Install Apache+PHP+MySQL
But then I load Drupal or Magento (CMS) browser say that:
Warning: include_once(includes/install.inc) [function.include-once]: failed to open stream: No such file or directory in /ftp/drupal.web/includes/database.inc on line 129
Warning: include_once() [function.include]: Failed opening 'includes/install.inc' for inclusion (include_path='/usr/local/share/phpmailer') in /ftp/drupal.web/includes/database.inc on line 129
Fatal error: Call to undefined function install_goto() in /ftp/drupal.web/includes/database.inc on line 130
I didn't udestand WHY?
In joomla and wordpress all work normla.
In attacment I send apache and php configs.
I am using FreeBSD with Cpanel.
df -h:
Filesystem Size Used Avail Capacity Mounted on
/dev/twed0s1a 496M 491M -35M 108% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/twed0s1h 86G 67G 12G 85% /home
/dev/twed0s1d 248M 21M 207M 9% /tmp
/dev/twed0s1g 15G 6.9G 6.5G 51% /usr
/dev/twed0s1f 4.8G 3.6G 827M 82% /var
procfs 4.0K 4.0K 0B 100% /proc
This is creating Problem at Cpanel,How can i recover space from /dev/twed0s1a.
My system is affected with something named __sbmaskrune
I can't connect to FTP at this moment..
I am running FreeBSD
/scripts/ftpup
Ftp Setup Script Version 6.1
This is the proftpd installer
Searching ports for proftpd .....................................found proftpd in /usr/ports/ftp/proftpd....Done
proftpd (1.3.1-1) is already installed.
dedi01# /scripts/ftpup --force
Ftp Setup Script Version 6.1
This is the proftpd installer
/libexec/ld-elf.so.1: /usr/local/lib/libruby18.so.18: Undefined symbol "__sbmaskrune"
Removing old ftp server (pure-ftpd)
pkg_delete: no packages match pattern(s)
The ProFTPd configuration file /usr/local/etc/proftpd.conf appears to be ok!
No matching processes were found
Waiting for ftpserver to restart..............finished.
ftpserver has failed,
gAs per MySQL official page [url]
there is no MySQL 5.0.51 available for FreeBSD.
The latest available version is 5.0.45
5.0.51 was officially released more than a month ago.
We are basically looking for advice on which OS to choose. CentOS appeals as it is basically RHEL - and since people are paying for that they must be doing something right. It is apparently uber stable because the versions have been tested to death... but because the packages are so out of date, or just not there, we will need to install many things from source, which defeats the point to using it for its stability.
FreeBSD seems to have an awful lot of up to date packages, took a look at it on Distrowatch and was very impressed by many are the latest versions. This would make life so much easier because the package manager can handle installs and updates, really can't be bothered with messing around compiling software for install/updates.
In my mind, if an open source project as mature as the likes of Apache, PHP or MySQL, I am pretty sure you are very unlikely to experience problems by using the latest stable version. Surely by using older versions you are more likely to experience problems as of the result of bugs/security exploits that have only been fixed in the more recent releases.
Would you use FreeBSD or CentOS/RHEL? Or are both equally as good?
i having an issue with FreeBSD...
I have a Raid5 setup and working fine, I just put 2 new 18gig drives for raid1.
Now i see in dmesg this.
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 104193MB (213387264 sectors) RAID 5 (optimal)
amrd1: <LSILogic MegaRAID logical drive> on amr0
amrd1: 17365MB (35563520 sectors) RAID 1 (optimal)
In bold is the 'new' array.
in fdisk i get....
fdisk /dev/amrd1
******* Working on device /dev/amrd1 *******
parameters extracted from in-core disklabel are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)
fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 35551782 (17359 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 164/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
I get write errors when i use sysinstall. As for the raid status. Its fine.
Logical Drive : 1( Adapter: 0 ): Status: OPTIMAL
---------------------------------------------------
SpanDepth :01 RaidLevel: 1 RdAhead : Adaptive Cache: CachedIo
StripSz :064KB Stripes : 2 WrPolicy: WriteThru
Logical Drive 1 : SpanLevel_0 Disks
Chnl Target StartBlock Blocks Physical Target Status
---- ------ ---------- ------ ----------------------
0 00 0x00000000 0x021ea800 ONLINE
0 03 0x00000000 0x021ea800 ONLINE
I've been using FreeBSD for a while now, but I still feel like a novice when looking at top because I don't understand or know what all of the STATES mean. I know that many of them represent different kernal states and certain programs have their own unique STATES, but what do the usuals mean? man top only has 2-3 listed with very vague descriptions.
Does anyone here understand many of them? If so it would be greatly appreciated if you could write up a few of the basic ones.
select
nanslp
kserel
RUN
pause
lockf
kqread
sbwait
pipered
Those are the ones I currently see in top. I know there are probably thosands of others, but those are the ones I usally look at.
after many painstaking hours, im at a loss as to where to go now (finally managed to get up to the point of running phpize in the ffmpeg directory)
...
Originally I thought i had compiled it in when compiling PHP,
Infact:
Code:
'./configure' '--disable-debug' '--disable-rpath' '--with-bz2' '--with-curl' '--with-gd' '--with-openssl' '--with-png' '--with-zlib' '--with-mcrypt' '--with-mysql' '--with-pear' '--enable-bcmath' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--with-ffmpeg=yes' '--with-apxs2=/usr/local/sbin/apxs'
But when i go to the tests/ffmpeg_test.php file I get:
Code:
Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so" in /usr/local/www/apache22/data/tests/test_ffmpeg.php on line 17
Can't load extension /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so
I used the ports tree to install FFMPEG and here is the version info:
Code:
bsd# ffmpeg -v
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on Mar 14 2007 20:42:22, gcc: 3.4.6 [FreeBSD] 20060305
After finally getting to this point, i say the heck with it and just decide to try and use phpize and compile it in that way as an extension ( following: http://ffmpeg-php.sourceforge.net/ ).
However, after I got phpize to work ( had to cp autoconf259 and autoheader259 to autoconf and autoheader since it was complaining about it ), it gave me this set of errors:
Code:
/bin/sh /usr/local/src/ffmpeg-php-0.5.0/libtool --mode=compile gcc -I. -I/usr/local/src/ffmpeg-php-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.5.0/include -I/usr/local/src/ffmpeg-php-0.5.0/main -I/usr/local/src/ffmpeg-php-0.5.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c -o ffmpeg-php.lo
gcc -I. -I/usr/local/src/ffmpeg-php-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.5.0/include -I/usr/local/src/ffmpeg-php-0.5.0/main -I/usr/local/src/ffmpeg-php-0.5.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c -fPIC -DPIC -o ffmpeg-php.o
In file included from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:25:
/usr/local/include/ffmpeg/avcodec.h:14:27: ffmpeg/common.h: No such file or directory
In file included from /usr/local/include/ffmpeg/avcodec.h:15,
from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:25:
/usr/local/include/ffmpeg/rational.h: In function `av_cmp_q':
/usr/local/include/ffmpeg/rational.h:36: error: syntax error before "tmp"
/usr/local/include/ffmpeg/rational.h:38: error: `tmp' undeclared (first use in this function)
/usr/local/include/ffmpeg/rational.h:38: error: (Each undeclared identifier is reported only once
/usr/local/include/ffmpeg/rational.h:38: error: for each function it appears in.)
In file included from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:26:
/usr/local/include/ffmpeg/avformat.h: In function `av_init_packet':
/usr/local/include/ffmpeg/avformat.h:48: warning: implicit declaration of function `int64_t_C'
/usr/local/include/ffmpeg/avformat.h:48: warning: integer constant is too large for "long" type
/usr/local/include/ffmpeg/avformat.h:49: warning: integer constant is too large for "long" type
*** Error code 1
Stop in /usr/local/src/ffmpeg-php-0.5.0.
After I get all this working and install it on a another machine I plan on writing a guide for FreeBSD users inside the tutorials section - but this one part has stumped me.
The only thing I can think of is something along the lines of maybe i downloaded a 64 bit version of something along the way?
Should i continue along this route with phpize adding it as an extension, or does someone else have some information on that ffmpeg_test.php file?
I plan to install one server with RAID with that run on a dedicated card which support FreeBSD. As i have not much experience in this,
View 4 Replies View Related