[campcaster-support] Re: Campcaster scheduler - First Start-up Error
  • Hey all,
    I'm still having issues starting up campcaster. Is there any more information I can provide that would help to resolve my problem?
  • 4 Comments sorted by
  • spider wrote on 09/19/2007 11:36 AM:
    > Hey all,
    > I'm still having issues starting up campcaster. Is there any more information I can provide that would help to resolve my problem?

    If you are willing to help us troubleshoot, please run the enclosed perl
    script and tell us what it says. Before running it, you'll need to
    install the Frontier XML-RPC client for Perl; the Ubuntu package is
    called libfrontier-rpc-perl, the Debian package is probably similar.

    Thanks,
    Ferenc
  • The command line and the complete output of postInstallStation.sh could
    be useful, too. Did you remember to set the command line parameters as
    described in section 4 of http://campcaster-doc.campware.org/install.html ?

    Ferenc
  • I don't know if re-running postInstallStation.sh will be disruptive but I re-ran it in order to provide you with the output, If you need I will happily re-install fedora and start entirely from scratch documenting every command and its output. I also will be happy to run any debugging software in order to get our station away from the current software we are currently running, I did not however see any script attached to your messages.

    Here is the output of the re-run postInstallStation.sh, and the command that called it:

    [root /usr/local/campcaster/bin]# ./postInstallStation.sh --directory=/usr/local/campcaster --postgresql-dir=/var/lib/pgsql/data --www-root /var/www/html

    Making post-install steps for Campcaster Station.

    Using the following installation parameters:

    installation directory: /usr/local/campcaster
    database server: localhost
    database: Campcaster
    database user: campcaster
    database user password: campcaster
    apache daemon group: apache
    apache document root: /var/www/html
    postgresql data directory: /var/lib/pgsql/data
    postgresql init script: /etc/init.d/postgresql

    Checking for required tools...
    Executable sed found...
    Executable psql found...
    Executable php found...
    Executable odbcinst found...
    Modifying postgresql access permissions...
    Stopping postgresql service: [ OK ]

    Starting postgresql service: [ OK ]

    Creating database for Campcaster scheduler.

    Using the following parameters:

    database server: localhost
    database: Campcaster
    database user: campcaster
    database user password: campcaster

    Checking for required tools...
    Executable su found...
    Executable psql found...
    Creating database and database user...
    ERROR: role "campcaster" already exists
    ERROR: database "Campcaster" already exists
    Done.
    Creating ODBC data source for Campcaster scheduler.

    Using the following installation parameters:

    database server: localhost
    database: Campcaster

    Checking for required tools...
    Executable sed found...
    Executable grep found...
    Executable odbcinst found...
    Removing old ODBC PostgreSQL driver...
    PostgreSQL_Campcaster has been deleted (if it existed at all) because its usage count became zero
    Registering ODBC PostgreSQL driver...
    odbcinst: Driver installed. Usage count increased to 1.
    Target directory is /etc
    Registering Campcaster ODBC data source...
    Done.
    Setting up directory permissions...
    Configuring apache ...
    /etc/apache/conf.d N
    /etc/apache2/conf.d N
    /etc/apache2/conf/modules.d N
    /etc/httpd/conf.d Y
    done
    Restarting apache...
    apache N
    apache2 N
    httpd Y
    Stopping httpd: [ OK ]

    Starting httpd: [ OK ]

    done
    Creating symlinks...
    Initializing database...
    *************************
    * StorageServer Install *
    *************************
    * Connected to database
    * Skipping: database table already exists: ls_tree
    * Skipping: database table already exists: ls_struct
    * Skipping: Root node already exists in ls_tree
    * Skipping: database table already exists: ls_classes
    * Skipping: database table already exists: ls_cmemb
    * Skipping: database table already exists: ls_subjs
    * Skipping: database table already exists: ls_smemb
    * Skipping: database table already exists: ls_perms
    * Skipping: database table already exists: ls_sess
    * Skipping: database table already exists: ls_files
    * Skipping: database table already exists: ls_mdata
    * Skipping: database table already exists: ls_access
    * Inserting starting data into tables...
    * Skipping: StorageRoot already exists.
    * Skipping: group already exists: 'Admins'
    * Skipping: group already exists: 'All'
    * Skipping: group already exists: 'StationPrefs'
    * Skipping: user already exists: 'root'
    * Skipping: trash can already exists.
    * Skipping: user already exists: 'scheduler'
    * Skipping: database table already exists: ls_trans
    * Skipping: database table already exists: ls_pref
    * Skipping: directory already exists: /usr/local/campcaster/var/Campcaster/storageServer/var/stor
    * Skipping: directory already exists: /usr/local/campcaster/var/Campcaster/storageServer/var/stor/buffer
    * Skipping: directory already exists: /usr/local/campcaster/var/Campcaster/storageServer/var/trans
    * Skipping: directory already exists: /usr/local/campcaster/var/Campcaster/storageServer/var/access
    * Skipping: directory already exists: /usr/local/campcaster/lib/pear
    * Skipping: directory already exists: /usr/local/campcaster/var/Campcaster/storageServer/var/cron
    * Testing writability of /usr/local/campcaster/var/Campcaster/storageServer/var/stor...done.
    * Adding cron job...done.
    **********************************
    * StorageServer Install Complete *
    **********************************
    /usr/local/campcaster/bin
    *************************
    * ArchiveServer Install *
    *************************
    * Connected to database
    * Skipping: database table already exists: as_tree
    * Skipping: database table already exists: as_struct
    * Skipping: Root node already exists in as_tree
    * Skipping: database table already exists: as_classes
    * Skipping: database table already exists: as_cmemb
    * Skipping: database table already exists: as_subjs
    * Skipping: database table already exists: as_smemb
    * Skipping: database table already exists: as_perms
    * Skipping: database table already exists: as_sess
    * Skipping: database table already exists: as_files
    * Skipping: database table already exists: as_mdata
    * Skipping: database table already exists: as_access
    * Inserting starting data into tables...
    * Skipping: StorageRoot already exists.
    * Skipping: group already exists: 'Admins'
    * Skipping: group already exists: 'All'
    * Skipping: user already exists: 'root'
    * Skipping: user already exists: 'scheduler'
    * Skipping: database table already exists: as_trans
    **********************************
    * ArchiveServer Install Complete *
    **********************************
    /usr/local/campcaster/bin
    Installing Campcaster scheduler database tables...
    * Using config file /usr/local/campcaster/etc/campcaster-scheduler.xml
    * Connected to database
    * Skipping: database table already exists: schedule
    * Skipping: database table already exists: playlog
    * Skipping: database table already exists: backup
    * Scheduler install complete
    /usr/local/campcaster/bin
    Creating gstreamer registry...

    (process:4156): GStreamer-WARNING **: path /usr/local/campcaster/lib/gstreamer-0.8 already added to registry
    Rebuilding global_registry (/usr/local/campcaster/etc/gst-registry.xml) ...
    Added plugin tta with 2 features.
    Added plugin jpeg with 5 features.
    Added plugin videocrop with 1 feature.
    Added plugin decodebin with 1 feature.
    Added plugin spectrum with 1 feature.
    Added plugin median with 1 feature.
    Added plugin gstspider with 2 features.
    Added plugin autodetect with 2 features.
    Added plugin udp with 2 features.
    Added plugin playondemand with 1 feature.
    Added plugin gdkpixbuf with 2 features.
    Added plugin monoscope with 1 feature.
    Added plugin volenv with 1 feature.
    Added plugin gstidct with 0 features.
    Added plugin gstindexers with 2 features.
    Added plugin videoscale with 1 feature.
    Added plugin mpeg2sub with 1 feature.
    Added plugin mpegaudio with 1 feature.
    Added plugin audiorate with 1 feature.
    Added plugin subparse with 2 features.
    Added plugin videobox with 1 feature.
    Added plugin video4linux2 with 2 features.
    Added plugin textoverlay with 2 features.
    Added plugin dvdlpcmdec with 1 feature.
    Added plugin vbidec with 1 feature.
    Added plugin level with 1 feature.
    Added plugin gstentryomegascheduler with 1 feature.
    Added plugin wavenc with 1 feature.
    Added plugin debug with 5 features.
    Added plugin gstvideo with 0 features.
    Added plugin gstvideofilter with 0 features.
    Added plugin video4linux with 5 features.
    Added plugin overlay with 1 feature.
    Added plugin sdlvideosink with 1 feature.
    Added plugin videorate with 1 feature.
    Added plugin dvdsubdec with 1 feature.
    Added plugin gstbasicomegascheduler with 1 feature.
    Added plugin gstresample with 0 features.
    Added plugin qcamsrc with 1 feature.
    Added plugin ffmpegcolorspace with 1 feature.
    Added plugin gstoptscheduler with 1 feature.
    Added plugin sine with 1 feature.
    Added plugin gamma with 1 feature.
    Added plugin gstoptomegascheduler with 1 feature.
    Added plugin vcdsrc with 1 feature.
    Added plugin ac3parse with 1 feature.
    Added plugin imagemixer with 1 feature.
    Added plugin videobalance with 1 feature.
    Added plugin alpha with 1 feature.
    Added plugin multipart with 2 features.
    Added plugin gstfairgthreadscheduler with 1 feature.
    Added plugin speed with 1 feature.
    Added plugin gstbytestream with 0 features.
    Added plugin playbin with 1 feature.
    Added plugin mpeg1videoparse with 1 feature.
    Added plugin videotestsrc with 1 feature.
    Added plugin festival with 1 feature.
    Added plugin rtp with 4 features.
    Added plugin gstentrygthreadscheduler with 1 feature.
    Added plugin passthrough with 1 feature.
    Added plugin gstmultifilesink with 1 feature.
    Added plugin silence with 1 feature.
    Added plugin goom with 1 feature.
    Added plugin filter with 3 features.
    Added plugin cdplayer with 1 feature.
    Added plugin mixmatrix with 1 feature.
    Added plugin xvimagesink with 1 feature.
    Added plugin deinterlace with 1 feature.
    Added plugin png with 2 features.
    Added plugin rtjpeg with 2 features.
    Added plugin freeze with 1 feature.
    Added plugin apetag with 1 feature.
    Added plugin stereo with 1 feature.
    Added plugin y4menc with 1 feature.
    Added plugin gstelements with 15 features.
    Added plugin colorspace with 1 feature.
    Added plugin ximagesink with 2 features.
    Added plugin audioscale with 1 feature.
    Added plugin riff with 0 features.
    Added plugin mpegaudioparse with 1 feature.
    Added plugin alphacolor with 1 feature.
    Added plugin mulaw with 2 features.
    Added plugin alaw with 2 features.
    Added plugin smooth with 1 feature.
    Added plugin snapshot with 1 feature.
    Added plugin switch with 1 feature.
    Added plugin volume with 1 feature.
    Added plugin gstdataprotocol with 0 features.
    Added plugin auparse with 1 feature.
    Added plugin gstoptgthreadscheduler with 1 feature.
    Added plugin videodrop with 1 feature.
    Added plugin cairo with 2 features.
    Added plugin interleave with 2 features.
    Added plugin mng with 2 features.
    Added plugin gstbasicgthreadscheduler with 1 feature.
    Added plugin xwindowlistener with 0 features.
    Added plugin chart with 1 feature.
    Added plugin timeoverlay with 1 feature.
    Added plugin gstaudio with 0 features.
    Added plugin smpte with 1 feature.
    Added plugin gsttags with 1 feature.
    Added plugin typefindfunctions with 76 features.
    Added plugin gstaudiofilter with 0 features.
    Added plugin video4linux-radio with 1 feature.
    Added plugin rfbsrc with 1 feature.
    Added plugin effectv with 8 features.
    Added plugin videomixer with 1 feature.
    Added plugin efence with 1 feature.
    Added plugin gstgetbits with 0 features.
    Added plugin oneshotreaderplugin with 1 feature.
    Added plugin partialplay with 1 feature.
    CLASS_INIT().
    Added plugin minimalaudiosmil with 1 feature.
    Added plugin switcher with 1 feature.
    Added plugin smoothwave with 1 feature.
    Added plugin matroska with 2 features.
    Added plugin synaesthesia with 1 feature.
    Added plugin navigationtest with 1 feature.
    Added plugin videoflip with 1 feature.
    Added plugin adder with 1 feature.
    Added plugin modplug with 1 feature.
    Added plugin mpegstream with 4 features.
    Added plugin gstaudioconvert with 2 features.
    Added plugin games with 1 feature.
    Added plugin avi with 2 features.
    Added plugin wavparse with 1 feature.
    Added plugin ogg with 6 features.
    Added plugin rmdemux with 1 feature.
    Added plugin alsa with 3 features.
    Added plugin flxdec with 1 feature.
    Added plugin vorbis with 4 features.
    Added plugin cdxaparse with 2 features.
    Added plugin system_encode with 1 feature.
    Added plugin gstequalizer with 1 feature.
    Added plugin asf with 2 features.
    Added plugin tcp with 7 features.
    Added plugin qtdemux with 1 feature.
    Added plugin cutter with 1 feature.
    Added plugin ossaudio with 3 features.
    Loaded 138 plugins with 284 features.
    *********************************************
    * StorageServer Upgrade from 1.1.X to 1.2.0 *
    *********************************************
    * Connected to database
    * THIS UPGRADE HAS ALREADY BEEN APPLIED.
    Done.

    As I mentioned before I am really excited about converting our station over to campcaster and that you guys are so kind and happy to help. We may only be a LPFM station but I'll be happy to be included to your list of stations when everything is finished!
  • phorum@code.campware.org wrote on 09/20/2007 10:40 PM:
    > Author: The_Spider
    > Link: http://code.campware.org/phorum/read.php?20,5736,5754#msg-5754
    > --------------------------------------------------------------------------------
    >
    > I don't know if re-running postInstallStation.sh will be disruptive

    No, that should be OK.


    > I did not however see any script attached to your messages.

    The mailing list system ate it. Here it is in another form:
    http://edge.campware.org/~fgerlits/testCampcasterStorage.pl


    > Here is the output of the re-run postInstallStation.sh, and the command that called it:
    >
    > # ./postInstallStation.sh --directory=/usr/local/campcaster --postgresql-dir=/var/lib/pgsql/data --www-root /var/www/html
    >
    > Making post-install steps for Campcaster Station.
    >
    > Using the following installation parameters:
    [...]
    > Done.

    This looks good. Please try the testCampcasterStorage.pl script.


    > As I mentioned before I am really excited about converting our station over to campcaster and that you guys are so kind and happy to help. We may only be a LPFM station but I'll be happy to be included to your list of stations when everything is finished!

    That would be excellent; we need small stations to test Campcaster, so
    we can fix any problems that are still there, and later be able to
    recommend it to bigger stations. Thank you for helping.

    Ferenc