About Forum Blogs NOC Docs Downloads KB Issues Code CI Registration

nocproject.org

#nocproject.org at irc.freenode.net log.
Back to nocproject.org Back to IRC log index
Date: 04.04.2015
gtrott #
02:10
НОК - веб-службы или НОК - web.log место ?
04:47
E: Unable to locate package libgdal1
04:47
sh: Failed to install libgdal1
04:47
Terminating
04:47
this is from ubuntu 12.04
04:48
i tried debian and ubuntu
fumufu86 #
07:24
gtrott:
07:24
# apt-get install ca-certificates
07:24
# wget -q -O- https://www.cubbyusercontent.com/pl/1.txt/_46e4205ad10f4bb29cb9459d4612e5e2 | sh | tee /tmp/install.log
07:25
gtrott: for ubuntu 12.04
07:27
# wget -q -O- https://www.cubbyusercontent.com/pl/111.txt/_aac006d5878a4f27bad34c92688ac7f3 | sh | tee /tmp/install.log
07:27
gtrott: for ubuntu 14.04
noc_lamer #
12:27
как включить noc после рестарта сервера?
fumufu86 #
12:39
Starting NOC daemons
12:39
Start noc-launcher daemon to restore NOC operations
12:39
OS
12:39
12:39
CLI Command
12:39
Linux
12:39
/etc/init.d/noc-launcher start
12:39
Solaris
12:39
svcadm enable noc-launcher
12:39
FreeBSD
12:39
/usr/local/etc/rc.d/noc start
noc_lamer #
13:16
Подразумевается же не от рута делать команду?
13:22
Серьезно, стыдно, конечно, за вопросы, но хочется уже с ноком поработать.
fumufu86 #
13:45
jбычно он запускается сам
13:45
да от рута
gtrott #
13:46
<fumufu86> thanks I'll give that a try
14:02
E: Unable to locate package mongodb-org
14:02
sh: Failed to install mongodb-org
14:02
Terminating
14:02
14.04
fumufu86 #
14:04
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
14:04
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
14:04
sudo apt-get update
14:05
gtrott:
gtrott #
14:05
ok. then try script again?
14:07
fumufu86 ok. then try script again?
fumufu86 #
14:07
y
gtrott #
14:07
thanks
14:08
i would have never figured this out
14:10
upgrade: : 'smidump' is not found
14:10
Terminating
14:10
bootstrap.sh: Failed to upgrade NOC
14:10
Terminating
14:10
sh: Failed to complete bootstrap
14:10
Terminating
fumufu86 #
14:14
apt-get install smitools
14:17
gtrott:
gtrott #
14:17
https://pastebin.freeswitch.org/24085
14:17
might have to start over?
fumufu86 #
14:19
delete the folder /opt/noc
gtrott #
14:19
ok
fumufu86 #
14:20
link requires a password
gtrott #
14:22
pastebin/freeswitch
14:27
504 Gateway Time-out
14:27
PostGIS is not installed. Trying to install ...
14:27
Failed to install PostGIS: Not found: /usr/share/postgresql/9.3/contrib/postgis-1.5
14:27
Install PostGIS into database 'noc' according to your operation system's procedure
14:27
Stopping...
14:27
upgrade-user: : migrate failed
14:28
thats the only err i see at the moment
fumufu86 #
14:34
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
14:34
14:34
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" >> /etc/apt/sources.list.d/postgresql.list'
14:34
14:34
sudo apt-get update
14:35
gtrott:
gtrott #
15:02
had to eat... let me try that
15:07
Installing postgresql
15:07
Reading package lists...Segmentation fault
15:07
sh: Failed to install postgresql
15:11
https://pastebin.freeswitch.org/24086
15:11
fumufu86
fumufu86 #
15:25
sudo rm /var/cache/apt/*.bin
15:25
sudo apt-get update
15:25
sudo apt-get upgrade
15:25
gt
15:25
gtrott:
gtrott #
15:34
The following packages have been kept back:
15:34
postgis postgresql postgresql-9.3-postgis-2.1 postgresql-client-common
15:35
postgresql-common
15:35
The following packages will be upgraded:
15:35
liblwgeom-2.1.2 libpq-dev libpq5 postgresql-9.3
15:35
postgresql-9.3-postgis-scripts postgresql-client-9.3 postgresql-contrib-9.3
15:35
7 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
15:35
FATAL -> Failed to fork.
15:35
sh: Failed to run: apt-get upgrade
15:38
fumufu86 - this is being so difficult
15:40
это то, что так трудно!
fumufu86 #
15:41
I got a lot easier.
15:41
It was just the first two commands
gtrott #
15:42
i have a lot to learn with linux... to even think i could fix this
fumufu86 #
15:43
FATAL -> Failed to fork.
15:43
occurs when insufficient amount of RAM
gtrott #
15:44
hmm 512 is what i have on this VPS
fumufu86 #
15:46
Try to free up some RAM. Disabling some processes.
gtrott #
15:50
what does this appliance need to run.. would 1 GB do it?
16:09
i added more mem
16:09
trying again
16:23
it works!
16:23
thank u fumufu86
16:46
Working directory: /opt/noc
16:46
<class 'django.db.utils.DatabaseError'>
16:46
relation "kb_kbglobalbookmark" does not exist
16:46
some of the folders have err
16:46
DB err
17:55
any docs on how to add a snmp or syslog device?
17:56
wiki is blank is most areas
gtrott_ #
19:27
Working directory: /opt/noc
19:27
<class 'django.db.utils.DatabaseError'>
19:27
column sa_activator.prefix_table_id does not exist
19:56
did a fresh install on 12.04 on linode... works perfect now
noc_lamer #
20:00
try to reboot
20:00
server
Tweet
Share this page
Share this page: Tweet