Tuesday, May 20, 2008

Apache error : Apache JServ encountered a fatal error

Apache JServ encountered a fatal error

Oracle 9.2.0.8 Apache not working

In Log file

No such file or directory: Apache JServ encountered a fatal error; check your ApJServLogFile for details if none are present in this file. Exiting.

Solution

Please edit your
$ORACLE_HOME/Apache/Jserv/etc/jserv.properties file

comment out the lines that starts with:

#wrapper.env.copy= (2 LINES)

Oracle Apps

I have find Oracle Apps good site....

http://beginapps.blogspot.com/

Regds
Murali Raju

NFS Configure in Linux

NFS Configure in Linux

[root@sys46 /]# rpm -qa grep nfs
nfs-utils-lib-1.0.6-8.z1
system-config-nfs-1.2.8.1-1
nfs-utils-1.0.6-84.EL4
nfs-utils-lib-devel-1.0.6-8.z1
sblim-cmpi-nfsv3-test-1.0.13-13a.EL4.0.1
sblim-cmpi-nfsv4-test-1.0.11-13a.EL4.0.1
sblim-cmpi-nfsv3-1.0.13-13a.EL4.0.1
sblim-cmpi-nfsv4-1.0.11-13a.EL4.0.1


[root@sys46 /]# mkdir data
[root@sys46 /]# cd data/
[root@sys46 data]# mkdir files
[root@sys46 files]# pwd
/data/files


[root@sys46 /]# vi /etc/exports

[root@sys46 /]# cat /etc/exports
/data/files *(rw,sync)


chkconfig --level 35 nfs on
chkconfig --level 35 nfslock on
chkconfig --level 35 portmap on
chkconfig --level 35 nfslock on
chkconfig --level 35 portmap on

[root@sys46 /]# chkconfig --level 35 nfs on
[root@sys46 /]# chkconfig --level 35 nfslock on
[root@sys46 /]# chkconfig --level 35 portmap on
[root@sys46 /]# chkconfig --level 35 nfslock on
[root@sys46 /]# chkconfig --level 35 portmap on
[root@sys46 /]# service portmap start
Starting portmap: [ OK ]
[root@sys46 /]# service nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@sys46 /]# service nfslock start
[root@sys46 /]# service nfslock restart
Stopping NFS locking: [ OK ]
Stopping NFS statd: [ OK ]
Starting NFS statd: [ OK ]

Target

[root@sys45 ~]# chkconfig --level 35 netfs on
[root@sys45 ~]# chkconfig --level 35 nfslock on
[root@sys45 ~]# chkconfig --level 35 portmap on
[root@sys45 ~]# service portmap start
Starting portmap: [ OK ]
[root@sys45 ~]# service netfs start
Mounting other filesystems: [ OK ]
[root@sys45 ~]# service nfslock start
[root@sys45 ~]# service nfslock restart
Stopping NFS statd: [ OK ]
Starting NFS statd: [ OK ]
[root@sys45 ~]#


edit /etc/fstab

192.168.0.46:/data/files /mnt/nfs nfs soft,nfsvers=2 0 0

[root@sys45 ~]# mkdir /mnt/nfs
[root@sys45 etc]# mount -a
[root@sys45 etc]# mount
/dev/sda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.0.46:/data/files on /mnt/nfs type nfs (rw,soft,nfsvers=2,addr=192.168.0.46)
[root@sys45 etc]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 143G 121G 15G 90% /
none 1009M 0 1009M 0% /dev/shm
192.168.0.46:/data/files
143G 96G 40G 71% /mnt/nfs
[root@sys45 etc]# cd /mnt/nfs/
[root@sys45 nfs]# ls
[root@sys45 nfs]# ls -lrt
total 4
-rw-r--r-- 1 root root 3 Apr 22 2008 test.txt

[root@sys45 nfs]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
192.168.0.46:/data/files /mnt/nfs nfs soft,nfsvers=2 0 0

Telnet Configure in Linux

Telnet Configure in Linux

rpm -qa grep xinetd
rpm -qa grep telnet-server
rpm -qa grep telnet

# chkconfig telnet on
# service xinetd reload
Reloading configuration: [ OK ]

Simply edit the file /etc/securetty and add the following to the end of the file:

pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9

VNC Configure in Linux

rpm -qa |grep vnc

[root@sys46 ~]# rpm -qa |grep vnc
vnc-server-4.0-11.el4
vnc-4.0-11.el4



chkconfig --level 345 vncserver on

[root@sys46 ~]# chkconfig --level 345 vncserver on

==================================================
edit /etc/sysconfig/vncservers

uncomment
------
VNCSERVERS="1:root 2:oracle"
VNCSERVERARGS[1]="-geometry 800x600"

------

[root@sys46 .vnc]# cat /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# .

VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 800x600"

======================================================

[root@sys46 .vnc]# vncserver :1

You will require a password to access your desktops.

Password:
Verify:

New 'sys46.doyen.in:1 (root)' desktop is sys46.doyen.in:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/sys46.doyen.in:1.log

=======================================================
edit $HOME/.vnc/xstartup

Uncomment
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc


Add following lines
xhost +
gnome-session &
------------------------------

[root@sys46 .vnc]# cat xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
xhost +
gnome-session &
twm &

=========================================================
[root@sys46 .vnc]# vncserver -kill :1
Killing Xvnc process ID 21329


[root@sys46 .vnc]# vncserver :1

New 'sys46.doyen.in:1 (root)' desktop is sys46.doyen.in:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/sys46.doyen.in:1.log

==========================================================

download http://www.realvnc.com/download.html

FTP configure in Linux

FTP configure in Linux
rpm -qa grep vsftprpm -qa grep xinetd
chkconfig --level 345 vsftpd on
# /etc/init.d/vsftpd startStarting vsftpd for vsftpd: [ OK ]
# ln -s /etc/init.d/vsftpd /etc/rc3.d/S56vsftpd# ln -s /etc/init.d/vsftpd /etc/rc4.d/S56vsftpd# ln -s /etc/init.d/vsftpd /etc/rc5.d/S56vsftpd
Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.

Installing Step Oracle Red hat Linux 4.x

Installing Step Oracle Red hat Linux 4.x
1. Boot the server using the first CD.
You may need to change your BIOS settings to allow booting from the CD.
2. The boot screen appears with the boot: prompt at the bottom of the screen.
Select Enter to continue with a graphical install on the console
The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
3. Language Selection
Accept the default.
4. Keyboard Configuration
Accept the default.
5. Welcome Screen
Click on Next.
6. Disk Partitioning Setup
Manual Partitions(160 GB HDD,RAM 2GB)
- swap 4GB
- /boot 1GB
- / (Balance)
7. Boot Loader Configuration
Accept the default.
8. Network Configuration
Check the Configure using DHCP box,
9. Firewall Configuration
For the purposes of this walk-through, no firewall is configured. Select No firewall
Select Disabled on the "Enable SELinux" drop down list.
Click on Proceed when the "Warning - No Firewall" window appears.
10. Additional Language Support
Accept the default.
11. Time Zone Selection
Asia Calcutta.
12. Set Root Password
Enter a password for root, redhat.
13. Package Installation Defaults
Select Customize software packages to be installed.
14. Package Group Selection
Select only the package sets shown here and leave all others unselected.
Desktop
X Window System
Gnome
Applications
Graphical Internet (optional)
Servers
Do not select anything in this group.
Development
Development Tools
System
Administration Tools
System Tools
Add the package 'sysstat' by clicking on the Details link and selecting "sysstat - The sar an iostat system monitoring commands."
Miscellaneous
Do not select anything in this group.
Click on Next to proceed.
15. Installing Packages
Software will be copied to the hard disk and installed. Change disks as prompted.
16. Congratulations
Remove the installation media from the system, and click on Reboot .
17. The system automatically reboots and presents a new welcome screen.
Click on Next.
18. License Agreement
select Yes, I agree to the License Agreement and click on Next.
19. Date and Time
Set the Date and Time.
20. Display
Accept the defaults or change as required.
21. Red Hat Login
Enter your Red Hat Network login and password or create a new one.
22. System User
Create an account for yourself (User Name : sysadmin Password : sys@admin).
23. Additional CDs
Click on Next.
24. Finish Setup
Click on Next.
25. A graphical login screen appears.
26. Congratulations! Your RHEL4 software is now installed.

Refer to the Red Hat Installation Guide.)