Run SunOne using normal user

Hi, I have installed SunOne AppSvr7 on UNIX Server (SunOS) on my own directory "/export/home/SUNWappsvr7".
I have installed the software using root permission.
I can start and stop the app-server using root with no problem.
However, I need to run/operate the app-server with user which does not have root permission.
I do a chown to user with no root permission on the following directory:
- <install_config_dir>: /export/home/SUNWappsvr7/config
- /export/home/SUNWappsvr7/var <-- this contains the domains directory
- /export/home/SUNWappsvr7/bin
The error message that i get from the server.log file is as follows:
[25/Mar/2003:09:19:06] INFO ( 3947): CORE1116: Sun ONE Application Server 7.0
[25/Mar/2003:09:19:16] INFO ( 3948): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.0_02] from [Sun Microsystems Inc.]
[25/Mar/2003:09:19:29] INFO ( 3948): JMS5029: Successfully attached to an existing Message Queue broker. Instance Name = TowerDomain_TowerInst
[25/Mar/2003:09:19:48] INFO ( 3948): JTS5014: Recoverable JTS instance, serverId = [100]
[25/Mar/2003:09:19:51] INFO ( 3948): RAR5060: Install JDBC Datasources ...
[25/Mar/2003:09:19:52] INFO ( 3948): JMS5015: Install JMS resources ...
[25/Mar/2003:09:20:03] SEVERE ( 3948): HTTP3127: HTTP listener http-listener-1 [http://suntest11:88]: Error creating socket (Permission denied)
[25/Mar/2003:09:20:03] SEVERE ( 3948): HTTP3094: 1 HTTP listener socket(s) could not be created
[25/Mar/2003:09:20:03] SEVERE ( 3948): CORE3186: Failed to set configuration
Is there any special configurations or any other required steps to get Appserver running with no root permission?
If anyone could help me with this problem, it would be deeply appreciated.
Thanks in advance.

Only root is allowed to listen on ports below 1024. Your Application Server has an HTTP listener configured on port 88. If you will not be starting your Application Server as root, you must choose another port.

Similar Messages

  • Running commands as normal user

    Hi.
    Is it possible to do these things?
    Run audio without sudo...
    (Un)mount partitions without sudo...
    Poweroff, or reboot, without sudo...
    For instance, If I run:
    adduser myusername audio
    I'm told that the user already exists. I'm pretty sure nobody would design a system where everything you do needs to be sudo'ed. What am I doing wrong?

    I use pmount/pumount for mounting/unmounting as user.
    I've edited my sudoers file to give my user account access (only on this computer) to issue certain commands without a password. As far as I'm concerned, system commands such as shutdown should only be allowed to run as root. It's just a convenience for me not to have to type my password when using sudo.
    # less /etc/sudoers
    # sudoers file.
    # This file MUST be edited with the 'visudo' command as root.
    # Failure to use 'visudo' may result in syntax or file permission errors
    # that prevent sudo from running.
    # See the sudoers man page for the details on how to write a sudoers file.
    # Host alias specification
    # User alias specification
    # Cmnd alias specification
    # Defaults specification
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) ALL
    tom ALL=(ALL) ALL
    # Uncomment to allow people in group wheel to run all commands
    # %wheel ALL=(ALL) ALL
    # Same thing without a password
    # %wheel ALL=(ALL) NOPASSWD: ALL
    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    tom kiwi = NOPASSWD: /sbin/halt
    tom kiwi = NOPASSWD: /sbin/reboot
    tom kiwi = NOPASSWD: /usr/bin/eject
    tom kiwi = NOPASSWD: /usr/sbin/pm-suspend
    tom kiwi = NOPASSWD: /home/tom/bin/backup
    tom kiwi = NOPASSWD: /etc/rc.d/httpd
    Which says: For the user tom on the computer kiwi allow him to run command /sbin/halt without a password.
    Last edited by BaconPie (2011-01-05 14:43:09)

  • Portlet will run/output when run as Admin, but not normal user

    Anyone know why a portlet would run/output under admin privs, but will not run under a normal user's privs? This is a VB.NET portlet using the EDK. Anyone have any ideas?

    Flash Player should be initially installed using an Admin account.  Once installed however, it should work for all users.  If it does not function, then I suspect you're running into a file/folder/registry permission issue.  This FAQ can help repair these problems:
    How do I fix Windows permission problems with Flash Player?

  • Automount using udev, but normal user can't access

    i'm using udev rules to automount usb drive. one of my external drive using usb to connect my pc.the file system of that external hdd is ntfs. when i plugin, automount in /media, but i can't using normal user to go in. need superuser.how to i slove this question?

    miau wrote:You could also try to install ntfs-3g, maybe its a problem related to NTFS.
    i already install ntfs-3g, i use "mount -t ntfs-3g /dev/sdb1 /media/usbhd" with no problem read and write.
    how do i add to udev rules?

  • [SOLVED] Dropbox - can't run as normal user, but as root

    I have problems with running dropbox as normal user. I installed dropbox from AUR. It is successfully installed. But when I type in terminal dropboxd I get:
    WARNING: Cannot write to "/home/USERNAME/.dropbox/dropbox.pid"
    I can run dropboxd as root from terminal, but that way default Dropbox folder is created with root permissions in my /home directory. Is there some way to run dropbox as normal user and having Dropbox folder with permissions for my user?
    Last edited by archiebald (2010-02-18 22:50:33)

    Thanks toad and pickboy87 for advices. It's my fault, and lack of concetration after long hours of staring at screen.
    Solution is this:
    sudo chown -R USERNAME /home/USERNAME/.dropbox
    Btw. Ubuntu do all automatically, with Dropbox install, all I need is to follow on screen directions, and next, next.:lol:
    edit:
    everything works out of the box with dropbox install on other Arch machine i tried, probably I messed something with configuration somewhere before.
    Last edited by archiebald (2010-02-18 23:05:13)

  • Pm-suspend: as normal user without changing sudoers and wake-up issue

    I'd like to be able to suspend my laptop as a normal user, but I don't want to "break" sudo just to do this. One wiki article (Suspend to RAM) says this:
    In fact, only the pm-utils approach can be called without special privileges, see pm-utils#Suspend.2FHibernate as regular user
    Linked article from the quote above describes how to make sudo run without asking for password. I wouldn't call that "without special privileges". After all, I can make anything run without special privileges if I edit sudoers in such way.
    Is there any proper way to make pm-suspend run as a normal user?
    One other thing about pm-suspend... I use netcfg and laptop-mode-tools. After wake-up from pm-suspend my wlan interface is down and hdparm -B value is set to 128. The wiki says that pm-utils is recommend for suspending to RAM because it can handle such things (i.e. restore as much as possible). Is there anything I must configure for this to work? If not, how can I set a custom script to be run after wake-up from pm-suspend?

    For example: https://bbs.archlinux.org/viewtopic.php?id=127962
    Edit: did you adjust the hdparm settings in laptop-mode.conf?
    Last edited by bohoomil (2011-10-16 11:44:20)

  • Allow normal user to run "ip link set"

    Hi,
    every time I power on my wireless lan device by hardware switch I have to execute
    ip link set wlan0 up
    as root in order to use it. There's a bash script which is triggered with normal user rights by the switch.
    I'm member of the network group, but I can't use the bash script to run ip automatically:
    [drake@laptop ~]$ ip link set wlan0 up
    RTNETLINK answers: Operation not permitted
    Is there a way to allow my account to set up wlan0?
    Thanks!
    Drake

    Good afternoon.
    I believe we have a RFE for this issue our datebase. Namely:
    Bug 18202: Allow to specify params in reports but prevent saving changes
    If I may, I recommend that you open a support case and ask the responsible engineer to add your company's information to the RFE (once it's confirmed that the 2 issues are indeed the same). Doing so will increase the chances of this functionality being added to the product in a future release.
    Regards,
    Alex

  • How to view the No. of connections used in DB as Normal user?

    Hi,
    I have an clarification about to view the number of connections in DB as normal user.
    As sys user, we can see the Max. no. of connections / number of connections used in Database. In the sameway, Do we have any option to
    view those details as normal user [I.e. As normal user without DBA Rights ]. Please let me know if its possible.
    Kindly clarify me on this.
    Thanks,
    Orahar.

    With due respect i wish to say, suppose my car (session) is running on road (db). If i ask how many cars (sessions) are there at presently on road (db); don't you think i am asking bit unproductive question? Suppose any how i got a number say 100 ; so now what this 100 can help me; what i am going to solve by this 100.
    if you knows all why’s answer, then there are answers for all hows for sure!
    Regards
    Girish Sharma

  • Running sbin commands as normal user

    Here's the problem: I would like to run rc.d to start/restart/stop daemons as a normal user.
    I ran into two possible workarounds:
    1. Sudoers file
    I've setup sudoers file to not ask for the password with:
    myuser ALL = NOPASSWD: /sbin/rc.d
    That of course still force me to write sudo before rc.d to start/restart/stop a daemon. Next step could be to create an alias like alias rc.d='sudo rc.d'.
    2. Permissions
    Another way would be to change the permissions of the command so It can be ran by "all" or a specific group.
    Maybe I'm just crazy, but all these workarounds look a bit "dirty" to me, so I was wondering if someone else knows a different approach to this issue :).

    SS4 wrote:
    pablox wrote:
    Btw, I just found that even when sudo -l shows me:
    User myuser may run the following commands on this host:
        (root) NOPASSWD: ALL
        (ALL) ALL
    It still asks for my password when I ran an app through sudo, any clue of what would be happening?
    That's just saying that you're allowed to use sudo, not that you can use it without a password.
    For example when I run sudo -l
    User me may run the following commands on this host:
    (ALL) ALL
    (ALL) ALL
    (root) NOPASSWD: /usr/bin/pacman, (root) /usr/bin/pacdiffviewer, (root) /usr/bin/make, (root) /sbin/shutdown, (root) /usr/sbin/hddtemp, (root) /usr/bin/pacman-color, (root) /usr/sbin/pm-suspend
    From my limited understanding (root) means that I become root user
    AFAIK our configurations are almost the same, except from the fact that I have configured it to supposedly not ask for the password for every command and in your case of the commands listed there.
    If you ran pacman with sudo, it asks your password?

  • Access denied when trying to use PDF printer as normal user

    I have Acrobat 8 professional installed on a computer running Windows XP SP3. When i try to print a document to pdf from any program as Administrator it performs just fine. When i log on as a normal, restricted, user i get the window popup asking for a file name and location and whereever i try to save a file i get "access denied" error.
    Users have right to write and modify in all of the folders i've tried to save to (desktop, my documents, custom made folders), but i think the problem is with the temp file being written to some system folder where restricted users don't have permission to write. Did anyone encounter a similar problem, and how did you solve it? What directories do the normal users need access to in order to perform printing.
    Thank You

    The forum added some nice links and i found my answer here http://forums.adobe.com/message/1179199#1179199 - changed the registry key permissions and it's working like a charm. Thank you.

  • I'm a normal user, using cad programme, not using my laptop for games, my question is: do I need to get 16 gb ram in my retina macbook pro or 8  gb ram is pretty enough?

    I'm a normal user, using cad programme, not using my laptop for games, my question is: do I need to get 16 gb ram in my retina macbook pro or 8  gb ram is pretty enough?
    Thanks for support.

    8 GB may be sufficient for CAD but 16 would be a much better idea.
    All the Macs I have ever owned were eventually upgraded to the maximum amount of memory they could use. Considering that as of now, the RAM you specify is all the RAM you will ever have, get as much as you can. That is the only way to maximize its economic life.
    If Apple offered a 32 GB version I'd get it.

  • Difference in running program Administrator or normal user?

    Hi,
    I've written a simple program (logged in as administrator), in which an LED control is turned on when a process starts, and off when the process ends, a sort of Busy-indicator.
    I switched to a normal user, and now the LED control does not operate anymore... Sometimes I can turn it on, but not in the required function...
    Where does the difference come from?? What else does it affect, aside from LED controls?
    Many thanks,
    Karel

    The user account privileges should not affect CVI UI objects. Are you sure it is not that the application needs privileges to check if the process is running? Does the code that alters the value of the LED ever run? Could you post code that demonstrates this?
    National Instruments
    Product Support Engineer

  • Can't suspend using hal as normal user

    Hello,
    I'm currently experiencing problems suspending using hal as a normal user.
    I followed the normal instructions for hal and pm-utils, but when I try to use
    dbus-send --system --print-reply --dest=org.freedesktop.Hal \
    /org/freedesktop/Hal/devices/computer \
    org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
    It gives me the following error:
    Error org.freedesktop.DBus.Error.AccessDenied: Rejected send message,
    1 matched rules; type="method_call", sender=":1.9" (uid=1000 pid=2217
    comm="dbus-send) interface="org.freedesktop.Hal.Device.SystemPowerManagement"
    member="Suspend" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal"
    (uid=0 pid=1576 comm="/usr/sbin/hald))
    This same command does work when I am root, so I suspect it is a permission error but when I use
    dbus-send --system --print-reply --dest=org.freedesktop.Hal
    /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.GetProperty
    string:'power_management.can_suspend'
    It does return true
    (NOTE: This check was taken from the ubuntu forum but since it returns true rather than an error or something I suspect it is correct)
    I tried the user permissions version of the config and that works so I can suspend, but xfce 4 uses hal so I would like this to work anyway
    Thanks in Advance

    Well I figured it out. It turns out that you need to have ck-launch-session in front of startxfce4 in .xinitrc, though without it worked fine before, but it's working now so I'm happy!

  • CS6 Suite activation: Admin/normal user + offline use etc.?

    Hi All,
    I am new to the CS6 suite but heard about all kinds of trouble people can have with activation, so in order to prevent problems I would like to ask in advance:
    1) Can I install(+activate?) CS6 under an administrative account and then use CS6 under a standard user account (which does not have administrative rights) ?
    2) If I go on vacation and bring my laptop with CS6 with me for about 6 weeks, will I need to be connected to the internet for CS6 to continue to work or will it work if the computer is offline the whole time ?
    3) If my laptop gets stolen what happens with my activated software - can I deactive it ?
    4) Can I install the CS6 suite on both my workstation and my laptop ?
    Thanks,
    Morten

    Yes. Obviously during your scan of my message you missed "Yes I did have CS5 error 16 and yes adding the normal user to the two folders resolved it. Does not resolve CS6 error 16."
    Yes it is a configuration error.
    I've read both of of the feeds referred to (and several others) and they were not helpful to resolving the CS6 config error 16, though they did fix CS5 config error 16.
    However, applying that logic to the whole,  I have verified that it is definitely is fixable with changes to permissions. I can invoke the error condition and relieve it at will simply by adding my user (r/w) to the adobe folder in application support and cascading it down to the enclosed items. Clearly there is/are folder(s) beyond the already identified "Adobe PCD" and "Adobe Store" that need the r/w privileges for the particular user of the CS6 version of the software. 
    To restate:  I've temporarily provided relief by adding my normal user account read and write to the whole of the adobe folder in /Library/application support and clicking "apply to enclosed items". 
    I would label this a permissions hack and feel that I have a security vulnerability now.
    Knowing which folders exactly need that permission would be the ideal situation.
    Please advise.

  • How do you allow all normal users to use the IOSsimulator in Xcode without placing them in the _developer group?

    Ever since we've updated Xcode at my place of work normal users have been unable to run their applications in Xcodes iOS simulator because they're prompted with a "Developer Tools Access needs to take control of another process for debugging to continue. Type the name and password of a user in "Developer Tools" group to allow this". I work in an ever expanding office with over 200 employees so adding them all to the _developer group will just be far to time consuming. Is there a way to give normal users permissions to run the IOS simulator?
    Here is the message I would like for normal users to bypass.

    ....I don't see a way around it - either they're in a permissioned group with an applicable login or they're not, right?

Maybe you are looking for

  • How do I get iTunes Match to update playlists I change content on with my PC?

    Help! I cannot get iTunes to update one of my playlists (I use iTunes Match). I tried turning Match off to manually sync, but the option to sync did not become available. And after one of the syncs, even with Match back on, now I have lost ALL of my

  • Thinkpad T430 Display: HD (1366 x 768) vs. HD+ (1600 x 900) Specifics

    Hello, and thank you in advance for any help.  As I've researched the Lenovo ThinkPad T430, and it's various configuration options, I've found specific information on the differences between the HD (1366 x 768) display and the HD+ (1600 x 900) displa

  • Backing up Site Definitions in Ultradev 1.0

    I'm finally going to upgrade, but I have a lot of Site Definitions in Dreamweaver Ultradev 1.0. Is there a way to backup and transfer Site Definitions from Ultradev 1.0 to the latest Dreamweaver on a new PC? I did find a few utilities but none that s

  • My Apps folder is not showing up in iTunes.

    I just updated to itunes 10.0.1 and the applications folder in the library is not there anymore. I can still sync the previously download apps to my ipod touch but I can't find the new app I just downloaded in the itunes store. Help please!

  • IPhoto is driving me mad

    I've been driven insane by iPhoto I've an old imac G3 upgraded to OS 10.3.9 It's beginning to die (topic in another forum!) and I'm trying to back up the 900+ photos of my children onto an external DVD drive. The problem is that evry time I've downlo