Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache2 on Solaris 10 does not start

116 views
Skip to first unread message

Andy

unread,
Feb 4, 2012, 6:16:24 AM2/4/12
to
Hello everybody
I get this
bash-3.00# cd /var/apache2/logs
bash-3.00# less error_log
[Mon Jan 30 07:36:27 2012] [notice] Digest: generating secret for
digest authentication ...
[Mon Jan 30 07:36:27 2012] [notice] Digest: done
[Mon Jan 30 07:36:28 2012] [notice] Apache/2.0.52 (Unix) DAV/2
configured -- resuming normal operations
[Mon Jan 30 07:37:54 2012] [notice] caught SIGTERM, shutting down
and
[ start + 2.38s Enabled. ]
[ start + 4.10s Executing start method ("/lib/svc/method/http-apache2
start") ]
(2)No such file or directory: httpd: could not open error log file /
var/apache2/logs/error_log.
Unable to open logs
[ Feb 4 12:23:05 Method "start" exited with status 1 ]
[ Feb 4 12:23:05 Executing start method ("/lib/svc/method/http-
apache2 start") ]
(2)No such file or directory: httpd: could not open error log file /
var/apache2/logs/error_log.

Ian Collins

unread,
Feb 6, 2012, 11:28:17 PM2/6/12
to
Does the directory /var/apache2/logs exist have write permission for the
user you sue to run Apache?

--
Ian Collins

Andy

unread,
Feb 7, 2012, 9:00:44 PM2/7/12
to
Thanks Ian for your suggestion. I've checked and everything is ok.
But I do not know much about solaris security options.
Now I can't run gedit I thing I've been hacked or something...

Andy

unread,
Feb 7, 2012, 9:22:47 PM2/7/12
to
In fact I have 2 boxes running Solaris. The old one is running solaris
10 3/05 and I am using the sfe driver for the nic card
Each time i had to connect to the internet I do the following things
modprobe <sfe-dir>/i386/sfe
devfsadm -i sfe
ifconfig sfe0 probe
ifconfig sfe0 dhcp
I would like to know how to do that automatically at solaris start up
I succeded to compile an old version of ipfilter and I want to
integrate it with the sfe0 interface for security reasons.
I thing this staff is good for learning!

hume.sp...@bofh.ca

unread,
Feb 8, 2012, 7:38:47 AM2/8/12
to
Andy <t.dra...@gmail.com> wrote:
> Each time i had to connect to the internet I do the following things
> modprobe <sfe-dir>/i386/sfe

Solaris doesn't have modprobe, that's a Linux thing (I'm assuming you meant
modload). Where is this sfe-dir? Is the driver you're loading installed
properly, or is it off someplace else on the filesystem? Does

grep sfe /etc/name_to_major

... produce any output?

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/

Andy

unread,
Feb 8, 2012, 10:21:52 PM2/8/12
to
On 8 feb., 13:38, hume.spamfil...@bofh.ca wrote:
# cd /root/sfe-1.0.9
# less README.txt
......
4. Testing

# cd sfe-x.x.x
# /usr/ccs/bin/make install
# ./adddrv.sh
# /usr/ccs/bin/make uninstall (for solaris7, do not remove the
file)
# modload obj/sfe
# devfsadm -i sfe (for solaris7, use drvconfig and then reboot
with -r ) # ifconfig sfeN plumb
# ifconfig -a (you will see an entry for sfeN, ensure
MAC address) # ifconfig sfeN YOUR-HOSTNAME
# ifconfig sfeN (ensure IP address is correct)
# ifconfig sfeN up (and then you can test with ping, telnet,
ftp ...)
.......................
# modload i386/sfe
# devfsadm -i sfe

#
# ifconfig sfe0 plumb
# ifconfig sfe0 dhcp
# grep sfe /etc/name_to_major
sfe 185

Andy

unread,
Feb 8, 2012, 10:42:07 PM2/8/12
to
I have the following tar balls : pfil-2.1.13.tar.gz and
ip_fil4.1.13.tar.gz
Does it make sense to install these things for security?
I succeeded to compile ip_fil4.1.13 with gcc and gnu make.
I don't know how to install it.

hume.sp...@bofh.ca

unread,
Feb 9, 2012, 6:49:02 AM2/9/12
to
Andy <t.dra...@gmail.com> wrote:
> I have the following tar balls : pfil-2.1.13.tar.gz and
> ip_fil4.1.13.tar.gz
> Does it make sense to install these things for security?

No. Because Solaris already has IPFilter.

> I don't know how to install it.

Don't. Just make sure you have SUNWipfr and SUNWipfu packages installed.
And you probably do.

hume.sp...@bofh.ca

unread,
Feb 9, 2012, 6:55:26 AM2/9/12
to
Andy <t.dra...@gmail.com> wrote:
> # /usr/ccs/bin/make install
> # ./adddrv.sh
> # /usr/ccs/bin/make uninstall (for solaris7, do not remove the

You're following the "Testing" instructions which are for... testing. If
your testing works - as in it doesn't destabilize your machine - then you
can proceed with a full install. Which is described further down the
document you've cut and pasted that snippet from.
0 new messages