my webserver suddenly crash

2008-04-09 Thread Satria Bramana
greetings..

my webhosting server suddenly crash and showing this in /var/log/messages :
Apr  9 11:37:52 hosting kernel: swap_pager_getswapspace(10): failed

i'm using a monitoring software and i found that the usage of my swap space 
only about 1% of my total swap space at the time before my server crashed..
i couldn't think of anything that may caused this trouble..
can anyone help me?
thank you very much everybody..


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-questions Digest, Vol 202, Issue 9

2008-02-13 Thread Satria Bramana


--
Date: Wed, 13 Feb 2008 15:28:55 -0600
From: Darryl Hoar [EMAIL PROTECTED]
Subject: PHP,Apache question
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;charset=iso-8859-1

Greetings,
I decided to start over and wiped my new server down and installed
6.3-release.

I installed perl5 (and did user.perl port)

Installed Mysql41-server from ports.

Modified /etc/make.conf to reflect
 WITH_DB_VER=41
 WITH_MYSQL_VER=41

installed apache13-modssl from ports.
installed /usr/ports/lang/php4
installed /usr/ports/lang/php4-extensions.  Added mbstring.
added to httpd.conf
  AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
created index.php in /usr/local/www/data with
the following content:
html
head
titlePHP_TESTER/title
 /head
body
?php phpinfo(); ?
/body
/html

when I try to start apache using:
#/usr/local/sbin/apachectl start
I get the following:
Syntax error on line 241 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp4.so into server: Cannot open
/usr/local/libexec/apache/libphp4.so
/usr/local/sbin/apachectl start: httpd could not be started
when I look in the /usr/local/libexec/apache directory, I do not see
libphp4.so

What do I need to do to fix this ?

thanks,
Darryl

--



Have you made the php.ini file? This is the configuration file needed for php 
to run. If you install by port, you should fine a default file named 
/usr/local/etc/php.ini-dist
Just copy it to php.ini then try to start apache again.

Hope it works,
Bram 




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error running razor-admin

2007-12-29 Thread Satria Bramana
i'm trying to build a mailserver with antispam, so i choose to use 
spamassassin. 
When i try to run razor-admin -d -create i got an error message like this :
 Razor-Log: Computed razorhome from env: /var/amavis/.razor
 Razor-Log: Found razorhome: /var/amavis/.razor
 Razor-Log: read_file: 15 items read from /var/amavis/.razor/razor-agent.conf
 Razor-Log:  -create will force complete discovery
Dec 29 18:30:42.604741 admin[2468]: [ 2] [bootup] Logging initiated 
LogDebugLevel=9 to stdout
Dec 29 18:30:42.605928 admin[2468]: [ 6] Not creating razorhome 
/var/amavis/.razor, already exists
Dec 29 18:30:42.608444 admin[2468]: [ 5] read_file: 15 items read from 
/var/amavis/.razor/razor-agent.conf
Dec 29 18:30:42.611008 admin[2468]: [ 5] wrote 15 HASH items to file: 
/var/amavis/.razor/razor-agent.conf
Dec 29 18:30:42.611878 admin[2468]: [ 5] computed razorhome=/var/amavis/.razor, 
conf=/var/amavis/.razor/razor-agent.conf, ident=/var/amavis/.razor/identity
Dec 29 18:30:42.612170 admin[2468]: [ 2]  Razor-Agents v2.84 starting 
razor-admin -d -create
Dec 29 18:30:42.612727 admin[2468]: [ 5] Can't read file 
/var/amavis/.razor/servers.discovery.lst: No such file or directory
Dec 29 18:30:42.613114 admin[2468]: [ 5] Can't read file 
/var/amavis/.razor/servers.nomination.lst: No such file or directory
Dec 29 18:30:42.613467 admin[2468]: [ 5] Can't read file 
/var/amavis/.razor/servers.catalogue.lst: No such file or directory
Dec 29 18:30:42.614640 admin[2468]: [ 5] no listfile: 
/var/amavis/.razor/servers.nomination.lst
Dec 29 18:30:42.615048 admin[2468]: [ 6] no discovery listfile: 
/var/amavis/.razor/servers.discovery.lst
Dec 29 18:30:42.615334 admin[2468]: [ 8] Checking with Razor Discovery Server 
discovery.razor.cloudmark.com
Dec 29 18:30:42.615639 admin[2468]: [ 6] No port specified, using 2703
Dec 29 18:30:42.615913 admin[2468]: [ 5] Connecting to 
discovery.razor.cloudmark.com ...
Dec 29 18:31:02.624353 admin[2468]: [ 3] Unable to connect to 
discovery.razor.cloudmark.com:2703; Reason: Operation now in progress.
Dec 29 18:31:02.624713 admin[2468]: [ 5] Razor Discovery Server 
discovery.razor.cloudmark.com is unreachable
Dec 29 18:31:02.625365 admin[2468]: [ 1] razor-admin error: nextserver: 
Bootstrap discovery failed. Giving up.
nextserver: Bootstrap discovery failed. Giving up.
 

I guess that this is because i'm behind a squid proxy server, so razor can't 
connect to discovery.razor.cloudmark.com
Can someone give some advice about setting up razor-agent.conf to use the proxy 
server?
Thank you very much.




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/local/rc.d/apache22 start doesn't start Apache

2007-12-15 Thread Satria Bramana
Hello Yuri, perhaps you should try this command : 
apachectl start|stop|restart|graceful
That works for me :)




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Webmail

2007-12-13 Thread Satria Bramana
Can anyone who had experience running a web-based e-mail give suggestion what 
package to use? I will only use it for study purpose, so I need one that easy 
to configure and help me understand the big picture about mailserver.. Thank 
you very much..




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]