[ckan-dev] Internal Server Error while adding dataset

Library IT libraryit at iimahd.ernet.in
Fri Jul 11 07:37:11 UTC 2014


Dear Jason,

Please find the output of ps aux command.
--------------------------
root at ckan:/var/lib/ckan/default# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  24560  2204 ?        Ss   Jul10   0:01 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Jul10   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Jul10   0:00
[ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    Jul10   0:00
[kworker/0:0]
root         5  0.0  0.0      0     0 ?        S<   Jul10   0:00
[kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    Jul10   0:00
[migration/0]
root         8  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/0]
root        10  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/1]
root        11  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/2]
root        12  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/3]
root        13  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/4]
root        14  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/5]
root        15  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/6]
root        16  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuob/7]
root        17  0.0  0.0      0     0 ?        S    Jul10   0:04 [rcu_sched]
root        18  0.0  0.0      0     0 ?        S    Jul10   0:01 [rcuos/0]
root        19  0.0  0.0      0     0 ?        S    Jul10   0:01 [rcuos/1]
root        20  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuos/2]
root        21  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuos/3]
root        22  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuos/4]
root        23  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuos/5]
root        24  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuos/6]
root        25  0.0  0.0      0     0 ?        S    Jul10   0:00 [rcuos/7]
root        26  0.0  0.0      0     0 ?        S    Jul10   0:00
[watchdog/0]
root        27  0.0  0.0      0     0 ?        S    Jul10   0:00
[watchdog/1]
root        28  0.0  0.0      0     0 ?        S    Jul10   0:00
[migration/1]
root        29  0.0  0.0      0     0 ?        S    Jul10   0:00
[ksoftirqd/1]
root        31  0.0  0.0      0     0 ?        S<   Jul10   0:00
[kworker/1:0H]
root        32  0.0  0.0      0     0 ?        S<   Jul10   0:00 [khelper]
root        33  0.0  0.0      0     0 ?        S    Jul10   0:00 [kdevtmpfs]
root        34  0.0  0.0      0     0 ?        S<   Jul10   0:00 [netns]
root        35  0.0  0.0      0     0 ?        S<   Jul10   0:00 [writeback]
root        36  0.0  0.0      0     0 ?        S<   Jul10   0:00
[kintegrityd]
root        37  0.0  0.0      0     0 ?        S<   Jul10   0:00 [bioset]
root        38  0.0  0.0      0     0 ?        S<   Jul10   0:00 [crypto]
root        39  0.0  0.0      0     0 ?        S<   Jul10   0:00
[kworker/u17:0]
root        40  0.0  0.0      0     0 ?        S<   Jul10   0:00 [kblockd]
root        41  0.0  0.0      0     0 ?        S<   Jul10   0:00 [ata_sff]
root        42  0.0  0.0      0     0 ?        S    Jul10   0:00 [khubd]
root        43  0.0  0.0      0     0 ?        S<   Jul10   0:00 [md]
root        44  0.0  0.0      0     0 ?        S<   Jul10   0:00
[devfreq_wq]
root        45  0.0  0.0      0     0 ?        S    Jul10   0:15
[kworker/0:1]
root        46  0.0  0.0      0     0 ?        S    Jul10   0:00
[kworker/1:1]
root        47  0.0  0.0      0     0 ?        S    Jul10   0:00
[khungtaskd]
root        48  0.0  0.0      0     0 ?        S    Jul10   0:02 [kswapd0]
root        49  0.0  0.0      0     0 ?        SN   Jul10   0:00 [ksmd]
root        50  0.0  0.0      0     0 ?        SN   Jul10   0:00
[khugepaged]
root        51  0.0  0.0      0     0 ?        S    Jul10   0:00
[fsnotify_mark]
root        52  0.0  0.0      0     0 ?        S    Jul10   0:00
[ecryptfs-kthr]
root        64  0.0  0.0      0     0 ?        S<   Jul10   0:00 [kthrotld]
root        67  0.0  0.0      0     0 ?        S    Jul10   0:00 [scsi_eh_0]
root        68  0.0  0.0      0     0 ?        S    Jul10   0:00 [scsi_eh_1]
root        70  0.0  0.0      0     0 ?        S    Jul10   0:00 [scsi_eh_2]
root        71  0.0  0.0      0     0 ?        S    Jul10   0:00 [scsi_eh_3]
root        72  0.0  0.0      0     0 ?        S<   Jul10   0:00
[dm_bufio_cach]
root        92  0.0  0.0      0     0 ?        S<   Jul10   0:00 [deferwq]
root        93  0.0  0.0      0     0 ?        S<   Jul10   0:00
[charger_manag]
root        94  0.0  0.0      0     0 ?        S    Jul10   0:11
[kworker/1:2]
root       241  0.0  0.0      0     0 ?        S    Jul10   0:02
[jbd2/sda1-8]
root       242  0.0  0.0      0     0 ?        S<   Jul10   0:00
[ext4-rsv-conv]
root       243  0.0  0.0      0     0 ?        S<   Jul10   0:00
[ext4-unrsv-co]
root       332  0.0  0.0  17372   576 ?        S    Jul10   0:00
upstart-udev-br
root       334  0.0  0.0  22028   952 ?        Ss   Jul10   0:00
/sbin/udevd --d
root       599  0.0  0.0  22024   508 ?        S    Jul10   0:00
/sbin/udevd --d
root       607  0.0  0.0  22024   384 ?        S    Jul10   0:00
/sbin/udevd --d
root       626  0.0  0.0      0     0 ?        S<   Jul10   0:00 [kpsmoused]
root       689  0.0  0.0      0     0 ?        S<   Jul10   0:00 [hd-audio0]
syslog     700  0.0  0.0 249476  1048 ?        Sl   Jul10   0:04 rsyslogd
-c5
root       727  0.0  0.0  15196   424 ?        S    Jul10   0:00
upstart-socket-
102        773  0.0  0.1  24984  2068 ?        Ss   Jul10   0:01
dbus-daemon --s
root       788  0.0  0.1  79048  2192 ?        Ss   Jul10   0:00
/usr/sbin/modem
root       819  0.0  0.0  21196  1248 ?        Ss   Jul10   0:00
/usr/sbin/bluet
avahi      827  0.0  0.0  32320  1348 ?        S    Jul10   0:00
avahi-daemon: r
avahi      828  0.0  0.0  32188   200 ?        S    Jul10   0:00
avahi-daemon: c
root       829  0.0  0.1 104124  3096 ?        Ss   Jul10   0:00
/usr/sbin/cupsd
root       836  0.0  0.0      0     0 ?        S<   Jul10   0:00 [krfcommd]
root       839  0.0  0.2 249312  4380 ?        Ssl  Jul10   0:00
NetworkManager
root       844  0.0  0.2 212488  4384 ?        Sl   Jul10   0:01
/usr/lib/policy
root       910  0.0  0.0  19996   772 tty4     Ss+  Jul10   0:00
/sbin/getty -8
root       916  0.0  0.0  19996   772 tty5     Ss+  Jul10   0:00
/sbin/getty -8
root       924  0.0  0.0  19996   772 tty2     Ss+  Jul10   0:00
/sbin/getty -8
root       929  0.0  0.0  19996   772 tty3     Ss+  Jul10   0:00
/sbin/getty -8
root       931  0.0  0.0  19996   772 tty6     Ss+  Jul10   0:00
/sbin/getty -8
root       943  0.0  0.0   4468   604 ?        Ss   Jul10   0:00 acpid -c
/etc/a
root       945  0.0  0.1 1051496 3288 ?        Sl   Jul10   0:00
/usr/sbin/conso
root       946  0.0  0.0  19120   880 ?        Ss   Jul10   0:00 cron
daemon     947  0.0  0.0  16916   200 ?        Ss   Jul10   0:00 atd
root       955  0.0  0.1 287596  3876 ?        Ssl  Jul10   0:00 lightdm
root       957  0.0  0.0  15988   596 ?        Ss   Jul10   0:07
/usr/sbin/irqba
root      1053  0.0  0.0  74636   700 ?        Ssl  Jul10   0:28
/opt/teamviewer
whoopsie  1054  0.0  0.2 211080  4672 ?        Ssl  Jul10   0:00 whoopsie
nobody    1055  0.0  0.0  33032  1236 ?        S    Jul10   0:00
/usr/sbin/dnsma
root      1177  0.0  0.2 136156  4168 ?        Sl   Jul10   0:00
/usr/lib/accoun
root      1240  0.0  0.1 219912  3400 ?        Sl   Jul10   0:00
/usr/lib/upower
colord    1363  0.0  0.2 499020  5336 ?        Sl   Jul10   0:00
/usr/lib/x86_64
rtkit     1407  0.0  0.0 168880  1032 ?        SNl  Jul10   0:00
/usr/lib/rtkit/
root      1618  0.0  0.0 107612   588 ?        Ss   Jul10   0:00 nginx:
master p
www-data  1619  0.0  0.0 107920   780 ?        S    Jul10   0:03 nginx:
worker p
www-data  1620  0.0  0.0 107920  1064 ?        S    Jul10   0:01 nginx:
worker p
www-data  1621  0.0  0.0 107920   780 ?        S    Jul10   0:03 nginx:
worker p
www-data  1622  0.0  0.0 107920   784 ?        S    Jul10   0:01 nginx:
worker p
www-data  1623  0.0  0.0 107764   600 ?        S    Jul10   0:00 nginx:
cache ma
root      1701  0.0  0.2  90988  4116 ?        Ss   Jul10   0:01
/usr/sbin/apach
root      1752  0.0  0.0  19996   772 tty1     Ss+  Jul10   0:00
/sbin/getty -8
root      1770  0.0  0.1 193360  3704 ?        Sl   Jul10   0:01
/usr/lib/udisks
root      1777  0.0  0.0  45524   760 ?        S    Jul10   0:00
udisks-daemon:
root      2916  0.0  0.0  19080   368 ?        Ss   Jul10   0:00 jsvc.exec
-user
jetty     2917  0.0  7.1 1592840 144720 ?      Sl   Jul10   0:41 jsvc.exec
-user
postgres  4455  0.0  0.4 136116  9364 ?        S    00:08   0:02
/usr/lib/postgr
postgres  4458  0.0  0.2 136100  4188 ?        Ss   00:08   0:05 postgres:
write
postgres  4459  0.0  0.1 136100  2100 ?        Ss   00:08   0:04 postgres:
wal w
postgres  4460  0.0  0.1 137068  3224 ?        Ss   00:08   0:02 postgres:
autov
postgres  4461  0.0  0.0 104684  1828 ?        Ss   00:08   0:05 postgres:
stats
root      4751  0.0  0.0  61924  1456 ?        S    00:22   0:00 su -
root      4759  0.0  0.2  27872  4652 ?        S    00:22   0:00 -su
root      4822  0.0  5.7 913408 116984 ?       Sl   00:23   0:46
/usr/lib/ckan/d
postgres  4827  0.0  0.3 138116  7616 ?        Ss   00:23   0:00 postgres:
ckan_
postgres  4828  0.0  0.2 137364  5456 ?        Ss   00:23   0:00 postgres:
ckan_
postgres  4829  0.0  0.3 137772  7804 ?        Ss   00:23   0:00 postgres:
ckan_
postgres  4830  0.0  0.3 138108  7340 ?        Ss   00:23   0:00 postgres:
datas
postgres  4831  0.0  0.5 140108 10928 ?        Ss   00:23   0:01 postgres:
ckan_
root      4888  0.5  2.0 322112 40792 tty7     Ssl+ 00:29   6:11 /usr/bin/X
:0 -
root      8005  0.0  0.2 171516  4128 ?        Sl   14:33   0:00 lightdm
--sessi
library   8038  0.0  0.2 385704  4252 ?        Sl   14:33   0:00
/usr/bin/gnome-
library   8049  0.0  0.4 402100  9880 ?        Ssl  14:33   0:00
gnome-session -
library   8085  0.0  0.0  12576   320 ?        Ss   14:33   0:00
/usr/bin/ssh-ag
library   8088  0.0  0.0  26568   516 ?        S    14:33   0:00
/usr/bin/dbus-l
library   8089  0.0  0.1  27324  2980 ?        Ss   14:33   0:05
//bin/dbus-daem
library   8099  0.0  0.8 686276 16392 ?        Sl   14:33   0:04
/usr/lib/gnome-
library   8107  0.0  0.1  52392  2388 ?        S    14:33   0:00
/usr/lib/gvfs/g
library   8109  0.0  0.1 220376  3456 ?        Sl   14:33   0:00
/usr/lib/gvfs//
library   8117  0.9  3.0 1540704 61440 ?       Sl   14:33   2:22 compiz
library   8128  0.0  0.2 363224  5388 ?        S<l  14:33   0:00
/usr/bin/pulsea
library   8130  0.0  0.1  57736  3252 ?        S    14:33   0:00
/usr/lib/x86_64
library   8132  0.0  0.1  46100  2096 ?        S    14:33   0:00
/usr/lib/gvfs/g
library   8135  0.0  0.1  95964  2444 ?        S    14:33   0:00
/usr/lib/pulsea
library   8137  0.0  0.4 460264  9244 ?        Sl   14:33   0:00
/usr/lib/gnome-
library   8138  0.0  1.2 957068 24580 ?        Sl   14:33   0:01 nautilus -n
library   8144  0.0  0.2  80652  4196 ?        S    14:33   0:00
/usr/lib/gvfs/g
library   8145  0.0  0.6 432056 12344 ?        Sl   14:33   0:00
bluetooth-apple
library   8146  0.0  0.7 498532 14884 ?        Sl   14:33   0:00 nm-applet
library   8149  0.0  0.4 314980  8928 ?        Sl   14:33   0:00
/usr/lib/policy
library   8153  0.0  0.1  60348  2268 ?        S    14:33   0:00
/usr/lib/gvfs/g
library   8158  0.0  0.1 142092  2400 ?        Sl   14:33   0:00
/usr/lib/gvfs/g
library   8167  0.0  0.1  69524  3828 ?        S    14:33   0:00
/usr/lib/gvfs/g
library   8176  0.0  0.5 417836 11160 ?        Sl   14:33   0:06
/usr/lib/bamf/b
library   8181  0.0  0.1  52420  2504 ?        S    14:33   0:00
/usr/lib/gvfs/g
library   8187  0.0  0.0   4408   608 ?        Ss   14:33   0:00 /bin/sh -c
/usr
library   8188  0.0  0.5 414284 12056 ?        Sl   14:33   0:03
/usr/bin/gtk-wi
library   8191  0.0  1.0 604656 21040 ?        Sl   14:33   0:05
/usr/lib/unity/
library   8193  0.0  0.2 448020  5632 ?        Sl   14:33   0:00
/usr/lib/indica
library   8208  0.0  0.2 495344  4976 ?        Sl   14:33   0:00
/usr/lib/indica
library   8211  0.0  0.3 614036  6636 ?        Sl   14:33   0:00
/usr/lib/indica
library   8213  0.0  0.5 431144 10280 ?        Sl   14:33   0:00
/usr/lib/indica
library   8214  0.0  0.3 545308  6760 ?        Sl   14:33   0:00
/usr/lib/indica
library   8218  0.0  0.3 655996  6592 ?        Sl   14:33   0:00
/usr/lib/indica
library   8219  0.0  0.3 564712  7128 ?        Sl   14:33   0:00
/usr/lib/indica
library   8251  0.0  0.1  47868  2556 ?        S    14:33   0:00
/usr/lib/geoclu
library   8257  0.0  0.2 261528  5128 ?        Sl   14:33   0:00
/usr/lib/ubuntu
library   8273  0.0  0.4 339124  9464 ?        Sl   14:33   0:00
/usr/lib/gnome-
library   8277 10.2 21.2 1346568 433152 ?      Sl   14:33  24:44
/usr/lib/firefo
library   8287  0.0  0.3 631788  7876 ?        Sl   14:33   0:00
/usr/lib/unity-
library   8292  0.0  0.2 813256  5452 ?        Sl   14:33   0:00
/usr/lib/unity-
library   8293  0.0  0.2 349408  5880 ?        Sl   14:33   0:00
/usr/lib/unity-
library   8294  0.0  0.6 518792 13056 ?        Sl   14:33   0:00
/usr/bin/python
library   8321  0.0  0.2 360732  5328 ?        Sl   14:33   0:00
/usr/bin/zeitge
library   8331  0.0  0.3 249888  6832 ?        Sl   14:33   0:00
/usr/lib/zeitge
library   8333  0.0  0.3 427112  6352 ?        Sl   14:33   0:00
zeitgeist-datah
library   8339  0.0  0.4 431624  9612 ?        Sl   14:33   0:00
telepathy-indic
library   8340  0.0  0.0  11392   324 ?        S    14:33   0:00 /bin/cat
library   8357  0.0  0.2 336052  5212 ?        Sl   14:33   0:00
/usr/lib/telepa
library   8365  0.0  0.4 404444  8196 ?        Sl   14:33   0:00
/usr/lib/gnome-
library   8382  0.0  0.2 293088  4228 ?        Sl   14:34   0:00
/usr/lib/at-spi
library   8393  0.0  0.1 586424  3456 ?        Sl   14:34   0:00
/usr/lib/unity-
library   8394  0.0  0.9 564084 18496 ?        Sl   14:34   0:00
/usr/bin/python
library   8438  0.0  0.5 322108 10588 ?        Sl   14:34   0:00
gnome-screensav
postgres  8468  0.0  0.5 140096 10740 ?        Ss   14:34   0:01 postgres:
ckan_
library   8491  0.0  0.7 442800 15296 ?        Sl   14:34   0:00
update-notifier
root      8503  0.0  0.5  95400 10244 ?        S    14:34   0:00
/usr/bin/python
library   8532  0.0  0.2 294672  4356 ?        Sl   14:35   0:00
/usr/lib/deja-d
library   8629  0.0  0.8 523304 17784 ?        Sl   14:50   0:06
gnome-terminal
library   8637  0.0  0.0  14796   800 ?        S    14:50   0:00
gnome-pty-helpe
library   8638  0.0  0.2  27848  4628 pts/3    Ss   14:50   0:00 bash
root      8695  0.0  0.0  61924  1452 pts/3    S    14:50   0:00 su -
root      8703  0.0  0.2  27876  4664 pts/3    S    14:50   0:00 -su
root      8820  0.0  0.0  61924  1404 pts/3    S    14:57   0:00 su -
root      8828  0.0  0.2  27956  4880 pts/3    S    14:57   0:00 -su
postgres  8894  0.0  0.5 140100 10936 ?        Ss   14:58   0:00 postgres:
ckan_
root      8931  0.0  0.0  26568   520 pts/3    S    15:04   0:00
dbus-launch --a
root      8932  0.0  0.0  24092   984 ?        Ss   15:04   0:00
//bin/dbus-daem
root      8936  0.0  0.1 261968  2608 ?        Sl   15:04   0:00
/usr/lib/dconf/
root      8942  0.0  0.2 295076  5156 ?        Sl   15:04   0:00
/usr/bin/zeitge
root      8948  0.0  0.3 249832  6600 ?        Sl   15:04   0:00
/usr/lib/zeitge
root      8950  0.0  0.2 426944  6096 ?        Sl   15:04   0:00
zeitgeist-datah
root      8952  0.0  0.0  11392   328 ?        S    15:04   0:00 /bin/cat
root      8958  0.0  0.1  52392  2348 ?        S    15:04   0:00
/usr/lib/gvfs/g
root      8960  0.0  0.1 285912  3456 ?        Sl   15:04   0:00
/usr/lib/gvfs//
postgres  9139  0.0  0.5 140108 10664 ?        Ss   15:12   0:00 postgres:
ckan_
postgres  9140  0.0  0.4 140188 10148 ?        Ss   15:12   0:00 postgres:
ckan_
www-data  9636  0.0  0.1  90996  2536 ?        S    16:01   0:00
/usr/sbin/apach
www-data  9637  0.0  3.1 488408 63448 ?        Sl   16:01   0:01
ckan_default
www-data  9638  0.0  2.9 422872 61092 ?        Sl   16:01   0:01
ckan_default
www-data  9639  0.0  0.3 445572  7028 ?        Sl   16:01   0:00
/usr/sbin/apach
www-data  9640  0.0  0.3 511180  7104 ?        Sl   16:01   0:00
/usr/sbin/apach
root      9824  0.0  0.0      0     0 ?        S<   16:16   0:00
[kworker/u17:2]
root     10178  0.0  0.1  50044  2920 ?        Ss   17:03   0:00
/usr/sbin/sshd
root     10375  0.0  0.0      0     0 ?        S    17:32   0:00
[kworker/u16:1]
root     10494  0.0  0.0      0     0 ?        S    18:06   0:00
[kworker/u16:2]
root     10597  0.0  0.0  22368  1256 pts/3    R+   18:34   0:00 ps aux
---------------------------------------------------------------------------

Thanks
Bhavesh


On Fri, Jul 11, 2014 at 12:19 PM, Jason Tan <jason.tan at ersa.edu.au> wrote:

> Hi Bhavesh,
>
> I didn't present that last request very clearly.
> Please run the following command as root:
> ps aux
>
> and paste the output into an email.
>
> Jason
>
>
>
> On 11 July 2014 16:18, Jason Tan <jason.tan at ersa.edu.au> wrote:
>
>>
>> HI Bhavesh,
>>
>> Can you please run the following command while CKAN is running:
>> ps aux as root and show us all of the output
>>
>> We need to be able to see how you are running CKAN and as which user, and
>> that will hopefully tell us.
>>
>> Thanks
>> Jason
>>
>>
>> On 11 July 2014 15:49, Library IT <libraryit at iimahd.ernet.in> wrote:
>>
>>> Dear Hayden,
>>>
>>> See the following folders and permission of filestore
>>>
>>> we have create on user for ckan
>>>
>>> -----------------------------------------------------------------------------
>>> root at ckan:/# cd /var/lib/ckan/
>>> root at ckan:/var/lib/ckan# ll
>>> total 12
>>> drwxr-xr-x  3 root root 4096 Jul 11 15:04 ./
>>> drwxr-xr-x 63 root root 4096 Jul 11 15:04 ../
>>> drwxrwxrwx  3 ckan root 4096 Jul 11 15:21 default/
>>> root at ckan:/var/lib/ckan# cd default/
>>> root at ckan:/var/lib/ckan/default# ll
>>> total 12
>>> drwxrwxrwx 3 ckan root 4096 Jul 11 15:21 ./
>>> drwxr-xr-x 3 root root 4096 Jul 11 15:04 ../
>>> drwxrwxrwx 2 ckan root 4096 Jul 11 15:21 storage/
>>> root at ckan:/var/lib/ckan/default#
>>> ----------------------------------------------------------------------
>>>
>>> still it's giving the same error..
>>>
>>> And as per the Jason said : ckan.site_url with an IP and port 5000
>>> Which ckan.site_url we have to set..?
>>>
>>> you may see the home page screen that is display while
>>> http://192.168.251.89:5000/ on browser.
>>>
>>>
>>>
>>>
>>> On Fri, Jul 11, 2014 at 11:33 AM, Hayden Waring <hayden at opengovgear.com>
>>> wrote:
>>>
>>>> Hi Bhavesh,
>>>>
>>>> What is the username of your linux user?
>>>>
>>>> Can you try the following command and see if it works?
>>>>
>>>> chown -R username /var/lib/ckan/default
>>>>
>>>> Regards,
>>>>
>>>> Hayden Waring
>>>> OpenGovGear
>>>> www.opengovgear.com
>>>>
>>>>
>>>> On Thu, Jul 10, 2014 at 10:58 PM, Library IT <libraryit at iimahd.ernet.in
>>>> > wrote:
>>>>
>>>>> Dear Hayden,
>>>>>
>>>>> We have follow the steps to install CKAN :
>>>>> http://docs.ckan.org/en/1197-rtd-fix/install-from-source.html
>>>>>
>>>>> I think we are not using CKAN through apache it's through Jetty &
>>>>> apache solr.
>>>>>
>>>>> Thanks,
>>>>> Bhavesh
>>>>>
>>>>>
>>>>> On Fri, Jul 11, 2014 at 11:25 AM, Hayden Waring <
>>>>> hayden at opengovgear.com> wrote:
>>>>>
>>>>>> Hi Bhavesh,
>>>>>>
>>>>>> Are you serving CKAN through apache?
>>>>>>
>>>>>> Hayden Waring
>>>>>> OpenGovGear
>>>>>> www.opengovgear.com
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 10, 2014 at 10:53 PM, Library IT <
>>>>>> libraryit at iimahd.ernet.in> wrote:
>>>>>>
>>>>>>> Dear Hayden Waring,
>>>>>>>
>>>>>>> thanks for your mail..
>>>>>>>
>>>>>>> we have set the permission of filestore folder.. to 777 as well as
>>>>>>> the ownership to www-data.
>>>>>>> but still it's showing the internal server error while click on
>>>>>>> Next:Additional Info button.
>>>>>>>
>>>>>>> Bhavesh
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 11, 2014 at 10:55 AM, Hayden Waring <
>>>>>>> hayden at opengovgear.com> wrote:
>>>>>>>
>>>>>>>> HI Bhavesh,
>>>>>>>>
>>>>>>>> I am going to guess you don't have the permissions set properly for
>>>>>>>> your filestore.
>>>>>>>>
>>>>>>>> When you go to upload the file ckan tries to access the filestore
>>>>>>>> directory and fails which gives you the error when hit the add button.
>>>>>>>>
>>>>>>>> The documentation tells you to change the ownership of the
>>>>>>>> filestore to www-data. If you are only serving the instance from your local
>>>>>>>> machine you need to change the owner of the directory to ubuntu or whatever
>>>>>>>> the name of your user is.
>>>>>>>>
>>>>>>>> Best of luck,
>>>>>>>>
>>>>>>>> Hayden Waring
>>>>>>>> CTO OpenGovGear
>>>>>>>> www.opengovgear.com
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Jul 10, 2014 at 10:09 PM, Jason Tan <jason.tan at ersa.edu.au>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> HI Bhavesh,
>>>>>>>>>
>>>>>>>>> I'm' just taking a a guess here based on the limited info we've
>>>>>>>>> got and my very limited experience
>>>>>>>>>
>>>>>>>>> The most common problems I have noticed with CKAN in my very
>>>>>>>>> limited experience are CKAN not being able to talk to the database (e.g.
>>>>>>>>> database server has been rebooted but the db did not come up or a firewall
>>>>>>>>> rule was reloaded or a network interface somewhere is broken) or
>>>>>>>>> permissions on a directory on the ckan server.
>>>>>>>>> E.g. the ofs.storage_dir not being writable by the web server user
>>>>>>>>>
>>>>>>>>> If you're getting webserver errors, it would be really useful to
>>>>>>>>> include web server error log output.
>>>>>>>>> Often the error is fairly easy to decipher from log output.
>>>>>>>>>
>>>>>>>>> Not sure how experienced you are in this space i.e running apps on
>>>>>>>>> unix hosts, but I'd be looking at my system log e.g.
>>>>>>>>> /var/log/messages, the webserver error logs e.g.
>>>>>>>>> /var/log/apache/error_log  /var/log/apache/ssl_error_log  (the
>>>>>>>>> paths will vary from distro to distro - I'ma redhat guy so those are
>>>>>>>>> centos/redhat paths) and running the dmesg command.
>>>>>>>>>
>>>>>>>>> Also if you are running a distro with selinux  (most redhat based
>>>>>>>>> distros have it) try typing: getenforce which will tell you if
>>>>>>>>> selinux is enforcing its policy or not.
>>>>>>>>>
>>>>>>>>> If it says enforcing then try temporarily turning it off by
>>>>>>>>> running the following as root:
>>>>>>>>> setenforce 0
>>>>>>>>>
>>>>>>>>> Usually when something goes wrong there are hints in these kinds
>>>>>>>>> of places and it is useufl for you to chceck them and if you ask for help
>>>>>>>>> to inlcude any possibly related messages in your help request.
>>>>>>>>>
>>>>>>>>> I believe you can also add logging to CKAN itself while it is
>>>>>>>>> running under paster, though I can't recall how to do it.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> Jason Tan
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 11 July 2014 14:20, Library IT <libraryit at iimahd.ernet.in>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Dear All,
>>>>>>>>>>
>>>>>>>>>> We are facing one issue while adding Dataset .. It's give us
>>>>>>>>>> Internal server Error (plx see the screen sort).
>>>>>>>>>>
>>>>>>>>>> Also Suppose We have some local files and we want to upload on
>>>>>>>>>> that dataset then there is no browse option for uploading files from local
>>>>>>>>>> machine (see the add resource form.png).
>>>>>>>>>>
>>>>>>>>>> for that we have try :
>>>>>>>>>> http://docs.ckan.org/en/1117-start-new-test-suite/filestore.html
>>>>>>>>>> We have add
>>>>>>>>>> [app:main]
>>>>>>>>>> ofs.impl = pairtree
>>>>>>>>>> ofs.storage_dir = /var/lib/ckan/default
>>>>>>>>>>
>>>>>>>>>> as well as
>>>>>>>>>> ckan.site_url = http://192.168.251.89:5000
>>>>>>>>>>
>>>>>>>>>> but it's not working...
>>>>>>>>>>
>>>>>>>>>> NOTE : suppose we have change ckan config file then is there any
>>>>>>>>>> service we have to restart ?
>>>>>>>>>>
>>>>>>>>>> Plz help me on this
>>>>>>>>>>
>>>>>>>>>> Bhavesh Patel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Jason Tan
>>>>>>>>> Data Infrastructure Specialist, eResearch SA
>>>>>>>>>
>>>>>>>>> phone: +61 8 8313 2184
>>>>>>>>> Mob: +61 407 268 270
>>>>>>>>> email: jason.tan at ersa.edu.au
>>>>>>>>> web: http://www.ersa.edu.au
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> ckan-dev mailing list
>>>>>>>>> ckan-dev at lists.okfn.org
>>>>>>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>>>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>
>>>
>>
>>
>> --
>> Jason Tan
>> Data Infrastructure Specialist, eResearch SA
>>
>> phone: +61 8 8313 2184
>> Mob: +61 407 268 270
>> email: jason.tan at ersa.edu.au
>> web: http://www.ersa.edu.au
>>
>
>
>
> --
> Jason Tan
> Data Infrastructure Specialist, eResearch SA
>
> phone: +61 8 8313 2184
> Mob: +61 407 268 270
> email: jason.tan at ersa.edu.au
> web: http://www.ersa.edu.au
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140711/0065f41d/attachment-0003.html>


More information about the ckan-dev mailing list