-
Right have been working through this and have got the the point where cups is installed and configured but when I try to access https://<cups server>:631 i get the following:
While trying to retrieve the URL: 192.168.49.16:631
The following error was encountered:
Connection to 192.168.49.16 Failed
The system returned:
(111) Connection refused
Although I can access the webmin frontend withour issue.
Next when I try to browse via windows to the print server I get prompted for username and password what gives??
Don't really want to install/configure anymore untill i have this bit sorted, any help anyone ??......
-
Is CUPS running?
Did the AD join work OK? Can you run things like net ads status and wbinfo -u ?
-
You need to use HTTP, not HTTPS.
-
Thanks Ric.. I be using this in the near future
cheers buddy
James
-
@Ric_: CUPS is running, wbinfo -u returns loads of users, net ads status produces the following:
Code:
root@4428-prtsvr:~# net ads status
root's password:
[2008/03/12 07:35:31, 0] libads/kerberos.c:ads_kinit_password(164)
kerberos_kinit_password root@JKHS-PD.LOCAL failed: Client not found in Kerberos database
[2008/03/12 07:35:31, 0] utils/net_ads.c:ads_startup(191)
ads_connect: Client not found in Kerberos database
@Geoff: I am using https
I have also decided to forge ahead and install pykota and have resolved all the dependancy issues apart from the following:
Code:
root@4428-prtsvr:/# dpkg -i pykota_1.26_official_ubuntu_all.deb
Selecting previously deselected package pykota.
(Reading database ... 40842 files and directories currently installed.)
Unpacking pykota (from pykota_1.26_official_ubuntu_all.deb) ...
dpkg: dependency problems prevent configuration of pykota:
pykota depends on python-pysnmp4; however:
Package python-pysnmp4 is not installed.
dpkg: error processing pykota (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pykota
No matter what I try to do I cannot get this package installed (python-pysnmp4) if i do:
Code:
apt-get install python-pysnmp4
I get the following:
Code:
root@4428-prtsvr:/# apt-get install python-pysnmp4
Reading package lists... Done
Building dependency tree... Done
Package python-pysnmp4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package python-pysnmp4 has no installation candidate
HELP !!!!! :)
-
I can send you pysnmp-3.4.3.tar.gz if that helps.
-
You need to install pysnmp4 from source on Ubuntu LTS 6.06. Ubuntu did not package pysnmp4 in it's repositories until 7.04.
-
Geoff any pointers on doing this??
-
You can download it here:
http://pysnmp.sourceforge.net/download.html
Installation uses the normal python build system, so simply doing:
Code:
python setup.py install
as root will install the library in your sitefiles.
-
@ICTNUT: You need to run the command as follows:
Code:
net ads status -U administrator
It will chuck a load of info at you if your connection is all working well. It probably is mind since wbinfo -u works.
-
Geoff, installed as suggested and got the following:
Code:
root@4428-prtsvr:/pysnmp-2.0.9# python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/pysnmp
copying pysnmp/asn1.py -> build/lib/pysnmp
copying pysnmp/asynrole.py -> build/lib/pysnmp
copying pysnmp/bulkrole.py -> build/lib/pysnmp
copying pysnmp/error.py -> build/lib/pysnmp
copying pysnmp/role.py -> build/lib/pysnmp
copying pysnmp/v1.py -> build/lib/pysnmp
copying pysnmp/v2c.py -> build/lib/pysnmp
copying pysnmp/__init__.py -> build/lib/pysnmp
running install_lib
creating /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/asn1.py -> /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/asynrole.py -> /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/bulkrole.py -> /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/error.py -> /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/role.py -> /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/v1.py -> /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/v2c.py -> /usr/lib/python2.4/site-packages/pysnmp
copying build/lib/pysnmp/__init__.py -> /usr/lib/python2.4/site-packages/pysnmp
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/asn1.py to asn1.pyc
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/asynrole.py to asynrole.pyc
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/bulkrole.py to bulkrole.pyc
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/error.py to error.pyc
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/role.py to role.pyc
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/v1.py to v1.pyc
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/v2c.py to v2c.pyc
byte-compiling /usr/lib/python2.4/site-packages/pysnmp/__init__.py to __init__.pyc
Then tried to install pykota agin and got:
Code:
root@4428-prtsvr:/# dpkg -i pykota_1.26_official_ubuntu_all.deb
Selecting previously deselected package pykota.
(Reading database ... 43431 files and directories currently installed.)
Unpacking pykota (from pykota_1.26_official_ubuntu_all.deb) ...
dpkg: dependency problems prevent configuration of pykota:
pykota depends on python-pysnmp4; however:
Package python-pysnmp4 is not installed.
dpkg: error processing pykota (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pykota
Any sugesstions?
What if I rebuild the server with 7.0x instead of 6.06 would that help??
-
Also did you edit the passwd and group sections of nsswitch.conf so that it uses winbind?
-
When I did my ubuntu install, I did not use the deb package. I used the tarball. I can confirm that Hardy works via the tarball method.
-
You could just use Debian Etch and the the instructions would work flawlessly.
-