first I apologise if this is not the proper list to post this question, but since I am trying to install with both package & cvs, it might be benifitial in the package maintance if these install issues can be clarified
Quick questions..I am trying to use the debian package (I did download
the cvs and got it built, but couldn't build debian package from it so
I'll look at it again next month).
For the current debian packages, the libraries installed easily and I have gotten the station installed once, and am working on getting it installed a 2nd time on the actually station server.
Here is the logfile from the install. I am guessing it is because of
installation user/database/something with that I know I modified the
install script to get it working but cant' see where
Creating symlinks...
Initializing database...
DB Error: connect failed
Database connection problem.
Check if database 'LiveSupport' exists with corresponding permissions.
Database access is defined by 'dsn' values in var/conf.php.
DB Error: connect failed
dpkg: error processing livesupport-station (--configure):
subprocess post-installation script returned error exit status 1
And here is the database info from the start of the script:
installation directory: /opt/livesupport
host name: localhost.localdomain
web server port: 80
scheduler port: 3344
database server: localhost
database: LiveSupport
database user: livesupport
database user password: livesupport
apache daemon group: www-data
apache document root: /var/www
broadcast device: plughw:0,0
And here is the postInstallSchedule.sh executed by the installer (I also
tried to make it skip this & manually create the pgsql database/user,
but that didn't work either.
postInstallScheduler.sh:
if [ "x$ls_dbserver" != "localhost" ]; then
su - $postgres_user -c "echo \"CREATE USER $ls_dbuser \
ENCRYPTED PASSWORD '$ls_dbpassword' \
CREATEDB NOCREATEUSER;\" \
| psql template1" \
|| echo "Couldn't create database user $ls_dbuser.";
Now for the studio side, it installed OK, but when I try to run here is
what I get (this is on the dev box where I got the station installed and
i think running:
sudo /opt/livesupport/bin/gLiveSupport.sh
using configuration file: /opt/livesupport/etc/gLiveSupport.xml
EXE: /opt/livesupport/bin/gLiveSupport
Libdir: /opt/livesupport/lib:
using config file '/opt/livesupport/etc/gLiveSupport.xml'
/opt/livesupport/bin/gLiveSupport.sh: line 63: 6749
Aborted $gLiveSupport_exe -c $config_file
I just can't figure out for the life of me why the script is aborting!
It executes everything fine up to there. In fact I replaced the
$gLiveSupport_exe... with the actual full path & config file and it
still aborted.
I decided to run strace and here is what I see at the end:
6752 write(2, "/opt/livesupport/bin/gLiveSuppor"..., 111) = 111
6752 rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
6752 --- SIGCHLD (Child exited) @ 0 (0) ---
6752 waitpid(-1, 0xbfa48b04, WNOHANG) = -1 ECHILD (No child processes)
6752 sigreturn() = ? (mask now [])
6752 rt_sigaction(SIGINT, {SIG_DFL}, {0x8079c70, [], 0}, = 0
6752 rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
6752 read(255, "\n#/opt/livesupport/bin/gLiveSupp"..., 2673) = 85
6752 rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
6752 rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
6752 rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
6752 rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
That last read is the line I tried to useto run it manually
So it finds all needed libraries. My only guess is that for some maybe
it is using my local library when it should use the package library?
And finally, here is my gLiveSupport.sh
reldir=`dirname $0`/..
basedir=`cd $reldir; pwd;`
bindir=$basedir/bin
etcdir=$basedir/etc
libdir=$basedir/lib
tmpdir=$basedir/tmp
#-------------------------------------------------------------------------------
# Set up the environment
#-------------------------------------------------------------------------------
gstreamer_dir=`find $libdir -type d -name "gstreamer-*"`
David M. Zendzian wrote:
> Initializing database...
> DB Error: connect failed
> Database connection problem.
> Check if database 'LiveSupport' exists with corresponding permissions.
> Database access is defined by 'dsn' values in var/conf.php.
> DB Error: connect failed
well, do you have your postgresql server running? can you connect to it
yourself?
> Now for the studio side, it installed OK, but when I try to run here is
> what I get (this is on the dev box where I got the station installed and
> i think running:
> sudo /opt/livesupport/bin/gLiveSupport.sh
> using configuration file: /opt/livesupport/etc/gLiveSupport.xml
> EXE: /opt/livesupport/bin/gLiveSupport
> Libdir: /opt/livesupport/lib:
> using config file '/opt/livesupport/etc/gLiveSupport.xml'
> /opt/livesupport/bin/gLiveSupport.sh: line 63: 6749
> Aborted $gLiveSupport_exe -c $config_file
>
>
> I just can't figure out for the life of me why the script is aborting!
it's because the gLiveSupport executable crashed.
> It executes everything fine up to there. In fact I replaced the
> $gLiveSupport_exe... with the actual full path & config file and it
> still aborted.
see above.
if you could provide a backtrace of the segfault, we could take a look
at it...
but, the very reason packing is being overhauled is that it's quite
broken as it is now, for example with the debian packages.
Akos
------------------------------------------
Posted to Phorum via PhorumMail
This is a multi-part message in MIME format.
--------------030100020906070007080006
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Your right, it was a pgsql config issue. I had forgotten to set the
logon as md5 instead of localuser.
And I've attached the strace of the execution. What other traces would
you like? Should I download the latest cvs and build?
And since I have the station running, and have been able to get to the
web interface (Yeah!. What is the default user account created? I
found the script that calls scheduler with "install", but guess I'd have
to browse teh source to find what is actually created.
Thanks!
david
PS if I can get this running, it will control defconradio.org this
weekend!
Ákos Maróy wrote:
>David M. Zendzian wrote:
>
>
>>Initializing database...
>>DB Error: connect failed
>>Database connection problem.
>>Check if database 'LiveSupport' exists with corresponding permissions.
>>Database access is defined by 'dsn' values in var/conf.php.
>>DB Error: connect failed
>>
>>
>
>well, do you have your postgresql server running? can you connect to it
>yourself?
>
>
>
>>Now for the studio side, it installed OK, but when I try to run here is
>>what I get (this is on the dev box where I got the station installed and
>>i think running:
>>sudo /opt/livesupport/bin/gLiveSupport.sh
>>using configuration file: /opt/livesupport/etc/gLiveSupport.xml
>>EXE: /opt/livesupport/bin/gLiveSupport
>>Libdir: /opt/livesupport/lib:
>>using config file '/opt/livesupport/etc/gLiveSupport.xml'
>>/opt/livesupport/bin/gLiveSupport.sh: line 63: 6749
>>Aborted $gLiveSupport_exe -c $config_file
>>
>>
>>I just can't figure out for the life of me why the script is aborting!
>>
>>
>
>it's because the gLiveSupport executable crashed.
>
>
>
>>It executes everything fine up to there. In fact I replaced the
>>$gLiveSupport_exe... with the actual full path & config file and it
>>still aborted.
>>
>>
>
>see above.
>
>if you could provide a backtrace of the segfault, we could take a look
>at it...
>
>but, the very reason packing is being overhauled is that it's quite
>broken as it is now, for example with the debian packages.
>
>
>Akos
>
>
>
>
>
One more question for anyone who knows it. Is it possible to divide up
my schedule into preset time blocks that I give ownership to specific
accounts? Then those people can logon and create playlists to fill those
timeslots?
Also, what about rolling commercials/news/other interruptions to playlists?
Thanks to everyone who's made this possible! It looks awsome!
david
David M. Zendzian wrote:
>Ok, I found the root password. Interesting choice for a default..
>
>However now that I'm using the web interface (until I get the gui:(, I
>am trying to change the password and get the following error:
>
>BasicStor::[subjects]: access denied
>
>And I get that when trying to change any users password.
>
>I haven't looked at the php yet. I'm still so happy that I got it running!!
>
>Now I just need to figure out how to get a schedule started and where
>output queues so I can connect to a transmitter (and to external stream
>relays)
>
>dmz
>
>
>
>
>
------------------------------------------
Posted to Phorum via PhorumMail
At 00:43 26.07.2005, you wrote:
>Also, what about rolling commercials/news/other interruptions to playlists?
this is being discussed at the moment for the next release. we are
interested in work flow suggestions and use scenarios.
so far the idea is that advertisments will be a playlist on its own. this
will then be scheduled in the scheduler or live mode (ls studio). however,
there should be an admin interface for the ad people to manage
advertisments and campaigns.
i will leave this vague: if you want to give input on the use and logic of
this feature: shoot!
David M. Zendzian wrote:
> One more question for anyone who knows it. Is it possible to divide up
> my schedule into preset time blocks that I give ownership to specific
> accounts? Then those people can logon and create playlists to fill those
> timeslots?
not at the moment...
>
> Also, what about rolling commercials/news/other interruptions to playlists?
not at the moment...
but all these features are planned for in the future..
Akos
------------------------------------------
Posted to Phorum via PhorumMail