Help with configuring H264 pseudo-streaming

Skip to first unread message

Jun 6, 2015, 6:07:46 PM6/6/15
Setting up Phrasea on Ubuntu 14.04 server build (first time for installing Phraseanet...)
This is my H264 Install code:
Configure H264 pseudo-streaming
/var/www/Phraseanet/bin/console h264-pseudo-streaming:generate-mapping apache --enabled
/var/www/Phraseanet/bin/console h264-pseudo-streaming:generate-mapping apache --enabled --write
/var/www/Phraseanet/bin/console h264-pseudo-streaming:dump-configuration
The problem occurs after I copy and paste code from the dump-configuration into Phraseanet.conf
    Alias /mp4-videos-1 "/var/www/Phraseanet/datas/databox/subdefs"
    <Location /mp4-videos-1>
        AuthTokenSecret       "mysecretstring"
        AuthTokenPrefix       /mp4-videos-1
        AuthTokenTimeout      3600
        AuthTokenLimitByIp    off
The "a2ensite Phraseanet" command processes with no error but when I restart apache2 I get this on the console:
Enabling site Phraseanet.
To activate the new configuration, you need to run:
  service apache2 reload
root@...:/etc/apache2/sites-available# service apache2 restart
 * Restarting web server apache2                                         [fail]
 * The apache2 configtest failed.
Output of config test was:
Segmentation fault (core dumped)
Action 'configtest' failed.
The Apache error log may have more information.
I have no clue how to figure this out, even after reviewing the apache error logs, php error logs, system logs, etc...
Any help with finding the cause of the error would be greatly appreciated.

Elliot Johnson

Feb 2, 2017, 6:38:33 AM2/2/17
to phrasea-install-en
Hi Bill,

Don't suppose you ever got to the bottom of this?

I am also encountering the same issue while trying to install Phraseanet onto CentOS7/Apache2.4.

Just going round in circles trying to find a solution.

I have found that this works:

    <Location /mp4-videos-1>
        AuthTokenSecret       "ZRJOJoWw2ieYbyJ4gzs2lCU2bjUSAR0s"
#        AuthTokenPrefix      /mp4-videos-1
        AuthTokenTimeout      3600
#        AuthTokenLimitByIp    off

So it appears to be a problem with Apache reading the AuthTokenPrefix and AuthTokenLimitByIp options.


Bartłomiej Roman

Oct 26, 2018, 9:00:43 AM10/26/18
to phrasea-install-en
I've done as Elliot suggests.
But by the way, do you know why these two lines are corrupting Apache?

Best Regards 
Reply all
Reply to author
0 new messages