-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A zashto ne gi setnesh v /etc/rc.d/rc.local predi da pusnesh Apacheto?

> Izpolzvaneto na putenv(... ne pomaga zashoto tezi promenlivi 
> (ORACLE_HOME, ORACLE_SID, NLS_LANG) se izchitat SAMO pri startiraneto na 
> apache  ot /home/<Usera_ot_httpd.conf/.profile daje restart /na apache/ 
> ne pomaga... triabva da se spre i da se pusne nanovo.

Tova ne e vjarno. Che se zarezdat ot profil-a ti e drug vapros, no tochno v 
tova ti e i problema. Export-ni si tezi promenlivi v environment-a predi da 
pusnesh startirashiat script za Apache-to.

Mozesh da gi setnesh i globalno za sistemata si, ako polzvash samo edna baza.
t.e. trjabva da imash neshto ot sorta v rc.local  ako polzvash bash:

export ORACLE_HOME=/home/oracle
export ORACLE_SID=orcl
export NLS_LANG=american.america
/etc/rc.d/oracle start
/etc/rc.d/apache start



- -- 
Dimitar Peikov
Programmer Analyst
Globalization Group
"We Build e-Business"  

RILA Solutions  
27 Building, Acad.G.Bonchev Str.  
1113 Sofia, Bulgaria  

phone: (+359 2) 9797320 
phone: (+359 2) 9797300 
fax:   (+359 2) 9733355  
http://www.rila.com 

GnuPG key       http://earth.rila.bg/~mitko/mitko.key.asc
GnuPG key       http://www.bgzone.com/~mitko/mitko.key.asc
Key fingerprint 97AF 6192 78E2 AC68 FD56  CCB0 68B9 DF7D B3C1 9ED7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9yiPKaLnffbPBntcRAtR2AJ48z48+WQzPYyEGp3r6RfnFpLBLVgCfa4t1
EaIV8pPpxlAGCyht4nE6r7Q=
=UM3X
-----END PGP SIGNATURE-----
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================

Reply via email to