Already i configured short_open_tag=On.

I am using Nfsen+Nfdump on Fedora Core 6 and with  Apache/2.2.6 (Unix) DAV/2
PHP/5.1.6 mod_python/3.2.8 Python/2.4.4 mod_ssl/2.2.6 OpenSSL/0.9.8b
mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations

I found that when chmod 0775 to /home/netflow, which is BASEDIR for NfSen
then it working.

Is it possible to existing already running Nfcapd collected database?

I tried to use Stager + Nfdump and spend full day, but can't work give lot
of error message.


Richard Daemon wrote:
> 
> Looks exactly like what I had, Tasmanian Devil's suggestion fixed it:
> 
> I changed the short_open_tag=Off to On:
> "short_open_tag = On" in the php.ini.
> 
> Also, are you doing this in a chroot apache? If so, try with 'httpd
> -u' instead to see if that fixes it (outside the chroot). I haven't
> tried to get it working while running the httpd in a chroot myself yet
> so that could another cause to it as I've also seen.
> 
> If not, might be something with the path somewhere, perhaps nfsen.conf?
> 
> Hope this helps.
> 
> On Mon, Mar 3, 2008 at 4:21 PM, Balgaa <[EMAIL PROTECTED]> wrote:
>> hello,
>>
>>  I have problem similiar but it says about permission.
>>  ERROR: nfsend connect() error: Permission denied!
>>
>> ERROR: nfsend - connection failed!!
>>  ERROR: Can not initialize globals!
>>
>>  Is there anything wrong with directory or file permission?
>>
>>
>>
>>
>>
>>  Richard Daemon wrote:
>>  >
>>  > Hi,
>>  >
>>  > I'm really stumped on this and any help would be greatly appreciated.
>>  >
>>  > When trying to load the nfsen/nfsen.php page I get:
>>  >
>>  > ERROR: nfsend connect() error: No such file or directory!
>>  > ERROR: nfsend - connection failed!!
>>  > ERROR: Can not initialize globals!
>>  >
>>  > I'm sure I have it configured properly and started properly as the
>>  > documentation states, I've read over and over and over again...
>>  >
>>  > I've used the default ./etc/nfsen-dist.conf > ./etc/nfsen.conf (tried
>>  > with and without changing HTMLDIR)
>>  >
>>  > I'm running httpd -u (non-chroot), php enabled, configured in
>>  > httpd.conf and tested ok - httpd chrooted works less, for now.
>>  >
>>  > I did the mkdir /data then ran the ./install.pl etc/nfsen.conf
>>  >
>>  > Started it with: ./nfsen start and it starts ok.
>>  >
>>  > in nfsen.conf I tried with /var/www/nfsen and /var/www/htdocs/nfsen
>>  > (same results)...
>>  >
>>  > %sources = (
>>  >     #'upstream1'    => { 'port'    => '9995', 'col' => '#0000ff',
>>  > 'type' => 'netflow' },
>>  >     'slacker'    => { 'port'    => '9995', 'col' => '#0000ff', 'type'
>>  > => 'netflow' },
>>  >     #'peer1'        => { 'port'    => '9996', 'col' => '#ff0000' },
>>  > );
>>  >
>>  > Then when I try http://slacker/nfsen/nfsen.php I get:
>>  >
>>  > ERROR: nfsend connect() error: No such file or directory!
>>  > ERROR: nfsend - connection failed!!
>>  > ERROR: Can not initialize globals!in red.
>>  >
>>  > pfflowd -d -n 192.168.0.10 running from remote host.
>>  >
>>  > I tried 1.3 and 1.3b, including nfsen -r live.
>>  >
>>  > I also get this in /var/log/messages:
>>  > Feb 16 22:50:15 slacker nfsen[689]: Error reading channel stat
>>  > information. Missing key 'first'
>>  >
>>  > $ netstat -anf inet |grep 995
>>  > udp        0      0  *.9995                 *.*
>>  >
>>  > Running OpenBSD 4.2-stable.
>>  >
>>  > Did I miss anything? Am I doing something wrong?
>>  >
>>  > Any help is greatly appreciated!
>>  >
>>  >
>>  >
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/Nfsen-and-php-problems...--tp15526200p15814259.html
>>  Sent from the openbsd user - misc mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Nfsen-and-php-problems...--tp15526200p15820196.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.

Reply via email to