HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tomcat server and rksh
Operating System - HP-UX
1832458
Members
2915
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 08:53 AM
05-05-2003 08:53 AM
Hi,
how do I start the Tomcat server 4.1 as user 'www' using rksh?
OS: HP-UX 11.00
The tomcat server should be started from the start/stop script /sbin/init.d/hpws_tomcat. The command to start tomcat should be something like:
su www -c startup.sh
Since rksh is used the command cannot contain any slash (/). Therefore, ~www/.profile contains following lines:
PATH=/www/tomcat/bin:~/bin
export PATH
ksh(1) mentions that restrictions get activated after .profile is executed (i.e. PATH can be set within .profile).
startup.sh is in /www/tomcat/bin. HPWS_TOMCAT_HOME is defined as /www/tomcat. File permissions are ok.
Executing '/sbin/init.d/hpws_tomcat start' results:
rksh: startup.sh: not found
ERROR: Could not start Tomcat.
Tomcat server would start if I use ksh and the command 'su www -c $HPWS_TOMCAT_HOME/bin/startup.sh'.
So, how would you start the tomcat server from user www with rksh?
how do I start the Tomcat server 4.1 as user 'www' using rksh?
OS: HP-UX 11.00
The tomcat server should be started from the start/stop script /sbin/init.d/hpws_tomcat. The command to start tomcat should be something like:
su www -c startup.sh
Since rksh is used the command cannot contain any slash (/). Therefore, ~www/.profile contains following lines:
PATH=/www/tomcat/bin:~/bin
export PATH
ksh(1) mentions that restrictions get activated after .profile is executed (i.e. PATH can be set within .profile).
startup.sh is in /www/tomcat/bin. HPWS_TOMCAT_HOME is defined as /www/tomcat. File permissions are ok.
Executing '/sbin/init.d/hpws_tomcat start' results:
rksh: startup.sh: not found
ERROR: Could not start Tomcat.
Tomcat server would start if I use ksh and the command 'su www -c $HPWS_TOMCAT_HOME/bin/startup.sh'.
So, how would you start the tomcat server from user www with rksh?
no users -- no problems
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 12:39 AM
05-07-2003 12:39 AM
Re: tomcat server and rksh
No idea from anybody?
no users -- no problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 01:47 AM
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP