- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .profile error while login into the HP box
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
07-03-2014 03:50 AM - last edited on 07-03-2014 07:21 PM by Lisa198503
07-03-2014 03:50 AM - last edited on 07-03-2014 07:21 PM by Lisa198503
.profile error while login into the HP box
Dear expert,
I am getting the below error while loggin into the HP box.Below is the error.
Error: .profile[3]: Syntax error: `"' is not matched.
Please suggest me on this.
Thanks & regards,
Vishal
P.S. This thread has been moved from HP-UX>System Administration o HP-UX > languages. -HP Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2014 06:15 AM
07-03-2014 06:15 AM
Re: .profile error while login into the HP box
It means that you have a single-quote or double-quote somewhere in the .profile file that is missing. Any time you use quotes there have to be opening and closing quotes.
Search through your .profile line by line and make sure that the quotes match.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2014 03:22 PM - edited 07-03-2014 03:23 PM
07-03-2014 03:22 PM - edited 07-03-2014 03:23 PM
Re: .profile error while login into HP-UX
>Error: .profile[3]: Syntax error: `"' is not matched.
The string probably starts on line 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2014 09:04 PM
07-03-2014 09:04 PM
Re: .profile error while login into HP-UX
Hello Dennis sir,
Below is the output of the .profile file: Request you to please suggest.
STSIZE=1024
HISTFILE=$HOME/.sh_history
PS1=[`logname`@`hostname` "${PWD}]#.
export HISTSIZE HISTFILE PS1# @(#)B.11.31_LR
# Default (example of) super-user's .profile file
# Do not put "." in PATH; it is a potential security breach.
# Do not put "/usr/local/bin" in PATH; it is a potential security breach.
# Example assumes /home/root exists.
set +u
PATH=/usr/sbin:$PATH:/sbin:/home/root
# Be sure that VUE does not invoke tty commands
if [ ! "$VUE" ]; then
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs
echo
echo "Value of TERM has been set to \"$TERM\"."
export TERM
EDITOR=vi
export EDITOR
fi # if !VUE
# Set up shell environment:
set -u # error if undefined variable.
trap "echo 'logout root'" 0 # what to do on exit.
# Set up shell variables:
MAIL=/var/mail/root
# don't export, so only login shell checks.
echo "WARNING: YOU ARE SUPERUSER !!\n"
Thanks & have a great day ahead.
With regards,
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2014 10:24 PM
07-03-2014 10:24 PM
Re: .profile error while login into HP-UX
>Below is the output of the .profile file:
>PS1=[`logname`@`hostname` "${PWD}]#.
This is missing a trailing double quote on the end.