[freeside-users] No 'progress' being made when adding a new service definition?

Gerald V Livingston II gerald.freeside at sysmatrix.net
Fri Sep 26 10:40:11 PDT 2008


How about foregrounding as user 'freeside'?

It's not supposed to be running as root.

bling:~# ps aux | grep free

freeside  1340  0.0  0.5 25452 5064 ?        Ss   Sep16   0:00 
/usr/bin/perl -w /usr/local/bin/freeside-queued fs_queue
postgres  1347  0.0  1.0 18176 9424 ?        S    Sep16   0:00 postgres: 
freeside freeside [local] idle
freeside 10329  0.0  4.8 82532 44088 ?       S    Sep21   3:36 
/usr/sbin/apache-ssl
freeside 10330  0.0  4.8 81320 44172 ?       S    Sep21   3:33 
/usr/sbin/apache-ssl

Gerald

Jan Mulders wrote:
> Done a little digging, and implemented the 'foreground' patch for 
> freeside-queued described 
> here: http://www.freeside.biz/pipermail/freeside-devel/2005-June/000499.html
> 
> Getting the following output:
> 
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 707.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 703.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 707.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 703.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 707.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 703.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 707.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 703.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 707.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 703.
> Use of uninitialized value in pattern match (m//) at 
> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line 707.
> 
> ....though the good news is that it now works! I can add service defs to 
> my heart's content.
> 
> Any bright ideas on why freeside-queued isn't working on its own? 
> Running it via service freeside start doesn't work, but foregrounding it 
> as root does...
> 
> I think I'll limp through till I'm nearer pushing this to production. I 
> can at least work on the signup interface now...
> 
> Thanks all.
> 
> Jan
> 
> 
> 2008/9/26 Jan Mulders <jan at baneki.com <mailto:jan at baneki.com>>
> 
>     More oddness:
> 
>     -bash-3.00# ps aux
>     USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
>     root         1  0.0  0.1  1712  540 ?        Ss   Sep19   0:00 init [3]
>     .......
>     root      1535  0.0  0.2  4132 1156 ?        Ss   Sep19   0:00
>     /usr/sbin/sshd
>     postgres  6229  0.0  0.4 18904 2212 pts/1    S    Sep19   0:00
>     /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
>     postgres  6230  0.0  0.1  9704  948 pts/1    S    Sep19   0:00
>     postgres: stats buffer process
>     postgres  6231  0.0  0.1  8712 1028 pts/1    S    Sep19   0:00
>     postgres: stats collector process
>     root      7416  0.0  0.2  4312 1352 pts/1    S+   Sep19   0:00 bash
>     root     14981  0.0  0.4  6976 2264 ?        Ss   03:11   0:00 sshd:
>     root at pts/0
>     root     14988  0.0  0.2  4312 1404 pts/0    Ss   03:11   0:00 -bash
>     root     15446  9.3 11.4 67124 59928 ?       Ss   03:17   0:04
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15449  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15450  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15451  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15452  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15453  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15454  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15455  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     freeside 15456  0.0 10.7 67124 56556 ?       S    03:17   0:00
>     /usr/sbin/httpd -d /etc/httpd-freeside
>     root     15481  0.0  0.1  2400  764 pts/0    R+   03:18   0:00 ps aux
> 
>     freeside-queued is meant to run as a daemon, right? 
> 
>     Jan
> 
>     2008/9/26 Jeremy Davis <lists at maximumtech.us
>     <mailto:lists at maximumtech.us>>
> 
>          > "Server processing job... [a big grey progress bar] %
>         (progress of job
>          > #5)"
> 
>         You need to run freeside-queued.
> 
>         Sincerely,
> 
>         Jeremy Davis, CEO



More information about the freeside-users mailing list