nocproject.org
01:19
thank Yetty
01:19
I actually got there in the end
01:20
bnt I believe the install instructions have some mistakes in them.
01:20
also, I am installed on ubuntu (regular desktop latest version) and I think there are some dependencies not included.
01:20
especially if you are not a developer
02:02
hmm
02:02
I have a new issues
02:02
running with apache
02:02
when I load the site it fails
02:02
I inspected the error log
02:02
I have:
02:03
[Wed Mar 09 12:56:13 2011] [error] [client 127.0.1.1] (2)No such file or directory: FastCGI: failed to connect to server "/opt/noc/noc.fcgi": connect() failed
03:07
ideas?
07:16
hi anyone able to help out?
07:25
yes
08:05
Can anyone test new lib/nbsocket.py unittests
08:05
python manage.py test --reuse-db noc.lib.tests.nbsocket
08:07
Scanning for tests ... ... 0 test module(s) found
08:15
python manage.py test --reuse-db noc.lib.tests.nbsocket -v2
08:15
with latest commits
08:28
уже мин 5-7 как выполняется .....
08:29
Ctrl+C
08:29
в каком тесте залип?
08:30
08:31
и жрёт 100% одного ядра
08:31
о как
08:31
ладно, epoll отдельно проверю
09:44
IOError: [Errno 9] Bad file descriptor
09:45
ну cpu уже не жрёт
09:46
09:46
да, нормально отработало
09:47
можно играться теперь
09:53
сейчас регрессии сохранились какие-нибудь? кроме скриптов для dlink'а?
10:04
ну...
10:05
пара тройка жоп осталась :)
10:05
я у ся запустил 10 активаторов.
10:05
сегодня с утра пришел сервак кричит о окончании памяти
10:06
stale скрипты
10:07
у меня активаторы при работе жрут по 100-150 памяти. на длинка
10:10
не понятно чем занята система между моментом когда активторы все отдали. а сае еще не закомтил
10:10
довольно продолжительное время.
10:12
упорно не работет пинг_чек :)
10:27
so
10:27
I think there is some issues in the install guide.
10:29
this section:
10:29
10:29
I think you need to allow the user to create new DB.. right?
10:32
also now I am installed.
10:32
I have a question
10:33
[Wed Mar 09 12:56:13 2011] [error] [client 127.0.1.1] (2)No such file or directory: FastCGI: failed to connect to server "/opt/noc/noc.fcgi": connect() failed
10:33
so, clearly I have something wrong with my apache setup
10:33
You need a fastcgi module for apache
10:35
yeah
10:35
okay XTech, thanks, rill look at that right now
10:36
okay XTech, for this machine i am using ubuntu
10:37
and I am new to debian/ubuntu, but understand somewhat
10:37
so I have this result
10:37
libapache2-mod-fastcgi is already the newest version.
10:37
thats from apt-get
10:38
...so maybe I am missing the point here `kk
10:38
python scripts/noc-launcher.py start
10:38
nioc is a service too?
10:38
apologies all
10:39
Norgs: First, you need to place FastCGI socket outside the NOC distribution
10:39
then you need noc-fcgi.py daemon
10:39
okay
10:40
does noc-launcher.py start the noc-fastcgi.py daemon?
10:40
yes, if asked so
10:40
:)
10:40
is there somewhere I can read about 21:39 < dvolodin> Norgs: First, you need to place FastCGI socket outside the NOC distribution
10:41
is there somewhere I can read about 21:39 < dvolodin> Norgs: First, you need to place FastCGI socket outside the NOC distribution "FastCGI socket outside the NOC distribution
10:41
"
10:41
[Wed Mar 09 12:56:13 2011] [error] [client 127.0.1.1] (2)No such file or directory: FastCGI: failed to connect to server "/opt/noc/noc.fcgi": connect() failed
10:41
try to use /tmp/noc.fcgi as a socket
10:41
oh, I've seen that in a config file somewhere
10:42
but let me restart apache now and then try and visit the site, and then inspect the error log
10:42
etc/noc-fcgi.conf
10:42
Do you really need apache?
10:42
probably not.
10:42
what are you suggesting?
10:42
nginx and lighttpd may be better options
10:42
just running the built in web server?
10:42
oh
10:43
no
10:43
nginx/lighttpd frontend, serving static files and passing all other requests to NOC
10:43
well, the machine I was installing on _had_ nginx installed, but I wasnt able to get nginx working. I have zero experience with nginx and _some_ with apache2
10:43
there are examples in documentation
10:43
yes, the doco is serving me well
10:44
when you were all on Holiday I asked many many questions in here about the install of this product
10:44
but managed to work them out myself :P
10:45
btw, they are novice linux person problems
10:45
not noc issues.
10:45
Can you see a file /tmp/noc.fcgi ?
10:45
so far tho, I think I got stuck with the DB user creation
10:46
XTech: no, not at the moment
10:46
I only have ssh access to the server now
10:46
let me set up some tunnels so I can browse the machine also
10:47
ls -al /tmp
10:47
thru ssh
10:54
Norgs: which problem with db user?
10:54
su - postgres
10:54
createuser noc
10:55
yep
10:55
then dvolodin, you say this...
10:55
Shall the new role be a superuser? (y/n) n
10:55
Shall the new role be allowed to create databases? (y/n) n
10:55
Shall the new role be allowed to create more new roles? (y/n) n
10:55
should part 2 be .. YES
10:55
no
10:55
createdb -EUTF8 -Onoc noc
10:56
yeah, then doesn the post install script go and create a DB called test-something
10:56
maybe?
10:57
i noticed - for run tests user req'd a createdb role
10:58
I understand it doesnt matter right XTech
10:58
but alas...
10:59
Norgs: no, only if you with to run python manage.py test, it is combletely optional
11:02
right, I can look at that later.
11:02
I might roll back and go nginx at your advice.
11:06
oh also, was the postgres super user at some point called pgsql?
11:06
maybe its different on different distributions.
11:52
pgsql or postgres, depending on system
12:47
okay
12:47
started again
12:47
I now have /tmp/noc.fcgi
12:48
when I load the page
12:48
DoesNotExist at /main/auth/login/
12:58
complaining about templates?
21:01
21:01
thats the issue
21:01
sorry, needed to sleep
Share this page
Share this page: