aspose file tools*
The moose likes Linux / UNIX and the fly likes can not restart apache 2.2 in unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "can not restart apache 2.2 in unix" Watch "can not restart apache 2.2 in unix" New topic
Author

can not restart apache 2.2 in unix

Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

Hi All,

I am new to unix and have to reconfigure apache server virtual hosts on a Unix box.
I have modified the .conf files and put them on the respective locations.

Now when I am trying to restart apache, I am getting an error.

Say The user with which I have to run apache22.sh is superuser

When I log in to unix using my account ,
I do the following :




Now I reach the apache directory and run the following:


or

or




I get the following error


/local/apache22/0/apache22u/apache22.sh: please administer myWeblogicServername as superuser, not superusere22

earlier according to the error message , the erronous uid was superuserh


If anybody has some clue please help




Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

What type of Unix are you running? Solaris, AIX? BSD? Linux (which isn't really Unix, but is close enough for most people). Also, if it's a "flavored" OS like BSD or Linux, what flavor? NetBSD? Ubuntu?


Customer surveys are for companies who didn't pay proper attention to begin with.
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

Its Linux
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can not restart apache 2.2 in unix