1 |
Thanks Martin. Results: |
2 |
# grep -r "rc.d/config" /etc/init.d/* |
3 |
/etc/init.d/postgresql:#. /etc/rc.d/config/functions |
4 |
/etc/init.d/postgresql.backup:. /etc/rc.d/config/functions |
5 |
/etc/init.d/serial: if [ -e /etc/rc.d/config/serial ] |
6 |
/etc/init.d/serial: . /etc/rc.d/config/serial |
7 |
|
8 |
In /etc/init.d |
9 |
I removed postgresql.backup |
10 |
renamed postgresql to postgresql.sh |
11 |
but still getting error below. |
12 |
|
13 |
In /etc/rc.d/config/functions |
14 |
I now have postgresql ???? and pgsql ????. The postgresql file is not a |
15 |
copy of my modified startup script. The pgsql (the normal name used in |
16 |
standard postgresql install) I cant believe its there as my current gentoo |
17 |
is a totally new install. |
18 |
|
19 |
Is there also a problem with serial? |
20 |
|
21 |
What was I doing in before the depscan.sh problem? |
22 |
I found the config part of the postgresql ebuild not automatically running. |
23 |
As per earlier emails I ran: |
24 |
# ebuild postgresql-7.1.3.ebuild config (failed /usr/bin/initab: |
25 |
/tmp/initdb.28959: Permission denied) |
26 |
# chmod 777 /tmp (I will change this to 1777) |
27 |
# rm -R /var/db/postgresql |
28 |
# ebuild postgresql-7.1.3.ebuild config (config ok) |
29 |
But I then could not find a startup script so I copied one from an earlier |
30 |
version of gentoo and started to modify it. |
31 |
|
32 |
Are there some notes to guide me? |
33 |
|
34 |
Many thanks Martin |
35 |
|
36 |
Regards, |
37 |
Kevin |
38 |
|
39 |
|
40 |
----- Original Message ----- |
41 |
From: "Martin Schlemmer" <azarah@g.o> |
42 |
To: "Gentoo-Dev" <gentoo-dev@g.o> |
43 |
Sent: Sunday, January 20, 2002 9:45 PM |
44 |
Subject: Re: [gentoo-dev] Caching service dependencies ... |
45 |
|
46 |
On Sun, 2002-01-20 at 00:16, Kevin Gordon wrote: |
47 |
> Further to my email subject "postgresql" I was working on a start stop |
48 |
> script for postgresql and I seem to have corrupted: |
49 |
> |
50 |
> Caching service dependencies ... |
51 |
> /etc/init.d/depscan.sh: root: command not found |
52 |
> /etc/init.d/depscan.sh: The: command not found |
53 |
> .................................................................... |
54 |
> information: No such file or directory |
55 |
> on : No such file or directory |
56 |
> ........................................................ |
57 |
> server. : No such file or directory |
58 |
> /etc/init.d/depscan.sh: /etc/rc.d/config/functions: No such file or |
59 |
> directory |
60 |
> |
61 |
|
62 |
This is most probibly causes by a broken rc-script in |
63 |
/etc/init.d/ . If you have some odd script there, rename it |
64 |
to myscript.sh, otherwise depscan.sh is going to see it as |
65 |
an rc-script. |
66 |
|
67 |
Also do the following to find the offending script: |
68 |
|
69 |
grep -r "rc.d/config" /etc/init.d/* |
70 |
|
71 |
Let us know if an ebuild installed it, as we may have missed |
72 |
it. |
73 |
|
74 |
-- |
75 |
|
76 |
Martin Schlemmer |
77 |
Gentoo Linux Developer, Desktop Team Developer |
78 |
Cape Town, South Africa |